Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:14

0001 import FWCore.ParameterSet.Config as cms
0002 import DQM.TrackingMonitor.TrackingMonitor_cfi
0003 import DQM.TrackingMonitor.V0Monitor_cfi
0004 import DQMOffline.Alignment.TkAlCaRecoMonitor_cfi
0005 import DQMOffline.Alignment.DiMuonVertexMonitor_cfi
0006 import DQMOffline.Alignment.DiMuonMassBiasMonitor_cfi
0007 
0008 #Below all DQM modules for TrackerAlignment AlCaRecos are instantiated.
0009 ######################################################
0010 #############---  TkAlZMuMu ---#######################
0011 ######################################################
0012 __selectionName = 'TkAlZMuMu'
0013 ALCARECOTkAlZMuMuTrackingDQM = DQM.TrackingMonitor.TrackingMonitor_cfi.TrackMon.clone(
0014 #names and desigantions
0015     TrackProducer = 'ALCARECO'+__selectionName,
0016     AlgoName = 'ALCARECO'+__selectionName,
0017     FolderName = "AlCaReco/"+__selectionName,
0018     MeasurementState = "default",
0019     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0020     doSeedParameterHistos = False,
0021 # Margins and settings
0022     TkSizeBin = 6,
0023     TkSizeMin = -0.5,
0024     TkSizeMax = 5.5,
0025     TrackPtBin = 150,
0026     TrackPtMin = 0,
0027     TrackPtMax = 150,
0028 #choose histos from TrackingMonitor
0029     doAllPlots = True
0030 )
0031 
0032 ALCARECOTkAlZMuMuTkAlDQM =  DQMOffline.Alignment.TkAlCaRecoMonitor_cfi.TkAlCaRecoMonitor.clone(
0033 #names and desigantions
0034     TrackProducer = 'ALCARECO'+__selectionName,
0035     AlgoName = 'ALCARECO'+__selectionName,
0036     FolderName = "AlCaReco/"+__selectionName,
0037 # margins and settings
0038     runsOnReco = True,
0039     fillInvariantMass = True,
0040     MassBin = 300,
0041     MassMin = 50.0,
0042     MassMax = 150.0,
0043     SumChargeBin = 11,
0044     SumChargeMin = -5.5,
0045     SumChargeMax = 5.5,
0046     TrackPtBin= 150,
0047     TrackPtMin = 0.0,
0048     TrackPtMax = 150.0
0049 )
0050 
0051 ALCARECOTkAlZMuMuDQM = cms.Sequence( ALCARECOTkAlZMuMuTrackingDQM + ALCARECOTkAlZMuMuTkAlDQM )
0052 
0053 #########################################################
0054 #############--- TkAlDiMuonAndVertex ---#################
0055 #########################################################
0056 __selectionName = 'TkAlDiMuonAndVertex'
0057 __trackCollName = 'TkAlDiMuon'
0058 
0059 ALCARECOTkAlDiMuonAndVertexTkAlDQM =  DQMOffline.Alignment.TkAlCaRecoMonitor_cfi.TkAlCaRecoMonitor.clone(
0060 #names and desigantions
0061     TrackProducer = 'ALCARECO'+__trackCollName,
0062     AlgoName = 'ALCARECO'+__trackCollName,
0063     FolderName = "AlCaReco/"+__selectionName,
0064 # margins and settings
0065     runsOnReco = True,
0066     fillInvariantMass = True,
0067     MassBin = 300,
0068     MassMin = 50.0,
0069     MassMax = 150.0,
0070     SumChargeBin = 11,
0071     SumChargeMin = -5.5,
0072     SumChargeMax = 5.5,
0073     TrackPtBin= 150,
0074     TrackPtMin = 0.0,
0075     TrackPtMax = 150.0
0076 )
0077 
0078 ALCARECOTkAlDiMuonAndVertexVtxDQM = DQMOffline.Alignment.DiMuonVertexMonitor_cfi.DiMuonVertexMonitor.clone(
0079     muonTracks = 'ALCARECO'+__trackCollName,
0080     vertices = 'offlinePrimaryVertices',
0081     FolderName = "AlCaReco/"+__selectionName,
0082     maxSVdist = 50,
0083     SVDistConfig = dict(maxDeltaEta = 3.7, title = 'PV - Z Vertex distance'),
0084     SVDistSigConfig = dict(maxDeltaEta = 3.7, title = 'PV - Z Vertex distance significance'),
0085     SVDist3DConfig = dict(maxDeltaEta = 3.7, title = 'PV - Z Vertex 3D distance'),
0086     SVDist3DSigConfig = dict(maxDeltaEta = 3.7, title = 'PV - Z Vertex 3D distance significance')
0087 )
0088 
0089 ALCARECOTkAlDiMuonMassBiasDQM = DQMOffline.Alignment.DiMuonMassBiasMonitor_cfi.DiMuonMassBiasMonitor.clone(
0090     muonTracks = 'ALCARECO'+__trackCollName,
0091     FolderName = "AlCaReco/"+__selectionName,
0092     DiMuMassConfig = dict(maxDeltaEta = 3.5)
0093 )
0094 
0095 ALCARECOTkAlDiMuonAndVertexDQM = cms.Sequence(ALCARECOTkAlDiMuonAndVertexTkAlDQM + ALCARECOTkAlDiMuonAndVertexVtxDQM + ALCARECOTkAlDiMuonMassBiasDQM)
0096 
0097 #########################################################
0098 #############---  TkAlZMuMuHI ---########################
0099 #########################################################
0100 __selectionName = 'TkAlZMuMuHI'
0101 ALCARECOTkAlZMuMuHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0102 #names and desigantions
0103     TrackProducer = 'ALCARECO'+__selectionName,
0104     AlgoName = 'ALCARECO'+__selectionName,
0105     FolderName = "AlCaReco/"+__selectionName,
0106     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0107     allTrackProducer = "hiGeneralTracks" ,
0108     primaryVertex = 'hiSelectedVertex'
0109 )
0110 
0111 ALCARECOTkAlZMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0112 #names and desigantions
0113     TrackProducer = 'ALCARECO'+__selectionName,
0114     AlgoName = 'ALCARECO'+__selectionName,
0115     FolderName = "AlCaReco/"+__selectionName,
0116     ReferenceTrackProducer= "hiGeneralTracks",
0117     CaloJetCollection= "iterativeConePu5CaloJets"
0118 )
0119 
0120 ALCARECOTkAlZMuMuHIDQM = cms.Sequence( ALCARECOTkAlZMuMuHITrackingDQM + ALCARECOTkAlZMuMuHITkAlDQM )
0121 
0122 #########################################################
0123 #############---  TkAlZMuMuPA ---########################
0124 #########################################################
0125 __selectionName = 'TkAlZMuMuPA'
0126 ALCARECOTkAlZMuMuPATrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0127     #names and desigantions
0128     TrackProducer = 'ALCARECO'+__selectionName,
0129     AlgoName = 'ALCARECO'+__selectionName,
0130     FolderName = "AlCaReco/"+__selectionName,
0131     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
0132 )
0133 
0134 ALCARECOTkAlZMuMuPATkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0135     #names and desigantions
0136     TrackProducer = 'ALCARECO'+__selectionName,
0137     AlgoName = 'ALCARECO'+__selectionName,
0138     FolderName = "AlCaReco/"+__selectionName
0139 )
0140 
0141 ALCARECOTkAlZMuMuPADQM = cms.Sequence( ALCARECOTkAlZMuMuPATrackingDQM + ALCARECOTkAlZMuMuPATkAlDQM )
0142 
0143 #########################################################
0144 #############---  TkAlJpsiMuMu ---#######################
0145 #########################################################
0146 __selectionName = 'TkAlJpsiMuMu'
0147 ALCARECOTkAlJpsiMuMuTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0148     #names and desigantions
0149     TrackProducer = 'ALCARECO'+__selectionName,
0150     AlgoName = 'ALCARECO'+__selectionName,
0151     FolderName = "AlCaReco/"+__selectionName,
0152     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0153     # margins and settings
0154     TrackPtMax = 50
0155 )
0156 ALCARECOTkAlJpsiMuMuTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0157     #names and desigantions
0158     TrackProducer = 'ALCARECO'+__selectionName,
0159     AlgoName = 'ALCARECO'+__selectionName,
0160     FolderName = "AlCaReco/"+__selectionName,
0161     # margins and settings
0162     MassMin = 2.5,
0163     MassMax = 4.0,
0164     TrackPtMax = 50
0165 )
0166 
0167 ALCARECOTkAlJpsiMuMuVtxDQM = DQMOffline.Alignment.DiMuonVertexMonitor_cfi.DiMuonVertexMonitor.clone(
0168     muonTracks = 'ALCARECO'+__selectionName,
0169     decayMotherName = "J/#psi",
0170     vertices = 'offlinePrimaryVertices',
0171     FolderName = "AlCaReco/"+__selectionName,
0172     maxSVdist = 50,
0173     CosPhi3DConfig = dict(maxDeltaEta = 1.3),
0174     SVDistConfig = dict(maxDeltaEta = 1.3, title = 'PV - J/#psi Vertex distance'),
0175     SVDistSigConfig = dict(maxDeltaEta = 1.3, title = 'PV - J/#psi Vertex distance significance'),
0176     SVDist3DConfig = dict(maxDeltaEta = 1.3, title = 'PV - J/#psi Vertex 3D distance'),
0177     SVDist3DSigConfig = dict(maxDeltaEta = 1.3, title = 'PV - J/#psi Vertex 3D distance significance')
0178 )
0179 
0180 ALCARECOTkAlJpsiMassBiasDQM = DQMOffline.Alignment.DiMuonMassBiasMonitor_cfi.DiMuonMassBiasMonitor.clone(
0181     muonTracks = 'ALCARECO'+__selectionName,
0182     FolderName = "AlCaReco/"+__selectionName,
0183     decayMotherName = 'J/#psi',
0184     DiMuMassConfig = dict(ymin = 2.7 ,ymax = 3.4, maxDeltaEta = 1.3))
0185 
0186 ALCARECOTkAlJpsiMuMuDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuTrackingDQM + ALCARECOTkAlJpsiMuMuTkAlDQM + ALCARECOTkAlJpsiMuMuVtxDQM + ALCARECOTkAlJpsiMassBiasDQM)
0187 
0188 #########################################################
0189 #############---  TkAlJpsiMuMuHI ---#####################
0190 #########################################################
0191 __selectionName = 'TkAlJpsiMuMuHI'
0192 ALCARECOTkAlJpsiMuMuHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0193     #names and desigantions
0194     TrackProducer = 'ALCARECO'+__selectionName,
0195     AlgoName = 'ALCARECO'+__selectionName,
0196     FolderName = "AlCaReco/"+__selectionName,
0197     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0198     allTrackProducer = "hiGeneralTracks",
0199     primaryVertex = 'hiSelectedVertex',
0200     # margins and settings
0201     TrackPtMax = 50
0202 )
0203 
0204 ALCARECOTkAlJpsiMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0205 #names and desigantions
0206     TrackProducer = 'ALCARECO'+__selectionName,
0207     AlgoName = 'ALCARECO'+__selectionName,
0208     FolderName = "AlCaReco/"+__selectionName,
0209     ReferenceTrackProducer= "hiGeneralTracks",
0210     CaloJetCollection= "iterativeConePu5CaloJets",
0211 # margins and settings
0212     MassMin = 2.5,
0213     MassMax = 4.0,
0214     TrackPtMax = 50
0215 )
0216 
0217 ALCARECOTkAlJpsiMuMuHIDQM = cms.Sequence( ALCARECOTkAlJpsiMuMuHITrackingDQM + ALCARECOTkAlJpsiMuMuHITkAlDQM )
0218 
0219 ############################################################
0220 #############---  TkAlUpsilonMuMu ---#######################
0221 ############################################################
0222 __selectionName = 'TkAlUpsilonMuMu'
0223 ALCARECOTkAlUpsilonMuMuTrackingDQM = ALCARECOTkAlJpsiMuMuTrackingDQM.clone(
0224 #names and desigantions
0225     TrackProducer = 'ALCARECO'+__selectionName,
0226     AlgoName = 'ALCARECO'+__selectionName,
0227     FolderName = "AlCaReco/"+__selectionName,
0228     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
0229 )
0230 
0231 ALCARECOTkAlUpsilonMuMuTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0232 #names and desigantions
0233     TrackProducer = 'ALCARECO'+__selectionName,
0234     AlgoName = 'ALCARECO'+__selectionName,
0235     FolderName = "AlCaReco/"+__selectionName,
0236 # margins and settings
0237     MassMin = 8.,
0238     MassMax = 10,
0239     TrackPtMax = 50
0240 )
0241 
0242 ALCARECOTkAlUpsilonMuMuVtxDQM = DQMOffline.Alignment.DiMuonVertexMonitor_cfi.DiMuonVertexMonitor.clone(
0243     muonTracks = 'ALCARECO'+__selectionName,
0244     decayMotherName = "#Upsilon",
0245     vertices = 'offlinePrimaryVertices',
0246     FolderName = "AlCaReco/"+__selectionName,
0247     maxSVdist = 50,
0248     CosPhi3DConfig = dict(maxDeltaEta = 1.6),
0249     SVDistConfig = dict(maxDeltaEta = 1.6, title = 'PV - #Upsilon Vertex distance'),
0250     SVDistSigConfig = dict(maxDeltaEta = 1.6, title = 'PV - #Upsilon Vertex distance significance'),
0251     SVDist3DConfig = dict(maxDeltaEta = 1.6, title = 'PV - #Upsilon Vertex 3D distance'),
0252     SVDist3DSigConfig = dict(maxDeltaEta = 1.6, title = 'PV - #Upsilon Vertex 3D distance significance')
0253 )
0254 
0255 ALCARECOTkAlUpsilonMassBiasDQM = DQMOffline.Alignment.DiMuonMassBiasMonitor_cfi.DiMuonMassBiasMonitor.clone(
0256     muonTracks = 'ALCARECO'+__selectionName,
0257     FolderName = "AlCaReco/"+__selectionName,
0258     decayMotherName = '#Upsilon',
0259     DiMuMassConfig = dict(ymin = 8.9 ,ymax = 9.9, maxDeltaEta = 1.6))
0260 
0261 ALCARECOTkAlUpsilonMuMuDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuTrackingDQM + ALCARECOTkAlUpsilonMuMuTkAlDQM + ALCARECOTkAlUpsilonMuMuVtxDQM + ALCARECOTkAlUpsilonMassBiasDQM)
0262 
0263 ############################################################
0264 #############---  TkAlUpsilonMuMuHI ---#####################
0265 ############################################################
0266 __selectionName = 'TkAlUpsilonMuMuHI'
0267 ALCARECOTkAlUpsilonMuMuHITrackingDQM = ALCARECOTkAlJpsiMuMuHITrackingDQM.clone(
0268     #names and desigantions
0269     TrackProducer = 'ALCARECO'+__selectionName,
0270     AlgoName = 'ALCARECO'+__selectionName,
0271     FolderName = "AlCaReco/"+__selectionName,
0272     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0273     allTrackProducer = "hiGeneralTracks",
0274     primaryVertex = 'hiSelectedVertex',
0275     # margins and settings
0276     TrackPtMax = 50
0277 )
0278 
0279 ALCARECOTkAlUpsilonMuMuHITkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0280     #names and desigantions
0281     TrackProducer = 'ALCARECO'+__selectionName,
0282     AlgoName = 'ALCARECO'+__selectionName,
0283     FolderName = "AlCaReco/"+__selectionName,
0284     ReferenceTrackProducer= "hiGeneralTracks",
0285     CaloJetCollection= "iterativeConePu5CaloJets",
0286     # margins and settings
0287     MassMin = 8.,
0288     MassMax = 10,
0289     TrackPtMax = 50
0290 )
0291 
0292 ALCARECOTkAlUpsilonMuMuHIDQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuHITrackingDQM + ALCARECOTkAlUpsilonMuMuHITkAlDQM )
0293 
0294 ############################################################
0295 #############---  TkAlUpsilonMuMuPA ---#####################
0296 ############################################################
0297 __selectionName = 'TkAlUpsilonMuMuPA'
0298 ALCARECOTkAlUpsilonMuMuPATrackingDQM = ALCARECOTkAlUpsilonMuMuTrackingDQM.clone(
0299     #names and desigantions
0300     TrackProducer = 'ALCARECO'+__selectionName,
0301     AlgoName = 'ALCARECO'+__selectionName,
0302     FolderName = "AlCaReco/"+__selectionName,
0303     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0304     # margins and settings
0305     TrackPtMax = 50
0306 )
0307 
0308 ALCARECOTkAlUpsilonMuMuPATkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0309     #names and desigantions
0310     TrackProducer = 'ALCARECO'+__selectionName,
0311     AlgoName = 'ALCARECO'+__selectionName,
0312     FolderName = "AlCaReco/"+__selectionName,
0313     # margins and settings
0314     MassMin = 8.,
0315     MassMax = 10,
0316     TrackPtMax = 50
0317 )
0318 
0319 ALCARECOTkAlUpsilonMuMuPADQM = cms.Sequence( ALCARECOTkAlUpsilonMuMuPATrackingDQM + ALCARECOTkAlUpsilonMuMuPATkAlDQM )
0320 
0321 #########################################################
0322 #############---  TkAlBeamHalo ---#######################
0323 #########################################################
0324 __selectionName = 'TkAlBeamHalo'
0325 ALCARECOTkAlBeamHaloTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0326     #names and desigantions
0327     TrackProducer = 'ALCARECO'+__selectionName,
0328     AlgoName = 'ALCARECO'+__selectionName,
0329     FolderName = "AlCaReco/"+__selectionName,
0330     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
0331 )
0332 
0333 
0334 ALCARECOTkAlBeamHaloDQM = cms.Sequence( ALCARECOTkAlBeamHaloTrackingDQM )
0335 
0336 ########################################################
0337 #############---  TkAlMinBias ---#######################
0338 ########################################################
0339 __selectionName = 'TkAlMinBias'
0340 ALCARECOTkAlMinBiasTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0341     #names and desigantions
0342     TrackProducer = 'ALCARECO'+__selectionName,
0343     AlgoName = 'ALCARECO'+__selectionName,
0344     FolderName = "AlCaReco/"+__selectionName,
0345     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0346     # margins and settings
0347     TkSizeBin = 71,
0348     TkSizeMin = -0.5,
0349     TkSizeMax = 70.5,
0350     TrackPtMax = 30
0351 )
0352 
0353 ALCARECOTkAlMinBiasTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0354     #names and desigantions
0355     TrackProducer = 'ALCARECO'+__selectionName,
0356     AlgoName = 'ALCARECO'+__selectionName,
0357     FolderName = "AlCaReco/"+__selectionName,
0358     # margins and settings
0359     fillInvariantMass = False,
0360     TrackPtMax = 30,
0361     SumChargeBin = 101,
0362     SumChargeMin = -50.5,
0363     SumChargeMax = 50.5
0364 )
0365 
0366 ALCARECOTkAlMinBiasDQM = cms.Sequence( ALCARECOTkAlMinBiasTrackingDQM + ALCARECOTkAlMinBiasTkAlDQM )
0367 
0368 ########################################################
0369 #############---  TkAlKshorts ---#######################
0370 ########################################################
0371 __selectionName = 'TkAlKShortTracks'
0372 ALCARECOTkAlKShortTracksTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0373     #names and desigantions
0374     TrackProducer = 'ALCARECO'+__selectionName,
0375     AlgoName = 'ALCARECO'+__selectionName,
0376     FolderName = "AlCaReco/"+__selectionName,
0377     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0378     doSIPPlots = True,
0379     doDCAPlots = True,
0380     doDCAwrt000Plots = True,
0381     doDCAwrtPVPlots = True,
0382     # margins and settings
0383     TkSizeBin = 71,
0384     TkSizeMin = -0.5,
0385     TkSizeMax = 70.5,
0386     TrackPtMax = 30
0387 )
0388 
0389 ALCARECOTkAlKShortTracksTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0390     #names and desigantions
0391     TrackProducer = 'ALCARECO'+__selectionName,
0392     AlgoName = 'ALCARECO'+__selectionName,
0393     FolderName = "AlCaReco/"+__selectionName,
0394     # margins and settings
0395     fillInvariantMass = False,
0396     TrackPtMax = 30,
0397     SumChargeBin = 101,
0398     SumChargeMin = -50.5,
0399     SumChargeMax = 50.5
0400 )
0401 
0402 # Added module for V0Monitoring
0403 ALCARECOTkAlKShortMonitor = DQM.TrackingMonitor.V0Monitor_cfi.v0Monitor.clone(
0404     FolderName = "AlCaReco/"+__selectionName+"/KsCandidates",
0405     v0         = "generalV0Candidates:Kshort")
0406 
0407 ALCARECOTkAlKShortMonitor.histoPSet.massPSet = cms.PSet(nbins = cms.int32 (100),
0408                                                         xmin  = cms.double(0.400),
0409                                                         xmax  = cms.double(0.600))
0410 
0411 ALCARECOTkAlKShortTracksDQM = cms.Sequence( ALCARECOTkAlKShortTracksTrackingDQM + ALCARECOTkAlKShortTracksTkAlDQM + ALCARECOTkAlKShortMonitor)
0412 
0413 ########################################################
0414 #############---  TkAlLambdas ---#######################
0415 ########################################################
0416 __selectionName = 'TkAlLambdaTracks'
0417 ALCARECOTkAlLambdaTracksTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0418     #names and desigantions
0419     TrackProducer = 'ALCARECO'+__selectionName,
0420     AlgoName = 'ALCARECO'+__selectionName,
0421     FolderName = "AlCaReco/"+__selectionName,
0422     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0423     doSIPPlots = True,
0424     doDCAPlots = True,
0425     doDCAwrt000Plots = True,
0426     doDCAwrtPVPlots = True,
0427     # margins and settings
0428     TkSizeBin = 71,
0429     TkSizeMin = -0.5,
0430     TkSizeMax = 70.5,
0431     TrackPtMax = 30
0432 )
0433 
0434 ALCARECOTkAlLambdaTracksTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0435     #names and desigantions
0436     TrackProducer = 'ALCARECO'+__selectionName,
0437     AlgoName = 'ALCARECO'+__selectionName,
0438     FolderName = "AlCaReco/"+__selectionName,
0439     # margins and settings
0440     fillInvariantMass = False,
0441     TrackPtMax = 30,
0442     SumChargeBin = 101,
0443     SumChargeMin = -50.5,
0444     SumChargeMax = 50.5
0445 )
0446 
0447 # Added module for V0Monitoring
0448 ALCARECOLambdaMonitor = DQM.TrackingMonitor.V0Monitor_cfi.v0Monitor.clone(
0449     FolderName = "AlCaReco/"+__selectionName+"/LambdaCandidates",
0450     v0 = "generalV0Candidates:Lambda")
0451 
0452 ALCARECOLambdaMonitor.histoPSet.massPSet = cms.PSet(nbins = cms.int32(100),
0453                                             xmin  = cms.double(1.050),
0454                                             xmax  = cms.double(1.250))
0455 
0456 ALCARECOTkAlLambdaTracksDQM = cms.Sequence( ALCARECOTkAlLambdaTracksTrackingDQM + ALCARECOTkAlLambdaTracksTkAlDQM + ALCARECOLambdaMonitor)
0457 
0458 ########################################################
0459 #############---  TkAlJetHT ---#######################
0460 ########################################################
0461 __selectionName = 'TkAlJetHT'
0462 ALCARECOTkAlJetHTTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0463     #names and desigantions
0464     TrackProducer = 'ALCARECO'+__selectionName,
0465     AlgoName = 'ALCARECO'+__selectionName,
0466     FolderName = "AlCaReco/"+__selectionName,
0467     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0468     # margins and settings
0469     TkSizeBin = 71,
0470     TkSizeMin = -0.5,
0471     TkSizeMax = 70.5,
0472     TrackPtMax = 30
0473 )
0474 
0475 ALCARECOTkAlJetHTTkAlDQM = ALCARECOTkAlZMuMuTkAlDQM.clone(
0476     #names and desigantions
0477     TrackProducer = 'ALCARECO'+__selectionName,
0478     AlgoName = 'ALCARECO'+__selectionName,
0479     FolderName = "AlCaReco/"+__selectionName,
0480     # margins and settings
0481     fillInvariantMass = False,
0482     TrackPtMax = 30,
0483     SumChargeBin = 101,
0484     SumChargeMin = -50.5,
0485     SumChargeMax = 50.5
0486 )
0487 
0488 ALCARECOTkAlJetHTDQM = cms.Sequence( ALCARECOTkAlJetHTTrackingDQM + ALCARECOTkAlJetHTTkAlDQM)
0489 
0490 ########################################################
0491 #############---  TkAlMinBiasHI ---#####################
0492 ########################################################
0493 __selectionName = 'TkAlMinBiasHI'
0494 ALCARECOTkAlMinBiasHITrackingDQM = ALCARECOTkAlMinBiasTrackingDQM.clone(
0495     #names and desigantions
0496     TrackProducer = 'ALCARECO'+__selectionName,
0497     AlgoName = 'ALCARECO'+__selectionName,
0498     FolderName = "AlCaReco/"+__selectionName,
0499     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0500     primaryVertex = "hiSelectedVertex",
0501     allTrackProducer = "hiGeneralTracks",
0502     # margins and settings
0503     TkSizeBin = 71,
0504     TkSizeMin = -0.5,
0505     TkSizeMax = 70.5,
0506     TrackPtMax = 30
0507 )
0508 
0509 ALCARECOTkAlMinBiasHITkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
0510     #names and desigantions
0511     TrackProducer = 'ALCARECO'+__selectionName,
0512     ReferenceTrackProducer = 'hiGeneralTracks',
0513     CaloJetCollection = 'iterativeConePu5CaloJets',
0514     AlgoName = 'ALCARECO'+__selectionName,
0515     FolderName = "AlCaReco/"+__selectionName,
0516     # margins and settings
0517     fillInvariantMass = False,
0518     TrackPtMax = 30,
0519     SumChargeBin = 101,
0520     SumChargeMin = -50.5,
0521     SumChargeMax = 50.5
0522 )
0523 
0524 ALCARECOTkAlMinBiasHIDQM = cms.Sequence( ALCARECOTkAlMinBiasHITrackingDQM + ALCARECOTkAlMinBiasHITkAlDQM )
0525 
0526 #############################################################
0527 #############---  TkAlMuonIsolated ---#######################
0528 #############################################################
0529 __selectionName = 'TkAlMuonIsolated'
0530 ALCARECOTkAlMuonIsolatedTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0531     #names and desigantions
0532     TrackProducer = 'ALCARECO'+__selectionName,
0533     AlgoName = 'ALCARECO'+__selectionName,
0534     FolderName = "AlCaReco/"+__selectionName,
0535     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0536     # margins and settings
0537     TkSizeBin = 16,
0538     TkSizeMin = -0.5,
0539     TkSizeMax = 15.5
0540 )
0541 ALCARECOTkAlMuonIsolatedTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
0542     TrackProducer = 'ALCARECO'+__selectionName,
0543     AlgoName = 'ALCARECO'+__selectionName,
0544     FolderName = "AlCaReco/"+__selectionName
0545 )
0546 
0547 ALCARECOTkAlMuonIsolatedDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedTrackingDQM + ALCARECOTkAlMuonIsolatedTkAlDQM )
0548 
0549 #############################################################
0550 #############---  TkAlMuonIsolatedHI ---#####################
0551 #############################################################
0552 __selectionName = 'TkAlMuonIsolatedHI'
0553 ALCARECOTkAlMuonIsolatedHITrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0554     #names and desigantions
0555     TrackProducer = 'ALCARECO'+__selectionName,
0556     AlgoName = 'ALCARECO'+__selectionName,
0557     FolderName = "AlCaReco/"+__selectionName,
0558     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0559     allTrackProducer = "hiGeneralTracks",
0560     primaryVertex = 'hiSelectedVertex',
0561     # margins and settings
0562     TkSizeBin = 16,
0563     TkSizeMin = -0.5,
0564     TkSizeMax = 15.5
0565 )
0566 ALCARECOTkAlMuonIsolatedHITkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
0567     TrackProducer = 'ALCARECO'+__selectionName,
0568     AlgoName = 'ALCARECO'+__selectionName,
0569     FolderName = "AlCaReco/"+__selectionName,
0570     ReferenceTrackProducer= "hiGeneralTracks",
0571     CaloJetCollection= "iterativeConePu5CaloJets" 
0572 )
0573 
0574 ALCARECOTkAlMuonIsolatedHIDQM = cms.Sequence( ALCARECOTkAlMuonIsolatedHITrackingDQM + ALCARECOTkAlMuonIsolatedHITkAlDQM )
0575 
0576 #############################################################
0577 #############---  TkAlMuonIsolatedPA ---#####################
0578 #############################################################
0579 __selectionName = 'TkAlMuonIsolatedPA'
0580 ALCARECOTkAlMuonIsolatedPATrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0581     #names and desigantions
0582     TrackProducer = 'ALCARECO'+__selectionName,
0583     AlgoName = 'ALCARECO'+__selectionName,
0584     FolderName = "AlCaReco/"+__selectionName,
0585     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0586     # margins and settings
0587     TkSizeBin = 16,
0588     TkSizeMin = -0.5,
0589     TkSizeMax = 15.5
0590 )
0591 ALCARECOTkAlMuonIsolatedPATkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
0592     TrackProducer = 'ALCARECO'+__selectionName,
0593     AlgoName = 'ALCARECO'+__selectionName,
0594     FolderName = "AlCaReco/"+__selectionName
0595 )
0596 
0597 ALCARECOTkAlMuonIsolatedPADQM = cms.Sequence( ALCARECOTkAlMuonIsolatedPATrackingDQM + ALCARECOTkAlMuonIsolatedPATkAlDQM )
0598 
0599 ####################################################
0600 #############---  TkAlLAS ---#######################
0601 ####################################################
0602 import DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi
0603 __selectionName = 'TkAlLAS'
0604 ALCARECOTkAlLASDigiDQM= DQMOffline.Alignment.LaserAlignmentT0ProducerDQM_cfi.LaserAlignmentT0ProducerDQM.clone(
0605     # names and designation
0606     FolderName = "AlCaReco/"+__selectionName,
0607     # settings
0608     LowerAdcThreshold = 15,
0609     UpperAdcThreshold = 220,
0610     DigiProducerList = cms.VPSet(
0611         cms.PSet(
0612             DigiLabel = cms.string( 'ZeroSuppressed' ),
0613             DigiType = cms.string( 'Processed' ),
0614             DigiProducer = cms.string( 'ALCARECOTkAlLAST0Producer' )
0615         )
0616     )
0617 )
0618 ALCARECOTkAlLASDQM = cms.Sequence( ALCARECOTkAlLASDigiDQM )
0619 
0620 ##################################################################
0621 ###### DQM modules for cosmic data taking during collisions ######
0622 ##################################################################
0623 ###############################
0624 ### TkAlCosmicsInCollisions ###
0625 ###############################
0626 __selectionName = 'TkAlCosmicsInCollisions'
0627 ALCARECOTkAlCosmicsInCollisionsTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0628     #names and desigantions
0629     TrackProducer = 'ALCARECO'+__selectionName,
0630     AlgoName = 'ALCARECO'+__selectionName,
0631     FolderName = 'AlCaReco/TkAlCosmicsInCollisions',
0632     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0633     # margins and settings
0634     TrackPtBin = 500,
0635     TrackPtMin = 0,
0636     TrackPtMax = 500
0637 )
0638 ALCARECOTkAlCosmicsInCollisionsTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
0639 #names and desigantions
0640     FolderName = 'AlCaReco/TkAlCosmicsInCollisions',
0641     TrackProducer = 'ALCARECO'+__selectionName,
0642     ReferenceTrackProducer = 'cosmicDCTracks',
0643     AlgoName = 'ALCARECO'+__selectionName
0644 )
0645 
0646 ALCARECOTkAlCosmicsInCollisionsDQM = cms.Sequence( ALCARECOTkAlCosmicsInCollisionsTrackingDQM + ALCARECOTkAlCosmicsInCollisionsTkAlDQM )
0647 
0648 ################################################
0649 ###### DQM modules for cosmic data taking ######
0650 ################################################
0651 ########################
0652 ### TkAlCosmicsCTF0T ###
0653 ########################
0654 __selectionName = 'TkAlCosmicsCTF0T'
0655 ALCARECOTkAlCosmicsCTF0TTrackingDQM = ALCARECOTkAlZMuMuTrackingDQM.clone(
0656     #names and desigantions
0657     TrackProducer = 'ALCARECO'+__selectionName,
0658     AlgoName = 'ALCARECO'+__selectionName,
0659     FolderName = 'AlCaReco/TkAlCosmics0T',
0660     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0661     # margins and settings
0662     TrackPtBin = 500,
0663     TrackPtMin = 0,
0664     TrackPtMax = 500
0665 )
0666 ALCARECOTkAlCosmicsCTF0TTkAlDQM = ALCARECOTkAlMinBiasTkAlDQM.clone(
0667     #names and desigantions
0668     TrackProducer = 'ALCARECO'+__selectionName,
0669     ReferenceTrackProducer = 'ctfWithMaterialTracksP5',
0670     AlgoName = 'ALCARECO'+__selectionName,
0671     FolderName = 'AlCaReco/TkAlCosmics0T',
0672     # margins and settings
0673     useSignedR = True
0674 )
0675 
0676 ALCARECOTkAlCosmicsCTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCTF0TTrackingDQM + ALCARECOTkAlCosmicsCTF0TTkAlDQM )
0677 
0678 #############################
0679 ### TkAlCosmicsCosmicTF0T ###
0680 #############################
0681 __selectionName = 'TkAlCosmicsCosmicTF0T'
0682 ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
0683 #names and desigantions
0684     TrackProducer = 'ALCARECO'+__selectionName,
0685     AlgoName = 'ALCARECO'+__selectionName,
0686     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0687 )
0688 ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
0689 #names and desigantions
0690     TrackProducer = 'ALCARECO'+__selectionName,
0691     ReferenceTrackProducer = 'cosmictrackfinderP5',
0692     AlgoName = 'ALCARECO'+__selectionName
0693 )
0694 
0695 ALCARECOTkAlCosmicsCosmicTF0TDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTF0TTrackingDQM + ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM )
0696 
0697 #############################
0698 ### TkAlCosmicsRegional0T ###
0699 #############################
0700 __selectionName = 'TkAlCosmicsRegional0T'
0701 ALCARECOTkAlCosmicsRegional0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
0702 #names and desigantions
0703     TrackProducer = 'ALCARECO'+__selectionName,
0704     AlgoName = 'ALCARECO'+__selectionName,
0705     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0706 )
0707 ALCARECOTkAlCosmicsRegional0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
0708 #names and desigantions
0709     TrackProducer = 'ALCARECO'+__selectionName,
0710     ReferenceTrackProducer = 'cosmictrackfinderP5',
0711     AlgoName = 'ALCARECO'+__selectionName
0712 )
0713 
0714 ALCARECOTkAlCosmicsRegional0TDQM = cms.Sequence( ALCARECOTkAlCosmicsRegional0TTrackingDQM + ALCARECOTkAlCosmicsRegional0TTkAlDQM )
0715 
0716 #####################################
0717 ### TkAlCosmicsDuringCollisions0T ###
0718 #####################################
0719 __selectionName = 'TkAlCosmicsDuringCollisions0T'
0720 ALCARECOTkAlCosmicsDuringCollisions0TTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
0721 #names and desigantions
0722     TrackProducer = 'ALCARECO'+__selectionName,
0723     AlgoName = 'ALCARECO'+__selectionName,
0724     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0725 )
0726 ALCARECOTkAlCosmicsDuringCollisions0TTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
0727 #names and desigantions
0728     TrackProducer = 'ALCARECO'+__selectionName,
0729     ReferenceTrackProducer = 'cosmictrackfinderP5',
0730     AlgoName = 'ALCARECO'+__selectionName
0731 )
0732 
0733 ALCARECOTkAlCosmicsDuringCollisions0TDQM = cms.Sequence( ALCARECOTkAlCosmicsDuringCollisions0TTrackingDQM + ALCARECOTkAlCosmicsDuringCollisions0TTkAlDQM )
0734 
0735 ##########################################################################
0736 ###### DQM modules for cosmic data taking with momentum measurement ######
0737 ##########################################################################
0738 ######################
0739 ### TkAlCosmicsCTF ###
0740 ######################
0741 __selectionName = 'TkAlCosmicsCTF'
0742 ALCARECOTkAlCosmicsCTFTrackingDQM = ALCARECOTkAlCosmicsCTF0TTrackingDQM.clone(
0743     #names and desigantions
0744     FolderName = 'AlCaReco/TkAlCosmics',
0745     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot",
0746     TrackProducer = 'ALCARECO'+__selectionName,
0747     AlgoName = 'ALCARECO'+__selectionName
0748 )
0749 ALCARECOTkAlCosmicsCTFTkAlDQM = ALCARECOTkAlCosmicsCTF0TTkAlDQM.clone(
0750     #names and desigantions
0751     FolderName = 'AlCaReco/TkAlCosmics',
0752     TrackProducer = 'ALCARECO'+__selectionName,
0753     ReferenceTrackProducer = ALCARECOTkAlCosmicsCTF0TTkAlDQM.ReferenceTrackProducer,
0754     AlgoName = 'ALCARECO'+__selectionName
0755 )
0756 
0757 ALCARECOTkAlCosmicsCTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCTFTrackingDQM + ALCARECOTkAlCosmicsCTFTkAlDQM )
0758 
0759 ###########################
0760 ### TkAlCosmicsCosmicTF ###
0761 ###########################
0762 __selectionName = 'TkAlCosmicsCosmicTF'
0763 ALCARECOTkAlCosmicsCosmicTFTrackingDQM = ALCARECOTkAlCosmicsCTFTrackingDQM.clone(
0764     #names and desigantions
0765     TrackProducer = 'ALCARECO'+__selectionName,
0766     AlgoName = 'ALCARECO'+__selectionName,
0767     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
0768 )
0769 ALCARECOTkAlCosmicsCosmicTFTkAlDQM = ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM.clone(
0770     #names and desigantions
0771     TrackProducer = 'ALCARECO'+__selectionName,
0772     ReferenceTrackProducer = ALCARECOTkAlCosmicsCosmicTF0TTkAlDQM.ReferenceTrackProducer,
0773     AlgoName = 'ALCARECO'+__selectionName
0774 )
0775 
0776 ALCARECOTkAlCosmicsCosmicTFDQM = cms.Sequence( ALCARECOTkAlCosmicsCosmicTFTrackingDQM + ALCARECOTkAlCosmicsCosmicTFTkAlDQM )
0777 
0778 ###########################
0779 ### TkAlCosmicsRegional ###
0780 ###########################
0781 __selectionName = 'TkAlCosmicsRegional'
0782 ALCARECOTkAlCosmicsRegionalTrackingDQM = ALCARECOTkAlCosmicsCTFTrackingDQM.clone(
0783     #names and desigantions
0784     TrackProducer = 'ALCARECO'+__selectionName,
0785     AlgoName = 'ALCARECO'+__selectionName,
0786     BSFolderName = "AlCaReco/"+__selectionName+"/BeamSpot"
0787 )
0788 ALCARECOTkAlCosmicsRegionalTkAlDQM = ALCARECOTkAlCosmicsRegional0TTkAlDQM.clone(
0789     #names and desigantions
0790     TrackProducer = 'ALCARECO'+__selectionName,
0791     ReferenceTrackProducer = ALCARECOTkAlCosmicsRegional0TTkAlDQM.ReferenceTrackProducer,
0792     AlgoName = 'ALCARECO'+__selectionName
0793 )
0794 
0795 ALCARECOTkAlCosmicsRegionalDQM = cms.Sequence( ALCARECOTkAlCosmicsRegionalTrackingDQM + ALCARECOTkAlCosmicsRegionalTkAlDQM )
0796