CMS+TOTEM offline software area

Current version available at: https://svnweb.cern.ch/cern/wsvn/totem/branches/CMSTotemLowPU2015/

CMS+TOTEM datasets

CMS run number TOTEM run number CMS LS Trigger Menu - L1SA Orbit shift Comments
 
Fill 4511     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias) ; PhysTrig [96]/DoubleJet32; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias    
259431 9998 44-->354   11 final nt
259429 9997 213-->308   78 9997_EVB11_1.0-9_ntuple.root
 
Fill 4510     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias) ; PhysTrig [96]/DoubleJet32; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias    
259399 9980 163-->258   21 9980_EVB11_1.0-9_ntuple.root
  9981 273-->301   33 TotemNTuple _9981.000.ntuple.root vs Run259399/UABaseTree_PromptReco-all_0_4.root
  9985 364-->387   77  
  9986 402-->498   88  
  9987 510-->516   100  
  9989 536-->578   122  
 
Fill 4509     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias) ; PhysTrig [96]/DoubleJet32; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias    
259388 9976 61-->361   43
  9978 370-->747   66 9978_EVB11_1.0-9_ntuple.root
259385 9959 14-->62    
  9960 69-->106   10
  9961 110-->132   21
  9962 133-134   32
  9964 146-->196   54
  9971 254-->538   132 9971_EVB11_1.0-9_ntuple.root
259384     Totem triggers?
 
Fill 4505     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias) ; PhysTrig [96]/DoubleJet32; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias    
259353    
259352 9940 8-->156   21 9940_EVB11_1.0-9_ntuple.root
  9950 250-->285   137 9950_EVB11_1.0-9_ntuple.root
  9952 301-->316   159 9952_EVB11_1.0-9_ntuple.root
259351     Totem triggers?
 
Fill 4499 -- 671 b     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias) ; PhysTrig [96]/DoubleJet32; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias    
259237 9919 78-->102   133 9919_EVB11_1_ntuple.root
  9920 106-->424   144 final nt
  9922 433-->578   166 final nt
259236     Totem triggers?
 
Fill 4496 -- 240b     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias); PhysTrig [102]/DoubleJet20; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias ; PhysTrig [103]/L1_MuOpen_NotMinimumBiasHF2_AND    
259208 9896(22-) 1-->3  
  9898 23-->144   21
259207 9895 6-->23   10
  9896(0-21) 26-->62   22
259205     Totem triggers?
259202 9893 11-->26   21
259201     Totem triggers?
259200     Totem triggers?
259199     Totem triggers?
 
Fill 4495 -- 42b     PhysTrig [98]/Totem0(RP_AND&!T2) ; PhysTrig [101]/Totem3(RP_TopTop/BotBot) ; PhysTrig [100]/Totem2 (ZeroBias); PhysTrig [102]/DoubleJet20; PhysTrig [97]/DoubleMuOpen; PhysTrig [99]/Totem1_MinBias ; PhysTrig [103]/L1_MuOpen_NotMinimumBiasHF2_AND    
259167 9883(35-40) 1-->27  
259164 9883(22-35) All  
259163 9879 1-->10  
  9881 19-->72   22
  9883(0-21) 81-->219   44 9883_EVB11_1.0-9_ntuple.root
259162 9877 5-->66  
259161 9876 8-->16   10
259159     Totem triggers?

CMS datasets

HLT L1 seed CMS Primary Dataset (PD)
     
HLT_L1DoubleJet20_part0_v1 "L1_DoubleJet20" ToTOTEM _DoubleJet20_0
HLT_L1DoubleJet20_part1_v1 "L1_DoubleJet20" ToTOTEM _DoubleJet20_1
HLT_L1DoubleJet20_part2_v1 "L1_DoubleJet20" ToTOTEM _DoubleJet20_2
HLT_L1DoubleJet20_part3_v1 "L1_DoubleJet20" ToTOTEM _DoubleJet20_3
     
HLT_L1DoubleJet32_part0_v1 "L1_DoubleJet32" ToTOTEM _DoubleJet32_0
HLT_L1DoubleJet32_part1_v1 "L1_DoubleJet32" ToTOTEM _DoubleJet32_1
HLT_L1DoubleJet32_part2_v1 "L1_DoubleJet32" ToTOTEM _DoubleJet32_2
HLT_L1DoubleJet32_part3_v1 "L1_DoubleJet32" ToTOTEM _DoubleJet32_3
     
