Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
Moore
Merge requests
!1114
Add Lb2DPH,D2KsHH(K3Pi)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Add Lb2DPH,D2KsHH(K3Pi)
b2oc-lei-Lb2DPHnew
into
master
Overview
0
Commits
35
Pipelines
2
Changes
26
Closed
Lei Hao
requested to merge
b2oc-lei-Lb2DPHnew
into
master
3 years ago
Overview
0
Commits
35
Pipelines
2
Changes
26
Expand
This reverts merge request
!1034 (merged)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d5a4c4d3
35 commits,
3 years ago
26 files
+
6907
−
1359
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
26
Search (e.g. *.vue) (Ctrl+P)
Hlt/Hlt2Conf/options/examples/b_to_open_charm/hlt2_b2oc.py
+
30
−
108
Options
@@ -12,7 +12,7 @@
Run like any other options file:
./Moore/run gaudirun.py hlt2_
example
.py
./Moore/run gaudirun.py hlt2_
b2oc
.py
"""
from
Moore
import
options
,
run_moore
from
Moore.tcks
import
dump_hlt2_configuration
@@ -34,121 +34,43 @@ from Hlt2Conf.lines.b_to_open_charm import all_lines
#from Hlt2Conf.lines.b_to_open_charm.hlt2_b2oc import BdToDsmK_DsmToHHH_hlt2_line
###############################################################################
# configure input data set
(uncomment the "root:// .... " lines)
# configure input data set
###############################################################################
# TIP: to go from a BK path to a root-URL
# 1) lb-run LHCbDirac dirac-bookkeeping-get-files -B <BK path> # to get list of LFN's
# 2) lb-run LHCbDirac dirac-dms-lfn-accessURL --Protocol="xroot" -l <an LFN> # to get root-URL
# Update sample BK paths are:
# Without HLT1:
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/<EVT NUMBER>/LDST
# After HLT1:
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/Trig0x52000000/<EVT NUMBER>/LDST
input_files
=
[
# MinBias 30000000 BEFORE Hlt1
# sim+std://MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/30000000/LDST
# 'root://xrootd.echo.stfc.ac.uk/lhcb:prod/lhcb/MC/Upgrade/LDST/00069155/0000/00069155_00000878_2.ldst'
# MinBias 30000000 AFTER Hlt1
# evt+std://MC/Upgrade/Beam7000GeV-Upgrade-MagUp-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/Trig0x52000000/30000000/LDST
# 'root://xrootd.echo.stfc.ac.uk/lhcb:prod/lhcb/MC/Upgrade/LDST/00077381/0000/00077381_00000801_1.ldst'
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/Trig0x52000000/30000000/LDST
# https://gitlab.cern.ch/lhcb-b2oc/b2ocupgrade/-/blob/master/Moore_input_files/min_bias.ldst has a large number
# of input files (>100) in a "ready to plug" format, here only the first 5 are listed
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075219/0000/00075219_00000001_1.ldst',
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075219/0000/00075219_00000002_1.ldst',
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075219/0000/00075219_00000003_1.ldst',
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075219/0000/00075219_00000004_1.ldst',
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075219/0000/00075219_00000005_1.ldst',
# B2OC upgrade MC:
# Bu2DK_D2KsHH, 12165106
# evt+std://MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/12165106/LDST
# 'root://door05.pic.es:1094/pnfs/pic.es/data/lhcb/MC/Upgrade/LDST/00070352/0000/00070352_00000047_2.ldst'
# evt+std://MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/Trig0x52000000/12165106/LDST
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075817/0000/00075817_00000003_1.ldst'
# B2OC upgrade MC:
# DsK, 13264031
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/Trig0x52000000/13264031/LDST
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000001_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000003_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000004_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000005_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000006_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000007_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000009_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000010_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000011_1.ldst
# /lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000012_1.ldst
'
root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000001_1.ldst
'
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000003_1.ldst',
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000004_1.ldst',
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000005_1.ldst',
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000006_1.ldst',
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000007_1.ldst',
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000009_1.ldst',
# 'root://ccxrootdlhcb.in2p3.fr//pnfs/in2p3.fr/data/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000010_1.ldst',
# 'root://ccxrootdlhcb.in2p3.fr//pnfs/in2p3.fr/data/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000011_1.ldst',
# 'root://ccxrootdlhcb.in2p3.fr//pnfs/in2p3.fr/data/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000012_1.ldst'
# B2OC upgrade MC:
# DDK, 11196010
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/11196010/LDST
# /lhcb/MC/Upgrade/LDST/00074194/0000/00074194_00000109_2.ldst
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00074194/0000/00074194_00000109_2.ldst'
# B2OC upgrade MC:
# DDK, 11196010
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/11196010/LDST
# /lhcb/MC/Upgrade/LDST/00074194/0000/00074194_00000109_2.ldst
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00074194/0000/00074194_00000109_2.ldst'
# B2OC upgrade MC:
# DDK, 11196010
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/11196010/LDST
# /lhcb/MC/Upgrade/LDST/00074194/0000/00074194_00000109_2.ldst
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00074194/0000/00074194_00000109_2.ldst'
# B2OC upgrade MC:
# D*Kpi, 11164611
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim10-Up03-OldP8Tuning/Reco-Up02/11164611/XDST
# /lhcb/MC/Upgrade/XDST/00102881/0000//00102881_00000001_2.xdst
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/XDST/00102881/0000/00102881_00000001_2.xdst'
# MC sample from hlt_example
# D*-tagged D0 to KK, 27163002
# sim+std://MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/27163002/LDST
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00075807/0000/00075807_00000009_1.ldst'
# 'root://lhcbxrootd-kit.gridka.de//pnfs/gridka.de/lhcb/MC/Upgrade/LDST/00070317/0000/00070317_00000012_2.ldst'
# B2OC upgrade MC:
# B2DD 11296013
# /MC/Upgrade/Beam7000GeV-Upgrade-MagDown-Nu7.6-25ns-Pythia8/Sim09c-Up02/Reco-Up01/Trig0x52000000/11296013/LDST
# /lhcb/MC/Upgrade/LDST/00075825/0000/00075825_00000002_1.ldst
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075825/0000/00075825_00000002_1.ldst'
]
options
.
input_files
=
input_files
options
.
input_type
=
'
ROOT
'
# List of available upgrade MC is on
# https://twiki.cern.ch/twiki/bin/viewauth/LHCbPhysics/B2OCUpgrade#Upgrade_MC_event_types_available
# Some locations are listed in
# https://gitlab.cern.ch/lhcb-b2oc/b2ocupgrade/-/blob/master/Moore_input_files/
# Uncomment the following lines to configure input data from grid locations
#input_files = [
# # MinBias 30000000 AFTER Hlt1
# 'root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/Upgrade/LDST/00075219/0000/00075219_00000001_1.ldst',
#]
#options.input_files = input_files
#options.input_type = 'ROOT'
#options.simulation = True
#options.data_type = 'Upgrade'
#options.dddb_tag = 'dddb-20171126'
#options.conddb_tag = 'sim-20171127-vc-md100'
# Configure input data from testfileDB
# Comment the next line if configure input data above
options
.
set_input_and_conds_from_testfiledb
(
'
upgrade_minbias_hlt1_filtered
'
)
# When running from Upgrade MC,
# must use the post-juggling locations of the raw event
options
.
input_raw_format
=
4.3
# When running from Upgrade MC, must use the post-juggling locations of the raw
# event
# Write the output file
###options.output_file = 'hlt2_b2oc_lines.dst'
###options.output_type = 'ROOT'
###############################################################################
# Set a reasonable number of events
###############################################################################
options
.
evt_max
=
100
options
.
evt_max
=
1000
options
.
simulation
=
True
options
.
data_type
=
'
Upgrade
'
options
.
dddb_tag
=
'
dddb-20171126
'
options
.
conddb_tag
=
'
sim-20171127-vc-md100
'
# Write the output file
options
.
output_file
=
'
hlt2_b2oc_lines.dst
'
options
.
output_type
=
'
ROOT
'
def
make_lines
():
Loading