Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-05 02:39:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.Trigger.bphMonitoring_cfi import bphMonitoring as _bphMonitoring
0004 
0005 hltBPHmonitoring = _bphMonitoring.clone(
0006     FolderName = 'HLT/BPH/Dimuon_10_Jpsi_Barrel/',
0007     tnp = True,
0008     max_dR = 1.4,
0009     minmass = 2.596,
0010     maxmass = 3.596,
0011     Upsilon = 0,
0012     Jpsi = 0,
0013     seagull = 0,
0014     ptCut = 0,
0015     displaced = 0,
0016 
0017 #hltBPHmonitoring.options = cms.untracked.PSet(
0018 #    SkipEvent = cms.untracked.vstring('ProductNotFound')
0019 #)
0020 
0021     histoPSet = dict(
0022         ptBinning = [-0.5, 0, 2, 4, 8, 10, 12, 16, 20, 25, 30, 35, 40, 50],
0023         dMuPtBinning = [6, 8, 12, 16,  20,  25, 30, 35, 40, 50, 70],
0024         phiPSet = dict(
0025             nbins = 8,
0026             xmin  = -3.2,
0027             xmax  = 3.2,
0028         ),
0029         etaPSet = dict(
0030             nbins = 12,
0031             xmin  = -2.4,
0032             xmax  = 2.4,
0033         ),
0034         d0PSet = dict(
0035             nbins = 50,
0036             xmin  = -5.,
0037             xmax  = 5,
0038         ),
0039         z0PSet = dict(
0040             nbins = 60,
0041             xmin  = -15,
0042             xmax  = 15,
0043         ),
0044 
0045         dRPSet = dict(
0046             nbins = 26,
0047             xmin  = 0,
0048             xmax  = 1.3,
0049         ),
0050 
0051         massPSet = dict(
0052             nbins = 140,
0053             xmin  = 0,
0054             xmax  = 7.,
0055         ),
0056         BmassPSet = dict(
0057             nbins = 20,
0058             xmin  = 5.1,
0059             xmax  = 5.5,
0060         ),
0061 
0062         dcaPSet = dict(
0063             nbins = 10,
0064             xmin  = 0,
0065             xmax  = 0.5,
0066         ),
0067 
0068         dsPSet = dict(
0069             nbins = 15,
0070             xmin  = 0,
0071             xmax  = 60,
0072         ),
0073 
0074         cosPSet = dict(
0075             nbins = 10,
0076             xmin  = 0.9,
0077             xmax  = 1,
0078         ),
0079     
0080         probBinning = [0.01,0.02,0.04,0.06,0.08,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0],
0081     ),
0082     tracks = "generalTracks", # tracks??
0083     offlinePVs = "offlinePrimaryVertices", # PVs
0084     beamSpot = "offlineBeamSpot", # 
0085     muons = "muons", # 
0086     photons = "photons", # 
0087     hltTriggerSummaryAOD   = "hltTriggerSummaryAOD::HLT",
0088     #DMSelection_ref = "",
0089     #muoSelection_ref = "",
0090     #muoSelection_ = "",
0091 
0092     numGenericTriggerEventPSet = dict(
0093         andOr         =  False,
0094         #dbLabel       = "BPHDQMTrigger", # it does not exist yet, we should consider the possibility of using the DB, but as it is now it will need a label per path !
0095         andOrHlt      = True, # True:=OR; False:=AND
0096         andOrL1      = True, # True:=OR; False:=AND
0097         hltInputTag   = "TriggerResults::HLT",
0098         hltPaths      = ["HLT_Dimuon0_Jpsi_L1_NoOS_v*"], # HLT_ZeroBias_v*
0099         #l1Algorithms      = ["L1_DoubleMu0_SQ"], # HLT_ZeroBias_v*
0100         #hltDBKey      = "diMu10",
0101         errorReplyHlt = False,
0102         errorReplyL1 =  True,
0103         l1BeforeMask = True, 
0104         verbosityLevel = 0
0105     ),
0106     denGenericTriggerEventPSet = dict(
0107         andOr         = False,
0108         andOrHlt      = True,# True:=OR; False:=AND
0109         #dcsInputTag   =  "scalersRawToDigi",
0110         #dcsRecordInputTag = "onlineMetaDataDigis",
0111         hltInputTag   =  "TriggerResults::HLT" ,
0112         hltPaths  = ["HLT_Mu7p5_Track2_Jpsi_v*" ], #reference
0113         #l1Algorithms      = ["L1_DoubleMu0_SQ"], # HLT_ZeroBias_v*
0114         #dcsPartitions = [0,1,2,3,5,6,7,8,9,12,13,14,15,16,17,20,22,24, 25, 26, 27, 28, 29], # 24-27: strip, 28-29: pixel
0115         andOrDcs      = False,
0116         errorReplyDcs =  True,
0117         verbosityLevel = 0,
0118     )
0119 )
0120 
0121 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0122 stage2L1Trigger.toModify(hltBPHmonitoring,
0123                          stageL1Trigger = 2,
0124                          numGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
0125                                                            l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0126                                                            l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0127                                                            ReadPrescalesFromFile = cms.bool(True)),
0128                          denGenericTriggerEventPSet = dict(stage2 = cms.bool(True),
0129                                                            l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0130                                                            l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0131                                                            ReadPrescalesFromFile = cms.bool(True)))
0132