HLT_L1DoubleMuOpen_v1 "L1_DoubleMuOpen" ToTOTEM
     
HLT_L1TOTEM1_MinBias_v1 "L1_TOTEM_1" TOTEM_minBias
HLT_L1TOTEM2_ZeroBias_v1 "L1_TOTEM_2" TOTEM_minBias
     
HLT_L1Muon_NotMinimumBiasHF2AND_v1 "L1_MuOpen_NotMinimumBiasHF2_AND" HINMuon_HFveto
     
HLT_L1TOTEM3_RomanPotsTTBB_part0_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_0
HLT_L1TOTEM3_RomanPotsTTBB_part1_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_1
HLT_L1TOTEM3_RomanPotsTTBB_part2_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_2
HLT_L1TOTEM3_RomanPotsTTBB_part3_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_3
HLT_L1TOTEM3_RomanPotsTTBB_part4_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_4
HLT_L1TOTEM3_RomanPotsTTBB_part5_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_5
HLT_L1TOTEM3_RomanPotsTTBB_part6_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_6
HLT_L1TOTEM3_RomanPotsTTBB_part7_v1 "L1_TOTEM_3" TOTEM_romanPotsTTBB_7
     
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part0_v1 "L1_TOTEM_0" TOTEM_romanPots2_0
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part1_v1 "L1_TOTEM_0" TOTEM_romanPots2_1
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part2_v1 "L1_TOTEM_0" TOTEM_romanPots2_2
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part3_v1 "L1_TOTEM_0" TOTEM_romanPots2_3
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part4_v1 "L1_TOTEM_0" TOTEM_romanPots2_4
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part5_v1 "L1_TOTEM_0" TOTEM_romanPots2_5
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part6_v1 "L1_TOTEM_0" TOTEM_romanPots2_6
HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part7_v1 "L1_TOTEM_0" TOTEM_romanPots2_7
     

Producing CMS UATree ROOT-tuple

Current version of the UATree code at https://svnweb.cern.ch/cern/wsvn/totem/branches/CMSTotemLowPU2015/UATree/.

Reference CMSSW release: CMSSW_7_4_15

To compile:

cd $CMSSW_BASE/src
svn co svn+ssh://svn.cern.ch/reps/totem/branches/CMSTotemLowPU2015/UATree UATree

cd UATree/UADataFormat/
bash dictionary.sh

cd $CMSSW_BASE/src/
scram b -r -j8

