Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-11 03:35:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #from DQMOffline.JetMET.jptDQMConfig_cff import *      # parameters for jpt analyzer #commented as the config file does not exist!
0004 from DQMOffline.JetMET.jetDQMConfig_cff import *      # parameters for all jet analyzers
0005 from DQMOffline.JetMET.metDQMConfig_cff import *      # parameters for all met analyzers
0006 from DQMOffline.JetMET.jetMETDQMCleanup_cff import *  # parameters for event cleanup
0007 
0008 jetMETAnalyzer = cms.EDAnalyzer("JetMETAnalyzer",
0009 
0010     #
0011     # Output files
0012     #
0013     OutputMEsInRootFile = cms.bool(False),
0014     OutputFileName = cms.string('jetMETMonitoring.root'),
0015 
0016     #
0017     #
0018     #
0019     highPtJetTrigger = cms.PSet(
0020         andOr         = cms.bool( False ),
0021         dbLabel        = cms.string("JetMETDQMTrigger"),
0022         hltInputTag    = cms.InputTag( "TriggerResults::HLT" ),
0023         hltDBKey       = cms.string( 'jetmet_highptjet' ),
0024         hltPaths       = cms.vstring( 'HLT_Jet300_v','HLT_Jet300_v6','HLT_Jet300_v7','HLT_Jet300_v8' ),
0025         andOrHlt       = cms.bool( True ),
0026         errorReplyHlt  = cms.bool( False ),
0027     ),
0028     lowPtJetTrigger = cms.PSet(
0029         andOr         = cms.bool( False ),
0030         dbLabel        = cms.string("JetMETDQMTrigger"),
0031         hltInputTag    = cms.InputTag( "TriggerResults::HLT" ),
0032         hltDBKey       = cms.string( 'jetmet_lowptjet' ),
0033         hltPaths       = cms.vstring( 'HLT_Jet60_v','HLT_Jet60_v6','HLT_Jet60_v7','HLT_Jet60_v8' ),
0034         andOrHlt       = cms.bool( True ),
0035         errorReplyHlt  = cms.bool( False ),
0036     ),
0037 
0038     TriggerResultsLabel        = cms.InputTag("TriggerResults::HLT"),
0039     processname                = cms.string("HLT"),
0040 
0041     #
0042     # Jet-related
0043     #
0044     DoPFJetAnalysis            = cms.untracked.bool(False),
0045     DoPFJetCleaning            = cms.untracked.bool(True),
0046 
0047     DoJPTJetAnalysis           = cms.untracked.bool(False),
0048     DoJPTJetCleaning           = cms.untracked.bool(True),
0049 
0050     DoJetAnalysis              = cms.untracked.bool(True),
0051     DoJetCleaning              = cms.untracked.bool(True),
0052     DoIterativeCone            = cms.untracked.bool(False),
0053     DoSisCone                  = cms.untracked.bool(False),
0054 
0055     DoJetPtAnalysis            = cms.untracked.bool(False),
0056     DoJetPtCleaning            = cms.untracked.bool(False),
0057     DoDiJetSelection           = cms.untracked.bool(True),
0058 
0059     PFJetsCollectionLabel      = cms.InputTag("ak4PFJets"),
0060     JPTJetsCollectionLabel     = cms.InputTag("JetPlusTrackZSPCorJetAntiKt4"),
0061     SCJetsCollectionLabel      = cms.InputTag("sisCone5CaloJets"),
0062     AKJetsCollectionLabel      = cms.InputTag("ak4CaloJets"),
0063     ICJetsCollectionLabel      = cms.InputTag("iterativeCone5CaloJets"),
0064 
0065     #
0066     # MET-related
0067     #
0068     DoCaloMETAnalysis            = cms.untracked.bool(True),
0069     DoTcMETAnalysis              = cms.untracked.bool(True),
0070     DoMuCorrMETAnalysis          = cms.untracked.bool(False),
0071     DoPfMETAnalysis              = cms.untracked.bool(True),
0072     DoHTMHTAnalysis              = cms.untracked.bool(False),
0073 
0074     #
0075     #
0076     #
0077     LSBegin = cms.int32(0),
0078     LSEnd   = cms.int32(-1),
0079 
0080     #Cleanup parameters
0081     CleaningParameters = cleaningParameters.clone(),
0082 
0083     #
0084     # For caloMETAnalysis "met"
0085     # All the metQMParameters clones are commented as it doesn't exist.
0086     # caloMETAnalysis = metDQMParameters.clone(
0087     #     allHist = True
0088     # ),
0089 
0090      #
0091      # For caloMETAnalysis "metNoHF"
0092      #
0093      #caloMETNoHFAnalysis = metDQMParameters.clone(
0094      #    METCollectionLabel = "metNoHF",
0095      #    Source             = "CaloMETNoHF"
0096     #),
0097 
0098      #
0099      # For caloMETAnalysis "metHO"
0100      #
0101      #caloMETHOAnalysis = metDQMParameters.clone(
0102      #    METCollectionLabel = "metHO",
0103      #    Source             = "CaloMETHO",
0104      #    DetectorTypes = "ecal:hbhe:hf:ho",
0105          #DebugOn = True,
0106      #    Filter = True
0107     #),
0108 
0109      #
0110      # For caloMETAnalysis
0111      #
0112      #caloMETNoHFHOAnalysis = metDQMParameters.clone(
0113      #    METCollectionLabel = "metNoHFHO",
0114      #    Source             = "CaloMETNoHFHO",
0115      #    DCSFilter = cms.PSet(
0116      #      DetectorTypes = cms.untracked.string("ecal:hbhe:hf:ho"),
0117            #DebugOn = cms.untracked.bool(True),
0118      #      Filter = cms.untracked.bool(True)
0119       #   )
0120       #),
0121 
0122      #
0123      # For pfMETAnalysis
0124      #
0125      #pfMETAnalysis = metDQMParameters.clone(
0126      #    METCollectionLabel   = "pfMet",
0127      #    Source               = "PfMET",
0128      #    PfJetCollectionLabel = "iterativeCone5PFJets",
0129      #    PFCandidates         = "particleFlow",
0130      #    DCSFilter = cms.PSet(
0131      #      DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
0132            #DebugOn = cms.untracked.bool(True),
0133      #      Filter = cms.untracked.bool(True)
0134      #  )
0135      #),
0136 
0137      #
0138      # For tcMETAnalysis
0139      #
0140      #tcMETAnalysis = metDQMParameters.clone(
0141      #    METCollectionLabel = "tcMet",
0142      #    Source             = "TcMET",
0143      #    InputTrackLabel    = "generalTracks",
0144      #    InputMuonLabel     = "muons",
0145      #    InputElectronLabel = "gedGsfElectrons",
0146      #    InputBeamSpotLabel = "offlineBeamSpot",
0147      #    DCSFilter = cms.PSet(
0148      #      DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
0149            #DebugOn = cms.untracked.bool(True),
0150      #      Filter = cms.untracked.bool(True)
0151       #   )
0152     #),
0153 
0154      #
0155      # For mucorrMET
0156      #
0157      #mucorrMETAnalysis = metDQMParameters.clone(
0158      #    METCollectionLabel = "caloMetM",
0159      #    Source             = "MuCorrMET",
0160       #   InputBeamSpotLabel = "offlineBeamSpot",
0161       #   DCSFilter = cms.PSet(
0162       #     DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:muon"),
0163            #DebugOn = cms.untracked.bool(True),
0164       #     Filter = cms.untracked.bool(True)
0165       #   )
0166       #),
0167 
0168     #
0169     # For HTMHTAnalysis
0170     #
0171     HTMHTAnalysis = cms.PSet(
0172         verbose     = cms.int32(0),
0173         printOut    = cms.int32(0),
0174         JetCollectionForHTMHTLabel   = cms.InputTag("iterativeCone5CaloJets"),
0175         FolderName = cms.untracked.string("JetMET/MET/"),
0176         Source = cms.string("HTMHT"),
0177         HLTPathsJetMB = cms.vstring(),
0178         ptThreshold = cms.double(20.)
0179     ),
0180 
0181     #
0182     # For jetAnalysis
0183     #
0184     jetAnalysis = jetDQMParameters.clone(),
0185 
0186     #
0187     # For jetcleaning Analysis
0188     # All cleanedJetDQMParameters clones are commented as it doesn't exist.
0189     #CleanedjetAnalysis = cleanedJetDQMParameters.clone(),
0190 
0191     #
0192     # For dijet Analysis
0193     #
0194     #DijetAnalysis = cleanedJetDQMParameters.clone(
0195     #    makedijetselection = 1,
0196     #    ptThreshold = 20.,
0197     #    fillJIDPassFrac   = 1
0198     #),
0199 
0200     #PFDijetAnalysis = cleanedJetDQMParameters.clone(
0201     #    makedijetselection = 1,
0202     #    ptThreshold = 20.,
0203     #    fillJIDPassFrac   = 1
0204     #),
0205 
0206     #
0207     # For Pt jet Analysis
0208     #
0209     PtAnalysis = jetDQMParameters.clone(),
0210 
0211     #
0212     # For Cleaned Pt jet Analysis
0213     #
0214     #CleanedPtAnalysis = cleanedJetDQMParameters.clone(),
0215 
0216     #
0217     # For PF jetAnalysis
0218     #
0219     pfJetAnalysis = jetDQMParameters.clone(
0220     ptThreshold = cms.double(20.),
0221     TightCHFMin = cms.double(0.0),
0222     TightNHFMax = cms.double(1.0),
0223     TightCEFMax = cms.double(1.0),
0224     TightNEFMax = cms.double(1.0),
0225     LooseCHFMin = cms.double(0.0),
0226     LooseNHFMax = cms.double(0.9),
0227     LooseCEFMax = cms.double(1.0),
0228     LooseNEFMax = cms.double(0.9),
0229     ThisCHFMin = cms.double(-999.),
0230     ThisNHFMax = cms.double(999.),
0231     ThisCEFMax = cms.double(999.),
0232     ThisNEFMax = cms.double(999.)
0233     ),
0234 
0235     #
0236     # For Cleaned PF jetAnalysis
0237     #
0238     #CleanedpfJetAnalysis = cleanedJetDQMParameters.clone(
0239     #ptThreshold = cms.double(20.)
0240     #),
0241 
0242     #
0243     # For JPT jetAnalysis
0244     #
0245     #JPTJetAnalysis = jptDQMParameters.clone(),
0246 
0247     #
0248     # For CleanedJPT jetAnalysis
0249     #
0250     #CleanedJPTJetAnalysis = cleanedjptDQMParameters.clone(),
0251 
0252     #
0253     # DCS
0254     #
0255     DCSFilterCalo = cms.PSet(
0256       DetectorTypes = cms.untracked.string("ecal:hbhe:hf"),
0257       #DebugOn = cms.untracked.bool(True),
0258       Filter = cms.untracked.bool(True)
0259     ),
0260     DCSFilterPF = cms.PSet(
0261       DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
0262       #DebugOn = cms.untracked.bool(True),
0263       Filter = cms.untracked.bool(True)
0264     ),
0265     DCSFilterJPT = cms.PSet(
0266       DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
0267       #DebugOn = cms.untracked.bool(True),
0268       Filter = cms.untracked.bool(True)
0269     ),
0270     DCSFilterAll = cms.PSet(
0271       DetectorTypes = cms.untracked.string("ecal:hbhe:hf:ho:pixel:sistrip:es:muon"),
0272       #DebugOn = cms.untracked.bool(True),
0273       Filter = cms.untracked.bool(True)
0274     )
0275 
0276 )