CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQMOffline/JetMET/python/jetMETAnalyzer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from DQMOffline.JetMET.jptDQMConfig_cff import *      # parameters for jpt analyzer
00004 from DQMOffline.JetMET.jetDQMConfig_cff import *      # parameters for all jet analyzers
00005 from DQMOffline.JetMET.metDQMConfig_cff import *      # parameters for all met analyzers
00006 from DQMOffline.JetMET.jetMETDQMCleanup_cff import *  # parameters for event cleanup
00007 
00008 JetMETAnalyzer = cms.EDAnalyzer("JetMETAnalyzer",
00009 
00010     #
00011     # Output files
00012     #
00013     OutputMEsInRootFile = cms.bool(False),
00014     OutputFileName = cms.string('jetMETMonitoring.root'),
00015 
00016     #
00017     #
00018     #
00019     highPtJetTrigger = cms.PSet(
00020         andOr         = cms.bool( False ),
00021         dbLabel        = cms.string("JetMETDQMTrigger"),
00022         hltInputTag    = cms.InputTag( "TriggerResults::HLT" ),
00023         hltDBKey       = cms.string( 'jetmet_highptjet' ),
00024         hltPaths       = cms.vstring( 'HLT_Jet300_v','HLT_Jet300_v6','HLT_Jet300_v7','HLT_Jet300_v8' ), 
00025         andOrHlt       = cms.bool( True ),
00026         errorReplyHlt  = cms.bool( False ),
00027     ),
00028     lowPtJetTrigger = cms.PSet(
00029         andOr         = cms.bool( False ),
00030         dbLabel        = cms.string("JetMETDQMTrigger"),
00031         hltInputTag    = cms.InputTag( "TriggerResults::HLT" ),
00032         hltDBKey       = cms.string( 'jetmet_lowptjet' ),
00033         hltPaths       = cms.vstring( 'HLT_Jet60_v','HLT_Jet60_v6','HLT_Jet60_v7','HLT_Jet60_v8' ), 
00034         andOrHlt       = cms.bool( True ),
00035         errorReplyHlt  = cms.bool( False ),
00036     ),
00037 
00038     TriggerResultsLabel        = cms.InputTag("TriggerResults::HLT"),
00039     processname                = cms.string("HLT"),
00040 
00041     #
00042     # Jet-related
00043     #                                                                   
00044     DoPFJetAnalysis            = cms.untracked.bool(False),
00045     DoPFJetCleaning            = cms.untracked.bool(True),
00046 
00047     DoJPTJetAnalysis           = cms.untracked.bool(False),
00048     DoJPTJetCleaning           = cms.untracked.bool(True),
00049 
00050     DoJetAnalysis              = cms.untracked.bool(True),
00051     DoJetCleaning              = cms.untracked.bool(True),
00052     DoIterativeCone            = cms.untracked.bool(False),
00053     DoSisCone                  = cms.untracked.bool(False),                               
00054 
00055     DoJetPtAnalysis            = cms.untracked.bool(False),                           
00056     DoJetPtCleaning            = cms.untracked.bool(False),                           
00057     DoDiJetSelection           = cms.untracked.bool(True),
00058 
00059     PFJetsCollectionLabel      = cms.InputTag("ak5PFJets"),
00060     JPTJetsCollectionLabel     = cms.InputTag("JetPlusTrackZSPCorJetAntiKt5"),
00061     SCJetsCollectionLabel      = cms.InputTag("sisCone5CaloJets"),
00062     AKJetsCollectionLabel      = cms.InputTag("ak5CaloJets"),
00063     ICJetsCollectionLabel      = cms.InputTag("iterativeCone5CaloJets"),
00064 
00065     #
00066     # MET-related
00067     #                                                                   
00068     DoCaloMETAnalysis            = cms.untracked.bool(True),
00069     DoTcMETAnalysis              = cms.untracked.bool(True),
00070     DoMuCorrMETAnalysis          = cms.untracked.bool(False),
00071     DoPfMETAnalysis              = cms.untracked.bool(True),
00072     DoHTMHTAnalysis              = cms.untracked.bool(False),
00073 
00074     #
00075     #
00076     #
00077     LSBegin = cms.int32(0),
00078     LSEnd   = cms.int32(-1),                                
00079                                 
00080     #Cleanup parameters
00081     CleaningParameters = cleaningParameters.clone(),
00082                                 
00083     #
00084     # For caloMETAnalysis "met"
00085     #
00086      caloMETAnalysis = metDQMParameters.clone(
00087          allHist = cms.bool(True)
00088      ),
00089 
00090      #
00091      # For caloMETAnalysis "metNoHF"
00092      #
00093      caloMETNoHFAnalysis = metDQMParameters.clone(
00094          METCollectionLabel = cms.InputTag("metNoHF"),
00095          Source             = cms.string("CaloMETNoHF")
00096      ),
00097  
00098      #
00099      # For caloMETAnalysis "metHO"
00100      #
00101      caloMETHOAnalysis = metDQMParameters.clone(
00102          METCollectionLabel = cms.InputTag("metHO"),
00103          Source             = cms.string("CaloMETHO"),
00104          DetectorTypes = cms.untracked.string("ecal:hbhe:hf:ho"),
00105          #DebugOn = cms.untracked.bool(True),
00106          Filter = cms.untracked.bool(True)
00107      ),
00108 
00109      #
00110      # For caloMETAnalysis
00111      #
00112      caloMETNoHFHOAnalysis = metDQMParameters.clone(
00113          METCollectionLabel = cms.InputTag("metNoHFHO"),
00114          Source             = cms.string("CaloMETNoHFHO"),
00115          DCSFilter = cms.PSet(
00116            DetectorTypes = cms.untracked.string("ecal:hbhe:hf:ho"),
00117            #DebugOn = cms.untracked.bool(True),
00118            Filter = cms.untracked.bool(True)
00119          )
00120      ),
00121  
00122      #
00123      # For pfMETAnalysis
00124      #
00125      pfMETAnalysis = metDQMParameters.clone(
00126          METCollectionLabel   = cms.InputTag("pfMet"),
00127          Source               = cms.string("PfMET"),
00128          PfJetCollectionLabel = cms.InputTag("iterativeCone5PFJets"),
00129          PFCandidates         = cms.InputTag("particleFlow"),
00130          DCSFilter = cms.PSet(
00131            DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
00132            #DebugOn = cms.untracked.bool(True),
00133            Filter = cms.untracked.bool(True)
00134          )
00135      ),
00136  
00137      #
00138      # For tcMETAnalysis
00139      #
00140      tcMETAnalysis = metDQMParameters.clone(
00141          METCollectionLabel = cms.InputTag("tcMet"),
00142          Source             = cms.string("TcMET"),
00143          InputTrackLabel    = cms.InputTag("generalTracks"),
00144          InputMuonLabel     = cms.InputTag("muons"),
00145          InputElectronLabel = cms.InputTag("gsfElectrons"),
00146          InputBeamSpotLabel = cms.InputTag("offlineBeamSpot"),
00147          DCSFilter = cms.PSet(
00148            DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
00149            #DebugOn = cms.untracked.bool(True),
00150            Filter = cms.untracked.bool(True)
00151          )
00152      ),
00153 
00154      #
00155      # For mucorrMET
00156      #
00157      mucorrMETAnalysis = metDQMParameters.clone(
00158          METCollectionLabel = cms.InputTag("corMetGlobalMuons"),
00159          Source             = cms.string("MuCorrMET"),
00160          InputBeamSpotLabel = cms.InputTag("offlineBeamSpot"),
00161          DCSFilter = cms.PSet(
00162            DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:muon"),
00163            #DebugOn = cms.untracked.bool(True),
00164            Filter = cms.untracked.bool(True)
00165          )
00166      ),
00167 
00168     #
00169     # For HTMHTAnalysis
00170     #
00171     HTMHTAnalysis = cms.PSet(
00172         verbose     = cms.int32(0),
00173         printOut    = cms.int32(0),
00174         JetCollectionForHTMHTLabel   = cms.InputTag("iterativeCone5CaloJets"),
00175         FolderName = cms.untracked.string("JetMET/MET/"),
00176         Source = cms.string("HTMHT"),
00177         HLTPathsJetMB = cms.vstring(),
00178         ptThreshold = cms.double(20.)
00179     ),
00180 
00181     #
00182     # For jetAnalysis
00183     #
00184     jetAnalysis = jetDQMParameters.clone(),
00185 
00186     #
00187     # For jetcleaning Analysis
00188     #
00189     CleanedjetAnalysis = cleanedJetDQMParameters.clone(),
00190                                 
00191     #
00192     # For dijet Analysis
00193     #
00194     DijetAnalysis = cleanedJetDQMParameters.clone(
00195         makedijetselection = cms.int32(1),
00196         ptThreshold = cms.double(20.),
00197         fillJIDPassFrac   = cms.int32(1)
00198     ),
00199 
00200     PFDijetAnalysis = cleanedJetDQMParameters.clone(
00201         makedijetselection = cms.int32(1),
00202         ptThreshold = cms.double(20.),
00203         fillJIDPassFrac   = cms.int32(1)
00204     ),
00205 
00206     #
00207     # For Pt jet Analysis
00208     #
00209     PtAnalysis = jetDQMParameters.clone(),
00210 
00211     #
00212     # For Cleaned Pt jet Analysis
00213     #
00214     CleanedPtAnalysis = cleanedJetDQMParameters.clone(),
00215 
00216     #
00217     # For PF jetAnalysis
00218     #
00219     pfJetAnalysis = jetDQMParameters.clone(
00220     ptThreshold = cms.double(20.),
00221     TightCHFMin = cms.double(0.0),
00222     TightNHFMax = cms.double(1.0),
00223     TightCEFMax = cms.double(1.0),
00224     TightNEFMax = cms.double(1.0),
00225     LooseCHFMin = cms.double(0.0),
00226     LooseNHFMax = cms.double(0.9),
00227     LooseCEFMax = cms.double(1.0),
00228     LooseNEFMax = cms.double(0.9),
00229     ThisCHFMin = cms.double(-999.),
00230     ThisNHFMax = cms.double(999.),
00231     ThisCEFMax = cms.double(999.),
00232     ThisNEFMax = cms.double(999.)
00233     ),
00234 
00235     #
00236     # For Cleaned PF jetAnalysis
00237     #
00238     CleanedpfJetAnalysis = cleanedJetDQMParameters.clone(
00239     ptThreshold = cms.double(20.)
00240     ),
00241 
00242     #
00243     # For JPT jetAnalysis
00244     #
00245     JPTJetAnalysis = jptDQMParameters.clone(
00246     ),
00247 
00248     #
00249     # For CleanedJPT jetAnalysis
00250     #
00251     CleanedJPTJetAnalysis = cleanedjptDQMParameters.clone(
00252     ),
00253 
00254     #
00255     # DCS
00256     #                             
00257     DCSFilterCalo = cms.PSet(
00258       DetectorTypes = cms.untracked.string("ecal:hbhe:hf"),
00259       #DebugOn = cms.untracked.bool(True),
00260       Filter = cms.untracked.bool(True)
00261     ),
00262     DCSFilterPF = cms.PSet(
00263       DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
00264       #DebugOn = cms.untracked.bool(True),
00265       Filter = cms.untracked.bool(True)
00266     ),
00267     DCSFilterJPT = cms.PSet(
00268       DetectorTypes = cms.untracked.string("ecal:hbhe:hf:pixel:sistrip:es:muon"),
00269       #DebugOn = cms.untracked.bool(True),
00270       Filter = cms.untracked.bool(True)
00271     ),
00272     DCSFilterAll = cms.PSet(
00273       DetectorTypes = cms.untracked.string("ecal:hbhe:hf:ho:pixel:sistrip:es:muon"),
00274       #DebugOn = cms.untracked.bool(True),
00275       Filter = cms.untracked.bool(True)
00276     )
00277 
00278 )