Example (see https://svnweb.cern.ch/cern/wsvn/totem/branches/CMSTotemLowPU2015/CMS-TOTEM-Ntuples/Config/):

from UATree.UABaseTree.UABaseTree_forward_all_cfg import process

process.source.fileNames = [
    '<file 1>',
    '<file 2>',
    ...
]

process.uabasetree.hlt_paths = [
    'HLT_L1DoubleJet20_v1',
    'HLT_L1DoubleJet28_v1',
    'HLT_L1DoubleJet32_v1',
    'HLT_L1DoubleMuOpen_v1',
    'HLT_L1TOTEM1_MinBias_v1',
    'HLT_L1TOTEM2_ZeroBias_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part0_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part1_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part2_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part3_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part4_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part5_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part6_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part7_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part0_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part1_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part2_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part3_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part4_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part5_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part6_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part7_v1',
    'HLT_Physics_v1',
    'HLT_Random_v1',
    'HLT_ZeroBias_v1'
]

process.uabasetree.outputfilename = "<output file>"

Optionally select events that pass a list of HLT paths:

process.load("UATree.UABaseTree.hltFilter_cfi")
process.hlt = process.hltFilter.clone(HLTPaths = ['HLT_L1TOTEM1_MinBias_*'])
process.p.replace(process.uabasetree, process.hlt+process.uabasetree)

Writing only metadata

Example (see https://svnweb.cern.ch/cern/wsvn/totem/branches/CMSTotemLowPU2015/CMS-TOTEM-Ntuples/Config/):

from UATree.UABaseTree.UABaseTree_forward_metadata_cfg import process

process.source.fileNames = [ '' ]

process.maxEvents.input = -1
# Set Global Tag
process.GlobalTag.globaltag = '74X_dataRun2_Prompt_v2'

process.uabasetree.hlt_paths = [
    'HLT_L1DoubleJet20_v1',
    'HLT_L1DoubleJet28_v1',
    'HLT_L1DoubleJet32_v1',
    'HLT_L1DoubleMuOpen_v1',
    'HLT_L1Muon_NotMinimumBiasHF2AND_v1',
    'HLT_L1TOTEM1_MinBias_v1',
    'HLT_L1TOTEM2_ZeroBias_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part0_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part1_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part2_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part3_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part4_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part5_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part6_v1',
    'HLT_L1TOTEM0_RomanPotsAND_PixelClusters5_part7_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part0_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part1_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part2_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part3_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part4_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part5_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part6_v1',
    'HLT_L1TOTEM3_RomanPotsTTBB_part7_v1',
    'HLT_Physics_v1',
    'HLT_Random_v1',
    'HLT_ZeroBias_v1'
]

process.uabasetree.outputfilename = "UABaseTree_PromptReco-metadata.root"

Final CMS UATree N-tuple

RomanPots N-tuples

Fill CMS run number CMS dataset name EOS Path NEvents
4496 259202 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259202/ 493476
4505 259352 /TOTEM_romanPots2_X/Run2015D-PromptReco-v4/RECO /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259352/version_uatree_updated/ 15.645368e+06
4505 259351 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259351/version_uatree_updated 4.983070e+05
         
4499 259237 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259237/version_uatree_updated/ 13.90508e+06
         
4511 259431 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259431/ 15044687
4511 259429 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259429/ 4862870
         
4510 259399 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259399/ 12654315
         
4495 259167 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259167/ 52566
4495 259164 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259164/ 164275
4495 259163 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259163/ 448229
4495 259162 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259162/ 1201900
4495 259161 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259161/ 317973
         
4509 259388 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259388/ 27011904
4509 259385 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259385/ 21.02986e+06
4509 259384 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259384/ 166640
         
4496 259208 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259208/ 1998528
4496 259207 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259207/ 885693

The list of luminosity sections processed, in JSON format can be found at:

/afs/cern.ch/work/e/eliza/public/lumis/Run259352/

/afs/cern.ch/work/e/eliza/public/lumis/Run259237/

/afs/cern.ch/work/e/eliza/public/lumis/Run259351/

/afs/cern.ch/work/e/eliza/public/lumis/Run259385/

/afs/cern.ch/work/k/kshcheli/public/CMSTOTEM/lumiSummary_4511_4510_4495.json

/afs/cern.ch/work/e/ealvesco/public/CMSTOTEM/

ZeroBias N-tuples

Fill CMS run number CMS dataset name EOS Path NEvents
         
4511 259431 /TOTEM_minBias_X/Run2015D-PromptReco-v4/RECO /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259431/ 1512395
4511 259429 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259429/ 748688
         
4510 259399 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259399/ 1961094
         
4495 259167 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259167/ 263392
4495 259164 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259164/ 379483
4495 259163 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259163/ 940772
4495 259162 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259162/ 333678
4495 259161 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259161/ 67279
         
4505 259352 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259352/ 1591998
         
4499 259237 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259237/ 2138371
         
4509 259388 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259388/ 5680160
4509 259385 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259385/ 4428473
4509 259384 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259384/ 181391
         
4496 259208 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259208/ 259384
4496 259207 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259207/ 583466
4496 259202 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/Run259202/ 311173

Totem3(RP_TopTop/BotBot) N-tuples


Fill CMS run number CMS dataset name EOS Path NEvents
         
4511 259431 /TOTEM_romanPotsTTBB_X/Run2015D-PromptReco-v4/RECO /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259431/ 36184693
4511 259429 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259429/ 12893275
         
4510 259399 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259399/ 37393040
         
4495 259167 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259167/ 416375
4495 259164 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259164/ 1304792
4495 259163 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259163/ 3501611
4495 259162 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259162/ 1354888
4495 259161 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259161/ 288745
         
4499 259237 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259237/ 84043260
         
4505 259352 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPotsTTBB_X/Run259352/ 37246454

EmptyBX N-tuples


Fill CMS run number CMS dataset name EOS Path NEvents
4496 259202 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259202/ 43653
         
4499 259237 /EmptyBX/Run2015D-PromptReco-v4/RECO /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259237/ 1414552
         
4505 259352 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259352/ 743989
         
4511 259431 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259431/ 804439
4511 259429 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259429/ 398145
         
4510 259399 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259399/ 1042517
         
4495 259167 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259167/ 28195
4495 259164 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259164/ 40885
4495 259163 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259163/ 101567
4495 259162 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259162/ 36178
4495 259161 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259161/ 0
         
4509 259388 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259388/ 1854759
4509 259385 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259385/ 1300749
4509 259384 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259384/ 61196
         
4496 259208 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259208/ 243310
4496 259207 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/EmptyBX/Run259207/ 92502

ToTOTEM( Muons )N-tuples

Fill CMS run number CMS dataset name EOS Path NEvents
         
         
4511 259431 /ToTOTEM/Run2015D-PromptReco-v4/RECO /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259431/ 1118933
4511 259429 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259429/ 553846
         
4510 259399 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259399/ 1154639
         
4509 259388 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259388/ 2177365
4509 259385 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259385/ 1682860
4509 259384 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259384/ 78825
         
4505 259352 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259352/ 957230
         
4499 259237 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259237/ 1425019
         
4496 259208 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259208/ 236392
4496 259207 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259207/ 80966
4496 259202 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259202/ 48966
         
4495 259167 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259167/ 26763
4495 259164 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259164/ 41554
4495 259163 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259163/ 102764
4495 259162 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259162/ 36768
4495 259161 --//-- /eos/totem/data/cmstotem/2015/90m/CMS/Muons/Run259161/ 7626

Merging CMS+TOTEM ROOT-tuples

Reminder: Totem Orbit Number in data has to be divided by 2

Download tools from:

svn co svn+ssh://svn.cern.ch/reps/totem/branches/CMSTotemLowPU2015/CMS-TOTEM-Ntuples CMS-TOTEM-Ntuples

Compile:

cd CMS-TOTEM-Ntuples
source setup.csh
cd Merge
make

Merging CMS and TOTEM files

(Under construction)

cd Merge
$PWD/mergeNtuples <TOTEM data file> <CMS data file> <output file> <CMS run number> <offset> [<first CMS lumi>] [<last CMS lumi>]

cd Scripts
./createScript.py \
--totemDir=<EOS TOTEM dir> \
--cmsDir=<EOS CMS dir> \
--totemFileType=<TOTEM file type> \
--outputDir=<EOS output dir> \
--cmsRunNumber=<CMS Run number> \
--orbitOffset=<CMS/TOTEM orbit offset> \
--cmsFirstLumi=<CMS first lumi to process> \
--cmsLastLumi=<CMS last lumi to process> \
--submitDir=<Dir. with job definitions>

Example:

cd Scripts
./createScript.py \
--totemDir=/eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version1/ \
--cmsDir=/eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/Run259352/version_uatree_updated/ \
--totemFileType=9940 \
--outputDir=/eos/totem/data/cmstotem/90m/Totem/CMSTotemLowPU2015/Merge-test/ \
--cmsRunNumber=259352 \
--orbitOffset=21 \
--submitDir=submit-test-v1

cd <submit dir>
./submit.sh

Full list of options:

./createScript.py -h
Usage: createScript.py [options]

Options:
  -h, --help            show this help message and exit
  --totemDir=TOTEMDIR   TOTEM directory
  --totemFileType=TYPE  Select files matching TYPE
  --cmsDir=CMSDIR       CMS directory
  --cmsFileType=TYPE    Select files matching TYPE
  --outputDir=OUTPUTDIR
                        Output directory
  --submitDir=SUBMITDIR
                        Local directory where LSF jobs are defined
  --queue=QUEUE         LSF queue name
  --cmsRunNumber=CMSRUNNUMBER
                        CMS Run number
  --orbitOffset=ORBITOFFSET
                        Orbit offset
  --cmsFirstLumi=CMSFIRSTLUMI
                        First CMS lumi section
  --cmsLastLumi=CMSLASTLUMI
                        Last CMS lumi section

Finding orbit offset

  • Note that the offset can be found with a fraction of the data, as long as the Run periods between the CMS and TOTEM files overlap. If merging files is needed, see below.

  • Needed only once:
       svn co svn+ssh://svn.cern.ch/reps/totem/branches/CMSTotemLowPU2015/CMS-TOTEM-Ntuples CMS-TOTEM-Ntuples
       cd CMS-TOTEM-Ntuples
       source setup.csh
       cd Merge
       make
       

  • Calculate orbit offset. Output log gives calculated orbit offset. Histograms saved in output ROOT file.
       cd Merge
       $PWD/findOrbitOffset <TOTEM data file> <CMS data file> <output file> [<first CMS lumi>] [<last CMS lumi>] [<TOTEM Tree name>] [<CMS Tree name>]
       

Utilities

  • Needed only once:
       svn co svn+ssh://svn.cern.ch/reps/totem/branches/CMSTotemLowPU2015/CMS-TOTEM-Ntuples CMS-TOTEM-Ntuples
       cd CMS-TOTEM-Ntuples
       source setup.csh
       cd Merge
       make
       

  • Merging CMS files. Full paths to ROOT files (including EOS path and prefix) assumed. Only event metadata information is saved.
       cd Merge
       $PWD/mergeCMSFiles <Output file name> <CMS data file 1> [<CMS data file 2>,...]
       

  • Merging TOTEM files (if needed). Full paths to ROOT files (including EOS path and prefix) assumed. Only event metadata information is saved.
       cd Merge 
       $PWD/mergeTOTEMFiles <Output file name> <TOTEM data file 1> [<TOTEM data file 2>,...]
       

  • Example:
       $PWD/mergeTOTEMFiles TOTEM_9836-metadata-v1.root `listFilesEOS.py -d /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version1 --prefix='root://eostotem/' | grep 9836`
       

CMS+TOTEM merged datasets

Sample (L1_TOTEM_0; TOTEM_romanPots2): RP_doubleArm & T2 & PixelTrack

Totem Datasets: /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version2/<fill_number>
Warning for RUNs 9920 9940 9950 9976 9985 9998: use /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>
CMS Datasets: /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/RunXXX/

Fill CMS run number TOTEM run number EOS Path (Merged) Comments
         
4511 259431 9998 (*) /eos/totem/data/cmstotem/2015/90m/Merged/4511/9998 produced by Vale
4511 259429 9997 /eos/totem/data/cmstotem/2015/90m/Merged/4511/9997 produced by Vale
         
4510 259399 9980,9981,9986,9987,9989 /eos/totem/data/cmstotem/2015/90m/Merged/4510 produced by Robert
4510 259399 9985(*) /eos/totem/data/cmstotem/2015/90m/Merged/4510/9985 produced by Vale
         
4509 259388 9978 /eos/totem/data/cmstotem/2015/90m/Merged/4509 produced by Vale
4509 259388 9976 (*) /eos/totem/data/cmstotem/2015/90m/Merged/4509/9976 produced by Vale
4509 259385 9960,9961,9962 /eos/totem/data/cmstotem/2015/90m/Merged/4509 produced by Vale
4509 259385 9971 /eos/totem/data/cmstotem/2015/90m/Merged/4509/9971 produced by Vale
4509 259385 9964 /eos/totem/data/cmstotem/2015/90m/Merged/4509/9964 produced by Robert
         
4505 259352 9952 /eos/totem/data/cmstotem/2015/90m/Merged/4505/9952 produced by Hubert
4505 259352 9950 /eos/totem/data/cmstotem/2015/90m/Merged/4505/9950 produced by Vale
4505 259352 9940 /eos/totem/data/cmstotem/2015/90m/Merged/4505/9940 produced by Vale
         
4499 259237 9920 (*) /eos/totem/data/cmstotem/2015/90m/Merged/4499/9920 produced by Vale
4499 259237 9919,9922 /eos/totem/data/cmstotem/2015/90m/Merged/4499 produced by Vale
         
4496 259208 9898 /eos/totem/data/cmstotem/2015/90m/Merged/4496 produced by Robert
4496 259207 9895,9896 /eos/totem/data/cmstotem/2015/90m/Merged/4496 produced by Robert
4496 259202 9893 /eos/totem/data/cmstotem/2015/90m/Merged/4496 produced by Robert
         
4495 259163 9883 /eos/totem/data/cmstotem/2015/90m/Merged/4495 produced by Robert

(*) = Track reconstruction optimized with RP210.; Datasets in eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>

Sample (L1_TOTEM_0; TOTEM_romanPots2): ReReco - CMS with optimized track reconstruction

Totem Datasets: /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version2/<fill_number>
Warning for RUNs 9920 9940 9950 9976 9985 9998: use /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>
CMS Datasets: /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X_rereco/ (UATrees)
from RECO files: /eos/totem/data/cmstotem/2015/90m/CMS/RECO/TOTEM_romanPots2_X/

Fill CMS run number TOTEM run number EOS Path (ReReco) Comments
         
4511 259431 9998 (*) /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4511/ produced by Robert
4511 259429 9997 /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4511/ produced by Robert
         
4510 259399 9980,9981,9985(*),9986,9987,9989 /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4510/ produced by Robert
         
4509 259388 9976 (*),9978 /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4509/ produced by Robert
4509 259385 9960,9961,9962,9964,9971 /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4509/ produced by Robert
         
4505 259352 9940 (), 9950 (), 9952 /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4505/ produced by Robert
         
4499 259237 9919,9920 (*), 9922 /eos/totem/data/cmstotem/2015/90m/Merged_rereco/4499/ produced by Robert
         

(*) = Track reconstruction optimized with RP210.; Datasets in eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>

Sample (ZeroBias):

Totem Datasets: /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version2/<fill_number>
() Warning for RUNs 9920 9940 9950 9976 9985 9998: use /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>
CMS Datasets: /eos/totem/data/cmstotem/2015/90m/CMS/ZeroBias/RunXXX/

Fill CMS run number TOTEM run number EOS Path (MergedZB) Comments
         
4511 259431 9998 (*) /eos/totem/data/cmstotem/2015/90m/MergedZB/4511/ produced by Robert
4511 259429 9997 /eos/totem/data/cmstotem/2015/90m/MergedZB/4511/ produced by Robert
         
4510 259399 9980,9981,9985(*),9986,9987,9989 /eos/totem/data/cmstotem/2015/90m/MergedZB/4510/ produced by Robert
         
4509 259388 9976 (*),9978 /eos/totem/data/cmstotem/2015/90m/MergedZB/4509/ produced by Robert
4509 259385 9960,9961,9962,9964,9971 /eos/totem/data/cmstotem/2015/90m/MergedZB/4509/ produced by Robert
         
4505 259352 9940 (), 9950 (), 9952 /eos/totem/data/cmstotem/2015/90m/MergedZB/4505/ produced by Robert
         
4499 259237 9919,9920(*), 9922 /eos/totem/data/cmstotem/2015/90m/MergedZB/4499/ produced by Robert
         
4496 259208 9898 /eos/totem/data/cmstotem/2015/90m/MergedZB/4496 produced by Robert
4496 259207 9895,9896 /eos/totem/data/cmstotem/2015/90m/MergedZB/4496 produced by Robert
4496 259202 9893 /eos/totem/data/cmstotem/2015/90m/MergedZB/4496 produced by Robert
         
4495 259163 9881, 9883 /eos/totem/data/cmstotem/2015/90m/MergedZB/4495 produced by Robert

Sample (DoubleMuonOpen):

Totem Datasets: /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version2/<fill_number>
() Warning for RUNs 9920 9940 9950 9976 9985 9998: use /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>
CMS Datasets: /eos/totem/data/cmstotem/2015/90m/CMS/Muons/RunXXX/

Fill CMS run number TOTEM run number EOS Path (MergedMu) Comments
         
4511 259431 9998 (*) /eos/totem/data/cmstotem/2015/90m/MergedMu/4511/ produced by Robert
4511 259429 9997 /eos/totem/data/cmstotem/2015/90m/MergedMu/4511/ produced by Robert
         
4510 259399 9980,9981,9985(*),9986,9987,9989 /eos/totem/data/cmstotem/2015/90m/MergedMu/4510/ produced by Robert
         
4509 259388 9976 (*),9978 /eos/totem/data/cmstotem/2015/90m/MergedMu/4509/ produced by Robert
4509 259385 9960,9961,9962,9964,9971 /eos/totem/data/cmstotem/2015/90m/MergedMu/4509/ produced by Robert
         
4505 259352 9940 (), 9950 (), 9952 /eos/totem/data/cmstotem/2015/90m/MergedMu/4505/ produced by Robert
         
4499 259237 9919,9920 (*), 9922 /eos/totem/data/cmstotem/2015/90m/MergedMu/4499/ produced by Robert
         
4496 259208 9898 /eos/totem/data/cmstotem/2015/90m/MergedMu/4496 produced by Robert
4496 259207 9895,9896 /eos/totem/data/cmstotem/2015/90m/MergedMu/4496 produced by Robert
4496 259202 9893 /eos/totem/data/cmstotem/2015/90m/MergedMu/4496 produced by Robert
         
4495 259163 9881, 9883 /eos/totem/data/cmstotem/2015/90m/MergedMu/4495 produced by Robert

Test Sample (L1_TOTEM_0; TOTEM_romanPots2): 2 collection of tracks (generalTracks, PID tracks)

Totem Datasets: /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version2/<fill_number>
() Warning for RUNs 9920 9940 9950 9976 9985 9998: use /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>
CMS Datasets: /eos/totem/data/cmstotem/2015/90m/CMS/TOTEM_romanPots2_X/RunXXX/

Fill CMS run number TOTEM run number EOS Path (MergedMu) Comments
         
4509 259388 9978 /eos/totem/data/cmstotem/2015/90m/Merged2trkColl/4509/ produced by Robert
4509 259385 9962,9971 /eos/totem/data/cmstotem/2015/90m/Merged2trkColl/4509/ produced by Robert

Sample (ReRecoJets):

Totem Datasets: /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/version2/<fill_number>
() Warning for RUNs 9920 9940 9950 9976 9985 9998: use /eos/totem/data/cmstotem/2015/90m/Totem/Ntuple/v_resynch/<fill_number>
CMS Datasets: /eos/totem/data/cmstotem/2015/90m/CMS/DoubleJet32/RunXXX/

Fill CMS run number TOTEM run number EOS Path (MergedReRecoJets) Comments
         
4499 259237 9919,9920(*), 9922 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4499 produced by Eliza
         
4496 259208 9898 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4496 produced by Eliza
4496 259207 9895,9896 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4496 produced by Eliza
4496 259202 9893 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4496 produced by Eliza
         
4495 259163 9881, 9883 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4495 produced by Eliza
         
4505 259352 9940 (), 9950 (), 9952 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4505/ produced by Eliza
         
4509 259385 9960,9961,9962,9964,9971 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4509/ produced by Eliza
4509 259388 9976 (*),9978 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4509/ produced by Eliza
         
4510 259399 9980,9981,9985(*),9986,9987,9989 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4510/ produced by Eliza
         
4511 259431 9998 (*) /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4511/ produced by Eliza
4511 259429 9997 /eos/totem/data/cmstotem/2015/90m/MergedReRecoJets/4511/ produced by Eliza
         

Description of TOTEM analysis branches

T1 is off; T2 is only in trigger but not in data; the trigger bit of T2 and T2_quarter can be used to determine the gap.

Description of the TOTEM ntuple structure.

Description of CMS analysis branches

Description of CMS algorithm triggers in 90m runs

Description of TOTEM Trigger bits

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CMS RP220 V &
! T2
T2& CMS (RP220 H or RP220 V) & CMS L1SA T2 Minus Far BX T2 Plus Near T2 Minus Near (dead) T2 T2 Plus Far CMS & L1SA RP220 TopTop / BotBot RP220 Cross RP220 Horiz RP220 Vert
Bit 14 --> L1_TOTEM0; Bit 3 --> L1_TOTEM3; Bit 6 --> L1_TOTEM1; Bit 9 --> L1_TOTEM2

-- ValentinaAvati - 2015-10-20

Edit | Attach | Watch | Print version | History: r66 < r65 < r64 < r63 < r62 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r66 - 2017-01-23 - RobertCiesielski
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback