CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
JetAnalyzer Class Reference

#include <JetAnalyzer.h>

Inheritance diagram for JetAnalyzer:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Classes

class  JetAnalyzer
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 Get the analysis. More...
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 Inizialize parameters for histo binning. More...
 
void dqmBeginRun (const edm::Run &, const edm::EventSetup &) override
 Initialize run-based parameters. More...
 
 JetAnalyzer (const edm::ParameterSet &)
 Constructor. More...
 
 ~JetAnalyzer () override
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Private Member Functions

void bookMESetSelection (std::string, DQMStore::IBooker &)
 

Static Private Member Functions

static bool jetSortingRule (reco::Jet x, reco::Jet y)
 

Private Attributes

double asymmetryThirdJetCut_
 
double balanceThirdJetCut_
 
bool bypassAllPVChecks_
 
edm::EDGetTokenT< reco::CaloJetCollectioncaloJetsToken_
 
edm::EDGetTokenT< reco::CaloMETCollectioncaloMetToken_
 
edm::ParameterSet cleaningParameters_
 
MonitorElementcleanupME
 
edm::EDGetTokenT< edm::ValueMap< float > > cutBasedPUDiscriminantToken_
 
edm::EDGetTokenT< edm::ValueMap< int > > cutBasedPUIDToken_
 
JetMETDQMDCSFilterDCSFilterForDCSMonitoring_
 
JetMETDQMDCSFilterDCSFilterForJetMonitoring_
 
std::string DirName
 
int eBin_
 
double eMax_
 
double eMin_
 
int etaBin_
 
double etaMax_
 
double etaMin_
 
bool fill_CHS_histos
 
bool fill_jet_high_level_histo
 
bool filljetsubstruc_
 
int fillJIDPassFrac_
 
std::vector< std::string > folderNames_
 
edm::InputTag gtLabel_
 
edm::EDGetTokenT< L1GlobalTriggerReadoutRecordgtToken_
 
GenericTriggerEventFlaghighPtJetEventFlag_
 
std::vector< std::string > highPtJetExpr_
 
HLTConfigProvider hltConfig_
 
bool hltInitialized_
 
edm::InputTag inputJetIDValueMap
 
bool isCaloJet_
 
bool isMiniAODJet_
 
bool isPFJet_
 
bool jetCleaningFlag_
 
edm::InputTag jetCorrectorTag_
 
edm::EDGetTokenT< reco::JetCorrectorjetCorrectorToken_
 
int jetHiPass_
 
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
 
JetIDSelectionFunctor jetIDFunctor
 
JetIDSelectionFunctor::Quality_t jetidquality
 
std::string JetIDQuality_
 
JetIDSelectionFunctor::Version_t jetidversion
 
std::string JetIDVersion_
 
int jetLoPass_
 
MonitorElementjetME
 
std::string jetType_
 
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcdl1gtTrigMenuToken_
 
int leadJetFlag_
 
GenericTriggerEventFlaglowPtJetEventFlag_
 
std::vector< std::string > lowPtJetExpr_
 
int m_bitAlgTechTrig_
 
std::string m_l1algoname_
 
std::map< std::string, MonitorElement * > map_of_MEs
 
MonitorElementmAxis2_highPt_Barrel
 
MonitorElementmAxis2_highPt_EndCap
 
MonitorElementmAxis2_highPt_Forward
 
MonitorElementmAxis2_lowPt_Barrel
 
MonitorElementmAxis2_lowPt_EndCap
 
MonitorElementmAxis2_lowPt_Forward
 
MonitorElementmAxis2_mediumPt_Barrel
 
MonitorElementmAxis2_mediumPt_EndCap
 
MonitorElementmAxis2_mediumPt_Forward
 
MonitorElementmCATopTag_minMass
 
MonitorElementmCATopTag_minMass_boosted
 
MonitorElementmCATopTag_nSubJets
 
MonitorElementmCATopTag_nSubJets_boosted
 
MonitorElementmCATopTag_topMass
 
MonitorElementmCATopTag_topMass_boosted
 
MonitorElementmChargedEmEnergy
 
MonitorElementmChargedEmEnergy_profile
 
MonitorElementmChargedHadronEnergy
 
MonitorElementmChargedHadronEnergy_profile
 
MonitorElementmChargedMuEnergy
 
MonitorElementmChargedMuEnergy_profile
 
MonitorElementmChargedMultiplicity
 
MonitorElementmChargedMultiplicity_profile
 
MonitorElementmCHEn_highPt_Barrel
 
MonitorElementmCHEn_highPt_EndCap
 
MonitorElementmCHEn_lowPt_Barrel
 
MonitorElementmCHEn_lowPt_EndCap
 
MonitorElementmCHEn_mediumPt_Barrel
 
MonitorElementmCHEn_mediumPt_EndCap
 
MonitorElementmCHFrac
 
MonitorElementmCHFrac_highPt_Barrel
 
MonitorElementmCHFrac_highPt_EndCap
 
MonitorElementmCHFrac_lowPt_Barrel
 
MonitorElementmCHFrac_lowPt_EndCap
 
MonitorElementmCHFrac_mediumPt_Barrel
 
MonitorElementmCHFrac_mediumPt_EndCap
 
MonitorElementmCHFrac_profile
 
MonitorElementmCHFracVSeta_highPt
 
MonitorElementmCHFracVSeta_lowPt
 
MonitorElementmCHFracVSeta_mediumPt
 
MonitorElementmCHFracVSpT_Barrel
 
MonitorElementmCHFracVSpT_EndCap
 
MonitorElementmChMultiplicity_highPt_Barrel
 
MonitorElementmChMultiplicity_highPt_EndCap
 
MonitorElementmChMultiplicity_lowPt_Barrel
 
MonitorElementmChMultiplicity_lowPt_EndCap
 
MonitorElementmChMultiplicity_mediumPt_Barrel
 
MonitorElementmChMultiplicity_mediumPt_EndCap
 
MonitorElementmConstituents
 
MonitorElementmConstituents_Barrel
 
MonitorElementmConstituents_Barrel_Hi
 
MonitorElementmConstituents_EndCap
 
MonitorElementmConstituents_EndCap_Hi
 
MonitorElementmConstituents_Forward
 
MonitorElementmConstituents_Forward_Hi
 
MonitorElementmConstituents_profile
 
MonitorElementmConstituents_uncor
 
MonitorElementmCutPUJIDDiscriminant_highPt_Barrel
 
MonitorElementmCutPUJIDDiscriminant_highPt_EndCap
 
MonitorElementmCutPUJIDDiscriminant_highPt_Forward
 
MonitorElementmCutPUJIDDiscriminant_lowPt_Barrel
 
MonitorElementmCutPUJIDDiscriminant_lowPt_EndCap
 
MonitorElementmCutPUJIDDiscriminant_lowPt_Forward
 
MonitorElementmCutPUJIDDiscriminant_mediumPt_Barrel
 
MonitorElementmCutPUJIDDiscriminant_mediumPt_EndCap
 
MonitorElementmCutPUJIDDiscriminant_mediumPt_Forward
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_100_J_Forward
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_290_J_Barrel
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_290_J_EndCap
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_30_55_J_Forward
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_55_100_J_Forward
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel
 
MonitorElementmDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap
 
MonitorElementmDijetAsymmetry
 
MonitorElementmDijetBalance
 
MonitorElementmDPhi
 
MonitorElementmDPhiZJet
 
MonitorElementmeCHFracBarrel_BXm1Empty
 
MonitorElementmeCHFracBarrel_BXm1Filled
 
MonitorElementmeCHFracEndCapMinus_BXm1Empty
 
MonitorElementmeCHFracEndCapMinus_BXm1Filled
 
MonitorElementmeCHFracEndCapPlus_BXm1Empty
 
MonitorElementmeCHFracEndCapPlus_BXm1Filled
 
MonitorElementmEEffChargedFraction
 
MonitorElementmEEffNeutralFraction
 
MonitorElementmeEta_BXm1Empty
 
MonitorElementmeEta_BXm1Filled
 
MonitorElementmEFrac
 
MonitorElementmEFrac_Barrel
 
MonitorElementmEFrac_EndCap
 
MonitorElementmEFrac_Forward
 
MonitorElementmEFrac_profile
 
MonitorElementmeHFEMFracMinus_BXm1Empty
 
MonitorElementmeHFEMFracMinus_BXm1Filled
 
MonitorElementmeHFEMFracPlus_BXm1Empty
 
MonitorElementmeHFEMFracPlus_BXm1Filled
 
MonitorElementmeHFHFracMinus_BXm1Empty
 
MonitorElementmeHFHFracMinus_BXm1Filled
 
MonitorElementmeHFHFracPlus_BXm1Empty
 
MonitorElementmeHFHFracPlus_BXm1Filled
 
MonitorElementmElEn_highPt_Barrel
 
MonitorElementmElEn_highPt_EndCap
 
MonitorElementmElEn_lowPt_Barrel
 
MonitorElementmElEn_lowPt_EndCap
 
MonitorElementmElEn_mediumPt_Barrel
 
MonitorElementmElEn_mediumPt_EndCap
 
MonitorElementmEmEnergyInEB
 
MonitorElementmEmEnergyInEE
 
MonitorElementmEmEnergyInHF
 
MonitorElementmEMF
 
MonitorElementmEMF_CaloJet
 
MonitorElementmeNHFracBarrel_BXm1Empty
 
MonitorElementmeNHFracBarrel_BXm1Filled
 
MonitorElementmeNHFracEndCapMinus_BXm1Empty
 
MonitorElementmeNHFracEndCapMinus_BXm1Filled
 
MonitorElementmeNHFracEndCapPlus_BXm1Empty
 
MonitorElementmeNHFracEndCapPlus_BXm1Filled
 
MonitorElementmePhFracBarrel_BXm1Empty
 
MonitorElementmePhFracBarrel_BXm1Filled
 
MonitorElementmePhFracEndCapMinus_BXm1Empty
 
MonitorElementmePhFracEndCapMinus_BXm1Filled
 
MonitorElementmePhFracEndCapPlus_BXm1Empty
 
MonitorElementmePhFracEndCapPlus_BXm1Filled
 
MonitorElementmePtBarrel_BXm1Empty
 
MonitorElementmePtBarrel_BXm1Filled
 
MonitorElementmePtEndCapMinus_BXm1Empty
 
MonitorElementmePtEndCapMinus_BXm1Filled
 
MonitorElementmePtEndCapPlus_BXm1Empty
 
MonitorElementmePtEndCapPlus_BXm1Filled
 
MonitorElementmePtForwardMinus_BXm1Empty
 
MonitorElementmePtForwardMinus_BXm1Filled
 
MonitorElementmePtForwardPlus_BXm1Empty
 
MonitorElementmePtForwardPlus_BXm1Filled
 
MonitorElementmEResChargedFraction
 
MonitorElementmEResNeutralFraction
 
MonitorElementmEta
 
MonitorElementmEta_Hi
 
MonitorElementmEta_profile
 
MonitorElementmEta_uncor
 
MonitorElementmEtaFirst
 
MonitorElementmfHPD
 
MonitorElementmFilteredMass
 
MonitorElementmFilteredMass_boosted
 
MonitorElementmfRBX
 
MonitorElementmHadEnergyInHB
 
MonitorElementmHadEnergyInHE
 
MonitorElementmHadEnergyInHF
 
MonitorElementmHadEnergyInHO
 
MonitorElementmHFEEn_highPt_Forward
 
MonitorElementmHFEEn_lowPt_Forward
 
MonitorElementmHFEEn_mediumPt_Forward
 
MonitorElementmHFEFrac_highPt_Forward
 
MonitorElementmHFEFrac_lowPt_Forward
 
MonitorElementmHFEFrac_mediumPt_Forward
 
MonitorElementmHFEFracVSpT_Forward
 
MonitorElementmHFEMFrac
 
MonitorElementmHFEMFrac_profile
 
MonitorElementmHFHEn_highPt_Forward
 
MonitorElementmHFHEn_lowPt_Forward
 
MonitorElementmHFHEn_mediumPt_Forward
 
MonitorElementmHFHFrac
 
MonitorElementmHFHFrac_highPt_Forward
 
MonitorElementmHFHFrac_lowPt_Forward
 
MonitorElementmHFHFrac_mediumPt_Forward
 
MonitorElementmHFHFrac_profile
 
MonitorElementmHFHFracVSpT_Forward
 
MonitorElementmHFrac
 
MonitorElementmHFrac_Barrel
 
MonitorElementmHFrac_Barrel_Hi
 
MonitorElementmHFrac_EndCap
 
MonitorElementmHFrac_EndCap_Hi
 
MonitorElementmHFrac_Forward
 
MonitorElementmHFrac_Forward_Hi
 
MonitorElementmHFrac_profile
 
edm::InputTag mInputCollection_
 
MonitorElementmJ1Pt_over_ZPt_highZPt_J_Barrel
 
MonitorElementmJ1Pt_over_ZPt_highZPt_J_EndCap
 
MonitorElementmJ1Pt_over_ZPt_highZPt_J_Forward
 
MonitorElementmJ1Pt_over_ZPt_J_Barrel
 
MonitorElementmJ1Pt_over_ZPt_J_EndCap
 
MonitorElementmJ1Pt_over_ZPt_J_Forward
 
MonitorElementmJ1Pt_over_ZPt_lowZPt_J_Barrel
 
MonitorElementmJ1Pt_over_ZPt_lowZPt_J_EndCap
 
MonitorElementmJ1Pt_over_ZPt_lowZPt_J_Forward
 
MonitorElementmJ1Pt_over_ZPt_mediumZPt_J_Barrel
 
MonitorElementmJ1Pt_over_ZPt_mediumZPt_J_EndCap
 
MonitorElementmJ1Pt_over_ZPt_mediumZPt_J_Forward
 
MonitorElementmJetEnergyCorr
 
MonitorElementmJetEnergyCorrVSEta
 
MonitorElementmJetEnergyCorrVSPt
 
MonitorElementmJetZBalance_highZPt_J_Barrel
 
MonitorElementmJetZBalance_highZPt_J_EndCap
 
MonitorElementmJetZBalance_highZPt_J_Forward
 
MonitorElementmJetZBalance_lowZPt_J_Barrel
 
MonitorElementmJetZBalance_lowZPt_J_EndCap
 
MonitorElementmJetZBalance_lowZPt_J_Forward
 
MonitorElementmJetZBalance_mediumZPt_J_Barrel
 
MonitorElementmJetZBalance_mediumZPt_J_EndCap
 
MonitorElementmJetZBalance_mediumZPt_J_Forward
 
MonitorElementmLooseCutPUJIDPassFractionVSeta
 
MonitorElementmLooseCutPUJIDPassFractionVSpt
 
MonitorElementmLooseJIDPassFractionVSeta
 
MonitorElementmLooseJIDPassFractionVSpt
 
MonitorElementmLooseJIDPassFractionVSptNoHF
 
MonitorElementmLooseMVAPUJIDPassFractionVSeta
 
MonitorElementmLooseMVAPUJIDPassFractionVSpt
 
MonitorElementmMass_Barrel
 
MonitorElementmMass_EndCap
 
MonitorElementmMass_Forward
 
MonitorElementmMass_highPt_Barrel
 
MonitorElementmMass_highPt_EndCap
 
MonitorElementmMass_highPt_Forward
 
MonitorElementmMass_lowPt_Barrel
 
MonitorElementmMass_lowPt_EndCap
 
MonitorElementmMass_lowPt_Forward
 
MonitorElementmMass_mediumPt_Barrel
 
MonitorElementmMass_mediumPt_EndCap
 
MonitorElementmMass_mediumPt_Forward
 
MonitorElementmMaxEInEmTowers
 
MonitorElementmMaxEInHadTowers
 
MonitorElementmMediumCutPUJIDPassFractionVSeta
 
MonitorElementmMediumCutPUJIDPassFractionVSpt
 
MonitorElementmMediumMVAPUJIDPassFractionVSeta
 
MonitorElementmMediumMVAPUJIDPassFractionVSpt
 
MonitorElementmMPF_highZPt_J_Barrel
 
MonitorElementmMPF_highZPt_J_EndCap
 
MonitorElementmMPF_highZPt_J_Forward
 
MonitorElementmMPF_J_Barrel
 
MonitorElementmMPF_J_EndCap
 
MonitorElementmMPF_J_Forward
 
MonitorElementmMPF_lowZPt_J_Barrel
 
MonitorElementmMPF_lowZPt_J_EndCap
 
MonitorElementmMPF_lowZPt_J_Forward
 
MonitorElementmMPF_mediumZPt_J_Barrel
 
MonitorElementmMPF_mediumZPt_J_EndCap
 
MonitorElementmMPF_mediumZPt_J_Forward
 
MonitorElementmMuEn_highPt_Barrel
 
MonitorElementmMuEn_highPt_EndCap
 
MonitorElementmMuEn_lowPt_Barrel
 
MonitorElementmMuEn_lowPt_EndCap
 
MonitorElementmMuEn_mediumPt_Barrel
 
MonitorElementmMuEn_mediumPt_EndCap
 
MonitorElementmMultiplicityQG_highPt_Barrel
 
MonitorElementmMultiplicityQG_highPt_EndCap
 
MonitorElementmMultiplicityQG_highPt_Forward
 
MonitorElementmMultiplicityQG_lowPt_Barrel
 
MonitorElementmMultiplicityQG_lowPt_EndCap
 
MonitorElementmMultiplicityQG_lowPt_Forward
 
MonitorElementmMultiplicityQG_mediumPt_Barrel
 
MonitorElementmMultiplicityQG_mediumPt_EndCap
 
MonitorElementmMultiplicityQG_mediumPt_Forward
 
MonitorElementmMuMultiplicity_highPt_Barrel
 
MonitorElementmMuMultiplicity_highPt_EndCap
 
MonitorElementmMuMultiplicity_lowPt_Barrel
 
MonitorElementmMuMultiplicity_lowPt_EndCap
 
MonitorElementmMuMultiplicity_mediumPt_Barrel
 
MonitorElementmMuMultiplicity_mediumPt_EndCap
 
MonitorElementmMuonMultiplicity
 
MonitorElementmMuonMultiplicity_profile
 
MonitorElementmMVAPUJIDDiscriminant_highPt_Barrel
 
MonitorElementmMVAPUJIDDiscriminant_highPt_EndCap
 
MonitorElementmMVAPUJIDDiscriminant_highPt_Forward
 
MonitorElementmMVAPUJIDDiscriminant_lowPt_Barrel
 
MonitorElementmMVAPUJIDDiscriminant_lowPt_EndCap
 
MonitorElementmMVAPUJIDDiscriminant_lowPt_Forward
 
MonitorElementmMVAPUJIDDiscriminant_mediumPt_Barrel
 
MonitorElementmMVAPUJIDDiscriminant_mediumPt_EndCap
 
MonitorElementmMVAPUJIDDiscriminant_mediumPt_Forward
 
MonitorElementmN90Hits
 
MonitorElementmNeutMultiplicity_highPt_Barrel
 
MonitorElementmNeutMultiplicity_highPt_EndCap
 
MonitorElementmNeutMultiplicity_highPt_Forward
 
MonitorElementmNeutMultiplicity_lowPt_Barrel
 
MonitorElementmNeutMultiplicity_lowPt_EndCap
 
MonitorElementmNeutMultiplicity_lowPt_Forward
 
MonitorElementmNeutMultiplicity_mediumPt_Barrel
 
MonitorElementmNeutMultiplicity_mediumPt_EndCap
 
MonitorElementmNeutMultiplicity_mediumPt_Forward
 
MonitorElementmNeutralEmEnergy
 
MonitorElementmNeutralEmEnergy_profile
 
MonitorElementmNeutralFraction
 
MonitorElementmNeutralFraction2
 
MonitorElementmNeutralHadronEnergy
 
MonitorElementmNeutralHadronEnergy_profile
 
MonitorElementmNeutralMultiplicity
 
MonitorElementmNeutralMultiplicity_profile
 
MonitorElementmNHEn_highPt_Barrel
 
MonitorElementmNHEn_highPt_EndCap
 
MonitorElementmNHEn_lowPt_Barrel
 
MonitorElementmNHEn_lowPt_EndCap
 
MonitorElementmNHEn_mediumPt_Barrel
 
MonitorElementmNHEn_mediumPt_EndCap
 
MonitorElementmNHFrac
 
MonitorElementmNHFrac_highPt_Barrel
 
MonitorElementmNHFrac_highPt_EndCap
 
MonitorElementmNHFrac_lowPt_Barrel
 
MonitorElementmNHFrac_lowPt_EndCap
 
MonitorElementmNHFrac_mediumPt_Barrel
 
MonitorElementmNHFrac_mediumPt_EndCap
 
MonitorElementmNHFrac_profile
 
MonitorElementmNHFracVSeta_highPt
 
MonitorElementmNHFracVSeta_lowPt
 
MonitorElementmNHFracVSeta_mediumPt
 
MonitorElementmNHFracVSpT_Barrel
 
MonitorElementmNHFracVSpT_EndCap
 
MonitorElementmNJets
 
MonitorElementmNJets_profile
 
MonitorElementmnSubJetsCMSTopTag
 
MonitorElementmnSubJetsCMSTopTag_boosted
 
MonitorElementmnSubJetsSoftDrop
 
MonitorElementmnSubJetsSoftDrop_boosted
 
MonitorElementmPhEn_highPt_Barrel
 
MonitorElementmPhEn_highPt_EndCap
 
MonitorElementmPhEn_lowPt_Barrel
 
MonitorElementmPhEn_lowPt_EndCap
 
MonitorElementmPhEn_mediumPt_Barrel
 
MonitorElementmPhEn_mediumPt_EndCap
 
MonitorElementmPhFrac
 
MonitorElementmPhFrac_highPt_Barrel
 
MonitorElementmPhFrac_highPt_EndCap
 
MonitorElementmPhFrac_lowPt_Barrel
 
MonitorElementmPhFrac_lowPt_EndCap
 
MonitorElementmPhFrac_mediumPt_Barrel
 
MonitorElementmPhFrac_mediumPt_EndCap
 
MonitorElementmPhFrac_profile
 
MonitorElementmPhFracVSeta_highPt
 
MonitorElementmPhFracVSeta_lowPt
 
MonitorElementmPhFracVSeta_mediumPt
 
MonitorElementmPhFracVSpT_Barrel
 
MonitorElementmPhFracVSpT_EndCap
 
MonitorElementmPhi
 
MonitorElementmPhi_Barrel
 
MonitorElementmPhi_Barrel_Hi
 
MonitorElementmPhi_EndCap
 
MonitorElementmPhi_EndCap_Hi
 
MonitorElementmPhi_Forward
 
MonitorElementmPhi_Forward_Hi
 
MonitorElementmPhi_Hi
 
MonitorElementmPhi_Lo
 
MonitorElementmPhi_profile
 
MonitorElementmPhi_uncor
 
MonitorElementmPhiFirst
 
MonitorElementmPhiVSEta
 
MonitorElementmPrunedMass
 
MonitorElementmPrunedMass_boosted
 
MonitorElementmPt
 
MonitorElementmPt_1
 
MonitorElementmPt_2
 
MonitorElementmPt_3
 
MonitorElementmPt_Barrel
 
MonitorElementmPt_Barrel_Hi
 
MonitorElementmPt_CaloJet
 
MonitorElementmPt_EndCap
 
MonitorElementmPt_EndCap_Hi
 
MonitorElementmPt_Forward
 
MonitorElementmPt_Forward_Hi
 
MonitorElementmPt_Hi
 
MonitorElementmPt_Lo
 
MonitorElementmPt_log
 
MonitorElementmPt_profile
 
MonitorElementmPt_uncor
 
MonitorElementmpTD_highPt_Barrel
 
MonitorElementmpTD_highPt_EndCap
 
MonitorElementmpTD_highPt_Forward
 
MonitorElementmpTD_lowPt_Barrel
 
MonitorElementmpTD_lowPt_EndCap
 
MonitorElementmpTD_lowPt_Forward
 
MonitorElementmpTD_mediumPt_Barrel
 
MonitorElementmpTD_mediumPt_EndCap
 
MonitorElementmpTD_mediumPt_Forward
 
MonitorElementmPtFirst
 
MonitorElementmqgLikelihood_highPt_Barrel
 
MonitorElementmqgLikelihood_highPt_EndCap
 
MonitorElementmqgLikelihood_highPt_Forward
 
MonitorElementmqgLikelihood_lowPt_Barrel
 
MonitorElementmqgLikelihood_lowPt_EndCap
 
MonitorElementmqgLikelihood_lowPt_Forward
 
MonitorElementmqgLikelihood_mediumPt_Barrel
 
MonitorElementmqgLikelihood_mediumPt_EndCap
 
MonitorElementmqgLikelihood_mediumPt_Forward
 
MonitorElementmresEMF
 
MonitorElementmSoftDropMass
 
MonitorElementmSoftDropMass_boosted
 
MonitorElementmSubJet1_CMSTopTag_eta
 
MonitorElementmSubJet1_CMSTopTag_eta_boosted
 
MonitorElementmSubJet1_CMSTopTag_mass
 
MonitorElementmSubJet1_CMSTopTag_mass_boosted
 
MonitorElementmSubJet1_CMSTopTag_phi
 
MonitorElementmSubJet1_CMSTopTag_phi_boosted
 
MonitorElementmSubJet1_CMSTopTag_pt
 
MonitorElementmSubJet1_CMSTopTag_pt_boosted
 
MonitorElementmSubJet1_SoftDrop_eta
 
MonitorElementmSubJet1_SoftDrop_eta_boosted
 
MonitorElementmSubJet1_SoftDrop_mass
 
MonitorElementmSubJet1_SoftDrop_mass_boosted
 
MonitorElementmSubJet1_SoftDrop_phi
 
MonitorElementmSubJet1_SoftDrop_phi_boosted
 
MonitorElementmSubJet1_SoftDrop_pt
 
MonitorElementmSubJet1_SoftDrop_pt_boosted
 
MonitorElementmSubJet2_CMSTopTag_eta
 
MonitorElementmSubJet2_CMSTopTag_eta_boosted
 
MonitorElementmSubJet2_CMSTopTag_mass
 
MonitorElementmSubJet2_CMSTopTag_mass_boosted
 
MonitorElementmSubJet2_CMSTopTag_phi
 
MonitorElementmSubJet2_CMSTopTag_phi_boosted
 
MonitorElementmSubJet2_CMSTopTag_pt
 
MonitorElementmSubJet2_CMSTopTag_pt_boosted
 
MonitorElementmSubJet2_SoftDrop_eta
 
MonitorElementmSubJet2_SoftDrop_eta_boosted
 
MonitorElementmSubJet2_SoftDrop_mass
 
MonitorElementmSubJet2_SoftDrop_mass_boosted
 
MonitorElementmSubJet2_SoftDrop_phi
 
MonitorElementmSubJet2_SoftDrop_phi_boosted
 
MonitorElementmSubJet2_SoftDrop_pt
 
MonitorElementmSubJet2_SoftDrop_pt_boosted
 
MonitorElementmSubJet3_CMSTopTag_eta
 
MonitorElementmSubJet3_CMSTopTag_eta_boosted
 
MonitorElementmSubJet3_CMSTopTag_mass
 
MonitorElementmSubJet3_CMSTopTag_mass_boosted
 
MonitorElementmSubJet3_CMSTopTag_phi
 
MonitorElementmSubJet3_CMSTopTag_phi_boosted
 
MonitorElementmSubJet3_CMSTopTag_pt
 
MonitorElementmSubJet3_CMSTopTag_pt_boosted
 
MonitorElementmSubJet4_CMSTopTag_eta
 
MonitorElementmSubJet4_CMSTopTag_eta_boosted
 
MonitorElementmSubJet4_CMSTopTag_mass
 
MonitorElementmSubJet4_CMSTopTag_mass_boosted
 
MonitorElementmSubJet4_CMSTopTag_phi
 
MonitorElementmSubJet4_CMSTopTag_phi_boosted
 
MonitorElementmSubJet4_CMSTopTag_pt
 
MonitorElementmSubJet4_CMSTopTag_pt_boosted
 
MonitorElementmtau2_over_tau1
 
MonitorElementmtau2_over_tau1_boosted
 
MonitorElementmtau3_over_tau2
 
MonitorElementmtau3_over_tau2_boosted
 
MonitorElementmTightCutPUJIDPassFractionVSeta
 
MonitorElementmTightCutPUJIDPassFractionVSpt
 
MonitorElementmTightMVAPUJIDPassFractionVSeta
 
MonitorElementmTightMVAPUJIDPassFractionVSpt
 
MonitorElementmTrimmedMass
 
MonitorElementmTrimmedMass_boosted
 
edm::EDGetTokenT< reco::MuonCollectionMuonsToken_
 
edm::EDGetTokenT< edm::ValueMap< float > > mvaFullPUDiscriminantToken_
 
edm::EDGetTokenT< edm::ValueMap< int > > mvaPUIDToken_
 
MonitorElementmZJetAsymmetry
 
MonitorElementmZMass
 
int nbinsPV_
 
MonitorElementnEEff
 
double nPVhigh_
 
double nPVlow_
 
edm::ParameterSet parameters_
 
edm::EDGetTokenT< pat::JetCollectionpatJetsToken_
 
edm::EDGetTokenT< pat::METCollectionpatMetToken_
 
int pBin_
 
PFJetIDSelectionFunctor pfjetIDFunctor
 
PFJetIDSelectionFunctor::Quality_t pfjetidquality
 
PFJetIDSelectionFunctor::Version_t pfjetidversion
 
edm::EDGetTokenT< reco::PFJetCollectionpfJetsToken_
 
edm::EDGetTokenT< reco::PFMETCollectionpfMetToken_
 
int phiBin_
 
double phiMax_
 
double phiMin_
 
double pMax_
 
double pMin_
 
std::string processname_
 
double pt_min_boosted_
 
int ptBin_
 
double ptMax_
 
double ptMin_
 
double ptThreshold_
 
double ptThresholdUnc_
 
edm::EDGetTokenT< edm::ValueMap< float > > qgaxis2Token_
 
edm::EDGetTokenT< edm::ValueMap< float > > qgLikelihoodToken_
 
edm::EDGetTokenT< edm::ValueMap< int > > qgMultiplicityToken_
 
edm::EDGetTokenT< edm::ValueMap< float > > qgptDToken_
 
bool runcosmics_
 
edm::InputTag theTriggerResultsLabel_
 
edm::EDGetTokenT< edm::TriggerResultstriggerResultsToken_
 
int verbose_
 
edm::InputTag vertexLabel_
 
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
 
MonitorElementverticesME
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

DQM jetMET analysis monitoring

Author
F. Chlebana - Fermilab K. Hatakeyama - Rockefeller University

Jan. '14: modified by

M. Artur Weber R. Schoefbeck V. Sordini

Definition at line 79 of file JetAnalyzer.h.

Constructor & Destructor Documentation

◆ JetAnalyzer()

Constructor.

Definition at line 63 of file JetAnalyzer.cc.

References gather_cfg::cout, JetIDSelectionFunctor::CRAFT08, JetIDSelectionFunctor::DQM09, PFJetIDSelectionFunctor::FIRSTDATA, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ProducerED_cfi::InputTag, JetIDSelectionFunctor::LOOSE, PFJetIDSelectionFunctor::LOOSE, JetIDSelectionFunctor::LOOSE_AOD, JetIDSelectionFunctor::MINIMAL, JetIDSelectionFunctor::PURE09, l1t::Run, PFJetIDSelectionFunctor::RUN2ULCHS, PFJetIDSelectionFunctor::RUN2ULPUPPI, PFJetIDSelectionFunctor::RUNIISTARTUP, AlCaHLTBitMon_QueryRunRegistry::string, JetIDSelectionFunctor::TIGHT, PFJetIDSelectionFunctor::TIGHT, PFJetIDSelectionFunctor::WINTER16, PFJetIDSelectionFunctor::WINTER17, and PFJetIDSelectionFunctor::WINTER17PUPPI.

66 {
67  parameters_ = pSet.getParameter<edm::ParameterSet>("jetAnalysis");
69  m_l1algoname_ = pSet.getParameter<std::string>("l1algoname");
70  m_bitAlgTechTrig_ = -1;
71 
72  jetType_ = pSet.getParameter<std::string>("JetType");
73  m_l1algoname_ = pSet.getParameter<std::string>("l1algoname");
74 
75  fill_jet_high_level_histo = pSet.getParameter<bool>("filljetHighLevel"),
76  filljetsubstruc_ = pSet.getParameter<bool>("fillsubstructure");
77  pt_min_boosted_ = pSet.getParameter<double>("ptMinBoosted");
78 
79  isCaloJet_ = (std::string("calo") == jetType_);
80  //isJPTJet_ = (std::string("jpt") ==jetType_);
81  isPFJet_ = (std::string("pf") == jetType_);
82  isMiniAODJet_ = (std::string("miniaod") == jetType_);
83  jetCorrectorTag_ = pSet.getParameter<edm::InputTag>("JetCorrections");
84  if (!isMiniAODJet_) { //in MiniAOD jet is already corrected
85  jetCorrectorToken_ = consumes<reco::JetCorrector>(jetCorrectorTag_);
86  }
87 
88  if (isCaloJet_) {
89  caloJetsToken_ = consumes<reco::CaloJetCollection>(mInputCollection_);
90  // MET information
92  consumes<reco::CaloMETCollection>(edm::InputTag(pSet.getParameter<edm::InputTag>("METCollectionLabel")));
93  }
94  //if (isJPTJet_) jptJetsToken_ = consumes<reco::JPTJetCollection>(mInputCollection_);
95  if (isPFJet_) {
96  pfJetsToken_ = consumes<reco::PFJetCollection>(mInputCollection_);
97  MuonsToken_ = consumes<reco::MuonCollection>(pSet.getParameter<edm::InputTag>("muonsrc"));
98  pfMetToken_ =
99  consumes<reco::PFMETCollection>(edm::InputTag(pSet.getParameter<edm::InputTag>("METCollectionLabel")));
100  }
101  if (isMiniAODJet_) {
102  patJetsToken_ = consumes<pat::JetCollection>(mInputCollection_);
103  patMetToken_ = consumes<pat::METCollection>(edm::InputTag(pSet.getParameter<edm::InputTag>("METCollectionLabel")));
104  }
106  consumes<edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputCutPUIDDiscriminant"));
107  cutBasedPUIDToken_ = consumes<edm::ValueMap<int> >(pSet.getParameter<edm::InputTag>("InputCutPUIDValue"));
108  mvaPUIDToken_ = consumes<edm::ValueMap<int> >(pSet.getParameter<edm::InputTag>("InputMVAPUIDValue"));
110  consumes<edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputMVAPUIDDiscriminant"));
111 
112  qgMultiplicityToken_ = consumes<edm::ValueMap<int> >(pSet.getParameter<edm::InputTag>("InputQGMultiplicity"));
113  qgLikelihoodToken_ = consumes<edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputQGLikelihood"));
114  qgptDToken_ = consumes<edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputQGPtDToken"));
115  qgaxis2Token_ = consumes<edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputQGAxis2"));
116 
117  fill_CHS_histos = pSet.getParameter<bool>("fillCHShistos");
118 
119  JetIDQuality_ = pSet.getParameter<string>("JetIDQuality");
120  JetIDVersion_ = pSet.getParameter<string>("JetIDVersion");
121 
122  // JetID definitions for Calo and JPT Jets
123  if (isCaloJet_) {
124  inputJetIDValueMap = pSet.getParameter<edm::InputTag>("InputJetIDValueMap");
125  jetID_ValueMapToken_ = consumes<edm::ValueMap<reco::JetID> >(inputJetIDValueMap);
126  if (JetIDVersion_ == "PURE09") {
128  } else if (JetIDVersion_ == "DQM09") {
130  } else if (JetIDVersion_ == "CRAFT08") {
132  } else {
133  if (verbose_)
134  std::cout << "no Valid JetID version given" << std::endl;
135  }
136  if (JetIDQuality_ == "MINIMAL") {
138  } else if (JetIDQuality_ == "LOOSE_AOD") {
140  } else if (JetIDQuality_ == "LOOSE") {
142  } else if (JetIDQuality_ == "TIGHT") {
144  } else {
145  if (verbose_)
146  std::cout << "no Valid JetID quality given" << std::endl;
147  }
149  }
150 
151  //Jet ID definitions for PFJets
152  if (isPFJet_ || isMiniAODJet_) {
153  if (JetIDVersion_ == "FIRSTDATA") {
155  } else if (JetIDVersion_ == "RUNIISTARTUP") {
157  } else if (JetIDVersion_ == "WINTER16") {
159  } else if (JetIDVersion_ == "WINTER17") {
161  } else if (JetIDVersion_ == "WINTER17PUPPI") {
163  } else if (JetIDVersion_ == "RUN2ULCHS") {
165  } else if (JetIDVersion_ == "RUN2ULPUPPI") {
167  } else {
168  if (verbose_)
169  std::cout << "no valid PF JetID version given" << std::endl;
170  }
171  if (JetIDQuality_ == "LOOSE") {
173  } else if (JetIDQuality_ == "TIGHT") {
175  } else {
176  if (verbose_)
177  std::cout << "no Valid PFJetID quality given" << std::endl;
178  }
180  }
181  //check later if some of those are also needed for PFJets
182  leadJetFlag_ = 0;
183  jetLoPass_ = 0;
184  jetHiPass_ = 0;
185  ptThreshold_ = 20.;
186  ptThresholdUnc_ = 20.;
188  balanceThirdJetCut_ = 0.2;
189 
190  theTriggerResultsLabel_ = pSet.getParameter<edm::InputTag>("TriggerResultsLabel");
191  triggerResultsToken_ = consumes<edm::TriggerResults>(edm::InputTag(theTriggerResultsLabel_));
192  //
193  runcosmics_ = pSet.getUntrackedParameter<bool>("runcosmics", false);
194  jetCleaningFlag_ = pSet.getUntrackedParameter<bool>("JetCleaningFlag", true);
195 
196  if (runcosmics_) {
197  jetCleaningFlag_ = false;
198  }
199 
200  // ==========================================================
201  //DCS information
202  // ==========================================================
203  edm::ConsumesCollector iC = consumesCollector();
204  DCSFilterForJetMonitoring_ = new JetMETDQMDCSFilter(pSet.getParameter<ParameterSet>("DCSFilterForJetMonitoring"), iC);
205  DCSFilterForDCSMonitoring_ = new JetMETDQMDCSFilter("ecal:hbhe:hf:ho:pixel:sistrip:es:muon", iC);
206 
207  //Trigger selectoin
208  edm::ParameterSet highptjetparms = pSet.getParameter<edm::ParameterSet>("highPtJetTrigger");
209  edm::ParameterSet lowptjetparms = pSet.getParameter<edm::ParameterSet>("lowPtJetTrigger");
210 
212  new GenericTriggerEventFlag(highptjetparms, consumesCollector(), *this, l1t::UseEventSetupIn::Run);
214  new GenericTriggerEventFlag(lowptjetparms, consumesCollector(), *this, l1t::UseEventSetupIn::Run);
215 
216  highPtJetExpr_ = highptjetparms.getParameter<std::vector<std::string> >("hltPaths");
217  lowPtJetExpr_ = lowptjetparms.getParameter<std::vector<std::string> >("hltPaths");
218 
219  processname_ = pSet.getParameter<std::string>("processname");
220 
221  //jet cleanup parameters
222  cleaningParameters_ = pSet.getParameter<ParameterSet>("CleaningParameters");
223 
224  bypassAllPVChecks_ = cleaningParameters_.getParameter<bool>("bypassAllPVChecks");
226  vertexToken_ = consumes<std::vector<reco::Vertex> >(edm::InputTag(vertexLabel_));
227 
229  gtToken_ = consumes<L1GlobalTriggerReadoutRecord>(edm::InputTag(gtLabel_));
230 
231  std::string inputCollectionLabel(mInputCollection_.label());
232  verbose_ = parameters_.getParameter<int>("verbose");
233  // monitoring of eta parameter
234  etaBin_ = parameters_.getParameter<int>("etaBin");
235  etaMin_ = parameters_.getParameter<double>("etaMin");
236  etaMax_ = parameters_.getParameter<double>("etaMax");
237  // monitoring of phi paramater
238  phiBin_ = parameters_.getParameter<int>("phiBin");
239  phiMin_ = parameters_.getParameter<double>("phiMin");
240  phiMax_ = parameters_.getParameter<double>("phiMax");
241  // monitoring of the transverse momentum
242  ptBin_ = parameters_.getParameter<int>("ptBin");
243  ptMin_ = parameters_.getParameter<double>("ptMin");
244  ptMax_ = parameters_.getParameter<double>("ptMax");
245  //
246  eBin_ = parameters_.getParameter<int>("eBin");
247  eMin_ = parameters_.getParameter<double>("eMin");
248  eMax_ = parameters_.getParameter<double>("eMax");
249  //
250  pBin_ = parameters_.getParameter<int>("pBin");
251  pMin_ = parameters_.getParameter<double>("pMin");
252  pMax_ = parameters_.getParameter<double>("pMax");
253  //
254  nbinsPV_ = parameters_.getParameter<int>("pVBin");
255  nPVlow_ = parameters_.getParameter<double>("pVMin");
256  nPVhigh_ = parameters_.getParameter<double>("pVMax");
257  //
258  ptThreshold_ = parameters_.getParameter<double>("ptThreshold");
259  ptThresholdUnc_ = parameters_.getParameter<double>("ptThresholdUnc");
260  asymmetryThirdJetCut_ = parameters_.getParameter<double>("asymmetryThirdJetCut");
261  balanceThirdJetCut_ = parameters_.getParameter<double>("balanceThirdJetCut");
262 
263  l1gtTrigMenuToken_ = esConsumes<edm::Transition::BeginRun>();
264 }
JetIDSelectionFunctor::Version_t jetidversion
Definition: JetAnalyzer.h:148
PFJetIDSelectionFunctor::Quality_t pfjetidquality
Definition: JetAnalyzer.h:151
bool bypassAllPVChecks_
Definition: JetAnalyzer.h:329
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
double ptMin_
Definition: JetAnalyzer.h:175
bool jetCleaningFlag_
Definition: JetAnalyzer.h:344
bool fill_jet_high_level_histo
Definition: JetAnalyzer.h:790
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken_
Definition: JetAnalyzer.h:143
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:342
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
Definition: JetAnalyzer.h:109
edm::EDGetTokenT< edm::ValueMap< int > > mvaPUIDToken_
Definition: JetAnalyzer.h:121
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:202
double balanceThirdJetCut_
Definition: JetAnalyzer.h:197
JetIDSelectionFunctor jetIDFunctor
Definition: JetAnalyzer.h:149
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > l1gtTrigMenuToken_
Definition: JetAnalyzer.h:132
edm::EDGetTokenT< reco::PFMETCollection > pfMetToken_
Definition: JetAnalyzer.h:112
PFJetIDSelectionFunctor pfjetIDFunctor
Definition: JetAnalyzer.h:154
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
Definition: JetAnalyzer.h:110
int leadJetFlag_
Definition: JetAnalyzer.h:193
edm::InputTag inputJetIDValueMap
Definition: JetAnalyzer.h:130
std::string jetType_
Definition: JetAnalyzer.h:104
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
bool isCaloJet_
Definition: JetAnalyzer.h:786
double pMin_
Definition: JetAnalyzer.h:183
std::string const & label() const
Definition: InputTag.h:36
std::string m_l1algoname_
Definition: JetAnalyzer.h:201
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
Definition: JetAnalyzer.h:107
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:566
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:565
T getUntrackedParameter(std::string const &, T const &) const
double nPVhigh_
Definition: JetAnalyzer.h:188
bool filljetsubstruc_
Definition: JetAnalyzer.h:345
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
Definition: JetAnalyzer.h:131
bool runcosmics_
Definition: JetAnalyzer.h:348
edm::InputTag gtLabel_
Definition: JetAnalyzer.h:137
edm::EDGetTokenT< reco::CaloMETCollection > caloMetToken_
Definition: JetAnalyzer.h:113
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtToken_
Definition: JetAnalyzer.h:108
double pMax_
Definition: JetAnalyzer.h:184
edm::EDGetTokenT< pat::JetCollection > patJetsToken_
Definition: JetAnalyzer.h:117
double ptMax_
Definition: JetAnalyzer.h:176
edm::EDGetTokenT< edm::ValueMap< float > > mvaFullPUDiscriminantToken_
Definition: JetAnalyzer.h:118
double ptThreshold_
Definition: JetAnalyzer.h:194
std::string JetIDVersion_
Definition: JetAnalyzer.h:146
double pt_min_boosted_
Definition: JetAnalyzer.h:346
edm::EDGetTokenT< edm::ValueMap< int > > cutBasedPUIDToken_
Definition: JetAnalyzer.h:120
edm::EDGetTokenT< edm::ValueMap< float > > cutBasedPUDiscriminantToken_
Definition: JetAnalyzer.h:119
std::string processname_
Definition: JetAnalyzer.h:332
bool fill_CHS_histos
Definition: JetAnalyzer.h:792
edm::InputTag jetCorrectorTag_
Definition: JetAnalyzer.h:142
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: JetAnalyzer.h:106
double eMin_
Definition: JetAnalyzer.h:179
PF Jet selector for pat::Jets.
std::string JetIDQuality_
Definition: JetAnalyzer.h:145
double phiMin_
Definition: JetAnalyzer.h:171
edm::EDGetTokenT< edm::ValueMap< float > > qgLikelihoodToken_
Definition: JetAnalyzer.h:124
double nPVlow_
Definition: JetAnalyzer.h:187
Jet selector for pat::Jets and for CaloJets.
edm::EDGetTokenT< reco::MuonCollection > MuonsToken_
Definition: JetAnalyzer.h:116
JetIDSelectionFunctor::Quality_t jetidquality
Definition: JetAnalyzer.h:147
double asymmetryThirdJetCut_
Definition: JetAnalyzer.h:196
double etaMin_
Definition: JetAnalyzer.h:167
double ptThresholdUnc_
Definition: JetAnalyzer.h:195
double etaMax_
Definition: JetAnalyzer.h:168
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:338
bool isMiniAODJet_
Definition: JetAnalyzer.h:788
edm::ParameterSet cleaningParameters_
Definition: JetAnalyzer.h:135
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:339
edm::EDGetTokenT< edm::ValueMap< float > > qgptDToken_
Definition: JetAnalyzer.h:125
edm::EDGetTokenT< pat::METCollection > patMetToken_
Definition: JetAnalyzer.h:114
edm::ParameterSet parameters_
Definition: JetAnalyzer.h:140
edm::InputTag theTriggerResultsLabel_
Definition: JetAnalyzer.h:102
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:341
edm::EDGetTokenT< edm::ValueMap< int > > qgMultiplicityToken_
Definition: JetAnalyzer.h:123
PFJetIDSelectionFunctor::Version_t pfjetidversion
Definition: JetAnalyzer.h:152
double eMax_
Definition: JetAnalyzer.h:180
edm::EDGetTokenT< edm::ValueMap< float > > qgaxis2Token_
Definition: JetAnalyzer.h:126
double phiMax_
Definition: JetAnalyzer.h:172
edm::InputTag vertexLabel_
Definition: JetAnalyzer.h:136
edm::InputTag mInputCollection_
Definition: JetAnalyzer.h:101

◆ ~JetAnalyzer()

JetAnalyzer::~JetAnalyzer ( )
override

Destructor.

Definition at line 267 of file JetAnalyzer.cc.

References LogTrace.

267  {
268  delete highPtJetEventFlag_;
269  delete lowPtJetEventFlag_;
270 
273  LogTrace("JetAnalyzer") << "[JetAnalyzer] Saving the histos";
274 }
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:566
#define LogTrace(id)
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:565
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:338
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:339

Member Function Documentation

◆ analyze()

void JetAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Get the analysis.

Reimplemented from DQMEDAnalyzer.

Definition at line 2249 of file JetAnalyzer.cc.

References isolatedTracks_cfi::caloJets, ALCARECOTkAlJpsiMuMu_cff::charge, reco::JetCorrector::correction(), gather_cfg::cout, PbPb_ZMuSkimMuonDPG_cff::deltaR, fed_dqm_sourceclient-live_cfg::DirName, PVValHelper::dxy, PVValHelper::dz, PVValHelper::eta, reco::LeafCandidate::eta(), reco::JetID::fHPD, reco::JetID::fRBX, cutBasedMuonId_MuonPOG_V0_cff::globalTrack, mps_fire::i, iEvent, susybsm::HSCParticleType::innerTrack, edm::HandleBase::isValid(), PileupJetIdentifier::kLoose, PileupJetIdentifier::kMedium, PileupJetIdentifier::kTight, LogDebug, SiStripPI::max, BTaggingMonitor_cfi::met, HLTTauDQMOffline_cfi::Muons, reco::JetID::n90Hits, reco::Jet::nConstituents(), custom_jme_cff::nConstituents, TrackCollections2monitor_cff::numberOfValidPixelHits, PileupJetIdentifier::passJetId(), hemisphereProducer_cfi::patJets, displacedMuons_cfi::pfIsolationR04, pfJetBenchmark_cfi::pfJets, reco::LeafCandidate::phi(), position, edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), HLT_2024v10_cff::pt1, HLT_2024v10_cff::pt2, RecoJets_cff::recoJets, reco::JetID::restrictedEMF, l1tEGammaCrystalsEmulatorProducer_cfi::scale, reco::Jet::scaleEnergy(), jetUpdater_cfi::sort, L1GlobalTriggerReadoutRecord::technicalTriggerWord(), L1TEGammaOffline_cfi::triggerNames, edm::triggerResults(), and spclusmultinvestigator_cfi::vertexCollection.

2249  {
2250  //set general folders first --> change later on for different folders
2251  if (jetCleaningFlag_) {
2252  //dbe_->setCurrentFolder("JetMET/Jet/Cleaned"+mInputCollection_.label());
2253  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label();
2254  } else {
2255  //dbe_->setCurrentFolder("JetMET/Jet/Uncleaned"+mInputCollection_.label());
2256  DirName = "JetMET/Jet/Uncleaned" + mInputCollection_.label();
2257  }
2258 
2259  Handle<ValueMap<float> > puJetIdMva;
2260  Handle<ValueMap<int> > puJetIdFlagMva;
2261  Handle<ValueMap<float> > puJetId;
2262  Handle<ValueMap<int> > puJetIdFlag;
2263 
2264  Handle<ValueMap<int> > qgMultiplicity;
2265  Handle<ValueMap<float> > qgLikelihood;
2266  Handle<ValueMap<float> > qgptD;
2267  Handle<ValueMap<float> > qgaxis2;
2268 
2269  //should insure we have a PFJet in with CHS
2270  if (fill_CHS_histos) {
2271  iEvent.getByToken(qgMultiplicityToken_, qgMultiplicity);
2272  iEvent.getByToken(qgLikelihoodToken_, qgLikelihood);
2273  iEvent.getByToken(qgptDToken_, qgptD);
2274  iEvent.getByToken(qgaxis2Token_, qgaxis2);
2275  }
2276 
2277  if (!isMiniAODJet_) {
2278  iEvent.getByToken(mvaPUIDToken_, puJetIdFlagMva);
2279  iEvent.getByToken(cutBasedPUDiscriminantToken_, puJetId);
2280  iEvent.getByToken(cutBasedPUIDToken_, puJetIdFlag);
2281  iEvent.getByToken(mvaFullPUDiscriminantToken_, puJetIdMva);
2282  }
2283 
2284  // **** Get the TriggerResults container
2287 
2288  Int_t JetLoPass = 0;
2289  Int_t JetHiPass = 0;
2290 
2291  if (triggerResults.isValid()) {
2292  const edm::TriggerNames& triggerNames = iEvent.triggerNames(*triggerResults);
2293 
2294  const unsigned int nTrig(triggerNames.size());
2295  for (unsigned int i = 0; i < nTrig; ++i) {
2296  if (triggerNames.triggerName(i).find(highPtJetExpr_[0].substr(0, highPtJetExpr_[0].rfind("_v") + 2)) !=
2297  std::string::npos &&
2298  triggerResults->accept(i))
2299  JetHiPass = 1;
2300  else if (triggerNames.triggerName(i).find(lowPtJetExpr_[0].substr(0, lowPtJetExpr_[0].rfind("_v") + 2)) !=
2301  std::string::npos &&
2302  triggerResults->accept(i))
2303  JetLoPass = 1;
2304  }
2305  }
2306 
2307  if (verbose_)
2308  std::cout << "trigger label " << theTriggerResultsLabel_ << std::endl;
2309 
2310  if (verbose_) {
2311  std::cout << ">>> Trigger Lo = " << JetLoPass << " Hi = " << JetHiPass << std::endl;
2312  }
2313 
2314  // ==========================================================
2315  //Vertex information
2316  Handle<VertexCollection> vertexHandle;
2317  iEvent.getByToken(vertexToken_, vertexHandle);
2318 
2319  if (!vertexHandle.isValid()) {
2320  LogDebug("") << "CaloMETAnalyzer: Could not find vertex collection" << std::endl;
2321  if (verbose_)
2322  std::cout << "CaloMETAnalyzer: Could not find vertex collection" << std::endl;
2323  }
2324  int numPV = 0;
2325  if (vertexHandle.isValid()) {
2326  VertexCollection vertexCollection = *(vertexHandle.product());
2327  numPV = vertexCollection.size();
2328  }
2329  bool bPrimaryVertex = (bypassAllPVChecks_ || (numPV > 0));
2330  if (fill_jet_high_level_histo) { //should be filled for all events, no selection up to this point
2331  verticesME = map_of_MEs["JetMET/vertices"];
2333  verticesME->Fill(numPV);
2334  }
2335  // ==========================================================
2337  iEvent.getByToken(gtToken_, gtReadoutRecord);
2338 
2339  if (!gtReadoutRecord.isValid()) {
2340  LogInfo("JetAnalyzer") << "JetAnalyzer: Could not find GT readout record" << std::endl;
2341  if (verbose_)
2342  std::cout << "JetAnalyzer: Could not find GT readout record product" << std::endl;
2343  }
2344 
2345  //bool techTriggerResultBxE = false;
2346  bool techTriggerResultBxF = false;
2347  bool techTriggerResultBx0 = false;
2348 
2349  if (!gtReadoutRecord.isValid()) {
2350  LogDebug("") << "CaloMETAnalyzer: Could not find GT readout record" << std::endl;
2351  if (verbose_)
2352  std::cout << "CaloMETAnalyzer: Could not find GT readout record product" << std::endl;
2353  } else {
2354  // trigger results before mask for BxInEvent -2 (E), -1 (F), 0 (L1A), 1, 2
2355  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxE = gtReadoutRecord->technicalTriggerWord(-2);
2356  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxF = gtReadoutRecord->technicalTriggerWord(-1);
2357  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBx0 = gtReadoutRecord->technicalTriggerWord();
2358  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxG = gtReadoutRecord->technicalTriggerWord(1);
2359  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxH = gtReadoutRecord->technicalTriggerWord(2);
2360  if (m_bitAlgTechTrig_ > -1 && !technicalTriggerWordBeforeMaskBx0.empty()) {
2361  techTriggerResultBx0 = technicalTriggerWordBeforeMaskBx0.at(m_bitAlgTechTrig_);
2362  if (techTriggerResultBx0 != 0) {
2363  //techTriggerResultBxE = technicalTriggerWordBeforeMaskBxE.at(m_bitAlgTechTrig_);
2364  techTriggerResultBxF = technicalTriggerWordBeforeMaskBxF.at(m_bitAlgTechTrig_);
2365  }
2366  }
2367  }
2368 
2370  if (fill_jet_high_level_histo) { //should be filled only once
2371  cleanupME = map_of_MEs["JetMET/cleanup"];
2372  if (cleanupME && cleanupME->getRootObject()) {
2373  if (bPrimaryVertex)
2374  cleanupME->Fill(0.5);
2376  cleanupME->Fill(1.5);
2378  cleanupME->Fill(2.5);
2380  cleanupME->Fill(3.5);
2382  cleanupME->Fill(4.5);
2384  cleanupME->Fill(5.5);
2386  cleanupME->Fill(6.5);
2388  cleanupME->Fill(7.5);
2390  cleanupME->Fill(8.5);
2391  }
2392  }
2397 
2399 
2400  bool pass_Z_selection = false;
2402 
2403  int mu_index0 = -1;
2404  int mu_index1 = -1;
2405 
2406  if (isCaloJet_)
2407  iEvent.getByToken(caloJetsToken_, caloJets);
2408  //if (isJPTJet_) iEvent.getByToken(jptJetsToken_, jptJets);
2409  if (isPFJet_) {
2410  iEvent.getByToken(pfJetsToken_, pfJets);
2411  iEvent.getByToken(MuonsToken_, Muons);
2412  double pt0 = -1;
2413  double pt1 = -1;
2414  //fill it only for cleaned jets
2415  if (jetCleaningFlag_ && Muons.isValid() && Muons->size() > 1) {
2416  for (unsigned int i = 0; i < Muons->size(); i++) {
2417  bool pass_muon_id = false;
2418  bool pass_muon_iso = false;
2419  double dxy = fabs((*Muons)[i].muonBestTrack()->dxy());
2420  double dz = fabs((*Muons)[i].muonBestTrack()->dz());
2421  if (numPV > 0) {
2422  dxy = fabs((*Muons)[i].muonBestTrack()->dxy((*vertexHandle)[0].position()));
2423  dz = fabs((*Muons)[i].muonBestTrack()->dz((*vertexHandle)[0].position()));
2424  }
2425  if ((*Muons)[i].pt() > 20 && fabs((*Muons)[i].eta()) < 2.3) {
2426  if ((*Muons)[i].isGlobalMuon() && (*Muons)[i].isPFMuon() &&
2427  (*Muons)[i].globalTrack()->hitPattern().numberOfValidMuonHits() > 0 &&
2428  (*Muons)[i].numberOfMatchedStations() > 1 && dxy < 0.2 && (*Muons)[i].numberOfMatchedStations() > 1 &&
2429  dz < 0.5 && (*Muons)[i].innerTrack()->hitPattern().numberOfValidPixelHits() > 0 &&
2430  (*Muons)[i].innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5) {
2431  pass_muon_id = true;
2432  }
2433  // Muon pf isolation DB corrected
2434  float muonIsoPFdb =
2435  ((*Muons)[i].pfIsolationR04().sumChargedHadronPt +
2436  std::max(0.,
2437  (*Muons)[i].pfIsolationR04().sumNeutralHadronEt + (*Muons)[i].pfIsolationR04().sumPhotonEt -
2438  0.5 * (*Muons)[i].pfIsolationR04().sumPUPt)) /
2439  (*Muons)[i].pt();
2440  if (muonIsoPFdb < 0.12) {
2441  pass_muon_iso = true;
2442  }
2443 
2444  if (pass_muon_id && pass_muon_iso) {
2445  if ((*Muons)[i].pt() > pt0) {
2446  mu_index1 = mu_index0;
2447  pt1 = pt0;
2448  mu_index0 = i;
2449  pt0 = (*Muons)[i].pt();
2450  } else if ((*Muons)[i].pt() > pt1) {
2451  mu_index1 = i;
2452  pt1 = (*Muons)[i].pt();
2453  }
2454  }
2455  }
2456  }
2457  if (mu_index0 >= 0 && mu_index1 >= 0) {
2458  if ((*Muons)[mu_index0].charge() * (*Muons)[mu_index1].charge() < 0) {
2459  zCand = (*Muons)[mu_index0].polarP4() + (*Muons)[mu_index1].polarP4();
2460  if (fabs(zCand.M() - 91.) < 20 && zCand.Pt() > 30) {
2461  pass_Z_selection = true;
2462  }
2463  }
2464  }
2465  }
2466  }
2467  if (isMiniAODJet_)
2468  iEvent.getByToken(patJetsToken_, patJets);
2469 
2470  edm::Handle<edm::ValueMap<reco::JetID> > jetID_ValueMap_Handle;
2471  if (/*isJPTJet_ || */ isCaloJet_) {
2472  if (!runcosmics_) {
2473  iEvent.getByToken(jetID_ValueMapToken_, jetID_ValueMap_Handle);
2474  }
2475  }
2476 
2477  //check for collections AND DCS filters
2478  bool dcsDecision = DCSFilterForJetMonitoring_->filter(iEvent, iSetup);
2479  bool jetCollectionIsValid = false;
2480  if (isCaloJet_)
2481  jetCollectionIsValid = caloJets.isValid();
2482  //if (isJPTJet_) jetCollectionIsValid = jptJets.isValid();
2483  if (isPFJet_)
2484  jetCollectionIsValid = pfJets.isValid();
2485  if (isMiniAODJet_)
2486  jetCollectionIsValid = patJets.isValid();
2487 
2488  if (jetCleaningFlag_ && (!jetCollectionIsValid || !bPrimaryVertex || !dcsDecision))
2489  return;
2490 
2491  unsigned int collSize = -1;
2492  if (isCaloJet_)
2493  collSize = caloJets->size();
2494  //if (isJPTJet_) {
2495  //collSize=jptJets->size();
2496  //if(collSize>0){
2497  // //update the track propagator and strip noise calculator
2498  // trackPropagator_->update(iSetup);
2499  // //sOverNCalculator_->update(iSetup);
2500  //}
2501  //}
2502  if (isPFJet_)
2503  collSize = pfJets->size();
2504  if (isMiniAODJet_)
2505  collSize = patJets->size();
2506 
2507  double scale = -1;
2508  //now start changes for jets
2509  std::vector<Jet> corJets;
2510  corJets.clear();
2511 
2512  //maybe not most elegant solution, but works for sure
2513  int ind1 = -1;
2514  double pt1 = -1;
2515  int ind2 = -1;
2516  double pt2 = -1;
2517  int ind3 = -1;
2518  double pt3 = -1;
2519 
2520  bool cleaned_first_jet = false;
2521  bool cleaned_second_jet = false;
2522  //bool cleaned_third_jet=false;
2523  //for ZJets selection check for muon jet overlap
2524  int ind1_mu_vetoed = -1;
2525  double pt1_mu_vetoed = -1;
2526  int ind2_mu_vetoed = -1;
2527  double pt2_mu_vetoed = -1;
2528  bool cleaned_first_jet_mu_vetoed = false;
2529  bool cleaned_second_jet_mu_vetoed = false;
2530 
2531  //now start changes for jets
2532  std::vector<Jet> recoJets;
2533  recoJets.clear();
2534 
2535  int numofjets = 0;
2536 
2538  bool pass_correction_flag = false;
2539  if (!isMiniAODJet_ && !jetCorrectorTag_.label().empty()) {
2540  iEvent.getByToken(jetCorrectorToken_, jetCorr);
2541  if (jetCorr.isValid()) {
2542  pass_correction_flag = true;
2543  }
2544  }
2545  if (isMiniAODJet_) {
2546  pass_correction_flag = true;
2547  }
2548 
2549  for (unsigned int ijet = 0; ijet < collSize; ijet++) {
2550  //bool thiscleaned=false;
2551  Jet correctedJet;
2552  bool pass_uncorrected = false;
2553  bool pass_corrected = false;
2554  if (isCaloJet_) {
2555  correctedJet = (*caloJets)[ijet];
2556  }
2557  //if (isJPTJet_){
2558  //correctedJet=(*jptJets)[ijet];
2559  //}
2560  if (isPFJet_) {
2561  correctedJet = (*pfJets)[ijet];
2562  }
2563  if (isMiniAODJet_) {
2564  correctedJet = (*patJets)[ijet];
2565  }
2566  if (!isMiniAODJet_ && correctedJet.pt() > ptThresholdUnc_) {
2567  pass_uncorrected = true;
2568  }
2569  if (isMiniAODJet_ && (correctedJet.pt() * (*patJets)[ijet].jecFactor("Uncorrected")) > ptThresholdUnc_) {
2570  pass_uncorrected = true;
2571  }
2572  if (pass_correction_flag && !isMiniAODJet_) {
2573  if (isCaloJet_) {
2574  scale = jetCorr->correction((*caloJets)[ijet]);
2575  }
2576  if (isPFJet_) {
2577  scale = jetCorr->correction((*pfJets)[ijet]);
2578  }
2579  correctedJet.scaleEnergy(scale);
2580  }
2581  if (correctedJet.pt() > ptThreshold_) {
2582  pass_corrected = true;
2583  }
2584  //if (!pass_corrected && !pass_uncorrected) continue;
2585  //remove the continue line, for physics selections we might losen the pt-thresholds as we care only about leading jets
2586  //fill only corrected jets -> check ID for uncorrected jets
2587  if (pass_corrected) {
2588  recoJets.push_back(correctedJet);
2589  }
2590  bool jetpassid = true;
2591  bool Thiscleaned = true;
2592  bool JetIDWPU = true;
2593  //jet ID for calojets
2594  if (isCaloJet_) {
2595  reco::CaloJetRef calojetref(caloJets, ijet);
2596  if (!runcosmics_) {
2597  reco::JetID jetID = (*jetID_ValueMap_Handle)[calojetref];
2598  jetpassid = jetIDFunctor((*caloJets)[ijet], jetID);
2599  JetIDWPU = jetpassid;
2600  if (jetCleaningFlag_) {
2601  Thiscleaned = jetpassid;
2602  }
2603  if (Thiscleaned && pass_corrected) { //if cleaning requested->jet passes a loose ID
2604  mN90Hits = map_of_MEs[DirName + "/" + "N90Hits"];
2605  if (mN90Hits && mN90Hits->getRootObject())
2606  mN90Hits->Fill(jetID.n90Hits);
2607  mfHPD = map_of_MEs[DirName + "/" + "fHPD"];
2608  if (mfHPD && mfHPD->getRootObject())
2609  mfHPD->Fill(jetID.fHPD);
2610  mresEMF = map_of_MEs[DirName + "/" + "resEMF"];
2611  if (mresEMF && mresEMF->getRootObject())
2612  mresEMF->Fill(jetID.restrictedEMF);
2613  mfRBX = map_of_MEs[DirName + "/" + "fRBX"];
2614  if (mfRBX && mfRBX->getRootObject())
2615  mfRBX->Fill(jetID.fRBX);
2616  }
2617  }
2618  if (jetCleaningFlag_) {
2619  Thiscleaned = jetpassid;
2620  }
2621  if (Thiscleaned && pass_uncorrected) {
2622  mPt_uncor = map_of_MEs[DirName + "/" + "Pt_uncor"];
2623  if (mPt_uncor && mPt_uncor->getRootObject())
2624  mPt_uncor->Fill((*caloJets)[ijet].pt());
2625  mEta_uncor = map_of_MEs[DirName + "/" + "Eta_uncor"];
2627  mEta_uncor->Fill((*caloJets)[ijet].eta());
2628  mPhi_uncor = map_of_MEs[DirName + "/" + "Phi_uncor"];
2630  mPhi_uncor->Fill((*caloJets)[ijet].phi());
2631  mConstituents_uncor = map_of_MEs[DirName + "/" + "Constituents_uncor"];
2633  mConstituents_uncor->Fill((*caloJets)[ijet].nConstituents());
2634  }
2635  //now do calojet specific fractions and histograms ->H and E fracs
2636  if (Thiscleaned && pass_corrected) { //if cleaning requested->jet passes a loose ID
2637  mHFrac = map_of_MEs[DirName + "/" + "HFrac"];
2638  if (mHFrac && mHFrac->getRootObject())
2639  mHFrac->Fill((*caloJets)[ijet].energyFractionHadronic());
2640  mEFrac = map_of_MEs[DirName + "/" + "EFrac"];
2641  if (mEFrac && mHFrac->getRootObject())
2642  mEFrac->Fill((*caloJets)[ijet].emEnergyFraction());
2643  mHFrac_profile = map_of_MEs[DirName + "/" + "HFrac_profile"];
2645  mHFrac_profile->Fill(numPV, (*caloJets)[ijet].energyFractionHadronic());
2646  mEFrac_profile = map_of_MEs[DirName + "/" + "EFrac_profile"];
2648  mEFrac_profile->Fill(numPV, (*caloJets)[ijet].emEnergyFraction());
2649  if (fabs((*caloJets)[ijet].eta()) <= 1.3) {
2650  mHFrac_Barrel = map_of_MEs[DirName + "/" + "HFrac_Barrel"];
2652  mHFrac_Barrel->Fill((*caloJets)[ijet].energyFractionHadronic());
2653  mEFrac_Barrel = map_of_MEs[DirName + "/" + "EFrac_Barrel"];
2655  mEFrac_Barrel->Fill((*caloJets)[ijet].emEnergyFraction());
2656  } else if (fabs((*caloJets)[ijet].eta()) < 3.0) {
2657  mHFrac_EndCap = map_of_MEs[DirName + "/" + "HFrac_EndCap"];
2659  mHFrac_EndCap->Fill((*caloJets)[ijet].energyFractionHadronic());
2660  mEFrac_EndCap = map_of_MEs[DirName + "/" + "EFrac_EndCap"];
2662  mEFrac_EndCap->Fill((*caloJets)[ijet].emEnergyFraction());
2663  } else {
2664  mHFrac_Forward = map_of_MEs[DirName + "/" + "HFrac_Forward"];
2666  mHFrac_Forward->Fill((*caloJets)[ijet].energyFractionHadronic());
2667  mEFrac_Forward = map_of_MEs[DirName + "/" + "EFrac_Forward"];
2669  mEFrac_Forward->Fill((*caloJets)[ijet].emEnergyFraction());
2670  }
2671  mHadEnergyInHO = map_of_MEs[DirName + "/" + "HadEnergyInHO"];
2673  mHadEnergyInHO->Fill((*caloJets)[ijet].hadEnergyInHO());
2674  mHadEnergyInHB = map_of_MEs[DirName + "/" + "HadEnergyInHB"];
2676  mHadEnergyInHB->Fill((*caloJets)[ijet].hadEnergyInHB());
2677  mHadEnergyInHF = map_of_MEs[DirName + "/" + "HadEnergyInHF"];
2679  mHadEnergyInHF->Fill((*caloJets)[ijet].hadEnergyInHF());
2680  mHadEnergyInHE = map_of_MEs[DirName + "/" + "HadEnergyInHE"];
2682  mHadEnergyInHE->Fill((*caloJets)[ijet].hadEnergyInHE());
2683  mEmEnergyInEB = map_of_MEs[DirName + "/" + "EmEnergyInEB"];
2685  mEmEnergyInEB->Fill((*caloJets)[ijet].emEnergyInEB());
2686  mEmEnergyInEE = map_of_MEs[DirName + "/" + "EmEnergyInEE"];
2688  mEmEnergyInEE->Fill((*caloJets)[ijet].emEnergyInEE());
2689  mEmEnergyInHF = map_of_MEs[DirName + "/" + "EmEnergyInHF"];
2691  mEmEnergyInHF->Fill((*caloJets)[ijet].emEnergyInHF());
2692  }
2693  }
2694  if (isMiniAODJet_ && (*patJets)[ijet].isPFJet()) {
2695  // You can't check the jet ID without the specifics. If they were dropped for space savings,
2696  // don't monitor this jet.
2697  if (!(*patJets)[ijet].hasPFSpecific())
2698  continue;
2699 
2700  pat::strbitset stringbitset = pfjetIDFunctor.getBitTemplate();
2701  jetpassid = pfjetIDFunctor((*patJets)[ijet], stringbitset);
2702  if (jetCleaningFlag_) {
2703  Thiscleaned = jetpassid;
2704  JetIDWPU = jetpassid;
2705  }
2706  if (Thiscleaned && pass_uncorrected) {
2707  mPt_uncor = map_of_MEs[DirName + "/" + "Pt_uncor"];
2708  if (mPt_uncor && mPt_uncor->getRootObject())
2709  if (mPt_uncor)
2710  mPt_uncor->Fill((*patJets)[ijet].pt() * (*patJets)[ijet].jecFactor("Uncorrected"));
2711  mEta_uncor = map_of_MEs[DirName + "/" + "Eta_uncor"];
2713  if (mEta_uncor)
2714  mEta_uncor->Fill((*patJets)[ijet].eta());
2715  mPhi_uncor = map_of_MEs[DirName + "/" + "Phi_uncor"];
2717  if (mPhi_uncor)
2718  mPhi_uncor->Fill((*patJets)[ijet].phi());
2719  mConstituents_uncor = map_of_MEs[DirName + "/" + "Constituents_uncor"];
2721  if (mConstituents_uncor)
2723  }
2724  if (Thiscleaned && pass_corrected) {
2725  mPt_CaloJet = map_of_MEs[DirName + "/" + "Pt_CaloJet"];
2726  if (mPt_CaloJet && mPt_CaloJet->getRootObject() && (*patJets)[ijet].hasUserFloat("caloJetMap:pt"))
2727  mPt_CaloJet->Fill((*patJets)[ijet].userFloat("caloJetMap:pt"));
2728  mEMF_CaloJet = map_of_MEs[DirName + "/" + "EMF_CaloJet"];
2730  (*patJets)[ijet].hasUserFloat("caloJetMap:emEnergyFraction"))
2731  mEMF_CaloJet->Fill((*patJets)[ijet].userFloat("caloJetMap:emEnergyFraction"));
2732  if (fabs(correctedJet.eta()) <= 1.3) {
2733  if (correctedJet.pt() <= 50.) {
2734  mMVAPUJIDDiscriminant_lowPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Barrel"];
2736  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2737  mMVAPUJIDDiscriminant_lowPt_Barrel->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2738  }
2739  }
2740  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2741  mMVAPUJIDDiscriminant_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Barrel"];
2743  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2744  mMVAPUJIDDiscriminant_mediumPt_Barrel->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2745  }
2746  }
2747  if (correctedJet.pt() > 140.) {
2748  mMVAPUJIDDiscriminant_highPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Barrel"];
2750  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2751  mMVAPUJIDDiscriminant_highPt_Barrel->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2752  }
2753  }
2754  mMass_Barrel = map_of_MEs[DirName + "/" + "JetMass_Barrel"];
2756  mMass_Barrel->Fill((*patJets)[ijet].mass());
2757  mCHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "CHFracVSpT_Barrel"];
2759  mCHFracVSpT_Barrel->Fill(correctedJet.pt(), (*patJets)[ijet].chargedHadronEnergyFraction());
2760  mNHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "NHFracVSpT_Barrel"];
2762  mNHFracVSpT_Barrel->Fill(correctedJet.pt(), (*patJets)[ijet].neutralHadronEnergyFraction());
2763  mPhFracVSpT_Barrel = map_of_MEs[DirName + "/" + "PhFracVSpT_Barrel"];
2765  mPhFracVSpT_Barrel->Fill(correctedJet.pt(), (*patJets)[ijet].neutralEmEnergyFraction());
2766  } else if (fabs(correctedJet.eta()) <= 3) {
2767  if (correctedJet.pt() <= 50.) {
2768  mMVAPUJIDDiscriminant_lowPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_EndCap"];
2770  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2771  mMVAPUJIDDiscriminant_lowPt_EndCap->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2772  }
2773  }
2774  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2775  mMVAPUJIDDiscriminant_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_EndCap"];
2777  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2778  mMVAPUJIDDiscriminant_mediumPt_EndCap->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2779  }
2780  }
2781  if (correctedJet.pt() > 140.) {
2782  mMVAPUJIDDiscriminant_highPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_EndCap"];
2784  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2785  mMVAPUJIDDiscriminant_highPt_EndCap->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2786  }
2787  }
2788  mMass_EndCap = map_of_MEs[DirName + "/" + "JetMass_EndCap"];
2790  mMass_EndCap->Fill((*patJets)[ijet].mass());
2791  mCHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "CHFracVSpT_EndCap"];
2793  mCHFracVSpT_EndCap->Fill(correctedJet.pt(), (*patJets)[ijet].chargedHadronEnergyFraction());
2794  mNHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "NHFracVSpT_EndCap"];
2796  mNHFracVSpT_EndCap->Fill(correctedJet.pt(), (*patJets)[ijet].neutralHadronEnergyFraction());
2797  mPhFracVSpT_EndCap = map_of_MEs[DirName + "/" + "PhFracVSpT_EndCap"];
2799  mPhFracVSpT_EndCap->Fill(correctedJet.pt(), (*patJets)[ijet].neutralEmEnergyFraction());
2800  } else if (fabs(correctedJet.eta()) <= 5) {
2801  if (correctedJet.pt() <= 50.) {
2802  mMVAPUJIDDiscriminant_lowPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Forward"];
2804  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2805  mMVAPUJIDDiscriminant_lowPt_Forward->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2806  }
2807  }
2808  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2810  map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Forward"];
2812  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2814  (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2815  }
2816  }
2817  if (correctedJet.pt() > 140.) {
2818  mMVAPUJIDDiscriminant_highPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Forward"];
2820  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2821  mMVAPUJIDDiscriminant_highPt_Forward->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2822  }
2823  }
2824  mMass_Forward = map_of_MEs[DirName + "/" + "JetMass_Forward"];
2826  mMass_Forward->Fill((*patJets)[ijet].mass());
2827  mHFHFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFHFracVSpT_Forward"];
2829  mHFHFracVSpT_Forward->Fill(correctedJet.pt(), (*patJets)[ijet].HFHadronEnergyFraction());
2830  mHFEFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFEFracVSpT_Forward"];
2832  mHFEFracVSpT_Forward->Fill(correctedJet.pt(), (*patJets)[ijet].HFEMEnergyFraction());
2833  }
2834  }
2835  }
2836  if (isPFJet_) {
2837  reco::PFJetRef pfjetref(pfJets, ijet);
2838  float puidmva = -1;
2839  float puidcut = -1;
2840  int puidmvaflag = -10;
2841  int puidcutflag = -10;
2842  puidmva = (*puJetIdMva)[pfjetref];
2843  puidcut = (*puJetId)[pfjetref];
2844  puidmvaflag = (*puJetIdFlagMva)[pfjetref];
2845  puidcutflag = (*puJetIdFlag)[pfjetref];
2846  jetpassid = pfjetIDFunctor((*pfJets)[ijet]);
2847  if (jetCleaningFlag_) {
2848  Thiscleaned = jetpassid;
2849  JetIDWPU = jetpassid; // && PileupJetIdentifier::passJetId( puidmvaflag, PileupJetIdentifier::kLoose )
2850  }
2851  if (Thiscleaned && pass_uncorrected) {
2852  mPt_uncor = map_of_MEs[DirName + "/" + "Pt_uncor"];
2853  if (mPt_uncor && mPt_uncor->getRootObject())
2854  mPt_uncor->Fill((*pfJets)[ijet].pt());
2855  mEta_uncor = map_of_MEs[DirName + "/" + "Eta_uncor"];
2857  mEta_uncor->Fill((*pfJets)[ijet].eta());
2858  mPhi_uncor = map_of_MEs[DirName + "/" + "Phi_uncor"];
2860  mPhi_uncor->Fill((*pfJets)[ijet].phi());
2861  mConstituents_uncor = map_of_MEs[DirName + "/" + "Constituents_uncor"];
2863  mConstituents_uncor->Fill((*pfJets)[ijet].nConstituents());
2864  }
2865  if (Thiscleaned && pass_corrected) {
2867  mLooseCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSeta"];
2869  mLooseCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2870  mLooseCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSpt"];
2872  mLooseCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2873  } else {
2874  mLooseCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSeta"];
2876  mLooseCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2877  mLooseCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSpt"];
2879  mLooseCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2880  }
2882  mMediumCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSeta"];
2884  mMediumCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2885  mMediumCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSpt"];
2887  mMediumCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2888  } else {
2889  mMediumCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSeta"];
2891  mMediumCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2892  mMediumCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSpt"];
2894  mMediumCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2895  }
2897  mTightCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSeta"];
2899  mTightCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2900  mTightCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSpt"];
2902  mTightCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2903  } else {
2904  mTightCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSeta"];
2906  mTightCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2907  mTightCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSpt"];
2909  mTightCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2910  }
2912  mLooseMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSeta"];
2914  mLooseMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2915  mLooseMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSpt"];
2917  mLooseMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2918  } else {
2919  mLooseMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSeta"];
2921  mLooseMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2922  mLooseMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSpt"];
2924  mLooseMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2925  }
2927  mMediumMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSeta"];
2929  mMediumMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2930  mMediumMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSpt"];
2932  mMediumMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2933  } else {
2934  mMediumMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSeta"];
2936  mMediumMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2937  mMediumMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSpt"];
2939  mMediumMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2940  }
2942  mTightMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSeta"];
2944  mTightMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2945  mTightMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSpt"];
2947  mTightMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2948  } else {
2949  mTightMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSeta"];
2951  mTightMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2952  mTightMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSpt"];
2954  mTightMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2955  }
2956  if (correctedJet.pt() <= 50) {
2957  mCHFracVSeta_lowPt = map_of_MEs[DirName + "/" + "CHFracVSeta_lowPt"];
2959  mCHFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].chargedHadronEnergyFraction());
2960  mNHFracVSeta_lowPt = map_of_MEs[DirName + "/" + "NHFracVSeta_lowPt"];
2962  mNHFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralHadronEnergyFraction());
2963  mPhFracVSeta_lowPt = map_of_MEs[DirName + "/" + "PhFracVSeta_lowPt"];
2965  mPhFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralEmEnergyFraction());
2966  }
2967  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2968  mCHFracVSeta_mediumPt = map_of_MEs[DirName + "/" + "CHFracVSeta_mediumPt"];
2970  mCHFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].chargedHadronEnergyFraction());
2971  mNHFracVSeta_mediumPt = map_of_MEs[DirName + "/" + "NHFracVSeta_mediumPt"];
2973  mNHFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralHadronEnergyFraction());
2974  mPhFracVSeta_mediumPt = map_of_MEs[DirName + "/" + "PhFracVSeta_mediumPt"];
2976  mPhFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralEmEnergyFraction());
2977  }
2978  if (correctedJet.pt() > 140.) {
2979  mCHFracVSeta_highPt = map_of_MEs[DirName + "/" + "CHFracVSeta_highPt"];
2981  mCHFracVSeta_highPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].chargedHadronEnergyFraction());
2982  mNHFracVSeta_highPt = map_of_MEs[DirName + "/" + "NHFracVSeta_highPt"];
2984  mNHFracVSeta_highPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralHadronEnergyFraction());
2985  mPhFracVSeta_highPt = map_of_MEs[DirName + "/" + "PhFracVSeta_highPt"];
2987  mPhFracVSeta_highPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralEmEnergyFraction());
2988  }
2989  if (fabs(correctedJet.eta()) <= 1.3) {
2990  //fractions for barrel
2991  if (correctedJet.pt() <= 50.) {
2992  //mAxis2_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_Axis2_lowPt_Barrel"];if(mAxis2_lowPt_Barrel && mAxis2_lowPt_Barrel->getRootObject()) mAxis2_lowPt_Barrel->Fill(QGaxis2);
2993  //mpTD_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_pTD_lowPt_Barrel"]; if(mpTD_lowPt_Barrel && mpTD_lowPt_Barrel->getRootObject()) mpTD_lowPt_Barrel->Fill(QGptD);
2994  //mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_multiplicity_lowPt_Barrel"]; if(mMultiplicityQG_lowPt_Barrel && mMultiplicityQG_lowPt_Barrel->getRootObject()) mMultiplicityQG_lowPt_Barrel->Fill(QGmulti);
2995  //mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_Likelihood_lowPt_Barrel"]; if(mqgLikelihood_lowPt_Barrel && mqgLikelihood_lowPt_Barrel->getRootObject()) mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
2996  mMass_lowPt_Barrel = map_of_MEs[DirName + "/" + "JetMass_lowPt_Barrel"];
2998  mMass_lowPt_Barrel->Fill((*pfJets)[ijet].mass());
2999  mMVAPUJIDDiscriminant_lowPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Barrel"];
3002  mCutPUJIDDiscriminant_lowPt_Barrel = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_lowPt_Barrel"];
3005  mCHFrac_lowPt_Barrel = map_of_MEs[DirName + "/" + "CHFrac_lowPt_Barrel"];
3007  mCHFrac_lowPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3008  mNHFrac_lowPt_Barrel = map_of_MEs[DirName + "/" + "NHFrac_lowPt_Barrel"];
3010  mNHFrac_lowPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3011  mPhFrac_lowPt_Barrel = map_of_MEs[DirName + "/" + "PhFrac_lowPt_Barrel"];
3013  mPhFrac_lowPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3014  mCHEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "CHEn_lowPt_Barrel"];
3016  mCHEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
3017  mNHEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "NHEn_lowPt_Barrel"];
3019  mNHEn_lowPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
3020  mPhEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "PhEn_lowPt_Barrel"];
3022  mPhEn_lowPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
3023  mElEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "ElEn_lowPt_Barrel"];
3025  mElEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
3026  mMuEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "MuEn_lowPt_Barrel"];
3028  mMuEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
3029  mChMultiplicity_lowPt_Barrel = map_of_MEs[DirName + "/" + "ChMultiplicity_lowPt_Barrel"];
3031  mChMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
3032  mNeutMultiplicity_lowPt_Barrel = map_of_MEs[DirName + "/" + "NeutMultiplicity_lowPt_Barrel"];
3034  mNeutMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
3035  mMuMultiplicity_lowPt_Barrel = map_of_MEs[DirName + "/" + "MuMultiplicity_lowPt_Barrel"];
3037  mMuMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
3038  }
3039  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3040  //mAxis2_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_Axis2_mediumPt_Barrel"];if(mAxis2_mediumPt_Barrel && mAxis2_mediumPt_Barrel->getRootObject()) mAxis2_mediumPt_Barrel->Fill(QGaxis2);
3041  //mpTD_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_pTD_mediumPt_Barrel"]; if(mpTD_mediumPt_Barrel && mpTD_mediumPt_Barrel->getRootObject()) mpTD_mediumPt_Barrel->Fill(QGptD);
3042  //mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_multiplicity_mediumPt_Barrel"]; if(mMultiplicityQG_mediumPt_Barrel && mMultiplicityQG_mediumPt_Barrel->getRootObject()) mMultiplicityQG_mediumPt_Barrel->Fill(QGmulti);
3043  //mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_Likelihood_mediumPt_Barrel"]; if(mqgLikelihood_mediumPt_Barrel && mqgLikelihood_mediumPt_Barrel->getRootObject()) mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
3044  mMass_mediumPt_Barrel = map_of_MEs[DirName + "/" + "JetMass_mediumPt_Barrel"];
3046  mMass_mediumPt_Barrel->Fill((*pfJets)[ijet].mass());
3047  mMVAPUJIDDiscriminant_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Barrel"];
3050  mCutPUJIDDiscriminant_mediumPt_Barrel = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_mediumPt_Barrel"];
3053  mCHFrac_mediumPt_Barrel = map_of_MEs[DirName + "/" + "CHFrac_mediumPt_Barrel"];
3055  mCHFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3056  mNHFrac_mediumPt_Barrel = map_of_MEs[DirName + "/" + "NHFrac_mediumPt_Barrel"];
3058  mNHFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3059  mPhFrac_mediumPt_Barrel = map_of_MEs[DirName + "/" + "PhFrac_mediumPt_Barrel"];
3061  mPhFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3062  mCHEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "CHEn_mediumPt_Barrel"];
3064  mCHEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
3065  mNHEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "NHEn_mediumPt_Barrel"];
3067  mNHEn_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
3068  mPhEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "PhEn_mediumPt_Barrel"];
3070  mPhEn_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
3071  mElEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "ElEn_mediumPt_Barrel"];
3073  mElEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
3074  mMuEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MuEn_mediumPt_Barrel"];
3076  mMuEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
3077  mChMultiplicity_mediumPt_Barrel = map_of_MEs[DirName + "/" + "ChMultiplicity_mediumPt_Barrel"];
3079  mChMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
3080  mNeutMultiplicity_mediumPt_Barrel = map_of_MEs[DirName + "/" + "NeutMultiplicity_mediumPt_Barrel"];
3082  mNeutMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
3083  mMuMultiplicity_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MuMultiplicity_mediumPt_Barrel"];
3085  mMuMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
3086  }
3087  if (correctedJet.pt() > 140.) {
3088  //mAxis2_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_Axis2_highPt_Barrel"];if(mAxis2_highPt_Barrel && mAxis2_highPt_Barrel->getRootObject()) mAxis2_highPt_Barrel->Fill(QGaxis2);
3089  //mpTD_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_pTD_highPt_Barrel"]; if(mpTD_highPt_Barrel && mpTD_highPt_Barrel->getRootObject()) mpTD_highPt_Barrel->Fill(QGptD);
3090  //mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_multiplicity_highPt_Barrel"]; if(mMultiplicityQG_highPt_Barrel && mMultiplicityQG_highPt_Barrel->getRootObject()) mMultiplicityQG_highPt_Barrel->Fill(QGmulti);
3091  //mqgLikelihood_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_Likelihood_highPt_Barrel"]; if(mqgLikelihood_highPt_Barrel && mqgLikelihood_highPt_Barrel->getRootObject()) mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
3092  mMass_highPt_Barrel = map_of_MEs[DirName + "/" + "JetMass_highPt_Barrel"];
3094  mMass_highPt_Barrel->Fill((*pfJets)[ijet].mass());
3095  mMVAPUJIDDiscriminant_highPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Barrel"];
3098  mCutPUJIDDiscriminant_highPt_Barrel = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_highPt_Barrel"];
3101  mCHFrac_highPt_Barrel = map_of_MEs[DirName + "/" + "CHFrac_highPt_Barrel"];
3103  mCHFrac_highPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3104  mNHFrac_highPt_Barrel = map_of_MEs[DirName + "/" + "NHFrac_highPt_Barrel"];
3106  mNHFrac_highPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3107  mPhFrac_highPt_Barrel = map_of_MEs[DirName + "/" + "PhFrac_highPt_Barrel"];
3109  mPhFrac_highPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3110  mCHEn_highPt_Barrel = map_of_MEs[DirName + "/" + "CHEn_highPt_Barrel"];
3112  mCHEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
3113  mNHEn_highPt_Barrel = map_of_MEs[DirName + "/" + "NHEn_highPt_Barrel"];
3115  mNHEn_highPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
3116  mPhEn_highPt_Barrel = map_of_MEs[DirName + "/" + "PhEn_highPt_Barrel"];
3118  mPhEn_highPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
3119  mElEn_highPt_Barrel = map_of_MEs[DirName + "/" + "ElEn_highPt_Barrel"];
3121  mElEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
3122  mMuEn_highPt_Barrel = map_of_MEs[DirName + "/" + "MuEn_highPt_Barrel"];
3124  mMuEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
3125  mChMultiplicity_highPt_Barrel = map_of_MEs[DirName + "/" + "ChMultiplicity_highPt_Barrel"];
3127  mChMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
3128  mNeutMultiplicity_highPt_Barrel = map_of_MEs[DirName + "/" + "NeutMultiplicity_highPt_Barrel"];
3130  mNeutMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
3131  mMuMultiplicity_highPt_Barrel = map_of_MEs[DirName + "/" + "MuMultiplicity_highPt_Barrel"];
3133  mMuMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
3134  }
3135  mCHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "CHFracVSpT_Barrel"];
3137  mCHFracVSpT_Barrel->Fill(correctedJet.pt(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3138  mNHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "NHFracVSpT_Barrel"];
3140  mNHFracVSpT_Barrel->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3141  mPhFracVSpT_Barrel = map_of_MEs[DirName + "/" + "PhFracVSpT_Barrel"];
3143  mPhFracVSpT_Barrel->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralEmEnergyFraction());
3144  } else if (fabs(correctedJet.eta()) <= 3) {
3145  //fractions for endcap
3146  if (correctedJet.pt() <= 50.) {
3147  //mAxis2_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_Axis2_lowPt_EndCap"];if(mAxis2_lowPt_EndCap && mAxis2_lowPt_EndCap->getRootObject()) mAxis2_lowPt_EndCap->Fill(QGaxis2);
3148  //mpTD_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_pTD_lowPt_EndCap"]; if(mpTD_lowPt_EndCap && mpTD_lowPt_EndCap->getRootObject()) mpTD_lowPt_EndCap->Fill(QGptD);
3149  //mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_multiplicity_lowPt_EndCap"]; if(mMultiplicityQG_lowPt_EndCap && mMultiplicityQG_lowPt_EndCap->getRootObject()) mMultiplicityQG_lowPt_EndCap->Fill(QGmulti);
3150  //mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_Likelihood_lowPt_EndCap"]; if(mqgLikelihood_lowPt_EndCap && mqgLikelihood_lowPt_EndCap->getRootObject()) mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
3151  mMass_lowPt_EndCap = map_of_MEs[DirName + "/" + "JetMass_lowPt_EndCap"];
3153  mMass_lowPt_EndCap->Fill((*pfJets)[ijet].mass());
3154  mMVAPUJIDDiscriminant_lowPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_EndCap"];
3157  mCutPUJIDDiscriminant_lowPt_EndCap = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_lowPt_EndCap"];
3160  mCHFrac_lowPt_EndCap = map_of_MEs[DirName + "/" + "CHFrac_lowPt_EndCap"];
3162  mCHFrac_lowPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3163  mNHFrac_lowPt_EndCap = map_of_MEs[DirName + "/" + "NHFrac_lowPt_EndCap"];
3165  mNHFrac_lowPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3166  mPhFrac_lowPt_EndCap = map_of_MEs[DirName + "/" + "PhFrac_lowPt_EndCap"];
3168  mPhFrac_lowPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3169  mCHEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "CHEn_lowPt_EndCap"];
3171  mCHEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
3172  mNHEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "NHEn_lowPt_EndCap"];
3174  mNHEn_lowPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
3175  mPhEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "PhEn_lowPt_EndCap"];
3177  mPhEn_lowPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
3178  mElEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "ElEn_lowPt_EndCap"];
3180  mElEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
3181  mMuEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "MuEn_lowPt_EndCap"];
3183  mMuEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
3184  mChMultiplicity_lowPt_EndCap = map_of_MEs[DirName + "/" + "ChMultiplicity_lowPt_EndCap"];
3186  mChMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
3187  mNeutMultiplicity_lowPt_EndCap = map_of_MEs[DirName + "/" + "NeutMultiplicity_lowPt_EndCap"];
3189  mNeutMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
3190  mMuMultiplicity_lowPt_EndCap = map_of_MEs[DirName + "/" + "MuMultiplicity_lowPt_EndCap"];
3192  mMuMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
3193  }
3194  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3195  //mAxis2_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_Axis2_mediumPt_EndCap"];if(mAxis2_mediumPt_EndCap && mAxis2_mediumPt_EndCap->getRootObject()) mAxis2_mediumPt_EndCap->Fill(QGaxis2);
3196  //mpTD_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_pTD_mediumPt_EndCap"]; if(mpTD_mediumPt_EndCap && mpTD_mediumPt_EndCap->getRootObject()) mpTD_mediumPt_EndCap->Fill(QGptD);
3197  //mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_multiplicity_mediumPt_EndCap"]; if(mMultiplicityQG_mediumPt_EndCap && mMultiplicityQG_mediumPt_EndCap->getRootObject()) mMultiplicityQG_mediumPt_EndCap->Fill(QGmulti);
3198  //mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_Likelihood_mediumPt_EndCap"]; if(mqgLikelihood_mediumPt_EndCap && mqgLikelihood_mediumPt_EndCap->getRootObject()) mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
3199  mMass_mediumPt_EndCap = map_of_MEs[DirName + "/" + "JetMass_mediumPt_EndCap"];
3201  mMass_mediumPt_EndCap->Fill((*pfJets)[ijet].mass());
3202  mMVAPUJIDDiscriminant_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_EndCap"];
3205  mCutPUJIDDiscriminant_mediumPt_EndCap = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_mediumPt_EndCap"];
3208  mCHFrac_mediumPt_EndCap = map_of_MEs[DirName + "/" + "CHFrac_mediumPt_EndCap"];
3210  mCHFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3211  mNHFrac_mediumPt_EndCap = map_of_MEs[DirName + "/" + "NHFrac_mediumPt_EndCap"];
3213  mNHFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3214  mPhFrac_mediumPt_EndCap = map_of_MEs[DirName + "/" + "PhFrac_mediumPt_EndCap"];
3216  mPhFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3217  mCHEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "CHEn_mediumPt_EndCap"];
3219  mCHEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
3220  mNHEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "NHEn_mediumPt_EndCap"];
3222  mNHEn_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
3223  mPhEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "PhEn_mediumPt_EndCap"];
3225  mPhEn_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
3226  mElEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "ElEn_mediumPt_EndCap"];
3228  mElEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
3229  mMuEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MuEn_mediumPt_EndCap"];
3231  mMuEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
3232  mChMultiplicity_mediumPt_EndCap = map_of_MEs[DirName + "/" + "ChMultiplicity_mediumPt_EndCap"];
3234  mChMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
3235  mNeutMultiplicity_mediumPt_EndCap = map_of_MEs[DirName + "/" + "NeutMultiplicity_mediumPt_EndCap"];
3237  mNeutMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
3238  mMuMultiplicity_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MuMultiplicity_mediumPt_EndCap"];
3240  mMuMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
3241  }
3242  if (correctedJet.pt() > 140.) {
3243  //mAxis2_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_Axis2_highPt_EndCap"];if(mAxis2_highPt_EndCap && mAxis2_highPt_EndCap->getRootObject()) mAxis2_highPt_EndCap->Fill(QGaxis2);
3244  //mpTD_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_pTD_highPt_EndCap"]; if(mpTD_highPt_EndCap && mpTD_highPt_EndCap->getRootObject()) mpTD_highPt_EndCap->Fill(QGptD);
3245  //mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_multiplicity_highPt_EndCap"]; if(mMultiplicityQG_highPt_EndCap && mMultiplicityQG_highPt_EndCap->getRootObject()) mMultiplicityQG_highPt_EndCap->Fill(QGmulti);
3246  //mqgLikelihood_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_Likelihood_highPt_EndCap"]; if(mqgLikelihood_highPt_EndCap && mqgLikelihood_highPt_EndCap->getRootObject()) mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
3247  mMass_highPt_EndCap = map_of_MEs[DirName + "/" + "JetMass_highPt_EndCap"];
3249  mMass_highPt_EndCap->Fill((*pfJets)[ijet].mass());
3250  mMVAPUJIDDiscriminant_highPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_EndCap"];
3253  mCutPUJIDDiscriminant_highPt_EndCap = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_highPt_EndCap"];
3256  mCHFrac_highPt_EndCap = map_of_MEs[DirName + "/" + "CHFrac_highPt_EndCap"];
3258  mCHFrac_highPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3259  mNHFrac_highPt_EndCap = map_of_MEs[DirName + "/" + "NHFrac_highPt_EndCap"];
3261  mNHFrac_highPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3262  mPhFrac_highPt_EndCap = map_of_MEs[DirName + "/" + "PhFrac_highPt_EndCap"];
3264  mPhFrac_highPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3265  mCHEn_highPt_EndCap = map_of_MEs[DirName + "/" + "CHEn_highPt_EndCap"];
3267  mCHEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
3268  mNHEn_highPt_EndCap = map_of_MEs[DirName + "/" + "NHEn_highPt_EndCap"];
3270  mNHEn_highPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
3271  mPhEn_highPt_EndCap = map_of_MEs[DirName + "/" + "PhEn_highPt_EndCap"];
3273  mPhEn_highPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
3274  mElEn_highPt_EndCap = map_of_MEs[DirName + "/" + "ElEn_highPt_EndCap"];
3276  mElEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
3277  mMuEn_highPt_EndCap = map_of_MEs[DirName + "/" + "MuEn_highPt_EndCap"];
3279  mMuEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
3280  mChMultiplicity_highPt_EndCap = map_of_MEs[DirName + "/" + "ChMultiplicity_highPt_EndCap"];
3282  mChMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
3283  mNeutMultiplicity_highPt_EndCap = map_of_MEs[DirName + "/" + "NeutMultiplicity_highPt_EndCap"];
3285  mNeutMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
3286  mMuMultiplicity_highPt_EndCap = map_of_MEs[DirName + "/" + "MuMultiplicity_highPt_EndCap"];
3288  mMuMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
3289  }
3290  mCHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "CHFracVSpT_EndCap"];
3292  mCHFracVSpT_EndCap->Fill(correctedJet.pt(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3293  mNHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "NHFracVSpT_EndCap"];
3295  mNHFracVSpT_EndCap->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3296  mPhFracVSpT_EndCap = map_of_MEs[DirName + "/" + "PhFracVSpT_EndCap"];
3298  mPhFracVSpT_EndCap->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralEmEnergyFraction());
3299  } else {
3300  mHFHFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFHFracVSpT_Forward"];
3302  mHFHFracVSpT_Forward->Fill(correctedJet.pt(), (*pfJets)[ijet].HFHadronEnergyFraction());
3303  mHFEFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFEFracVSpT_Forward"];
3305  mHFEFracVSpT_Forward->Fill(correctedJet.pt(), (*pfJets)[ijet].HFEMEnergyFraction());
3306  //fractions
3307  if (correctedJet.pt() <= 50.) {
3308  //mAxis2_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_Axis2_lowPt_Forward"];if(mAxis2_lowPt_Forward && mAxis2_lowPt_Forward->getRootObject()) mAxis2_lowPt_Forward->Fill(QGaxis2);
3309  //mpTD_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_pTD_lowPt_Forward"]; if(mpTD_lowPt_Forward && mpTD_lowPt_Forward->getRootObject()) mpTD_lowPt_Forward->Fill(QGptD);
3310  //mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_multiplicity_lowPt_Forward"]; if(mMultiplicityQG_lowPt_Forward && mMultiplicityQG_lowPt_Forward->getRootObject()) mMultiplicityQG_lowPt_Forward->Fill(QGmulti);
3311  //mqgLikelihood_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_Likelihood_lowPt_Forward"]; if(mqgLikelihood_lowPt_Forward && mqgLikelihood_lowPt_Forward->getRootObject()) mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
3312  mMass_lowPt_Forward = map_of_MEs[DirName + "/" + "JetMass_lowPt_Forward"];
3314  mMass_lowPt_Forward->Fill((*pfJets)[ijet].mass());
3315  mMVAPUJIDDiscriminant_lowPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Forward"];
3318  mCutPUJIDDiscriminant_lowPt_Forward = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_lowPt_Forward"];
3321  mHFEFrac_lowPt_Forward = map_of_MEs[DirName + "/" + "HFEFrac_lowPt_Forward"];
3323  mHFEFrac_lowPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3324  mHFHFrac_lowPt_Forward = map_of_MEs[DirName + "/" + "HFHFrac_lowPt_Forward"];
3326  mHFHFrac_lowPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3327  mHFEEn_lowPt_Forward = map_of_MEs[DirName + "/" + "HFEEn_lowPt_Forward"];
3329  mHFEEn_lowPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
3330  mHFHEn_lowPt_Forward = map_of_MEs[DirName + "/" + "HFHEn_lowPt_Forward"];
3332  mHFHEn_lowPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
3333  mNeutMultiplicity_lowPt_Forward = map_of_MEs[DirName + "/" + "NeutMultiplicity_lowPt_Forward"];
3335  mNeutMultiplicity_lowPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
3336  }
3337  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3338  //mAxis2_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_Axis2_mediumPt_Forward"];if(mAxis2_mediumPt_Forward && mAxis2_mediumPt_Forward->getRootObject()) mAxis2_mediumPt_Forward->Fill(QGaxis2);
3339  //mpTD_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_pTD_mediumPt_Forward"]; if(mpTD_mediumPt_Forward && mpTD_mediumPt_Forward->getRootObject()) mpTD_mediumPt_Forward->Fill(QGptD);
3340  //mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_multiplicity_mediumPt_Forward"]; if(mMultiplicityQG_mediumPt_Forward && mMultiplicityQG_mediumPt_Forward->getRootObject()) mMultiplicityQG_mediumPt_Forward->Fill(QGmulti);
3341  //mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_Likelihood_mediumPt_Forward"]; if(mqgLikelihood_mediumPt_Forward && mqgLikelihood_mediumPt_Forward->getRootObject()) mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
3342  mMass_mediumPt_Forward = map_of_MEs[DirName + "/" + "JetMass_mediumPt_Forward"];
3344  mMass_mediumPt_Forward->Fill((*pfJets)[ijet].mass());
3346  map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Forward"];
3350  map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_mediumPt_Forward"];
3353  mHFEFrac_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFEFrac_mediumPt_Forward"];
3355  mHFEFrac_mediumPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3356  mHFHFrac_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFHFrac_mediumPt_Forward"];
3358  mHFHFrac_mediumPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3359  mHFEEn_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFEEn_mediumPt_Forward"];
3361  mHFEEn_mediumPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
3362  mHFHEn_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFHEn_mediumPt_Forward"];
3364  mHFHEn_mediumPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
3365  mNeutMultiplicity_mediumPt_Forward = map_of_MEs[DirName + "/" + "NeutMultiplicity_mediumPt_Forward"];
3367  mNeutMultiplicity_mediumPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
3368  }
3369  if (correctedJet.pt() > 140.) {
3370  //mAxis2_highPt_Forward = map_of_MEs[DirName+"/"+"qg_Axis2_highPt_Forward"];if(mAxis2_highPt_Forward && mAxis2_highPt_Forward->getRootObject()) mAxis2_highPt_Forward->Fill(QGaxis2);
3371  //mpTD_highPt_Forward = map_of_MEs[DirName+"/"+"qg_pTD_highPt_Forward"]; if(mpTD_highPt_Forward && mpTD_highPt_Forward->getRootObject()) mpTD_highPt_Forward->Fill(QGptD);
3372  //mMultiplicityQG_highPt_Forward = map_of_MEs[DirName+"/"+"qg_multiplicity_highPt_Forward"]; if(mMultiplicityQG_highPt_Forward && mMultiplicityQG_highPt_Forward->getRootObject()) mMultiplicityQG_highPt_Forward->Fill(QGmulti);
3373  //mqgLikelihood_highPt_Forward = map_of_MEs[DirName+"/"+"qg_Likelihood_highPt_Forward"]; if(mqgLikelihood_highPt_Forward && mqgLikelihood_highPt_Forward->getRootObject()) mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
3374  mMass_highPt_Forward = map_of_MEs[DirName + "/" + "JetMass_highPt_Forward"];
3376  mMass_highPt_Forward->Fill((*pfJets)[ijet].mass());
3377  mMVAPUJIDDiscriminant_highPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Forward"];
3380  mCutPUJIDDiscriminant_highPt_Forward = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_highPt_Forward"];
3383  mHFEFrac_highPt_Forward = map_of_MEs[DirName + "/" + "HFEFrac_highPt_Forward"];
3385  mHFEFrac_highPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3386  mHFHFrac_highPt_Forward = map_of_MEs[DirName + "/" + "HFHFrac_highPt_Forward"];
3388  mHFHFrac_highPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3389  mHFEEn_highPt_Forward = map_of_MEs[DirName + "/" + "HFEEn_highPt_Forward"];
3391  mHFEEn_highPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
3392  mHFHEn_highPt_Forward = map_of_MEs[DirName + "/" + "HFHEn_highPt_Forward"];
3394  mHFHEn_highPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
3395  mNeutMultiplicity_highPt_Forward = map_of_MEs[DirName + "/" + "NeutMultiplicity_highPt_Forward"];
3397  mNeutMultiplicity_highPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
3398  }
3399  }
3400  //OOT plots
3401  /*
3402  if(techTriggerResultBx0 && techTriggerResultBxE && techTriggerResultBxF){
3403  meEta_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"Eta_BXm2BXm1Filled"]; if ( meEta_BXm2BXm1Filled && meEta_BXm2BXm1Filled ->getRootObject()) meEta_BXm2BXm1Filled ->Fill((*pfJets)[ijet].eta());
3404  if(fabs(correctedJet.eta()) <= 1.3) {
3405  mePhFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm2BXm1Filled"]; if ( mePhFracBarrel_BXm2BXm1Filled && mePhFracBarrel_BXm2BXm1Filled ->getRootObject()) mePhFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
3406  meNHFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm2BXm1Filled"]; if ( meNHFracBarrel_BXm2BXm1Filled && meNHFracBarrel_BXm2BXm1Filled ->getRootObject()) meNHFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3407  meCHFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm2BXm1Filled"]; if ( meCHFracBarrel_BXm2BXm1Filled && meCHFracBarrel_BXm2BXm1Filled ->getRootObject()) meCHFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3408  mePtBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtBarrel_BXm2BXm1Filled"]; if ( mePtBarrel_BXm2BXm1Filled && mePtBarrel_BXm2BXm1Filled ->getRootObject()) mePtBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3409  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3410  mePhFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Filled"]; if ( mePhFracEndCapMinus_BXm2BXm1Filled && mePhFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) mePhFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
3411  meNHFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Filled"]; if ( meNHFracEndCapMinus_BXm2BXm1Filled && meNHFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3412  meCHFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Filled"]; if ( meCHFracEndCapMinus_BXm2BXm1Filled && meCHFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) meCHFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3413  mePtEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm2BXm1Filled"]; if ( mePtEndCapMinus_BXm2BXm1Filled && mePtEndCapMinus_BXm2BXm1Filled ->getRootObject()) mePtEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3414  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3415  mePhFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Filled"]; if ( mePhFracEndCapPlus_BXm2BXm1Filled && mePhFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) mePhFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
3416  meNHFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Filled"]; if ( meNHFracEndCapPlus_BXm2BXm1Filled && meNHFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) meNHFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3417  meCHFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Filled"]; if ( meCHFracEndCapPlus_BXm2BXm1Filled && meCHFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) meCHFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3418  mePtEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm2BXm1Filled"]; if ( mePtEndCapPlus_BXm2BXm1Filled && mePtEndCapPlus_BXm2BXm1Filled ->getRootObject()) mePtEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3419  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3420  mePtForwardMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm2BXm1Filled"]; if ( mePtForwardMinus_BXm2BXm1Filled && mePtForwardMinus_BXm2BXm1Filled ->getRootObject()) mePtForwardMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3421  meHFHFracMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm2BXm1Filled"]; if ( meHFHFracMinus_BXm2BXm1Filled && meHFHFracMinus_BXm2BXm1Filled ->getRootObject()) meHFHFracMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3422  meHFEMFracMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm2BXm1Filled"]; if ( meHFEMFracMinus_BXm2BXm1Filled && meHFEMFracMinus_BXm2BXm1Filled ->getRootObject()) meHFEMFracMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3423  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3424  mePtForwardPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm2BXm1Filled"]; if ( mePtForwardPlus_BXm2BXm1Filled && mePtForwardPlus_BXm2BXm1Filled ->getRootObject()) mePtForwardPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3425  meHFHFracPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm2BXm1Filled"]; if ( meHFHFracPlus_BXm2BXm1Filled && meHFHFracPlus_BXm2BXm1Filled ->getRootObject()) meHFHFracPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3426  meHFEMFracPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm2BXm1Filled"]; if ( meHFEMFracPlus_BXm2BXm1Filled && meHFEMFracPlus_BXm2BXm1Filled ->getRootObject()) meHFEMFracPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3427  }
3428  }*/
3429  if (techTriggerResultBx0 && techTriggerResultBxF) {
3430  meEta_BXm1Filled = map_of_MEs[DirName + "/" + "Eta_BXm1Filled"];
3432  meEta_BXm1Filled->Fill((*pfJets)[ijet].eta());
3433  if (fabs(correctedJet.eta()) <= 1.3) {
3434  mePhFracBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "PhFracBarrel_BXm1Filled"];
3436  mePhFracBarrel_BXm1Filled->Fill((*pfJets)[ijet].photonEnergyFraction());
3437  meNHFracBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "NHFracBarrel_BXm1Filled"];
3439  meNHFracBarrel_BXm1Filled->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3440  meCHFracBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "CHFracBarrel_BXm1Filled"];
3442  meCHFracBarrel_BXm1Filled->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3443  mePtBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "PtBarrel_BXm1Filled"];
3445  mePtBarrel_BXm1Filled->Fill((*pfJets)[ijet].pt());
3446  } else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3447  mePhFracEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "PhFracEndCapMinus_BXm1Filled"];
3449  mePhFracEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].photonEnergyFraction());
3450  meNHFracEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "NHFracEndCapMinus_BXm1Filled"];
3452  meNHFracEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3453  meCHFracEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "CHFracEndCapMinus_BXm1Filled"];
3455  meCHFracEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3456  mePtEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "PtEndCapMinus_BXm1Filled"];
3458  mePtEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3459  } else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3460  mePhFracEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "PhFracEndCapPlus_BXm1Filled"];
3462  mePhFracEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].photonEnergyFraction());
3463  meNHFracEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "NHFracEndCapPlus_BXm1Filled"];
3465  meNHFracEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3466  meCHFracEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "CHFracEndCapPlus_BXm1Filled"];
3468  meCHFracEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3469  mePtEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "PtEndCapPlus_BXm1Filled"];
3471  mePtEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3472  } else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3473  mePtForwardMinus_BXm1Filled = map_of_MEs[DirName + "/" + "PtForwardMinus_BXm1Filled"];
3475  mePtForwardMinus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3476  meHFHFracMinus_BXm1Filled = map_of_MEs[DirName + "/" + "HFHFracMinus_BXm1Filled"];
3478  meHFHFracMinus_BXm1Filled->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3479  meHFEMFracMinus_BXm1Filled = map_of_MEs[DirName + "/" + "HFEMFracMinus_BXm1Filled"];
3481  meHFEMFracMinus_BXm1Filled->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3482  } else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3483  mePtForwardPlus_BXm1Filled = map_of_MEs[DirName + "/" + "PtForwardPlus_BXm1Filled"];
3485  mePtForwardPlus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3486  meHFHFracPlus_BXm1Filled = map_of_MEs[DirName + "/" + "HFHFracPlus_BXm1Filled"];
3488  meHFHFracPlus_BXm1Filled->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3489  meHFEMFracPlus_BXm1Filled = map_of_MEs[DirName + "/" + "HFEMFracPlus_BXm1Filled"];
3491  meHFEMFracPlus_BXm1Filled->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3492  }
3493  } /*
3494  if(techTriggerResultBx0 && !techTriggerResultBxE && !techTriggerResultBxF){
3495  meEta_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"Eta_BXm2BXm1Empty"]; if ( meEta_BXm2BXm1Empty && meEta_BXm2BXm1Empty ->getRootObject()) meEta_BXm2BXm1Empty ->Fill((*pfJets)[ijet].eta());
3496  if(fabs(correctedJet.eta()) <= 1.3) {
3497  mePhFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm2BXm1Empty"]; if ( mePhFracBarrel_BXm2BXm1Empty && mePhFracBarrel_BXm2BXm1Empty ->getRootObject()) mePhFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
3498  meNHFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm2BXm1Empty"]; if ( meNHFracBarrel_BXm2BXm1Empty && meNHFracBarrel_BXm2BXm1Empty ->getRootObject()) meNHFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3499  meCHFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm2BXm1Empty"]; if ( meCHFracBarrel_BXm2BXm1Empty && meCHFracBarrel_BXm2BXm1Empty ->getRootObject()) meCHFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3500  mePtBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtBarrel_BXm2BXm1Empty"]; if ( mePtBarrel_BXm2BXm1Empty && mePtBarrel_BXm2BXm1Empty ->getRootObject()) mePtBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3501  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3502  mePhFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Empty"]; if ( mePhFracEndCapMinus_BXm2BXm1Empty && mePhFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) mePhFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
3503  meNHFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Empty"]; if ( meNHFracEndCapMinus_BXm2BXm1Empty && meNHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3504  meCHFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Empty"]; if ( meCHFracEndCapMinus_BXm2BXm1Empty && meCHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meCHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3505  mePtEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm2BXm1Empty"]; if ( mePtEndCapMinus_BXm2BXm1Empty && mePtEndCapMinus_BXm2BXm1Empty ->getRootObject()) mePtEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3506  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3507  mePhFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Empty"]; if ( mePhFracEndCapPlus_BXm2BXm1Empty && mePhFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) mePhFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
3508  meNHFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Empty"]; if ( meNHFracEndCapPlus_BXm2BXm1Empty && meNHFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3509  meCHFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Empty"]; if ( meCHFracEndCapPlus_BXm2BXm1Empty && meCHFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) meCHFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3510  mePtEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm2BXm1Empty"]; if ( mePtEndCapPlus_BXm2BXm1Empty && mePtEndCapPlus_BXm2BXm1Empty ->getRootObject()) mePtEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3511  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3512  mePtForwardMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm2BXm1Empty"]; if ( mePtForwardMinus_BXm2BXm1Empty && mePtForwardMinus_BXm2BXm1Empty ->getRootObject()) mePtForwardMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3513  meHFHFracMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm2BXm1Empty"]; if ( meHFHFracMinus_BXm2BXm1Empty && meHFHFracMinus_BXm2BXm1Empty ->getRootObject()) meHFHFracMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3514  meHFEMFracMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm2BXm1Empty"]; if ( meHFEMFracMinus_BXm2BXm1Empty && meHFEMFracMinus_BXm2BXm1Empty ->getRootObject()) meHFEMFracMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3515  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3516  mePtForwardPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm2BXm1Empty"]; if ( mePtForwardPlus_BXm2BXm1Empty && mePtForwardPlus_BXm2BXm1Empty ->getRootObject()) mePtForwardPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3517  meHFHFracPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm2BXm1Empty"]; if ( meHFHFracPlus_BXm2BXm1Empty && meHFHFracPlus_BXm2BXm1Empty ->getRootObject()) meHFHFracPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3518  meHFEMFracPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm2BXm1Empty"]; if ( meHFEMFracPlus_BXm2BXm1Empty && meHFEMFracPlus_BXm2BXm1Empty ->getRootObject()) meHFEMFracPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3519  }
3520  }*/
3521  if (techTriggerResultBx0 && !techTriggerResultBxF) {
3522  meEta_BXm1Empty = map_of_MEs[DirName + "/" + "Eta_BXm1Empty"];
3524  meEta_BXm1Empty->Fill((*pfJets)[ijet].eta());
3525  if (fabs(correctedJet.eta()) <= 1.3) {
3526  mePhFracBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "PhFracBarrel_BXm1Empty"];
3528  mePhFracBarrel_BXm1Empty->Fill((*pfJets)[ijet].photonEnergyFraction());
3529  meNHFracBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "NHFracBarrel_BXm1Empty"];
3531  meNHFracBarrel_BXm1Empty->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3532  meCHFracBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "CHFracBarrel_BXm1Empty"];
3534  meCHFracBarrel_BXm1Empty->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3535  mePtBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "PtBarrel_BXm1Empty"];
3537  mePtBarrel_BXm1Empty->Fill((*pfJets)[ijet].pt());
3538  } else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3539  mePhFracEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "PhFracEndCapMinus_BXm1Empty"];
3541  mePhFracEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].photonEnergyFraction());
3542  meNHFracEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "NHFracEndCapMinus_BXm1Empty"];
3544  meNHFracEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3545  meCHFracEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "CHFracEndCapMinus_BXm1Empty"];
3547  meCHFracEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3548  mePtEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "PtEndCapMinus_BXm1Empty"];
3550  mePtEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3551  } else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3552  mePhFracEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "PhFracEndCapPlus_BXm1Empty"];
3554  mePhFracEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].photonEnergyFraction());
3555  meNHFracEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "NHFracEndCapPlus_BXm1Empty"];
3557  meNHFracEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3558  meCHFracEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "CHFracEndCapPlus_BXm1Empty"];
3560  meCHFracEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3561  mePtEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "PtEndCapPlus_BXm1Empty"];
3563  mePtEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3564  } else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3565  mePtForwardMinus_BXm1Empty = map_of_MEs[DirName + "/" + "PtForwardMinus_BXm1Empty"];
3567  mePtForwardMinus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3568  meHFHFracMinus_BXm1Empty = map_of_MEs[DirName + "/" + "HFHFracMinus_BXm1Empty"];
3570  meHFHFracMinus_BXm1Empty->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3571  meHFEMFracMinus_BXm1Empty = map_of_MEs[DirName + "/" + "HFEMFracMinus_BXm1Empty"];
3573  meHFEMFracMinus_BXm1Empty->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3574  } else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3575  mePtForwardPlus_BXm1Empty = map_of_MEs[DirName + "/" + "PtForwardPlus_BXm1Empty"];
3577  mePtForwardPlus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3578  meHFHFracPlus_BXm1Empty = map_of_MEs[DirName + "/" + "HFHFracPlus_BXm1Empty"];
3580  meHFHFracPlus_BXm1Empty->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3581  meHFEMFracPlus_BXm1Empty = map_of_MEs[DirName + "/" + "HFEMFracPlus_BXm1Empty"];
3583  meHFEMFracPlus_BXm1Empty->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3584  }
3585  }
3586  mChargedHadronEnergy = map_of_MEs[DirName + "/" + "ChargedHadronEnergy"];
3588  mChargedHadronEnergy->Fill((*pfJets)[ijet].chargedHadronEnergy());
3589  mNeutralHadronEnergy = map_of_MEs[DirName + "/" + "NeutralHadronEnergy"];
3591  mNeutralHadronEnergy->Fill((*pfJets)[ijet].neutralHadronEnergy());
3592  mChargedEmEnergy = map_of_MEs[DirName + "/" + "ChargedEmEnergy"];
3594  mChargedEmEnergy->Fill((*pfJets)[ijet].chargedEmEnergy());
3595  mChargedMuEnergy = map_of_MEs[DirName + "/" + "ChargedMuEnergy"];
3597  mChargedMuEnergy->Fill((*pfJets)[ijet].chargedMuEnergy());
3598  mNeutralEmEnergy = map_of_MEs[DirName + "/" + "NeutralEmEnergy"];
3600  mNeutralEmEnergy->Fill((*pfJets)[ijet].neutralEmEnergy());
3601  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
3603  mChargedMultiplicity->Fill((*pfJets)[ijet].chargedMultiplicity());
3604  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
3606  mNeutralMultiplicity->Fill((*pfJets)[ijet].neutralMultiplicity());
3607  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
3609  mMuonMultiplicity->Fill((*pfJets)[ijet].muonMultiplicity());
3610  //_______________________________________________________
3611  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
3613  mNeutralFraction->Fill((double)(*pfJets)[ijet].neutralMultiplicity() /
3614  (double)(*pfJets)[ijet].nConstituents());
3615  mChargedHadronEnergy_profile = map_of_MEs[DirName + "/" + "ChargedHadronEnergy_profile"];
3617  mChargedHadronEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedHadronEnergy());
3618  mNeutralHadronEnergy_profile = map_of_MEs[DirName + "/" + "NeutralHadronEnergy_profile"];
3620  mNeutralHadronEnergy_profile->Fill(numPV, (*pfJets)[ijet].neutralHadronEnergy());
3621  mChargedEmEnergy_profile = map_of_MEs[DirName + "/" + "ChargedEmEnergy_profile"];
3623  mChargedEmEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedEmEnergy());
3624  mChargedMuEnergy_profile = map_of_MEs[DirName + "/" + "ChargedMuEnergy_profile"];
3626  mChargedMuEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedMuEnergy());
3627  mNeutralEmEnergy_profile = map_of_MEs[DirName + "/" + "NeutralEmEnergy_profile"];
3629  mNeutralEmEnergy_profile->Fill(numPV, (*pfJets)[ijet].neutralEmEnergy());
3630  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
3632  mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].chargedMultiplicity());
3633  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
3635  mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].neutralMultiplicity());
3636  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
3638  mMuonMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].muonMultiplicity());
3639  } //cleaned PFJets
3640  } //PFJet specific loop
3641  //IDs have been defined by now
3642  //check here already for ordering of jets -> if we choose later to soften pt-thresholds for physics selections
3643  //compared to the default jet histograms
3644  if (pass_Z_selection) { //if Z selection not passed, don't need to find out of muons and Jets are overlapping
3645  if (deltaR((*Muons)[mu_index0].eta(), (*Muons)[mu_index0].phi(), correctedJet.eta(), correctedJet.phi()) > 0.2 &&
3646  deltaR((*Muons)[mu_index1].eta(), (*Muons)[mu_index1].phi(), correctedJet.eta(), correctedJet.phi()) > 0.2) {
3647  if (correctedJet.pt() > pt1_mu_vetoed) {
3648  pt2_mu_vetoed = pt1_mu_vetoed;
3649  ind2_mu_vetoed = ind1_mu_vetoed;
3650  cleaned_second_jet_mu_vetoed = cleaned_first_jet_mu_vetoed;
3651  pt1_mu_vetoed = correctedJet.pt();
3652  ind1_mu_vetoed = ijet;
3653  cleaned_first_jet_mu_vetoed = JetIDWPU;
3654  } else if (correctedJet.pt() > pt2_mu_vetoed) {
3655  pt2_mu_vetoed = correctedJet.pt();
3656  ind2_mu_vetoed = ijet;
3657  cleaned_second_jet_mu_vetoed = JetIDWPU;
3658  }
3659  }
3660  }
3661 
3662  if (correctedJet.pt() > pt1) {
3663  pt3 = pt2;
3664  ind3 = ind2;
3665  //cleaned_third_jet=cleaned_second_jet;
3666  pt2 = pt1;
3667  ind2 = ind1;
3668  cleaned_second_jet = cleaned_first_jet;
3669  pt1 = correctedJet.pt();
3670  ind1 = ijet;
3671  cleaned_first_jet = JetIDWPU;
3672  } else if (correctedJet.pt() > pt2) {
3673  pt3 = pt2;
3674  ind3 = ind2;
3675  //cleaned_third_jet=cleaned_second_jet;
3676  pt2 = correctedJet.pt();
3677  ind2 = ijet;
3678  cleaned_second_jet = JetIDWPU;
3679  } else if (correctedJet.pt() > pt3) {
3680  pt3 = correctedJet.pt();
3681  ind3 = ijet;
3682  //cleaned_third_jet=JetIDWPU;
3683  }
3684  if (!pass_corrected) {
3685  continue;
3686  }
3687  //after jettype specific variables are filled -> perform histograms for all jets
3688  //fill JetID efficiencies if uncleaned selection is chosen
3689  if (!runcosmics_ && pass_corrected) {
3690  if (jetpassid) {
3691  mLooseJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "JetIDPassFractionVSeta"];
3693  mLooseJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
3694  mLooseJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "JetIDPassFractionVSpt"];
3696  mLooseJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
3697  if (fabs(correctedJet.eta()) < 3.0) {
3698  mLooseJIDPassFractionVSptNoHF = map_of_MEs[DirName + "/" + "JetIDPassFractionVSptNoHF"];
3700  mLooseJIDPassFractionVSptNoHF->Fill(correctedJet.pt(), 1.);
3701  }
3702  } else {
3703  mLooseJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "JetIDPassFractionVSeta"];
3705  mLooseJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
3706  mLooseJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "JetIDPassFractionVSpt"];
3708  mLooseJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
3709  if (fabs(correctedJet.eta()) < 3.0) {
3710  mLooseJIDPassFractionVSptNoHF = map_of_MEs[DirName + "/" + "JetIDPassFractionVSptNoHF"];
3712  mLooseJIDPassFractionVSptNoHF->Fill(correctedJet.pt(), 0.);
3713  }
3714  }
3715  }
3716  //here we so far consider calojets ->check for PFJets and JPT jets again
3717  if (Thiscleaned && pass_corrected) { //might be softer than loose jet ID
3718  numofjets++;
3719  if (isCaloJet_) {
3720  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3721  if (jetME && jetME->getRootObject())
3722  jetME->Fill(1);
3723  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3725  mJetEnergyCorr->Fill(correctedJet.pt() / (*caloJets)[ijet].pt());
3726  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3728  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), correctedJet.pt() / (*caloJets)[ijet].pt());
3729  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3731  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), correctedJet.pt() / (*caloJets)[ijet].pt());
3732  }
3733  if (isPFJet_) {
3734  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3735  if (jetME && jetME->getRootObject())
3736  jetME->Fill(2);
3737  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3739  mJetEnergyCorr->Fill(correctedJet.pt() / (*pfJets)[ijet].pt());
3740  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3742  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), correctedJet.pt() / (*pfJets)[ijet].pt());
3743  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3745  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), correctedJet.pt() / (*pfJets)[ijet].pt());
3746  }
3747  if (isMiniAODJet_) {
3748  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3749  if (jetME && jetME->getRootObject())
3750  jetME->Fill(4);
3751  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3753  mJetEnergyCorr->Fill(1. / (*patJets)[ijet].jecFactor("Uncorrected"));
3754  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3756  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), 1. / (*patJets)[ijet].jecFactor("Uncorrected"));
3757  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3759  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), 1. / (*patJets)[ijet].jecFactor("Uncorrected"));
3760  if (filljetsubstruc_) {
3761  //miniaod specific variables, especially for substructure
3762  mSoftDropMass = map_of_MEs[DirName + "/" + "SoftDropMass"];
3764  (*patJets)[ijet].hasUserFloat("ak8PFJetsPuppiSoftDropMass"))
3765  mSoftDropMass->Fill((*patJets)[ijet].userFloat("ak8PFJetsPuppiSoftDropMass"));
3766  mPrunedMass = map_of_MEs[DirName + "/" + "PrunedMass"];
3767  mtau2_over_tau1 = map_of_MEs[DirName + "/" + "tau2_over_tau1"];
3769  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau1") &&
3770  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2")))
3771  mtau2_over_tau1->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2") /
3772  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau1"));
3773  mtau3_over_tau2 = map_of_MEs[DirName + "/" + "tau3_over_tau2"];
3775  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2") &&
3776  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau3")))
3777  mtau3_over_tau2->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau3") /
3778  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2"));
3779 
3780  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi")) {
3781  mnSubJetsSoftDrop = map_of_MEs[DirName + "/" + "nSubJets_SoftDrop"];
3783  mnSubJetsSoftDrop->Fill((*patJets)[ijet].subjets("SoftDropPuppi").size());
3784  }
3785  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi") && !(*patJets)[ijet].subjets("SoftDropPuppi").empty()) {
3786  mSubJet1_SoftDrop_pt = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_pt"];
3788  mSubJet1_SoftDrop_pt->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->pt());
3789  mSubJet1_SoftDrop_eta = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_eta"];
3791  mSubJet1_SoftDrop_eta->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->eta());
3792  mSubJet1_SoftDrop_phi = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_phi"];
3794  mSubJet1_SoftDrop_phi->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->phi());
3795  mSubJet1_SoftDrop_mass = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_mass"];
3797  mSubJet1_SoftDrop_mass->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->mass());
3798  if ((*patJets)[ijet].subjets("SoftDropPuppi").size() > 1) {
3799  mSubJet2_SoftDrop_pt = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_pt"];
3801  mSubJet2_SoftDrop_pt->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->pt());
3802  mSubJet2_SoftDrop_eta = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_eta"];
3804  mSubJet2_SoftDrop_eta->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->eta());
3805  mSubJet2_SoftDrop_phi = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_phi"];
3807  mSubJet2_SoftDrop_phi->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->phi());
3808  mSubJet2_SoftDrop_mass = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_mass"];
3810  mSubJet2_SoftDrop_mass->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->mass());
3811  }
3812  } //soft drop jets
3813  if ((*patJets)[ijet].pt() > pt_min_boosted_) {
3814  //miniaod specific variables, especially for boosted substructure
3815  mSoftDropMass_boosted = map_of_MEs[DirName + "/" + "SoftDropMass_boosted"];
3817  (*patJets)[ijet].hasUserFloat("ak8PFJetsPuppiSoftDropMass"))
3818  mSoftDropMass_boosted->Fill((*patJets)[ijet].userFloat("ak8PFJetsPuppiSoftDropMass"));
3819  mPrunedMass_boosted = map_of_MEs[DirName + "/" + "PrunedMass_boosted"];
3820  mtau2_over_tau1_boosted = map_of_MEs[DirName + "/" + "tau2_over_tau1_boosted"];
3822  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau1") &&
3823  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2")))
3824  mtau2_over_tau1_boosted->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2") /
3825  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau1"));
3826  mtau3_over_tau2_boosted = map_of_MEs[DirName + "/" + "tau3_over_tau2_boosted"];
3828  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2") &&
3829  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau3")))
3830  mtau3_over_tau2_boosted->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau3") /
3831  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2"));
3832  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi")) {
3833  mnSubJetsSoftDrop_boosted = map_of_MEs[DirName + "/" + "nSubJets_SoftDrop_boosted"];
3835  mnSubJetsSoftDrop_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi").size());
3836  }
3837  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi") && !(*patJets)[ijet].subjets("SoftDropPuppi").empty()) {
3838  mSubJet1_SoftDrop_pt_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_pt_boosted"];
3840  mSubJet1_SoftDrop_pt_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->pt());
3841  mSubJet1_SoftDrop_eta_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_eta_boosted"];
3843  mSubJet1_SoftDrop_eta_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->eta());
3844  mSubJet1_SoftDrop_phi_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_phi_boosted"];
3846  mSubJet1_SoftDrop_phi_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->phi());
3847  mSubJet1_SoftDrop_mass_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_mass_boosted"];
3849  mSubJet1_SoftDrop_mass_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->mass());
3850  if ((*patJets)[ijet].subjets("SoftDropPuppi").size() > 1) {
3851  mSubJet2_SoftDrop_pt_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_pt_boosted"];
3853  mSubJet2_SoftDrop_pt_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->pt());
3854  mSubJet2_SoftDrop_eta_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_eta_boosted"];
3856  mSubJet2_SoftDrop_eta_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->eta());
3857  mSubJet2_SoftDrop_phi_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_phi_boosted"];
3859  mSubJet2_SoftDrop_phi_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->phi());
3860  mSubJet2_SoftDrop_mass_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_mass_boosted"];
3862  mSubJet2_SoftDrop_mass_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->mass());
3863  }
3864  }
3865  } //substructure filling for boosted
3866  } //substructure filling
3867  }
3868  // --- Event passed the low pt jet trigger
3869  if (jetLoPass_ == 1) {
3870  mPhi_Lo = map_of_MEs[DirName + "/" + "Phi_Lo"];
3871  if (mPhi_Lo && mPhi_Lo->getRootObject())
3872  mPhi_Lo->Fill(correctedJet.phi());
3873  mPt_Lo = map_of_MEs[DirName + "/" + "Pt_Lo"];
3874  if (mPt_Lo && mPt_Lo->getRootObject())
3875  mPt_Lo->Fill(correctedJet.pt());
3876  }
3877  // --- Event passed the high pt jet trigger
3878  if (jetHiPass_ == 1 && correctedJet.pt() > 100.) {
3879  mEta_Hi = map_of_MEs[DirName + "/" + "Eta_Hi"];
3880  if (mEta_Hi && mEta_Hi->getRootObject())
3881  mEta_Hi->Fill(correctedJet.eta());
3882  mPhi_Hi = map_of_MEs[DirName + "/" + "Phi_Hi"];
3883  if (mPhi_Hi && mPhi_Hi->getRootObject())
3884  mPhi_Hi->Fill(correctedJet.phi());
3885  mPt_Hi = map_of_MEs[DirName + "/" + "Pt_Hi"];
3886  if (mPt_Hi && mPt_Hi->getRootObject())
3887  mPt_Hi->Fill(correctedJet.pt());
3888  }
3889  mPt = map_of_MEs[DirName + "/" + "Pt"];
3890  if (mPt && mPt->getRootObject())
3891  mPt->Fill(correctedJet.pt());
3892  mPt_1 = map_of_MEs[DirName + "/" + "Pt_1"];
3893  if (mPt_1 && mPt_1->getRootObject())
3894  mPt_1->Fill(correctedJet.pt());
3895  mPt_2 = map_of_MEs[DirName + "/" + "Pt_2"];
3896  if (mPt_2 && mPt_2->getRootObject())
3897  mPt_2->Fill(correctedJet.pt());
3898  mPt_3 = map_of_MEs[DirName + "/" + "Pt_3"];
3899  if (mPt_3 && mPt_3->getRootObject())
3900  mPt_3->Fill(correctedJet.pt());
3901  mPt_log = map_of_MEs[DirName + "/" + "Pt_log"];
3902  if (mPt_log && mPt_log->getRootObject())
3903  mPt_log->Fill(log10(correctedJet.pt()));
3904  mEta = map_of_MEs[DirName + "/" + "Eta"];
3905  if (mEta && mEta->getRootObject())
3906  mEta->Fill(correctedJet.eta());
3907  mPhi = map_of_MEs[DirName + "/" + "Phi"];
3908  if (mPhi && mPhi->getRootObject())
3909  mPhi->Fill(correctedJet.phi());
3910 
3911  mPhiVSEta = map_of_MEs[DirName + "/" + "PhiVSEta"];
3912  if (mPhiVSEta && mPhiVSEta->getRootObject())
3913  mPhiVSEta->Fill(correctedJet.eta(), correctedJet.phi());
3914  //if(!isJPTJet_){
3915  float nConstituents = correctedJet.nConstituents();
3916  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
3919  //}
3920  // Fill NPV profiles
3921  //--------------------------------------------------------------------
3922  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
3924  mPt_profile->Fill(numPV, correctedJet.pt());
3925  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
3927  mEta_profile->Fill(numPV, correctedJet.eta());
3928  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
3930  mPhi_profile->Fill(numPV, correctedJet.phi());
3931  //if(!isJPTJet_){
3932  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
3935  //}
3936  if (fabs(correctedJet.eta()) <= 1.3) {
3937  mPt_Barrel = map_of_MEs[DirName + "/" + "Pt_Barrel"];
3939  mPt_Barrel->Fill(correctedJet.pt());
3940  mPhi_Barrel = map_of_MEs[DirName + "/" + "Phi_Barrel"];
3942  mPhi_Barrel->Fill(correctedJet.phi());
3943  //if (mE_Barrel) mE_Barrel->Fill (correctedJet.energy());
3944  //if(!isJPTJet_){
3945  mConstituents_Barrel = map_of_MEs[DirName + "/" + "Constituents_Barrel"];
3948  //}
3949  } else if (fabs(correctedJet.eta()) <= 3) {
3950  mPt_EndCap = map_of_MEs[DirName + "/" + "Pt_EndCap"];
3952  mPt_EndCap->Fill(correctedJet.pt());
3953  mPhi_EndCap = map_of_MEs[DirName + "/" + "Phi_EndCap"];
3955  mPhi_EndCap->Fill(correctedJet.phi());
3956  //if (mE_EndCap) mE_EndCap->Fill (correctedJet.energy());
3957  //if(!isJPTJet_){
3958  mConstituents_EndCap = map_of_MEs[DirName + "/" + "Constituents_EndCap"];
3961  //}
3962  } else {
3963  mPt_Forward = map_of_MEs[DirName + "/" + "Pt_Forward"];
3965  mPt_Forward->Fill(correctedJet.pt());
3966  mPhi_Forward = map_of_MEs[DirName + "/" + "Phi_Forward"];
3968  mPhi_Forward->Fill(correctedJet.phi());
3969  //if (mE_Forward) mE_Forward->Fill (correctedJet.energy());
3970  //if(!isJPTJet_){
3971  mConstituents_Forward = map_of_MEs[DirName + "/" + "Constituents_Forward"];
3974  //}
3975  }
3976  } // pass ID for corrected jets --> inclusive selection
3977  } //loop over uncorrected jets
3978 
3979  mNJets = map_of_MEs[DirName + "/" + "NJets"];
3980  if (mNJets && mNJets->getRootObject())
3981  mNJets->Fill(numofjets);
3982  mNJets_profile = map_of_MEs[DirName + "/" + "NJets_profile"];
3984  mNJets_profile->Fill(numPV, numofjets);
3985 
3986  sort(recoJets.begin(), recoJets.end(), jetSortingRule);
3987 
3988  //for non dijet selection, otherwise numofjets==0
3989  if (numofjets > 0) { //keep threshold for dijet counting at the original one
3990  //check ID of the leading jet
3991 
3992  if (cleaned_first_jet) {
3993  mEtaFirst = map_of_MEs[DirName + "/" + "EtaFirst"];
3994  if (mEtaFirst && mEtaFirst->getRootObject())
3995  mEtaFirst->Fill((recoJets)[0].eta());
3996  mPhiFirst = map_of_MEs[DirName + "/" + "PhiFirst"];
3997  if (mPhiFirst && mPhiFirst->getRootObject())
3998  mPhiFirst->Fill((recoJets)[0].phi());
3999  mPtFirst = map_of_MEs[DirName + "/" + "PtFirst"];
4000  if (mPtFirst && mPtFirst->getRootObject())
4001  mPtFirst->Fill((recoJets)[0].pt());
4002  //check ID of second check for DPhi plots
4003  if (numofjets > 1 && cleaned_second_jet) {
4004  double dphi = fabs((recoJets)[0].phi() - (recoJets)[1].phi());
4005  if (dphi > acos(-1.)) {
4006  dphi = 2 * acos(-1.) - dphi;
4007  }
4008  mDPhi = map_of_MEs[DirName + "/" + "DPhi"];
4009  if (mDPhi && mDPhi->getRootObject())
4010  mDPhi->Fill(dphi);
4011  }
4012  }
4013  //if(cleaned_second_jet && isJPTJet_){
4014  //mPtSecond = map_of_MEs[DirName+"/"+"PtSecond"]; if (mPtSecond && mPtSecond->getRootObject()) mPtSecond->Fill(recoJets[1].pt());
4015  //}
4016  //if(cleaned_third_jet && isJPTJet_){
4017  //mPtThird = map_of_MEs[DirName+"/"+"PtThird"]; if (mPtThird && mPtThird->getRootObject()) mPtThird->Fill(recoJets[2].pt());
4018  //}
4019  }
4020  //dijet selection -> recoJets are on corrected level, both jets cleaned, fill folder only for cleaned jet selection
4021  if (jetCleaningFlag_ && recoJets.size() > 1 && cleaned_first_jet && cleaned_second_jet) {
4022  //pt threshold checked before filling
4023  if (jetCleaningFlag_) {
4024  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label() + "/DiJet";
4025  }
4026  //if(fabs(recoJets[0].eta())<3. && fabs(recoJets[1].eta())<3. ){
4027  //calculate dphi
4028  double dphi = fabs((recoJets)[0].phi() - (recoJets)[1].phi());
4029  if (dphi > acos(-1.)) {
4030  dphi = 2 * acos(-1.) - dphi;
4031  }
4032  mDPhi = map_of_MEs[DirName + "/" + "DPhi"];
4033  if (mDPhi && mDPhi->getRootObject())
4034  if (mDPhi)
4035  mDPhi->Fill(dphi);
4036  //dphi cut
4037  if (fabs(dphi) > 2.1) {
4038  if (isCaloJet_) {
4039  if (!runcosmics_) {
4040  reco::CaloJetRef calojetref1(caloJets, ind1);
4041  reco::JetID jetID1 = (*jetID_ValueMap_Handle)[calojetref1];
4042  reco::CaloJetRef calojetref2(caloJets, ind2);
4043  reco::JetID jetID2 = (*jetID_ValueMap_Handle)[calojetref2];
4044  mN90Hits = map_of_MEs[DirName + "/" + "N90Hits"];
4045  if (mN90Hits && mN90Hits->getRootObject())
4046  mN90Hits->Fill(jetID1.n90Hits);
4047  mfHPD = map_of_MEs[DirName + "/" + "fHPD"];
4048  if (mfHPD && mfHPD->getRootObject())
4049  mfHPD->Fill(jetID1.fHPD);
4050  mresEMF = map_of_MEs[DirName + "/" + "resEMF"];
4051  if (mresEMF && mresEMF->getRootObject())
4052  mresEMF->Fill(jetID1.restrictedEMF);
4053  mfRBX = map_of_MEs[DirName + "/" + "fRBX"];
4054  if (mfRBX && mfRBX->getRootObject())
4055  mfRBX->Fill(jetID1.fRBX);
4056  mN90Hits = map_of_MEs[DirName + "/" + "N90Hits"];
4057  if (mN90Hits && mN90Hits->getRootObject())
4058  mN90Hits->Fill(jetID2.n90Hits);
4059  mfHPD = map_of_MEs[DirName + "/" + "fHPD"];
4060  if (mfHPD && mfHPD->getRootObject())
4061  mfHPD->Fill(jetID2.fHPD);
4062  mresEMF = map_of_MEs[DirName + "/" + "resEMF"];
4063  if (mresEMF && mresEMF->getRootObject())
4064  mresEMF->Fill(jetID2.restrictedEMF);
4065  mfRBX = map_of_MEs[DirName + "/" + "fRBX"];
4066  if (mfRBX && mfRBX->getRootObject())
4067  mfRBX->Fill(jetID2.fRBX);
4068  }
4069  mHFrac = map_of_MEs[DirName + "/" + "HFrac"];
4070  if (mHFrac && mHFrac->getRootObject())
4071  mHFrac->Fill((*caloJets)[ind1].energyFractionHadronic());
4072  mEFrac = map_of_MEs[DirName + "/" + "EFrac"];
4073  if (mEFrac && mHFrac->getRootObject())
4074  mEFrac->Fill((*caloJets)[ind1].emEnergyFraction());
4075  mHFrac = map_of_MEs[DirName + "/" + "HFrac"];
4076  if (mHFrac && mHFrac->getRootObject())
4077  mHFrac->Fill((*caloJets)[ind2].energyFractionHadronic());
4078  mEFrac = map_of_MEs[DirName + "/" + "EFrac"];
4079  if (mEFrac && mHFrac->getRootObject())
4080  mEFrac->Fill((*caloJets)[ind2].emEnergyFraction());
4081  mHFrac_profile = map_of_MEs[DirName + "/" + "HFrac_profile"];
4083  mHFrac_profile->Fill(numPV, (*caloJets)[ind1].energyFractionHadronic());
4084  mEFrac_profile = map_of_MEs[DirName + "/" + "EFrac_profile"];
4086  mEFrac_profile->Fill(numPV, (*caloJets)[ind1].emEnergyFraction());
4087  mHFrac_profile = map_of_MEs[DirName + "/" + "HFrac_profile"];
4089  mHFrac_profile->Fill(numPV, (*caloJets)[ind2].energyFractionHadronic());
4090  mEFrac_profile = map_of_MEs[DirName + "/" + "EFrac_profile"];
4092  mEFrac_profile->Fill(numPV, (*caloJets)[ind2].emEnergyFraction());
4093 
4094  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4096  mJetEnergyCorr->Fill(recoJets[0].pt() / (*caloJets)[ind1].pt());
4097  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4099  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), recoJets[0].pt() / (*caloJets)[ind1].pt());
4100  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4102  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), recoJets[0].pt() / (*caloJets)[ind1].pt());
4103  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4105  mJetEnergyCorr->Fill(recoJets[1].pt() / (*caloJets)[ind2].pt());
4106  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4108  mJetEnergyCorrVSEta->Fill(recoJets[1].eta(), recoJets[1].pt() / (*caloJets)[ind2].pt());
4109  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4111  mJetEnergyCorrVSPt->Fill(recoJets[1].pt(), recoJets[1].pt() / (*caloJets)[ind2].pt());
4112  }
4113  //if(isJPTJet_){
4114  //mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*jptJets)[ind1].chargedHadronEnergyFraction()+(*jptJets)[ind1].neutralHadronEnergyFraction());
4115  //mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill (1.-(*jptJets)[ind1].chargedHadronEnergyFraction()-(*jptJets)[ind1].neutralHadronEnergyFraction());
4116  //mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; mHFrac_profile ->Fill(numPV, (*jptJets)[ind1].chargedHadronEnergyFraction()+(*jptJets)[ind1].neutralHadronEnergyFraction());
4117  //mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; mEFrac_profile ->Fill(numPV, 1.-(*jptJets)[ind1].chargedHadronEnergyFraction()-(*jptJets)[ind1].neutralHadronEnergyFraction());
4118  //mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*jptJets)[ind2].chargedHadronEnergyFraction()+(*jptJets)[ind2].neutralHadronEnergyFraction());
4119  //mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill (1.-(*jptJets)[ind2].chargedHadronEnergyFraction()-(*jptJets)[ind2].neutralHadronEnergyFraction());
4120  //mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; mHFrac_profile ->Fill(numPV, (*jptJets)[ind2].chargedHadronEnergyFraction()+(*jptJets)[ind2].neutralHadronEnergyFraction());
4121  //mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; mEFrac_profile ->Fill(numPV, 1.-(*jptJets)[ind2].chargedHadronEnergyFraction()-(*jptJets)[ind2].neutralHadronEnergyFraction());
4122  //
4123  //mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[0].pt()/(*jptJets)[ind1].pt());
4124  //mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),recoJets[0].pt()/(*jptJets)[ind1].pt());
4125  //mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),recoJets[0].pt()/(*jptJets)[ind1].pt());
4126  //mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[1].pt()/(*jptJets)[ind2].pt());
4127  //mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[1].eta(),recoJets[1].pt()/(*jptJets)[ind2].pt());
4128  //mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[1].pt(),recoJets[1].pt()/(*jptJets)[ind2].pt());
4129  //}
4130  if (isPFJet_) {
4131  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4132  if (mCHFrac && mCHFrac->getRootObject())
4133  mCHFrac->Fill((*pfJets)[ind1].chargedHadronEnergyFraction());
4134  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4135  if (mNHFrac && mNHFrac->getRootObject())
4136  mNHFrac->Fill((*pfJets)[ind1].neutralHadronEnergyFraction());
4137  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4138  if (mPhFrac && mPhFrac->getRootObject())
4139  mPhFrac->Fill((*pfJets)[ind1].neutralEmEnergyFraction());
4140  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4141  if (mHFEMFrac && mHFEMFrac->getRootObject())
4142  mHFEMFrac->Fill((*pfJets)[ind1].HFEMEnergyFraction());
4143  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4144  if (mHFHFrac && mHFHFrac->getRootObject())
4145  mHFHFrac->Fill((*pfJets)[ind1].HFHadronEnergyFraction());
4146 
4147  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4149  mJetEnergyCorr->Fill(recoJets[0].pt() / (*pfJets)[ind1].pt());
4150  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4152  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), recoJets[0].pt() / (*pfJets)[ind1].pt());
4153  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4155  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), recoJets[0].pt() / (*pfJets)[ind1].pt());
4156  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4158  mJetEnergyCorr->Fill(recoJets[1].pt() / (*pfJets)[ind2].pt());
4159  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4161  mJetEnergyCorrVSEta->Fill(recoJets[1].eta(), recoJets[1].pt() / (*pfJets)[ind2].pt());
4162  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4164  mJetEnergyCorrVSPt->Fill(recoJets[1].pt(), recoJets[1].pt() / (*pfJets)[ind2].pt());
4165 
4166  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4168  mChargedMultiplicity->Fill((*pfJets)[ind1].chargedMultiplicity());
4169  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4171  mNeutralMultiplicity->Fill((*pfJets)[ind1].neutralMultiplicity());
4172  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4174  mMuonMultiplicity->Fill((*pfJets)[ind1].muonMultiplicity());
4175  //Filling variables for second jet
4176  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4177  if (mCHFrac && mCHFrac->getRootObject())
4178  mCHFrac->Fill((*pfJets)[ind2].chargedHadronEnergyFraction());
4179  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4180  if (mNHFrac && mNHFrac->getRootObject())
4181  mNHFrac->Fill((*pfJets)[ind2].neutralHadronEnergyFraction());
4182  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4183  if (mPhFrac && mPhFrac->getRootObject())
4184  mPhFrac->Fill((*pfJets)[ind2].neutralEmEnergyFraction());
4185  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4186  if (mHFEMFrac && mHFEMFrac->getRootObject())
4187  mHFEMFrac->Fill((*pfJets)[ind2].HFEMEnergyFraction());
4188  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4189  if (mHFHFrac && mHFHFrac->getRootObject())
4190  mHFHFrac->Fill((*pfJets)[ind2].HFHadronEnergyFraction());
4191 
4192  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4194  mNeutralFraction->Fill((double)(*pfJets)[ind1].neutralMultiplicity() /
4195  (double)(*pfJets)[ind1].nConstituents());
4196 
4197  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4199  mChargedMultiplicity->Fill((*pfJets)[ind2].chargedMultiplicity());
4200  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4202  mNeutralMultiplicity->Fill((*pfJets)[ind2].neutralMultiplicity());
4203  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4205  mMuonMultiplicity->Fill((*pfJets)[ind2].muonMultiplicity());
4206 
4207  //now fill PFJet profiles for leading jet
4208  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4210  mCHFrac_profile->Fill(numPV, (*pfJets)[ind1].chargedHadronEnergyFraction());
4211  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4213  mNHFrac_profile->Fill(numPV, (*pfJets)[ind1].neutralHadronEnergyFraction());
4214  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4216  mPhFrac_profile->Fill(numPV, (*pfJets)[ind1].neutralEmEnergyFraction());
4217  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4219  mHFEMFrac_profile->Fill(numPV, (*pfJets)[ind1].HFEMEnergyFraction());
4220  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4222  mHFHFrac_profile->Fill(numPV, (*pfJets)[ind1].HFHadronEnergyFraction());
4223 
4224  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4226  mNeutralFraction->Fill((double)(*pfJets)[ind2].neutralMultiplicity() /
4227  (double)(*pfJets)[ind2].nConstituents());
4228 
4229  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4231  mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ind1].chargedMultiplicity());
4232  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4234  mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ind1].neutralMultiplicity());
4235  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4237  mMuonMultiplicity->Fill(numPV, (*pfJets)[ind1].muonMultiplicity());
4238  //now fill PFJet profiles for second leading jet
4239  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4241  mCHFrac_profile->Fill(numPV, (*pfJets)[ind2].chargedHadronEnergyFraction());
4242  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4244  mNHFrac_profile->Fill(numPV, (*pfJets)[ind2].neutralHadronEnergyFraction());
4245  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4247  mPhFrac_profile->Fill(numPV, (*pfJets)[ind2].neutralEmEnergyFraction());
4248  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4250  mHFEMFrac_profile->Fill(numPV, (*pfJets)[ind2].HFEMEnergyFraction());
4251  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4253  mHFHFrac_profile->Fill(numPV, (*pfJets)[ind2].HFHadronEnergyFraction());
4254 
4255  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4257  mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].chargedMultiplicity());
4258  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4260  mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].neutralMultiplicity());
4261  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4263  mMuonMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].muonMultiplicity());
4264 
4265  int QGmulti = -1;
4266  float QGLikelihood = -10;
4267  float QGptD = -10;
4268  float QGaxis2 = -10;
4269  if (fill_CHS_histos) {
4270  reco::PFJetRef pfjetref(pfJets, ind1);
4271  QGmulti = (*qgMultiplicity)[pfjetref];
4272  QGLikelihood = (*qgLikelihood)[pfjetref];
4273  QGptD = (*qgptD)[pfjetref];
4274  QGaxis2 = (*qgaxis2)[pfjetref];
4275  if (fabs(recoJets[0].eta()) < 1.3) { //barrel jets
4276  //fractions for barrel
4277  if (recoJets[0].pt() >= 20. && recoJets[0].pt() <= 50.) {
4278  mAxis2_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Barrel"];
4280  mAxis2_lowPt_Barrel->Fill(QGaxis2);
4281  mpTD_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Barrel"];
4283  mpTD_lowPt_Barrel->Fill(QGptD);
4284  mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Barrel"];
4287  mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Barrel"];
4289  mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
4290  }
4291  if (recoJets[0].pt() > 50. && recoJets[0].pt() <= 140.) {
4292  mAxis2_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Barrel"];
4294  mAxis2_mediumPt_Barrel->Fill(QGaxis2);
4295  mpTD_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Barrel"];
4297  mpTD_mediumPt_Barrel->Fill(QGptD);
4298  mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Barrel"];
4301  mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Barrel"];
4303  mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
4304  }
4305  if (recoJets[0].pt() > 140.) {
4306  mAxis2_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Barrel"];
4308  mAxis2_highPt_Barrel->Fill(QGaxis2);
4309  mpTD_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Barrel"];
4311  mpTD_highPt_Barrel->Fill(QGptD);
4312  mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Barrel"];
4315  mqgLikelihood_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Barrel"];
4317  mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
4318  }
4319  } else if (fabs(recoJets[0].eta()) < 3.0) { //endcap jets
4320  if (recoJets[0].pt() > 20. && recoJets[0].pt() <= 50.) {
4321  mAxis2_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_EndCap"];
4323  mAxis2_lowPt_EndCap->Fill(QGaxis2);
4324  mpTD_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_EndCap"];
4326  mpTD_lowPt_EndCap->Fill(QGptD);
4327  mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_EndCap"];
4330  mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_EndCap"];
4332  mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
4333  }
4334  if (recoJets[0].pt() > 50. && recoJets[0].pt() <= 140.) {
4335  mAxis2_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_EndCap"];
4337  mAxis2_mediumPt_EndCap->Fill(QGaxis2);
4338  mpTD_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_EndCap"];
4340  mpTD_mediumPt_EndCap->Fill(QGptD);
4341  mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_EndCap"];
4344  mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_EndCap"];
4346  mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
4347  }
4348  if (recoJets[0].pt() > 140.) {
4349  mAxis2_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_EndCap"];
4351  mAxis2_highPt_EndCap->Fill(QGaxis2);
4352  mpTD_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_highPt_EndCap"];
4354  mpTD_highPt_EndCap->Fill(QGptD);
4355  mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_EndCap"];
4358  mqgLikelihood_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_EndCap"];
4360  mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
4361  }
4362  } else {
4363  if (recoJets[0].pt() > 20. && recoJets[0].pt() <= 50.) {
4364  mAxis2_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Forward"];
4366  mAxis2_lowPt_Forward->Fill(QGaxis2);
4367  mpTD_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Forward"];
4369  mpTD_lowPt_Forward->Fill(QGptD);
4370  mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Forward"];
4373  mqgLikelihood_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Forward"];
4375  mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
4376  }
4377  if (recoJets[0].pt() > 50. && recoJets[0].pt() <= 140.) {
4378  mAxis2_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Forward"];
4380  mAxis2_mediumPt_Forward->Fill(QGaxis2);
4381  mpTD_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Forward"];
4383  mpTD_mediumPt_Forward->Fill(QGptD);
4384  mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Forward"];
4387  mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Forward"];
4389  mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
4390  }
4391  if (recoJets[0].pt() > 140.) {
4392  mAxis2_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Forward"];
4394  mAxis2_highPt_Forward->Fill(QGaxis2);
4395  mpTD_highPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Forward"];
4397  mpTD_highPt_Forward->Fill(QGptD);
4398  mMultiplicityQG_highPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Forward"];
4401  mqgLikelihood_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Forward"];
4403  mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
4404  }
4405  } //done for first jet
4406  reco::PFJetRef pfjetref1(pfJets, ind2);
4407  QGmulti = (*qgMultiplicity)[pfjetref1];
4408  QGLikelihood = (*qgLikelihood)[pfjetref1];
4409  QGptD = (*qgptD)[pfjetref1];
4410  QGaxis2 = (*qgaxis2)[pfjetref1];
4411  if (fabs(recoJets[1].eta()) < 1.3) { //barrel jets
4412  //fractions for barrel
4413  if (recoJets[1].pt() >= 20. && recoJets[1].pt() <= 50.) {
4414  mAxis2_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Barrel"];
4416  mAxis2_lowPt_Barrel->Fill(QGaxis2);
4417  mpTD_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Barrel"];
4419  mpTD_lowPt_Barrel->Fill(QGptD);
4420  mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Barrel"];
4423  mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Barrel"];
4425  mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
4426  }
4427  if (recoJets[1].pt() > 50. && recoJets[1].pt() <= 140.) {
4428  mAxis2_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Barrel"];
4430  mAxis2_mediumPt_Barrel->Fill(QGaxis2);
4431  mpTD_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Barrel"];
4433  mpTD_mediumPt_Barrel->Fill(QGptD);
4434  mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Barrel"];
4437  mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Barrel"];
4439  mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
4440  }
4441  if (recoJets[1].pt() > 140.) {
4442  mAxis2_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Barrel"];
4444  mAxis2_highPt_Barrel->Fill(QGaxis2);
4445  mpTD_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Barrel"];
4447  mpTD_highPt_Barrel->Fill(QGptD);
4448  mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Barrel"];
4451  mqgLikelihood_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Barrel"];
4453  mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
4454  }
4455  } else if (fabs(recoJets[1].eta()) < 3.0) { //endcap jets
4456  if (recoJets[1].pt() > 20. && recoJets[1].pt() <= 50.) {
4457  mAxis2_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_EndCap"];
4459  mAxis2_lowPt_EndCap->Fill(QGaxis2);
4460  mpTD_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_EndCap"];
4462  mpTD_lowPt_EndCap->Fill(QGptD);
4463  mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_EndCap"];
4466  mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_EndCap"];
4468  mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
4469  }
4470  if (recoJets[1].pt() > 50. && recoJets[1].pt() <= 140.) {
4471  mAxis2_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_EndCap"];
4473  mAxis2_mediumPt_EndCap->Fill(QGaxis2);
4474  mpTD_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_EndCap"];
4476  mpTD_mediumPt_EndCap->Fill(QGptD);
4477  mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_EndCap"];
4480  mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_EndCap"];
4482  mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
4483  }
4484  if (recoJets[1].pt() > 140.) {
4485  mAxis2_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_EndCap"];
4487  mAxis2_highPt_EndCap->Fill(QGaxis2);
4488  mpTD_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_highPt_EndCap"];
4490  mpTD_highPt_EndCap->Fill(QGptD);
4491  mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_EndCap"];
4494  mqgLikelihood_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_EndCap"];
4496  mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
4497  }
4498  } else {
4499  if (recoJets[1].pt() > 20. && recoJets[1].pt() <= 50.) {
4500  mAxis2_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Forward"];
4502  mAxis2_lowPt_Forward->Fill(QGaxis2);
4503  mpTD_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Forward"];
4505  mpTD_lowPt_Forward->Fill(QGptD);
4506  mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Forward"];
4509  mqgLikelihood_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Forward"];
4511  mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
4512  }
4513  if (recoJets[1].pt() > 50. && recoJets[1].pt() <= 140.) {
4514  mAxis2_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Forward"];
4516  mAxis2_mediumPt_Forward->Fill(QGaxis2);
4517  mpTD_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Forward"];
4519  mpTD_mediumPt_Forward->Fill(QGptD);
4520  mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Forward"];
4523  mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Forward"];
4525  mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
4526  }
4527  if (recoJets[1].pt() > 140.) {
4528  mAxis2_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Forward"];
4530  mAxis2_highPt_Forward->Fill(QGaxis2);
4531  mpTD_highPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Forward"];
4533  mpTD_highPt_Forward->Fill(QGptD);
4534  mMultiplicityQG_highPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Forward"];
4537  mqgLikelihood_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Forward"];
4539  mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
4540  }
4541  } //deal with second jet
4542  } //fill quark gluon tagged variables
4543  } //pfjet
4544  if (isMiniAODJet_) {
4545  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4547  mJetEnergyCorr->Fill(1. / (*patJets)[ind1].jecFactor("Uncorrected"));
4548  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4550  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), 1. / (*patJets)[ind1].jecFactor("Uncorrected"));
4551  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4553  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), 1. / (*patJets)[ind1].jecFactor("Uncorrected"));
4554  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4556  mJetEnergyCorr->Fill(1. / (*patJets)[ind2].jecFactor("Uncorrected"));
4557  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4559  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), 1. / (*patJets)[ind2].jecFactor("Uncorrected"));
4560  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4562  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), 1. / (*patJets)[ind2].jecFactor("Uncorrected"));
4563 
4564  // In MINIAOD, can drop PFSpecifics just to save space, so check they are available.
4565  if ((*patJets)[ind1].hasPFSpecific()) {
4566  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4567  if (mCHFrac && mCHFrac->getRootObject())
4568  mCHFrac->Fill((*patJets)[ind1].chargedHadronEnergyFraction());
4569  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4570  if (mNHFrac && mNHFrac->getRootObject())
4571  mNHFrac->Fill((*patJets)[ind1].neutralHadronEnergyFraction());
4572  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4573  if (mPhFrac && mPhFrac->getRootObject())
4574  mPhFrac->Fill((*patJets)[ind1].neutralEmEnergyFraction());
4575  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4576  if (mHFEMFrac && mHFEMFrac->getRootObject())
4577  mHFEMFrac->Fill((*patJets)[ind1].HFEMEnergyFraction());
4578  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4579  if (mHFHFrac && mHFHFrac->getRootObject())
4580  mHFHFrac->Fill((*patJets)[ind1].HFHadronEnergyFraction());
4581  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4583  mChargedMultiplicity->Fill((*patJets)[ind1].chargedMultiplicity());
4584  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4586  mNeutralMultiplicity->Fill((*patJets)[ind1].neutralMultiplicity());
4587  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4589  mMuonMultiplicity->Fill((*patJets)[ind1].muonMultiplicity());
4590  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4592  mNeutralFraction->Fill((double)(*patJets)[ind1].neutralMultiplicity() /
4593  (double)(*patJets)[ind1].nConstituents());
4594  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4596  mCHFrac_profile->Fill(numPV, (*patJets)[ind1].chargedHadronEnergyFraction());
4597  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4599  mNHFrac_profile->Fill(numPV, (*patJets)[ind1].neutralHadronEnergyFraction());
4600  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4602  mPhFrac_profile->Fill(numPV, (*patJets)[ind1].neutralEmEnergyFraction());
4603  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4605  mHFEMFrac_profile->Fill(numPV, (*patJets)[ind1].HFEMEnergyFraction());
4606  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4608  mHFHFrac_profile->Fill(numPV, (*patJets)[ind1].HFHadronEnergyFraction());
4609  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4611  mChargedMultiplicity_profile->Fill(numPV, (*patJets)[ind1].chargedMultiplicity());
4612  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4614  mNeutralMultiplicity_profile->Fill(numPV, (*patJets)[ind1].neutralMultiplicity());
4615  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4617  mMuonMultiplicity->Fill(numPV, (*patJets)[ind1].muonMultiplicity());
4618  }
4619 
4620  // In MINIAOD, can drop PFSpecifics just to save space, so check they are available.
4621  //Filling variables for second jet
4622  if ((*patJets)[ind2].hasPFSpecific()) {
4623  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4624  if (mCHFrac && mCHFrac->getRootObject())
4625  mCHFrac->Fill((*patJets)[ind2].chargedHadronEnergyFraction());
4626  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4627  if (mNHFrac && mNHFrac->getRootObject())
4628  mNHFrac->Fill((*patJets)[ind2].neutralHadronEnergyFraction());
4629  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4630  if (mPhFrac && mPhFrac->getRootObject())
4631  mPhFrac->Fill((*patJets)[ind2].neutralEmEnergyFraction());
4632  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4633  if (mHFEMFrac && mHFEMFrac->getRootObject())
4634  mHFEMFrac->Fill((*patJets)[ind2].HFEMEnergyFraction());
4635  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4636  if (mHFHFrac && mHFHFrac->getRootObject())
4637  mHFHFrac->Fill((*patJets)[ind2].HFHadronEnergyFraction());
4638 
4639  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4641  mChargedMultiplicity->Fill((*patJets)[ind2].chargedMultiplicity());
4642  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4644  mNeutralMultiplicity->Fill((*patJets)[ind2].neutralMultiplicity());
4645  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4647  mMuonMultiplicity->Fill((*patJets)[ind2].muonMultiplicity());
4648 
4649  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4651  mNeutralFraction->Fill((double)(*patJets)[ind2].neutralMultiplicity() /
4652  (double)(*patJets)[ind2].nConstituents());
4653 
4654  //now fill PATJet profiles for second leading jet
4655  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4657  mCHFrac_profile->Fill(numPV, (*patJets)[ind2].chargedHadronEnergyFraction());
4658  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4660  mNHFrac_profile->Fill(numPV, (*patJets)[ind2].neutralHadronEnergyFraction());
4661  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4663  mPhFrac_profile->Fill(numPV, (*patJets)[ind2].neutralEmEnergyFraction());
4664  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4666  mHFEMFrac_profile->Fill(numPV, (*patJets)[ind2].HFEMEnergyFraction());
4667  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4669  mHFHFrac_profile->Fill(numPV, (*patJets)[ind2].HFHadronEnergyFraction());
4670 
4671  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4673  mChargedMultiplicity_profile->Fill(numPV, (*patJets)[ind2].chargedMultiplicity());
4674  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4676  mNeutralMultiplicity_profile->Fill(numPV, (*patJets)[ind2].neutralMultiplicity());
4677  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4679  mMuonMultiplicity_profile->Fill(numPV, (*patJets)[ind2].muonMultiplicity());
4680  }
4681  }
4682 
4683  //fill histos for first jet
4684  mPt = map_of_MEs[DirName + "/" + "Pt"];
4685  if (mPt && mPt->getRootObject())
4686  mPt->Fill(recoJets[0].pt());
4687  mEta = map_of_MEs[DirName + "/" + "Eta"];
4688  if (mEta && mEta->getRootObject())
4689  mEta->Fill(recoJets[0].eta());
4690  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4691  if (mPhi && mPhi->getRootObject())
4692  mPhi->Fill(recoJets[0].phi());
4693  mPhiVSEta = map_of_MEs[DirName + "/" + "PhiVSEta"];
4694  if (mPhiVSEta && mPhiVSEta->getRootObject())
4695  mPhiVSEta->Fill(recoJets[0].eta(), recoJets[0].phi());
4696  //if(!isJPTJet_){
4697  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
4699  mConstituents->Fill(recoJets[0].nConstituents());
4700  //}
4701  mPt = map_of_MEs[DirName + "/" + "Pt"];
4702  if (mPt && mPt->getRootObject())
4703  mPt->Fill(recoJets[1].pt());
4704  mEta = map_of_MEs[DirName + "/" + "Eta"];
4705  if (mEta && mEta->getRootObject())
4706  mEta->Fill(recoJets[1].eta());
4707  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4708  if (mPhi && mPhi->getRootObject())
4709  mPhi->Fill(recoJets[1].phi());
4710  mPhiVSEta = map_of_MEs[DirName + "/" + "PhiVSEta"];
4711  if (mPhiVSEta && mPhiVSEta->getRootObject())
4712  mPhiVSEta->Fill(recoJets[1].eta(), recoJets[1].phi());
4713  //if(!isJPTJet_){
4714  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
4716  mConstituents->Fill(recoJets[1].nConstituents());
4717  //}
4718  //PV profiles
4719  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
4721  mPt_profile->Fill(numPV, recoJets[0].pt());
4722  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
4724  mEta_profile->Fill(numPV, recoJets[0].eta());
4725  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
4727  mPhi_profile->Fill(numPV, recoJets[0].phi());
4728  //if(!isJPTJet_){
4729  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
4731  mConstituents_profile->Fill(numPV, recoJets[0].nConstituents());
4732  //}
4733  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
4735  mPt_profile->Fill(numPV, recoJets[1].pt());
4736  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
4738  mEta_profile->Fill(numPV, recoJets[1].eta());
4739  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
4741  mPhi_profile->Fill(numPV, recoJets[1].phi());
4742  //if(!isJPTJet_){
4743  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
4745  mConstituents_profile->Fill(numPV, recoJets[1].nConstituents());
4746  //}
4747  if (fabs(recoJets[0].eta() < 1.4)) {
4748  double pt_dijet = (recoJets[0].pt() + recoJets[1].pt()) / 2;
4749  if (dphi > 2.7) { //cut even toughter on dijet balance
4750  double pt_probe;
4751  double pt_barrel;
4752  int jet1, jet2;
4753  //int randJet = rand() % 2;
4754  int randJet = iEvent.id().event() % 2;
4755  if (fabs(recoJets[1].eta() < 1.4)) {
4756  if (randJet) {
4757  jet1 = 0;
4758  jet2 = 1;
4759  } else {
4760  jet1 = 1;
4761  jet2 = 0;
4762  }
4763  // ***Di-Jet Asymmetry****
4764  // * leading jets eta < 1.4
4765  // * leading jets dphi > 2.7
4766  // * pt_third jet < threshold
4767  // * A = (pt_1 - pt_2)/(pt_1 + pt_2)
4768  // * jets 1 and two are randomly ordered
4769  // **
4770  bool thirdJetCut = true;
4771  //that doesn't make any sense -> imagine you have 5 jets,
4772  //jet 3 is quite hard (almost as hard as the second jet, i.e. 200/80/79/20/15, cutoff is 30
4773  //the 4th and 5th jet are soft enough -> then you would fill the asymmetry twice,
4774  //although jet 2 and 3 are basically identical
4775  //do third jet relative to second jet
4776  //JME-10-014 suggests pt3/pt_dijet<0.15
4777  if (ind3 > 0) {
4778  if (pt3 > asymmetryThirdJetCut_) {
4779  thirdJetCut = false;
4780  }
4781  }
4782  if (thirdJetCut) {
4783  double dijetAsymmetry =
4784  (recoJets[jet1].pt() - recoJets[jet2].pt()) / (recoJets[jet1].pt() + recoJets[jet2].pt());
4785  mDijetAsymmetry = map_of_MEs[DirName + "/" + "DijetAsymmetry"];
4787  mDijetAsymmetry->Fill(dijetAsymmetry);
4788  } // end restriction on third jet pt in asymmetry calculation
4789 
4790  } else {
4791  jet1 = 0;
4792  jet2 = 1;
4793  }
4794 
4795  pt_barrel = recoJets[jet1].pt();
4796  pt_probe = recoJets[jet2].pt();
4797 
4798  //dijet balance cuts
4799  // ***Di-Jet Balance****
4800  // * pt_dijet = (pt_probe+pt_barrel)/2
4801  // * leading jets dphi > 2.7
4802  // * reject evnets where pt_third/pt_dijet > 0.2
4803  // * pv selection
4804  // * B = (pt_probe - pt_barrel)/pt_dijet
4805  // * select probe randomly from 2 jets if both leading jets are in the barrel
4806  bool thirdJetCut = true;
4807  if (ind3 > 0) {
4808  if (pt3 / pt_dijet > balanceThirdJetCut_) {
4809  thirdJetCut = false;
4810  }
4811  }
4812  if (thirdJetCut) {
4813  double dijetBalance = (pt_probe - pt_barrel) / pt_dijet;
4814  mDijetBalance = map_of_MEs[DirName + "/" + "DijetBalance"];
4816  mDijetBalance->Fill(dijetBalance);
4817  } // end restriction on third jet pt ratio in balance calculation
4818 
4819  } // dPhi > 2.7 for dijetbalance and asymmetrie
4820  } //leading jet in barrel
4821  } //DPhi cut of 2.1
4822  } //dijet selection, check if both leading jets are IDed
4823  //now do the ZJets selection -> pass_Z_selection cuts already on the Z-pt>30 GeV
4824  if (pass_Z_selection && ind1_mu_vetoed >= 0 && pt1_mu_vetoed > 12 && cleaned_first_jet_mu_vetoed && isPFJet_) {
4825  bool pass_second_jet_mu_vetoed = false;
4826  if (cleaned_second_jet_mu_vetoed) {
4827  if (ind2_mu_vetoed >= 0 && pt2_mu_vetoed / zCand.Pt() < 0.2) {
4828  pass_second_jet_mu_vetoed = true;
4829  }
4830  }
4831  if (pass_second_jet_mu_vetoed) {
4832  Jet recoJet1;
4833  if (isPFJet_) {
4834  recoJet1 = (*pfJets)[ind1_mu_vetoed];
4835  }
4836  if (pass_correction_flag && !isMiniAODJet_) {
4837  double scale = 1;
4838  if (isCaloJet_) {
4839  scale = jetCorr->correction((*caloJets)[ind1_mu_vetoed]);
4840  }
4841  if (isPFJet_) {
4842  scale = jetCorr->correction((*pfJets)[ind1_mu_vetoed]);
4843  }
4844  recoJet1.scaleEnergy(scale);
4845  }
4846  double dphi = fabs(recoJet1.phi() - zCand.Phi());
4847  if (dphi > acos(-1.)) {
4848  dphi = 2 * acos(-1.) - dphi;
4849  }
4850  if (jetCleaningFlag_) {
4851  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label() + "/ZJets";
4852  }
4853  mDPhiZJet = map_of_MEs[DirName + "/" + "DPhiZJ"];
4854  if (mDPhiZJet && mDPhiZJet->getRootObject())
4855  mDPhiZJet->Fill(dphi);
4856  if (fabs(dphi - acos(-1.)) < 0.34) {
4857  //get now MET collections for MPF studies
4860  //edm::Handle<pat::METCollection> patmetcoll;
4861  const MET* met = nullptr;
4862  if (isCaloJet_) {
4863  iEvent.getByToken(caloMetToken_, calometcoll);
4864  if (!calometcoll.isValid())
4865  return;
4866  met = &(calometcoll->front());
4867  }
4868  if (isPFJet_) {
4869  iEvent.getByToken(pfMetToken_, pfmetcoll);
4870  if (!pfmetcoll.isValid())
4871  return;
4872  met = &(pfmetcoll->front());
4873  }
4874  //if(isMiniAODJet_){
4875  //iEvent.getByToken(patMetToken_, patmetcoll);
4876  //if(!patmetcoll.isValid()) return;
4877  //met=&(patmetcoll->front());
4878  //}
4879  mZMass = map_of_MEs[DirName + "/" + "DiMuonMass"];
4880  if (mZMass && mZMass->getRootObject())
4881  mZMass->Fill(zCand.M());
4882  mZJetAsymmetry = map_of_MEs[DirName + "/" + "ZJetAsymmetry"];
4884  mZJetAsymmetry->Fill((zCand.Pt() - recoJet1.pt()) / (zCand.Pt() + recoJet1.pt()));
4885  if (recoJet1.pt() > 20) {
4886  mPt = map_of_MEs[DirName + "/" + "Pt"];
4887  if (mPt && mPt->getRootObject())
4888  mPt->Fill(recoJet1.pt());
4889  mEta = map_of_MEs[DirName + "/" + "Eta"];
4890  if (mEta && mEta->getRootObject())
4891  mEta->Fill(recoJet1.eta());
4892  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4893  if (mPhi && mPhi->getRootObject())
4894  mPhi->Fill(recoJet1.phi());
4895  //PV profiles
4896  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
4898  mPt_profile->Fill(numPV, recoJet1.pt());
4899  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
4901  mEta_profile->Fill(numPV, recoJet1.eta());
4902  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
4904  mPhi_profile->Fill(numPV, recoJet1.phi());
4905  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
4907  mConstituents->Fill(recoJet1.nConstituents());
4908  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
4910  mConstituents_profile->Fill(numPV, recoJet1.nConstituents());
4911  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4913  mJetEnergyCorr->Fill(recoJet1.pt() / (*pfJets)[ind1_mu_vetoed].pt());
4914  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4916  mJetEnergyCorrVSEta->Fill(recoJet1.eta(), recoJet1.pt() / (*pfJets)[ind1_mu_vetoed].pt());
4917  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4919  mJetEnergyCorrVSPt->Fill(recoJet1.pt(), recoJet1.pt() / (*pfJets)[ind1_mu_vetoed].pt());
4920  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4921  if (mCHFrac && mCHFrac->getRootObject())
4922  mCHFrac->Fill((*pfJets)[ind1_mu_vetoed].chargedHadronEnergyFraction());
4923  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4924  if (mNHFrac && mNHFrac->getRootObject())
4925  mNHFrac->Fill((*pfJets)[ind1_mu_vetoed].neutralHadronEnergyFraction());
4926  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4927  if (mPhFrac && mPhFrac->getRootObject())
4928  mPhFrac->Fill((*pfJets)[ind1_mu_vetoed].neutralEmEnergyFraction());
4929  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4930  if (mHFEMFrac && mHFEMFrac->getRootObject())
4931  mHFEMFrac->Fill((*pfJets)[ind1_mu_vetoed].HFEMEnergyFraction());
4932  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4933  if (mHFHFrac && mHFHFrac->getRootObject())
4934  mHFHFrac->Fill((*pfJets)[ind1_mu_vetoed].HFHadronEnergyFraction());
4935  //now fill PFJet profiles for second leading jet
4936  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4938  mCHFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].chargedHadronEnergyFraction());
4939  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4941  mNHFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].neutralHadronEnergyFraction());
4942  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4944  mPhFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].neutralEmEnergyFraction());
4945  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4947  mHFEMFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].HFEMEnergyFraction());
4948  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4950  mHFHFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].HFHadronEnergyFraction());
4951  }
4952  double MPF = 1. + (met->px() * zCand.Px() + met->py() * zCand.Py()) / (zCand.Pt() * zCand.Pt());
4953  if (fabs(recoJet1.eta()) < 1.3) { //barrel jets
4954  mJ1Pt_over_ZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_J_Barrel"];
4956  mJ1Pt_over_ZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
4957  mMPF_J_Barrel = map_of_MEs[DirName + "/" + "MPF_J_Barrel"];
4960  if (zCand.Pt() < 90) { //lower cut on 30 already right from the start
4961  mJetZBalance_lowZPt_J_Barrel = map_of_MEs[DirName + "/" + "JZB_lowZPt_J_Barrel"];
4963  mJetZBalance_lowZPt_J_Barrel->Fill(recoJet1.pt() - zCand.Pt());
4964  mJ1Pt_over_ZPt_lowZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Barrel"];
4966  mJ1Pt_over_ZPt_lowZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
4967  mMPF_lowZPt_J_Barrel = map_of_MEs[DirName + "/" + "MPF_lowZPt_J_Barrel"];
4970  //mMPF_J_Barrel = map_of_MEs[DirName+"/"+"MPF_J_Barrel"]; if(mMPF_J_Barrel && mMPF_J_Barrel->getRootObject())mMPF_J_Barrel->Fill(MPF);
4971  } else if (zCand.Pt() < 140) {
4972  mJetZBalance_mediumZPt_J_Barrel = map_of_MEs[DirName + "/" + "JZB_mediumZPt_J_Barrel"];
4974  mJetZBalance_mediumZPt_J_Barrel->Fill(recoJet1.pt() - zCand.Pt());
4975  mJ1Pt_over_ZPt_mediumZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Barrel"];
4977  mJ1Pt_over_ZPt_mediumZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
4978  mMPF_mediumZPt_J_Barrel = map_of_MEs[DirName + "/" + "MPF_mediumZPt_J_Barrel"];
4981  } else {
4982  mJetZBalance_highZPt_J_Barrel = map_of_MEs[DirName + "/" + "JZB_highZPt_J_Barrel"];
4984  mJetZBalance_highZPt_J_Barrel->Fill(recoJet1.pt() - zCand.Pt());
4985  mJ1Pt_over_ZPt_highZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Barrel"];
4987  mJ1Pt_over_ZPt_highZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
4988  mMPF_highZPt_J_Barrel = map_of_MEs[DirName + "/" + "MPF_highZPt_J_Barrel"];
4991  }
4992  if (zCand.Pt() > 30) {
4993  if (zCand.Pt() < 55) {
4995  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Barrel"];
4997  mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
4998  } else if (zCand.Pt() < 75) {
5000  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_Barrel"];
5002  mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5003  } else if (zCand.Pt() < 150) {
5005  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel"];
5007  mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5008  } else if (zCand.Pt() < 290) {
5010  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel"];
5012  mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5013  } else {
5014  mDeltaPt_Z_j1_over_ZPt_290_J_Barrel = map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_Barrel"];
5016  mDeltaPt_Z_j1_over_ZPt_290_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5017  }
5018  }
5019  } else if (fabs(recoJet1.eta()) < 3.0) { //endcap jets
5020  mJ1Pt_over_ZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_J_EndCap"];
5022  mJ1Pt_over_ZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5023  mMPF_J_EndCap = map_of_MEs[DirName + "/" + "MPF_J_EndCap"];
5026  if (zCand.Pt() < 90) { //lower cut on 30 already right from the start
5027  mJetZBalance_lowZPt_J_EndCap = map_of_MEs[DirName + "/" + "JZB_lowZPt_J_EndCap"];
5029  mJetZBalance_lowZPt_J_EndCap->Fill(recoJet1.pt() - zCand.Pt());
5030  mJ1Pt_over_ZPt_lowZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_EndCap"];
5032  mJ1Pt_over_ZPt_lowZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5033  mMPF_lowZPt_J_EndCap = map_of_MEs[DirName + "/" + "MPF_lowZPt_J_EndCap"];
5036  } else if (zCand.Pt() < 140) {
5037  mJetZBalance_mediumZPt_J_EndCap = map_of_MEs[DirName + "/" + "JZB_mediumZPt_J_EndCap"];
5039  mJetZBalance_mediumZPt_J_EndCap->Fill(recoJet1.pt() - zCand.Pt());
5040  mJ1Pt_over_ZPt_mediumZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_EndCap"];
5042  mJ1Pt_over_ZPt_mediumZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5043  mMPF_mediumZPt_J_EndCap = map_of_MEs[DirName + "/" + "MPF_mediumZPt_J_EndCap"];
5046  } else {
5047  mJetZBalance_highZPt_J_EndCap = map_of_MEs[DirName + "/" + "JZB_highZPt_J_EndCap"];
5049  mJetZBalance_highZPt_J_EndCap->Fill(recoJet1.pt() - zCand.Pt());
5050  mJ1Pt_over_ZPt_highZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_highZPt_J_EndCap"];
5052  mJ1Pt_over_ZPt_highZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5053  mMPF_highZPt_J_EndCap = map_of_MEs[DirName + "/" + "MPF_highZPt_J_EndCap"];
5056  }
5057  if (zCand.Pt() > 30) {
5058  if (zCand.Pt() < 55) {
5060  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_EndCap"];
5062  mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5063  } else if (zCand.Pt() < 75) {
5065  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_EndCap"];
5067  mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5068  } else if (zCand.Pt() < 150) {
5070  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap"];
5072  mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5073  } else if (zCand.Pt() < 290) {
5075  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap"];
5077  mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5078  } else {
5079  mDeltaPt_Z_j1_over_ZPt_290_J_EndCap = map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_EndCap"];
5081  mDeltaPt_Z_j1_over_ZPt_290_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5082  }
5083  }
5084  } else { //forward jets
5085  mJ1Pt_over_ZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_J_Forward"];
5087  mJ1Pt_over_ZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5088  mMPF_J_Forward = map_of_MEs[DirName + "/" + "MPF_J_Forward"];
5091  if (zCand.Pt() < 90) { //lower cut on 30 already right from the start
5092  mJetZBalance_lowZPt_J_Forward = map_of_MEs[DirName + "/" + "JZB_lowZPt_J_Forward"];
5094  mJetZBalance_lowZPt_J_Forward->Fill(recoJet1.pt() - zCand.Pt());
5095  mJ1Pt_over_ZPt_lowZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Forward"];
5097  mJ1Pt_over_ZPt_lowZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5098  mMPF_lowZPt_J_Forward = map_of_MEs[DirName + "/" + "MPF_lowZPt_J_Forward"];
5101  } else if (zCand.Pt() < 140) {
5102  mJetZBalance_mediumZPt_J_Forward = map_of_MEs[DirName + "/" + "JZB_mediumZPt_J_Forward"];
5104  mJetZBalance_mediumZPt_J_Forward->Fill(recoJet1.pt() - zCand.Pt());
5105  mJ1Pt_over_ZPt_mediumZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Forward"];
5107  mJ1Pt_over_ZPt_mediumZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5108  mMPF_mediumZPt_J_Forward = map_of_MEs[DirName + "/" + "MPF_mediumZPt_J_Forward"];
5111  } else {
5112  mJetZBalance_highZPt_J_Forward = map_of_MEs[DirName + "/" + "JZB_highZPt_J_Forward"];
5114  mJetZBalance_highZPt_J_Forward->Fill(recoJet1.pt() - zCand.Pt());
5115  mJ1Pt_over_ZPt_highZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Forward"];
5117  mJ1Pt_over_ZPt_highZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5118  mMPF_highZPt_J_Forward = map_of_MEs[DirName + "/" + "MPF_highZPt_J_Forward"];
5121  }
5122  if (zCand.Pt() > 30) {
5123  if (zCand.Pt() < 55) {
5125  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward"];
5127  mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5128  } else if (zCand.Pt() < 100) {
5130  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward"];
5132  mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5133  } else {
5134  mDeltaPt_Z_j1_over_ZPt_100_J_Forward = map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_100_J_Forward"];
5136  mDeltaPt_Z_j1_over_ZPt_100_J_Forward->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5137  }
5138  }
5139  }
5140  int QGmulti = -1;
5141  float QGLikelihood = -10;
5142  float QGptD = -10;
5143  float QGaxis2 = -10;
5144  if (fill_CHS_histos) {
5145  reco::PFJetRef pfjetref(pfJets, ind1_mu_vetoed);
5146  QGmulti = (*qgMultiplicity)[pfjetref];
5147  QGLikelihood = (*qgLikelihood)[pfjetref];
5148  QGptD = (*qgptD)[pfjetref];
5149  QGaxis2 = (*qgaxis2)[pfjetref];
5150  if (fabs(recoJet1.eta()) < 1.3) { //barrel jets
5151  //fractions for barrel
5152  if (recoJet1.pt() >= 20. && recoJet1.pt() <= 50.) {
5153  mAxis2_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Barrel"];
5155  mAxis2_lowPt_Barrel->Fill(QGaxis2);
5156  mpTD_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Barrel"];
5158  mpTD_lowPt_Barrel->Fill(QGptD);
5159  mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Barrel"];
5162  mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Barrel"];
5164  mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
5165  }
5166  if (recoJet1.pt() > 50. && recoJet1.pt() <= 140.) {
5167  mAxis2_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Barrel"];
5169  mAxis2_mediumPt_Barrel->Fill(QGaxis2);
5170  mpTD_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Barrel"];
5172  mpTD_mediumPt_Barrel->Fill(QGptD);
5173  mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Barrel"];
5176  mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Barrel"];
5178  mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
5179  }
5180  if (recoJet1.pt() > 140.) {
5181  mAxis2_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Barrel"];
5183  mAxis2_highPt_Barrel->Fill(QGaxis2);
5184  mpTD_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Barrel"];
5186  mpTD_highPt_Barrel->Fill(QGptD);
5187  mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Barrel"];
5190  mqgLikelihood_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Barrel"];
5192  mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
5193  }
5194  } else if (fabs(recoJet1.eta()) < 3.0) { //endcap jets
5195  if (recoJet1.pt() > 20. && recoJet1.pt() <= 50.) {
5196  mAxis2_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_EndCap"];
5198  mAxis2_lowPt_EndCap->Fill(QGaxis2);
5199  mpTD_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_EndCap"];
5201  mpTD_lowPt_EndCap->Fill(QGptD);
5202  mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_EndCap"];
5205  mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_EndCap"];
5207  mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
5208  }
5209  if (recoJet1.pt() > 50. && recoJet1.pt() <= 140.) {
5210  mAxis2_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_EndCap"];
5212  mAxis2_mediumPt_EndCap->Fill(QGaxis2);
5213  mpTD_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_EndCap"];
5215  mpTD_mediumPt_EndCap->Fill(QGptD);
5216  mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_EndCap"];
5219  mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_EndCap"];
5221  mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
5222  }
5223  if (recoJet1.pt() > 140.) {
5224  mAxis2_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_EndCap"];
5226  mAxis2_highPt_EndCap->Fill(QGaxis2);
5227  mpTD_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_highPt_EndCap"];
5229  mpTD_highPt_EndCap->Fill(QGptD);
5230  mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_EndCap"];
5233  mqgLikelihood_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_EndCap"];
5235  mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
5236  }
5237  } else {
5238  if (recoJet1.pt() > 20. && recoJet1.pt() <= 50.) {
5239  mAxis2_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Forward"];
5241  mAxis2_lowPt_Forward->Fill(QGaxis2);
5242  mpTD_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Forward"];
5244  mpTD_lowPt_Forward->Fill(QGptD);
5245  mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Forward"];
5248  mqgLikelihood_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Forward"];
5250  mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
5251  }
5252  if (recoJet1.pt() > 50. && recoJet1.pt() <= 140.) {
5253  mAxis2_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Forward"];
5255  mAxis2_mediumPt_Forward->Fill(QGaxis2);
5256  mpTD_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Forward"];
5258  mpTD_mediumPt_Forward->Fill(QGptD);
5259  mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Forward"];
5262  mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Forward"];
5264  mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
5265  }
5266  if (recoJet1.pt() > 140.) {
5267  mAxis2_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Forward"];
5269  mAxis2_highPt_Forward->Fill(QGaxis2);
5270  mpTD_highPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Forward"];
5272  mpTD_highPt_Forward->Fill(QGptD);
5273  mMultiplicityQG_highPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Forward"];
5276  mqgLikelihood_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Forward"];
5278  mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
5279  }
5280  }
5281  } //fill quark gluon tagged variables
5282  } //jet back to back to Z
5283  } //2nd jet veto
5284  } //Z selection + hard leading jet
5285 }
MonitorElement * mqgLikelihood_lowPt_Barrel
Definition: JetAnalyzer.h:496
MonitorElement * mCHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:383
MonitorElement * mEFrac_EndCap
Definition: JetAnalyzer.h:239
MonitorElement * mNJets
Definition: JetAnalyzer.h:262
MonitorElement * mNHEn_lowPt_Barrel
Definition: JetAnalyzer.h:379
MonitorElement * mJetZBalance_lowZPt_J_Barrel
Definition: JetAnalyzer.h:737
MonitorElement * mMass_lowPt_Forward
Definition: JetAnalyzer.h:449
MonitorElement * mMass_mediumPt_Forward
Definition: JetAnalyzer.h:452
MonitorElement * mePtForwardPlus_BXm1Empty
Definition: JetAnalyzer.h:605
MonitorElement * mMass_highPt_Forward
Definition: JetAnalyzer.h:455
MonitorElement * mHadEnergyInHB
Definition: JetAnalyzer.h:356
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_Barrel
Definition: JetAnalyzer.h:774
MonitorElement * mHFEEn_highPt_Forward
Definition: JetAnalyzer.h:477
bool bypassAllPVChecks_
Definition: JetAnalyzer.h:329
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel
Definition: JetAnalyzer.h:770
MonitorElement * mfRBX
Definition: JetAnalyzer.h:364
MonitorElement * mSubJet1_SoftDrop_phi_boosted
Definition: JetAnalyzer.h:719
MonitorElement * mMultiplicityQG_highPt_Forward
Definition: JetAnalyzer.h:529
MonitorElement * mCHEn_highPt_Barrel
Definition: JetAnalyzer.h:388
MonitorElement * mPhi_Forward
Definition: JetAnalyzer.h:242
MonitorElement * mChMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:399
MonitorElement * mLooseCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:298
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap
Definition: JetAnalyzer.h:775
MonitorElement * mJetZBalance_lowZPt_J_Forward
Definition: JetAnalyzer.h:743
MonitorElement * mChMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:460
MonitorElement * mNeutralEmEnergy
Definition: JetAnalyzer.h:487
MonitorElement * mtau2_over_tau1
Definition: JetAnalyzer.h:653
static bool jetSortingRule(reco::Jet x, reco::Jet y)
Definition: JetAnalyzer.h:98
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward
Definition: JetAnalyzer.h:781
MonitorElement * mPhEn_mediumPt_EndCap
Definition: JetAnalyzer.h:439
virtual void scaleEnergy(double fScale)
scale energy of the jet
MonitorElement * mPt_Lo
Definition: JetAnalyzer.h:272
MonitorElement * mtau2_over_tau1_boosted
Definition: JetAnalyzer.h:692
MonitorElement * mePhFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:636
MonitorElement * mJetZBalance_highZPt_J_Barrel
Definition: JetAnalyzer.h:739
MonitorElement * mSubJet2_SoftDrop_phi_boosted
Definition: JetAnalyzer.h:723
MonitorElement * mEmEnergyInHF
Definition: JetAnalyzer.h:361
MonitorElement * mtau3_over_tau2
Definition: JetAnalyzer.h:654
double pt() const final
transverse momentum
bool jetCleaningFlag_
Definition: JetAnalyzer.h:344
MonitorElement * mPhiFirst
Definition: JetAnalyzer.h:267
MonitorElement * mCutPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:306
MonitorElement * mMPF_mediumZPt_J_Forward
Definition: JetAnalyzer.h:768
MonitorElement * mNeutralHadronEnergy
Definition: JetAnalyzer.h:484
MonitorElement * mHFEFrac_mediumPt_Forward
Definition: JetAnalyzer.h:469
MonitorElement * mPt_Forward
Definition: JetAnalyzer.h:241
MonitorElement * mCHFrac_highPt_EndCap
Definition: JetAnalyzer.h:428
MonitorElement * mNHFrac_highPt_EndCap
Definition: JetAnalyzer.h:429
bool fill_jet_high_level_histo
Definition: JetAnalyzer.h:790
MonitorElement * mqgLikelihood_highPt_EndCap
Definition: JetAnalyzer.h:517
MonitorElement * mChargedEmEnergy_profile
Definition: JetAnalyzer.h:545
float fHPD
Definition: JetID.h:41
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Barrel
Definition: JetAnalyzer.h:752
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken_
Definition: JetAnalyzer.h:143
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:342
MonitorElement * mHFrac_Forward
Definition: JetAnalyzer.h:244
MonitorElement * mEmEnergyInEE
Definition: JetAnalyzer.h:360
MonitorElement * mMass_Barrel
Definition: JetAnalyzer.h:729
MonitorElement * mMass_Forward
Definition: JetAnalyzer.h:731
MonitorElement * mHFHFrac_highPt_Forward
Definition: JetAnalyzer.h:472
MonitorElement * meNHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:629
MonitorElement * mHFHEn_lowPt_Forward
Definition: JetAnalyzer.h:474
MonitorElement * mMultiplicityQG_mediumPt_EndCap
Definition: JetAnalyzer.h:512
MonitorElement * mNHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:423
MonitorElement * mCHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:369
MonitorElement * mElEn_highPt_Barrel
Definition: JetAnalyzer.h:391
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
Definition: JetAnalyzer.h:109
MonitorElement * mHFHFrac
Definition: JetAnalyzer.h:558
MonitorElement * jetME
Definition: JetAnalyzer.h:205
MonitorElement * mPrunedMass_boosted
Definition: JetAnalyzer.h:689
MonitorElement * mPhEn_lowPt_EndCap
Definition: JetAnalyzer.h:434
MonitorElement * mSubJet1_SoftDrop_mass
Definition: JetAnalyzer.h:681
edm::EDGetTokenT< edm::ValueMap< int > > mvaPUIDToken_
Definition: JetAnalyzer.h:121
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:202
double balanceThirdJetCut_
Definition: JetAnalyzer.h:197
MonitorElement * mMediumCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:300
MonitorElement * mHFEEn_lowPt_Forward
Definition: JetAnalyzer.h:473
MonitorElement * meNHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:633
MonitorElement * mPhi_EndCap
Definition: JetAnalyzer.h:236
JetIDSelectionFunctor jetIDFunctor
Definition: JetAnalyzer.h:149
MonitorElement * mPrunedMass
Definition: JetAnalyzer.h:650
MonitorElement * mNHFrac
Definition: JetAnalyzer.h:555
MonitorElement * mMPF_J_EndCap
Definition: JetAnalyzer.h:750
T const * product() const
Definition: Handle.h:70
float restrictedEMF
Definition: JetID.h:48
MonitorElement * mqgLikelihood_mediumPt_Barrel
Definition: JetAnalyzer.h:500
edm::EDGetTokenT< reco::PFMETCollection > pfMetToken_
Definition: JetAnalyzer.h:112
MonitorElement * mPhFrac_lowPt_EndCap
Definition: JetAnalyzer.h:424
MonitorElement * mMass_highPt_EndCap
Definition: JetAnalyzer.h:454
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:291
MonitorElement * mNHFracVSeta_highPt
Definition: JetAnalyzer.h:419
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_EndCap
Definition: JetAnalyzer.h:779
MonitorElement * mMPF_highZPt_J_Forward
Definition: JetAnalyzer.h:769
MonitorElement * mCutPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:304
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:362
MonitorElement * mCHFrac
Definition: JetAnalyzer.h:554
MonitorElement * mSubJet1_SoftDrop_eta_boosted
Definition: JetAnalyzer.h:718
PFJetIDSelectionFunctor pfjetIDFunctor
Definition: JetAnalyzer.h:154
float fRBX
Definition: JetID.h:42
MonitorElement * mSubJet1_SoftDrop_pt_boosted
Definition: JetAnalyzer.h:717
MonitorElement * mJetZBalance_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:738
MonitorElement * mCHEn_lowPt_EndCap
Definition: JetAnalyzer.h:432
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
Definition: JetAnalyzer.h:110
MonitorElement * meNHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:597
MonitorElement * mCutPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:305
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * mCHFracVSeta_highPt
Definition: JetAnalyzer.h:418
MonitorElement * mPhEn_highPt_Barrel
Definition: JetAnalyzer.h:390
MonitorElement * mCHFrac_profile
Definition: JetAnalyzer.h:559
MonitorElement * mSubJet2_SoftDrop_eta_boosted
Definition: JetAnalyzer.h:722
MonitorElement * mNeutMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:458
MonitorElement * mNHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:438
MonitorElement * mEta_Hi
Definition: JetAnalyzer.h:274
MonitorElement * mpTD_mediumPt_EndCap
Definition: JetAnalyzer.h:511
bool isCaloJet_
Definition: JetAnalyzer.h:786
MonitorElement * meCHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:638
MonitorElement * mMPF_lowZPt_J_EndCap
Definition: JetAnalyzer.h:764
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:489
MonitorElement * mMass_lowPt_Barrel
Definition: JetAnalyzer.h:447
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:326
MonitorElement * mePhFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:628
MonitorElement * mPt_3
Definition: JetAnalyzer.h:211
std::string const & label() const
Definition: InputTag.h:36
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap
Definition: JetAnalyzer.h:778
MonitorElement * mSubJet2_SoftDrop_pt_boosted
Definition: JetAnalyzer.h:721
Jet ID object.
Definition: JetID.h:16
MonitorElement * mHFEMFrac
Definition: JetAnalyzer.h:557
MonitorElement * mEta
Definition: JetAnalyzer.h:213
MonitorElement * mConstituents_Forward
Definition: JetAnalyzer.h:243
MonitorElement * mPt_CaloJet
Definition: JetAnalyzer.h:727
double correction(const LorentzVector &fJet) const
get correction using Jet information only
Definition: JetCorrector.h:46
std::string DirName
Definition: JetAnalyzer.h:158
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
Definition: JetAnalyzer.h:107
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:290
MonitorElement * mpTD_lowPt_Forward
Definition: JetAnalyzer.h:520
MonitorElement * mtau3_over_tau2_boosted
Definition: JetAnalyzer.h:693
MonitorElement * mnSubJetsSoftDrop
Definition: JetAnalyzer.h:677
MonitorElement * mPt_Hi
Definition: JetAnalyzer.h:276
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:566
MonitorElement * mePhFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:596
MonitorElement * mMPF_highZPt_J_Barrel
Definition: JetAnalyzer.h:763
MonitorElement * mMultiplicityQG_lowPt_EndCap
Definition: JetAnalyzer.h:508
MonitorElement * meHFHFracPlus_BXm1Filled
Definition: JetAnalyzer.h:643
MonitorElement * meNHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:637
MonitorElement * mCHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:422
MonitorElement * mMuMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:401
MonitorElement * mNHFracVSeta_mediumPt
Definition: JetAnalyzer.h:416
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:548
MonitorElement * mAxis2_mediumPt_Barrel
Definition: JetAnalyzer.h:497
MonitorElement * mHFEFrac_lowPt_Forward
Definition: JetAnalyzer.h:467
MonitorElement * mMass_EndCap
Definition: JetAnalyzer.h:730
MonitorElement * meHFEMFracPlus_BXm1Filled
Definition: JetAnalyzer.h:644
MonitorElement * mNHFracVSeta_lowPt
Definition: JetAnalyzer.h:413
MonitorElement * mLooseJIDPassFractionVSpt
Definition: JetAnalyzer.h:279
MonitorElement * mAxis2_highPt_Forward
Definition: JetAnalyzer.h:527
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:565
MonitorElement * mpTD_mediumPt_Barrel
Definition: JetAnalyzer.h:498
MonitorElement * mPt_uncor
Definition: JetAnalyzer.h:215
MonitorElement * mDPhi
Definition: JetAnalyzer.h:263
MonitorElement * mresEMF
Definition: JetAnalyzer.h:365
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel
Definition: JetAnalyzer.h:772
MonitorElement * mEMF_CaloJet
Definition: JetAnalyzer.h:728
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:784
MonitorElement * mChargedMuEnergy
Definition: JetAnalyzer.h:486
MonitorElement * mLooseMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:283
MonitorElement * mMuMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:462
MonitorElement * mNHFrac_profile
Definition: JetAnalyzer.h:560
bool filljetsubstruc_
Definition: JetAnalyzer.h:345
void Fill(long long x)
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
Definition: JetAnalyzer.h:131
bool runcosmics_
Definition: JetAnalyzer.h:348
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:324
MonitorElement * mpTD_highPt_EndCap
Definition: JetAnalyzer.h:515
MonitorElement * mEmEnergyInEB
Definition: JetAnalyzer.h:359
MonitorElement * mDijetBalance
Definition: JetAnalyzer.h:315
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap
Definition: JetAnalyzer.h:776
MonitorElement * mJ1Pt_over_ZPt_J_Barrel
Definition: JetAnalyzer.h:746
MonitorElement * mJ1Pt_over_ZPt_J_EndCap
Definition: JetAnalyzer.h:747
static bool passJetId(int flag, Id level)
MonitorElement * mTightCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:302
MonitorElement * mMediumMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:284
MonitorElement * mePtEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:599
MonitorElement * mSubJet1_SoftDrop_mass_boosted
Definition: JetAnalyzer.h:720
MonitorElement * mChargedHadronEnergy_profile
Definition: JetAnalyzer.h:543
int iEvent
Definition: GenABIO.cc:224
MonitorElement * mPhi_Barrel
Definition: JetAnalyzer.h:230
MonitorElement * mPhFrac_lowPt_Barrel
Definition: JetAnalyzer.h:371
MonitorElement * mSubJet2_SoftDrop_eta
Definition: JetAnalyzer.h:683
MonitorElement * mAxis2_highPt_Barrel
Definition: JetAnalyzer.h:501
MonitorElement * mMass_lowPt_EndCap
Definition: JetAnalyzer.h:448
edm::EDGetTokenT< reco::CaloMETCollection > caloMetToken_
Definition: JetAnalyzer.h:113
MonitorElement * mConstituents_EndCap
Definition: JetAnalyzer.h:237
MonitorElement * mPt_log
Definition: JetAnalyzer.h:212
MonitorElement * meEta_BXm1Empty
Definition: JetAnalyzer.h:606
MonitorElement * mHFHFrac_mediumPt_Forward
Definition: JetAnalyzer.h:470
MonitorElement * mPhFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:374
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtToken_
Definition: JetAnalyzer.h:108
MonitorElement * mJetZBalance_mediumZPt_J_Forward
Definition: JetAnalyzer.h:744
MonitorElement * mSoftDropMass
Definition: JetAnalyzer.h:649
MonitorElement * mePtEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:595
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:549
MonitorElement * mMultiplicityQG_highPt_EndCap
Definition: JetAnalyzer.h:516
MonitorElement * meHFHFracMinus_BXm1Filled
Definition: JetAnalyzer.h:640
MonitorElement * cleanupME
Definition: JetAnalyzer.h:335
MonitorElement * mPhEn_mediumPt_Barrel
Definition: JetAnalyzer.h:385
Definition: Jet.py:1
MonitorElement * mSubJet2_SoftDrop_mass_boosted
Definition: JetAnalyzer.h:724
MonitorElement * mLooseMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:282
MonitorElement * mNeutMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:461
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:534
MonitorElement * mNHFracVSpT_EndCap
Definition: JetAnalyzer.h:407
MonitorElement * mNeutralEmEnergy_profile
Definition: JetAnalyzer.h:547
Definition: MET.h:41
MonitorElement * mNHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:373
MonitorElement * mPhEn_lowPt_Barrel
Definition: JetAnalyzer.h:380
MonitorElement * mSubJet2_SoftDrop_pt
Definition: JetAnalyzer.h:682
edm::EDGetTokenT< pat::JetCollection > patJetsToken_
Definition: JetAnalyzer.h:117
MonitorElement * mPt_1
Definition: JetAnalyzer.h:209
MonitorElement * mConstituents_Barrel
Definition: JetAnalyzer.h:231
virtual int nConstituents() const
of constituents
Definition: Jet.h:65
edm::EDGetTokenT< edm::ValueMap< float > > mvaFullPUDiscriminantToken_
Definition: JetAnalyzer.h:118
MonitorElement * mJetZBalance_lowZPt_J_EndCap
Definition: JetAnalyzer.h:740
MonitorElement * meHFHFracMinus_BXm1Empty
Definition: JetAnalyzer.h:600
MonitorElement * meCHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:594
MonitorElement * mNHEn_lowPt_EndCap
Definition: JetAnalyzer.h:433
double ptThreshold_
Definition: JetAnalyzer.h:194
MonitorElement * mMuEn_lowPt_EndCap
Definition: JetAnalyzer.h:436
double pt_min_boosted_
Definition: JetAnalyzer.h:346
MonitorElement * mPhi
Definition: JetAnalyzer.h:214
MonitorElement * meHFEMFracMinus_BXm1Filled
Definition: JetAnalyzer.h:641
MonitorElement * mNeutMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:394
MonitorElement * mpTD_highPt_Barrel
Definition: JetAnalyzer.h:502
MonitorElement * mPhFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:427
edm::EDGetTokenT< edm::ValueMap< int > > cutBasedPUIDToken_
Definition: JetAnalyzer.h:120
edm::EDGetTokenT< edm::ValueMap< float > > cutBasedPUDiscriminantToken_
Definition: JetAnalyzer.h:119
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Forward
Definition: JetAnalyzer.h:760
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:550
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:309
MonitorElement * mCutPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:311
MonitorElement * mChargedHadronEnergy
Definition: JetAnalyzer.h:483
MonitorElement * mPhi_uncor
Definition: JetAnalyzer.h:217
MonitorElement * mCutPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:310
bool fill_CHS_histos
Definition: JetAnalyzer.h:792
MonitorElement * mChargedEmEnergy
Definition: JetAnalyzer.h:485
MonitorElement * mNeutMultiplicity_mediumPt_Forward
Definition: JetAnalyzer.h:480
MonitorElement * mMass_mediumPt_EndCap
Definition: JetAnalyzer.h:451
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
MonitorElement * mPhFrac_profile
Definition: JetAnalyzer.h:561
MonitorElement * meNHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:589
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Barrel
Definition: JetAnalyzer.h:754
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:321
MonitorElement * mPhFracVSeta_lowPt
Definition: JetAnalyzer.h:414
MonitorElement * mChMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:393
edm::InputTag jetCorrectorTag_
Definition: JetAnalyzer.h:142
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel
Definition: JetAnalyzer.h:771
MonitorElement * mEtaFirst
Definition: JetAnalyzer.h:266
MonitorElement * mElEn_lowPt_EndCap
Definition: JetAnalyzer.h:435
MonitorElement * mTightMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:286
MonitorElement * mNHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:426
MonitorElement * mEFrac_Forward
Definition: JetAnalyzer.h:245
static std::string const triggerResults
Definition: EdmProvDump.cc:47
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap
Definition: JetAnalyzer.h:777
MonitorElement * mChMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:457
MonitorElement * mMuEn_mediumPt_Barrel
Definition: JetAnalyzer.h:387
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: JetAnalyzer.h:106
MonitorElement * mMuMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:465
MonitorElement * mPt_2
Definition: JetAnalyzer.h:210
MonitorElement * mAxis2_highPt_EndCap
Definition: JetAnalyzer.h:514
MonitorElement * mMVAPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:294
MonitorElement * mSubJet1_SoftDrop_pt
Definition: JetAnalyzer.h:678
MonitorElement * mNeutralHadronEnergy_profile
Definition: JetAnalyzer.h:544
MonitorElement * mHFrac_Barrel
Definition: JetAnalyzer.h:232
bool filter(const edm::Event &evt, const edm::EventSetup &es)
MonitorElement * mNJets_profile
Definition: JetAnalyzer.h:320
MonitorElement * mMultiplicityQG_highPt_Barrel
Definition: JetAnalyzer.h:503
MonitorElement * mHFEFracVSpT_Forward
Definition: JetAnalyzer.h:410
MonitorElement * mMPF_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:762
MonitorElement * mePhFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:588
MonitorElement * mCHEn_lowPt_Barrel
Definition: JetAnalyzer.h:378
MonitorElement * mHFEFrac_highPt_Forward
Definition: JetAnalyzer.h:471
MonitorElement * mJ1Pt_over_ZPt_J_Forward
Definition: JetAnalyzer.h:748
MonitorElement * mElEn_highPt_EndCap
Definition: JetAnalyzer.h:445
MonitorElement * mCutPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:308
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Forward
Definition: JetAnalyzer.h:759
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:756
MonitorElement * mEFrac
Definition: JetAnalyzer.h:226
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:307
MonitorElement * mPhFrac_highPt_EndCap
Definition: JetAnalyzer.h:430
MonitorElement * mPhFracVSeta_mediumPt
Definition: JetAnalyzer.h:417
MonitorElement * mMPF_lowZPt_J_Barrel
Definition: JetAnalyzer.h:761
MonitorElement * meHFEMFracPlus_BXm1Empty
Definition: JetAnalyzer.h:604
Log< level::Info, false > LogInfo
MonitorElement * mnSubJetsSoftDrop_boosted
Definition: JetAnalyzer.h:716
MonitorElement * meCHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:590
MonitorElement * mePtBarrel_BXm1Empty
Definition: JetAnalyzer.h:591
MonitorElement * mNHFracVSpT_Barrel
Definition: JetAnalyzer.h:404
edm::EDGetTokenT< edm::ValueMap< float > > qgLikelihoodToken_
Definition: JetAnalyzer.h:124
MonitorElement * mHadEnergyInHF
Definition: JetAnalyzer.h:357
edm::EDGetTokenT< reco::MuonCollection > MuonsToken_
Definition: JetAnalyzer.h:116
MonitorElement * mSubJet1_SoftDrop_eta
Definition: JetAnalyzer.h:679
MonitorElement * mMPF_lowZPt_J_Forward
Definition: JetAnalyzer.h:767
virtual TObject const * getRootObject() const
MonitorElement * mfHPD
Definition: JetAnalyzer.h:363
MonitorElement * mDijetAsymmetry
Definition: JetAnalyzer.h:316
MonitorElement * mNeutMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:464
MonitorElement * mpTD_lowPt_Barrel
Definition: JetAnalyzer.h:494
MonitorElement * mHFHEn_mediumPt_Forward
Definition: JetAnalyzer.h:476
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:220
MonitorElement * mJetZBalance_highZPt_J_Forward
Definition: JetAnalyzer.h:745
MonitorElement * mAxis2_lowPt_EndCap
Definition: JetAnalyzer.h:506
MonitorElement * mElEn_mediumPt_Barrel
Definition: JetAnalyzer.h:386
MonitorElement * mMVAPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:296
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:488
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_EndCap
Definition: JetAnalyzer.h:757
MonitorElement * mNHEn_highPt_Barrel
Definition: JetAnalyzer.h:389
pat::strbitset getBitTemplate() const
Get an empty bitset with the proper names.
Definition: Selector.h:168
MonitorElement * mPt
Definition: JetAnalyzer.h:208
MonitorElement * mEFrac_Barrel
Definition: JetAnalyzer.h:233
double asymmetryThirdJetCut_
Definition: JetAnalyzer.h:196
MonitorElement * mCHFracVSeta_mediumPt
Definition: JetAnalyzer.h:415
MonitorElement * mePtBarrel_BXm1Filled
Definition: JetAnalyzer.h:631
MonitorElement * mCHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:425
MonitorElement * mNHFrac_highPt_Barrel
Definition: JetAnalyzer.h:376
MonitorElement * mqgLikelihood_highPt_Forward
Definition: JetAnalyzer.h:530
MonitorElement * mMediumCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:301
MonitorElement * mePhFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:592
double ptThresholdUnc_
Definition: JetAnalyzer.h:195
MonitorElement * mMuMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:398
MonitorElement * mHFrac_EndCap
Definition: JetAnalyzer.h:238
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:222
MonitorElement * mElEn_mediumPt_EndCap
Definition: JetAnalyzer.h:440
MonitorElement * mAxis2_lowPt_Barrel
Definition: JetAnalyzer.h:493
MonitorElement * mPhiVSEta
Definition: JetAnalyzer.h:227
MonitorElement * mMPF_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:765
MonitorElement * mqgLikelihood_mediumPt_EndCap
Definition: JetAnalyzer.h:513
MonitorElement * mePtEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:635
MonitorElement * mChargedMuEnergy_profile
Definition: JetAnalyzer.h:546
MonitorElement * mLooseJIDPassFractionVSptNoHF
Definition: JetAnalyzer.h:280
MonitorElement * mEta_uncor
Definition: JetAnalyzer.h:216
MonitorElement * mMediumMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:285
MonitorElement * mCHEn_highPt_EndCap
Definition: JetAnalyzer.h:442
MonitorElement * mMVAPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:295
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_EndCap
Definition: JetAnalyzer.h:755
MonitorElement * mMPF_J_Forward
Definition: JetAnalyzer.h:751
MonitorElement * mCHFracVSpT_EndCap
Definition: JetAnalyzer.h:406
MonitorElement * mHFHFracVSpT_Forward
Definition: JetAnalyzer.h:409
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:288
MonitorElement * mpTD_lowPt_EndCap
Definition: JetAnalyzer.h:507
bool isMiniAODJet_
Definition: JetAnalyzer.h:788
MonitorElement * mNHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:384
MonitorElement * mJetZBalance_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:741
MonitorElement * mSubJet2_SoftDrop_phi
Definition: JetAnalyzer.h:684
MonitorElement * mMuMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:395
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * mMuEn_highPt_EndCap
Definition: JetAnalyzer.h:446
MonitorElement * mLooseJIDPassFractionVSeta
Definition: JetAnalyzer.h:278
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:325
MonitorElement * mMPF_highZPt_J_EndCap
Definition: JetAnalyzer.h:766
MonitorElement * mPhEn_highPt_EndCap
Definition: JetAnalyzer.h:444
MonitorElement * mMultiplicityQG_lowPt_Barrel
Definition: JetAnalyzer.h:495
MonitorElement * mMVAPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:289
MonitorElement * mMuEn_mediumPt_EndCap
Definition: JetAnalyzer.h:441
MonitorElement * mqgLikelihood_lowPt_EndCap
Definition: JetAnalyzer.h:509
MonitorElement * mAxis2_mediumPt_Forward
Definition: JetAnalyzer.h:523
MonitorElement * mMuEn_lowPt_Barrel
Definition: JetAnalyzer.h:382
edm::EDGetTokenT< edm::ValueMap< float > > qgptDToken_
Definition: JetAnalyzer.h:125
MonitorElement * mTightMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:287
MonitorElement * mCHFrac_highPt_Barrel
Definition: JetAnalyzer.h:375
MonitorElement * mMuEn_highPt_Barrel
Definition: JetAnalyzer.h:392
MonitorElement * meCHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:598
static int position[264][3]
Definition: ReadPGInfo.cc:289
MonitorElement * mePhFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:632
MonitorElement * mHFHEn_highPt_Forward
Definition: JetAnalyzer.h:478
MonitorElement * mePtEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:639
MonitorElement * mNHEn_highPt_EndCap
Definition: JetAnalyzer.h:443
MonitorElement * mePtForwardPlus_BXm1Filled
Definition: JetAnalyzer.h:645
MonitorElement * mCHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:372
MonitorElement * mAxis2_lowPt_Forward
Definition: JetAnalyzer.h:519
MonitorElement * mPhi_Hi
Definition: JetAnalyzer.h:275
MonitorElement * mMultiplicityQG_mediumPt_Barrel
Definition: JetAnalyzer.h:499
edm::InputTag theTriggerResultsLabel_
Definition: JetAnalyzer.h:102
MonitorElement * mPtFirst
Definition: JetAnalyzer.h:268
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward
Definition: JetAnalyzer.h:780
MonitorElement * meNHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:593
MonitorElement * mPhFrac
Definition: JetAnalyzer.h:556
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:323
MonitorElement * mPt_Barrel
Definition: JetAnalyzer.h:229
MonitorElement * meCHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:630
MonitorElement * mElEn_lowPt_Barrel
Definition: JetAnalyzer.h:381
MonitorElement * mMass_highPt_Barrel
Definition: JetAnalyzer.h:453
MonitorElement * mHadEnergyInHE
Definition: JetAnalyzer.h:358
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:341
edm::EDGetTokenT< edm::ValueMap< int > > qgMultiplicityToken_
Definition: JetAnalyzer.h:123
MonitorElement * mMass_mediumPt_Barrel
Definition: JetAnalyzer.h:450
MonitorElement * meHFEMFracMinus_BXm1Empty
Definition: JetAnalyzer.h:601
MonitorElement * mChMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:463
MonitorElement * mConstituents
Definition: JetAnalyzer.h:224
MonitorElement * mNHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:370
MonitorElement * meEta_BXm1Filled
Definition: JetAnalyzer.h:646
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:221
MonitorElement * mPhFrac_highPt_Barrel
Definition: JetAnalyzer.h:377
MonitorElement * mCHFracVSpT_Barrel
Definition: JetAnalyzer.h:403
MonitorElement * mPhFracVSpT_EndCap
Definition: JetAnalyzer.h:408
MonitorElement * mChMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:396
MonitorElement * mMPF_J_Barrel
Definition: JetAnalyzer.h:749
MonitorElement * mJetZBalance_highZPt_J_EndCap
Definition: JetAnalyzer.h:742
MonitorElement * mMultiplicityQG_lowPt_Forward
Definition: JetAnalyzer.h:521
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:322
MonitorElement * mPt_EndCap
Definition: JetAnalyzer.h:235
MonitorElement * mCHFracVSeta_lowPt
Definition: JetAnalyzer.h:412
MonitorElement * mpTD_mediumPt_Forward
Definition: JetAnalyzer.h:524
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:292
MonitorElement * mCHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:437
MonitorElement * mTightCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:303
MonitorElement * mSubJet2_SoftDrop_mass
Definition: JetAnalyzer.h:685
edm::EDGetTokenT< edm::ValueMap< float > > qgaxis2Token_
Definition: JetAnalyzer.h:126
MonitorElement * mNeutMultiplicity_highPt_Forward
Definition: JetAnalyzer.h:481
MonitorElement * mDPhiZJet
Definition: JetAnalyzer.h:734
double phi() const final
momentum azimuthal angle
MonitorElement * mqgLikelihood_highPt_Barrel
Definition: JetAnalyzer.h:504
MonitorElement * mqgLikelihood_mediumPt_Forward
Definition: JetAnalyzer.h:526
MonitorElement * mePtForwardMinus_BXm1Filled
Definition: JetAnalyzer.h:642
MonitorElement * mLooseCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:299
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:490
MonitorElement * mPhFracVSpT_Barrel
Definition: JetAnalyzer.h:405
MonitorElement * mHFEMFrac_profile
Definition: JetAnalyzer.h:562
MonitorElement * mZMass
Definition: JetAnalyzer.h:735
MonitorElement * mMultiplicityQG_mediumPt_Forward
Definition: JetAnalyzer.h:525
MonitorElement * mqgLikelihood_lowPt_Forward
Definition: JetAnalyzer.h:522
MonitorElement * mDeltaPt_Z_j1_over_ZPt_100_J_Forward
Definition: JetAnalyzer.h:782
MonitorElement * mHFHFrac_lowPt_Forward
Definition: JetAnalyzer.h:468
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:293
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Forward
Definition: JetAnalyzer.h:758
MonitorElement * mMuMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:459
MonitorElement * mZJetAsymmetry
Definition: JetAnalyzer.h:736
MonitorElement * meHFHFracPlus_BXm1Empty
Definition: JetAnalyzer.h:603
MonitorElement * mConstituents_uncor
Definition: JetAnalyzer.h:218
MonitorElement * mNeutMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:397
MonitorElement * meCHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:634
MonitorElement * mPhi_Lo
Definition: JetAnalyzer.h:271
MonitorElement * mHFrac
Definition: JetAnalyzer.h:225
MonitorElement * mCutPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:312
short n90Hits
Definition: JetID.h:43
MonitorElement * mNeutMultiplicity_lowPt_Forward
Definition: JetAnalyzer.h:479
MonitorElement * mHFEEn_mediumPt_Forward
Definition: JetAnalyzer.h:475
MonitorElement * mSubJet1_SoftDrop_phi
Definition: JetAnalyzer.h:680
MonitorElement * mNeutMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:400
MonitorElement * verticesME
Definition: JetAnalyzer.h:336
MonitorElement * mPhFracVSeta_highPt
Definition: JetAnalyzer.h:420
MonitorElement * mAxis2_mediumPt_EndCap
Definition: JetAnalyzer.h:510
MonitorElement * mpTD_highPt_Forward
Definition: JetAnalyzer.h:528
#define LogDebug(id)
MonitorElement * mePtForwardMinus_BXm1Empty
Definition: JetAnalyzer.h:602
MonitorElement * mHFHFrac_profile
Definition: JetAnalyzer.h:563
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:753
MonitorElement * mSoftDropMass_boosted
Definition: JetAnalyzer.h:688
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel
Definition: JetAnalyzer.h:773
double eta() const final
momentum pseudorapidity
MonitorElement * mHadEnergyInHO
Definition: JetAnalyzer.h:355
edm::InputTag mInputCollection_
Definition: JetAnalyzer.h:101

◆ bookHistograms()

void JetAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &   
)
overridevirtual

Inizialize parameters for histo binning.

Implements DQMEDAnalyzer.

Definition at line 277 of file JetAnalyzer.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), fed_dqm_sourceclient-live_cfg::DirName, dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::NavigatorBase::setCurrentFolder(), and dqm::impl::MonitorElement::setOption().

277  {
278  if (jetCleaningFlag_) {
279  ibooker.setCurrentFolder("JetMET/Jet/Cleaned" + mInputCollection_.label());
280  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label();
281  } else {
282  ibooker.setCurrentFolder("JetMET/Jet/Uncleaned" + mInputCollection_.label());
283  DirName = "JetMET/Jet/Uncleaned" + mInputCollection_.label();
284  }
285 
286  jetME = ibooker.book1D("jetReco", "jetReco", 4, 1, 5);
287  jetME->setBinLabel(1, "CaloJets", 1);
288  jetME->setBinLabel(2, "PFJets", 1);
289  jetME->setBinLabel(3, "JPTJets", 1);
290  jetME->setBinLabel(4, "MiniAODJets", 1);
291 
292  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "jetReco", jetME));
293 
294  mPt = ibooker.book1D("Pt", "pt", ptBin_, ptMin_, ptMax_);
295  mEta = ibooker.book1D("Eta", "eta", etaBin_, etaMin_, etaMax_);
296  mPhi = ibooker.book1D("Phi", "phi", phiBin_, phiMin_, phiMax_);
297  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt", mPt));
298  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta", mEta));
299  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi", mPhi));
300 
301  //if(!isJPTJet_){
302  mConstituents = ibooker.book1D("Constituents", "# of constituents", 50, 0, 100);
303  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents", mConstituents));
304  //}
305  mJetEnergyCorr = ibooker.book1D("JetEnergyCorr", "jet energy correction factor", 50, 0.0, 3.0);
307  "JetEnergyCorrVSEta", "jet energy correction factor VS eta", etaBin_, etaMin_, etaMax_, 0.0, 3.0);
309  ibooker.bookProfile("JetEnergyCorrVSPt", "jet energy correction factor VS pt", ptBin_, ptMin_, ptMax_, 0.0, 3.0);
310  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorr", mJetEnergyCorr));
311  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorrVSEta", mJetEnergyCorrVSEta));
312  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorrVSPt", mJetEnergyCorrVSPt));
313 
314  mPt_uncor = ibooker.book1D("Pt_uncor", "pt for uncorrected jets", ptBin_, ptThresholdUnc_, ptMax_);
315  mEta_uncor = ibooker.book1D("Eta_uncor", "eta for uncorrected jets", etaBin_, etaMin_, etaMax_);
316  mPhi_uncor = ibooker.book1D("Phi_uncor", "phi for uncorrected jets", phiBin_, phiMin_, phiMax_);
317  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_uncor", mPt_uncor));
318  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_uncor", mEta_uncor));
319  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_uncor", mPhi_uncor));
320  //if(!isJPTJet_){
321  mConstituents_uncor = ibooker.book1D("Constituents_uncor", "# of constituents for uncorrected jets", 50, 0, 100);
322  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_uncor", mConstituents_uncor));
323  //}
324 
325  mDPhi = ibooker.book1D("DPhi", "dPhi btw the two leading jets", 100, 0., acos(-1.));
326  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DPhi", mDPhi));
327 
328  // Book NPV profiles
329  //----------------------------------------------------------------------------
330  mPt_profile = ibooker.bookProfile("Pt_profile", "pt", nbinsPV_, nPVlow_, nPVhigh_, ptBin_, ptMin_, ptMax_);
331  mEta_profile = ibooker.bookProfile("Eta_profile", "eta", nbinsPV_, nPVlow_, nPVhigh_, etaBin_, etaMin_, etaMax_);
332  mPhi_profile = ibooker.bookProfile("Phi_profile", "phi", nbinsPV_, nPVlow_, nPVhigh_, phiBin_, phiMin_, phiMax_);
333  //if(!isJPTJet_){
335  ibooker.bookProfile("Constituents_profile", "# of constituents", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
336  //}
337  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_profile", mPt_profile));
338  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_profile", mEta_profile));
339  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_profile", mPhi_profile));
340 
341  if (!runcosmics_) { //JIDPassFrac_ defines a collection of cleaned jets, for which we will want to fill the cleaning passing fraction
343  ibooker.bookProfile("JetIDPassFractionVSeta", "JetIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
345  ibooker.bookProfile("JetIDPassFractionVSpt", "JetIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
347  ibooker.bookProfile("JetIDPassFractionVSptNoHF", "JetIDPassFractionVSptNoHF", ptBin_, ptMin_, ptMax_, 0., 1.2);
348  map_of_MEs.insert(
349  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetIDPassFractionVSeta", mLooseJIDPassFractionVSeta));
350  map_of_MEs.insert(
351  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetIDPassFractionVSpt", mLooseJIDPassFractionVSpt));
352  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetIDPassFractionVSptNoHF",
354  }
355 
356  mNJets_profile = ibooker.bookProfile("NJets_profile", "number of jets", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
357 
358  // Set NPV profiles x-axis title
359  //----------------------------------------------------------------------------
360  mPt_profile->setAxisTitle("nvtx", 1);
361  mEta_profile->setAxisTitle("nvtx", 1);
362  mPhi_profile->setAxisTitle("nvtx", 1);
363  //if(!isJPTJet_){
365  map_of_MEs.insert(
366  std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_profile", mConstituents_profile));
367  //}
368  mNJets_profile->setAxisTitle("nvtx", 1);
369 
370  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_profile", mPt_profile));
371  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_profile", mEta_profile));
372  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_profile", mPhi_profile));
373  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NJets_profile", mNJets_profile));
374 
375  mPhiVSEta = ibooker.book2D("PhiVSEta", "PhiVSEta", 50, etaMin_, etaMax_, 24, phiMin_, phiMax_);
376  mPhiVSEta->setOption("colz");
377  mPhiVSEta->setAxisTitle("#eta", 1);
378  mPhiVSEta->setAxisTitle("#phi", 2);
379  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhiVSEta", mPhiVSEta));
380 
381  mPt_1 = ibooker.book1D("Pt_1", "Pt spectrum of jets - range 1", 20, 0, 100);
382  mPt_2 = ibooker.book1D("Pt_2", "Pt spectrum of jets - range 2", 60, 0, 300);
383  mPt_3 = ibooker.book1D("Pt_3", "Pt spectrum of jets - range 3", 100, 0, 5000);
384  mPt_log = ibooker.book1D("Pt_log", "Pt spectrum of jets - log", 100, 0, 50);
385  // Low and high pt trigger paths
386  mPt_Lo = ibooker.book1D("Pt_Lo", "Pt (Pass Low Pt Jet Trigger)", 20, 0, 100);
387  //mEta_Lo = ibooker.book1D("Eta_Lo", "Eta (Pass Low Pt Jet Trigger)", etaBin_, etaMin_, etaMax_);
388  mPhi_Lo = ibooker.book1D("Phi_Lo", "Phi (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
389 
390  mPt_Hi = ibooker.book1D("Pt_Hi", "Pt (Pass Hi Pt Jet Trigger)", 60, 0, 300);
391  mEta_Hi = ibooker.book1D("Eta_Hi", "Eta (Pass Hi Pt Jet Trigger)", etaBin_, etaMin_, etaMax_);
392  mPhi_Hi = ibooker.book1D("Phi_Hi", "Phi (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
393  mNJets = ibooker.book1D("NJets", "number of jets", 100, 0, 100);
394 
395  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_1", mPt_1));
396  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_2", mPt_2));
397  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_3", mPt_3));
398  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_log", mPt_log));
399  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Lo", mPt_Lo));
400  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Lo", mPhi_Lo));
401  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Hi", mPt_Hi));
402  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_Hi", mEta_Hi));
403  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Hi", mPhi_Hi));
404  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NJets", mNJets));
405 
406  //mPt_Barrel_Lo = ibooker.book1D("Pt_Barrel_Lo", "Pt Barrel (Pass Low Pt Jet Trigger)", 20, 0, 100);
407  //mPhi_Barrel_Lo = ibooker.book1D("Phi_Barrel_Lo", "Phi Barrel (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
408  //if(!isJPTJet_){
409  mConstituents_Barrel = ibooker.book1D("Constituents_Barrel", "Constituents Barrel", 50, 0, 100);
410  map_of_MEs.insert(
411  std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_Barrel", mConstituents_Barrel));
412  //}
413 
414  //mPt_EndCap_Lo = ibooker.book1D("Pt_EndCap_Lo", "Pt EndCap (Pass Low Pt Jet Trigger)", 20, 0, 100);
415  //mPhi_EndCap_Lo = ibooker.book1D("Phi_EndCap_Lo", "Phi EndCap (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
416  //if(!isJPTJet_){
417  mConstituents_EndCap = ibooker.book1D("Constituents_EndCap", "Constituents EndCap", 50, 0, 100);
418  map_of_MEs.insert(
419  std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_EndCap", mConstituents_EndCap));
420  //}
421 
422  //mPt_Forward_Lo = ibooker.book1D("Pt_Forward_Lo", "Pt Forward (Pass Low Pt Jet Trigger)", 20, 0, 100);
423  //mPhi_Forward_Lo = ibooker.book1D("Phi_Forward_Lo", "Phi Forward (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
424  //if(!isJPTJet_){
425  mConstituents_Forward = ibooker.book1D("Constituents_Forward", "Constituents Forward", 50, 0, 100);
426  map_of_MEs.insert(
427  std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_Forward", mConstituents_Forward));
428  //}
429 
430  mPt_Barrel_Hi = ibooker.book1D("Pt_Barrel_Hi", "Pt Barrel (Pass Hi Pt Jet Trigger)", 60, 0, 300);
431  mPhi_Barrel_Hi = ibooker.book1D("Phi_Barrel_Hi", "Phi Barrel (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
432 
433  mPt_EndCap_Hi = ibooker.book1D("Pt_EndCap_Hi", "Pt EndCap (Pass Hi Pt Jet Trigger)", 60, 0, 300);
434  mPhi_EndCap_Hi = ibooker.book1D("Phi_EndCap_Hi", "Phi EndCap (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
435 
436  mPt_Forward_Hi = ibooker.book1D("Pt_Forward_Hi", "Pt Forward (Pass Hi Pt Jet Trigger)", 60, 0, 300);
437  mPhi_Forward_Hi = ibooker.book1D("Phi_Forward_Hi", "Phi Forward (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
438 
439  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Barrel_Hi", mPt_Barrel_Hi));
440  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Barrel_Hi", mPhi_Barrel_Hi));
441  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_EndCap_Hi", mPt_EndCap_Hi));
442  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_EndCap_Hi", mPhi_EndCap_Hi));
443  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Forward_Hi", mPt_Forward_Hi));
444  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Forward_Hi", mPhi_Forward_Hi));
445 
446  mPhi_Barrel = ibooker.book1D("Phi_Barrel", "Phi_Barrel", phiBin_, phiMin_, phiMax_);
447  mPt_Barrel = ibooker.book1D("Pt_Barrel", "Pt_Barrel", ptBin_, ptMin_, ptMax_);
448 
449  mPhi_EndCap = ibooker.book1D("Phi_EndCap", "Phi_EndCap", phiBin_, phiMin_, phiMax_);
450  mPt_EndCap = ibooker.book1D("Pt_EndCap", "Pt_EndCap", ptBin_, ptMin_, ptMax_);
451 
452  mPhi_Forward = ibooker.book1D("Phi_Forward", "Phi_Forward", phiBin_, phiMin_, phiMax_);
453  mPt_Forward = ibooker.book1D("Pt_Forward", "Pt_Forward", ptBin_, ptMin_, ptMax_);
454 
455  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Barrel", mPt_Barrel));
456  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Barrel", mPhi_Barrel));
457  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_EndCap", mPt_EndCap));
458  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_EndCap", mPhi_EndCap));
459  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_Forward", mPt_Forward));
460  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_Forward", mPhi_Forward));
461 
462  // Leading Jet Parameters
463  mEtaFirst = ibooker.book1D("EtaFirst", "EtaFirst", 50, -5, 5);
464  mPhiFirst = ibooker.book1D("PhiFirst", "PhiFirst", 70, phiMin_, phiMax_);
465  mPtFirst = ibooker.book1D("PtFirst", "PtFirst", ptBin_, ptMin_, ptMax_);
466 
467  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EtaFirst", mEtaFirst));
468  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PtFirst", mPtFirst));
469  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhiFirst", mPhiFirst));
470 
471  //--- Calo jet selection only
472  if (isCaloJet_) {
473  // CaloJet specific
474  mHadEnergyInHO = ibooker.book1D("HadEnergyInHO", "HadEnergyInHO", 50, 0, 20);
475  mHadEnergyInHB = ibooker.book1D("HadEnergyInHB", "HadEnergyInHB", 50, 0, 100);
476  mHadEnergyInHF = ibooker.book1D("HadEnergyInHF", "HadEnergyInHF", 50, 0, 100);
477  mHadEnergyInHE = ibooker.book1D("HadEnergyInHE", "HadEnergyInHE", 50, 0, 200);
478  mEmEnergyInEB = ibooker.book1D("EmEnergyInEB", "EmEnergyInEB", 50, 0, 100);
479  mEmEnergyInEE = ibooker.book1D("EmEnergyInEE", "EmEnergyInEE", 50, 0, 100);
480  mEmEnergyInHF = ibooker.book1D("EmEnergyInHF", "EmEnergyInHF", 60, -20, 200);
481  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HadEnergyInHO", mHadEnergyInHO));
482  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HadEnergyInHB", mHadEnergyInHB));
483  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HadEnergyInHF", mHadEnergyInHF));
484  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HadEnergyInHE", mHadEnergyInHE));
485  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EmEnergyInEB", mEmEnergyInEB));
486  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EmEnergyInEE", mEmEnergyInEE));
487  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EmEnergyInHF", mEmEnergyInHF));
488 
489  //JetID variables
490  mresEMF = ibooker.book1D("resEMF", "resEMF", 50, 0., 1.);
491  mN90Hits = ibooker.book1D("N90Hits", "N90Hits", 50, 0., 50);
492  mfHPD = ibooker.book1D("fHPD", "fHPD", 50, 0., 1.);
493  mfRBX = ibooker.book1D("fRBX", "fRBX", 50, 0., 1.);
494  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "resEMF", mresEMF));
495  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "N90Hits", mN90Hits));
496  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "fHPD", mfHPD));
497  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "fRBX", mfRBX));
498 
499  mHFrac = ibooker.book1D("HFrac", "HFrac", 70, -0.2, 1.2);
500  mEFrac = ibooker.book1D("EFrac", "EFrac", 52, -0.02, 1.02);
501  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac", mHFrac));
502  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac", mEFrac));
503  mHFrac_profile = ibooker.bookProfile("HFrac_profile", "HFrac", nbinsPV_, nPVlow_, nPVhigh_, 70, -0.2, 1.2);
504  mEFrac_profile = ibooker.bookProfile("EFrac_profile", "EFrac", nbinsPV_, nPVlow_, nPVhigh_, 52, -0.02, 1.02);
505  mHFrac_profile->setAxisTitle("nvtx", 1);
506  mEFrac_profile->setAxisTitle("nvtx", 1);
507  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac_profile", mHFrac_profile));
508  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac_profile", mEFrac_profile));
509  mHFrac_Barrel = ibooker.book1D("HFrac_Barrel", "HFrac Barrel", 50, 0, 1);
510  mEFrac_Barrel = ibooker.book1D("EFrac_Barrel", "EFrac Barrel", 52, -0.02, 1.02);
511  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac_Barrel", mHFrac_Barrel));
512  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac_Barrel", mEFrac_Barrel));
513  mHFrac_EndCap = ibooker.book1D("HFrac_EndCap", "HFrac EndCap", 50, 0, 1);
514  mEFrac_EndCap = ibooker.book1D("EFrac_EndCap", "EFrac EndCap", 52, -0.02, 1.02);
515  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac_EndCap", mHFrac_EndCap));
516  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac_EndCap", mEFrac_EndCap));
517  mHFrac_Forward = ibooker.book1D("HFrac_Forward", "HFrac Forward", 70, -0.2, 1.2);
518  mEFrac_Forward = ibooker.book1D("EFrac_Forward", "EFrac Forward", 52, -0.02, 1.02);
519  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac_Forward", mHFrac_Forward));
520  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac_Forward", mEFrac_Forward));
521  }
522 
523  if (isPFJet_) {
524  /* remove quark gluon plots for default jet selection, but select physics signatures which monitor gluon and quark
525  if(jetCleaningFlag_){
526  //gluon quark separation axis
527  if(fill_CHS_histos){
528  mAxis2_lowPt_Barrel = ibooker.book1D("qg_Axis2_lowPt_Barrel","qg Axis2 #sigma_{2} lowPt Barrel",50,0.,0.20);
529  mpTD_lowPt_Barrel= ibooker.book1D("qg_pTD_lowPt_Barrel","qg fragmentation function p_{T}^{D} lowPt Barrel",50,0.15,1.05);
530  mMultiplicityQG_lowPt_Barrel= ibooker.book1D("qg_multiplicity_lowPt_Barrel","qg multiplicity lowPt Barrel",50,0,50);
531  mqgLikelihood_lowPt_Barrel= ibooker.book1D("qg_Likelihood_lowPt_Barrel","qg likelihood lowPt Barrel",50,-1.1,1.1);
532  mAxis2_lowPt_EndCap = ibooker.book1D("qg_Axis2_lowPt_EndCap","qg Axis2 #sigma_{2} lowPt EndCap",50,0.,0.20);
533  mpTD_lowPt_EndCap= ibooker.book1D("qg_pTD_lowPt_EndCap","qg fragmentation function p_{T}^{D} lowPt EndCap",50,0.15,1.05);
534  mMultiplicityQG_lowPt_EndCap= ibooker.book1D("qg_multiplicity_lowPt_EndCap","qg multiplicity lowPt EndCap",50,0,100);
535  mqgLikelihood_lowPt_EndCap= ibooker.book1D("qg_Likelihood_lowPt_EndCap","qg likelihood lowPt EndCap",50,-1.1,1.1);
536  mAxis2_lowPt_Forward = ibooker.book1D("qg_Axis2_lowPt_Forward","qg Axis2 #sigma_{2} lowPt Forward",50,0.,0.20);
537  mpTD_lowPt_Forward= ibooker.book1D("qg_pTD_lowPt_Forward","qg fragmentation function p_{T}^{D} lowPt Forward",50,0.15,1.05);
538  mMultiplicityQG_lowPt_Forward= ibooker.book1D("qg_multiplicity_lowPt_Forward","qg multiplicity lowPt Forward",50,0,100);
539  mqgLikelihood_lowPt_Forward= ibooker.book1D("qg_Likelihood_lowPt_Forward","qg likelihood lowPt Forward",50,-1.1,1.1);
540 
541  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_lowPt_Barrel" ,mAxis2_lowPt_Barrel));
542  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_lowPt_Barrel" ,mpTD_lowPt_Barrel));
543  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_lowPt_Barrel" ,mMultiplicityQG_lowPt_Barrel));
544  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_lowPt_Barrel" ,mqgLikelihood_lowPt_Barrel));
545  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_lowPt_EndCap" ,mAxis2_lowPt_EndCap));
546  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_lowPt_EndCap" ,mpTD_lowPt_EndCap));
547  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_lowPt_EndCap" ,mMultiplicityQG_lowPt_EndCap));
548  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_lowPt_EndCap" ,mqgLikelihood_lowPt_EndCap));
549  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_lowPt_Forward" ,mAxis2_lowPt_Forward));
550  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_lowPt_Forward" ,mpTD_lowPt_Forward));
551  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_lowPt_Forward" ,mMultiplicityQG_lowPt_Forward));
552  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_lowPt_Forward" ,mqgLikelihood_lowPt_Forward));
553 
554  mAxis2_mediumPt_Barrel = ibooker.book1D("qg_Axis2_mediumPt_Barrel","qg Axis2 #sigma_{2} mediumPt Barrel",50,0.,0.20);
555  mpTD_mediumPt_Barrel= ibooker.book1D("qg_pTD_mediumPt_Barrel","qg fragmentation function p_{T}^{D} mediumPt Barrel",50,0.15,1.05);
556  mMultiplicityQG_mediumPt_Barrel= ibooker.book1D("qg_multiplicity_mediumPt_Barrel","qg multiplicity mediumPt Barrel",50,0,100);
557  mqgLikelihood_mediumPt_Barrel= ibooker.book1D("qg_Likelihood_mediumPt_Barrel","qg likelihood mediumPt Barrel",50,-1.1,1.1);
558  mAxis2_mediumPt_EndCap = ibooker.book1D("qg_Axis2_mediumPt_EndCap","qg Axis2 #sigma_{2} mediumPt EndCap",50,0.,0.20);
559  mpTD_mediumPt_EndCap= ibooker.book1D("qg_pTD_mediumPt_EndCap","qg fragmentation function p_{T}^{D} mediumPt EndCap",50,0.15,1.05);
560  mMultiplicityQG_mediumPt_EndCap= ibooker.book1D("qg_multiplicity_mediumPt_EndCap","qg multiplicity mediumPt EndCap",50,0,100);
561  mqgLikelihood_mediumPt_EndCap= ibooker.book1D("qg_Likelihood_mediumPt_EndCap","qg likelihood mediumPt EndCap",50,-1.1,1.1);
562  mAxis2_mediumPt_Forward = ibooker.book1D("qg_Axis2_mediumPt_Forward","qg Axis2 #sigma_{2} mediumPt Forward",50,0.,0.20);
563  mpTD_mediumPt_Forward= ibooker.book1D("qg_pTD_mediumPt_Forward","qg fragmentation function p_{T}^{D} mediumPt Forward",50,0.15,1.05);
564  mMultiplicityQG_mediumPt_Forward= ibooker.book1D("qg_multiplicity_mediumPt_Forward","qg multiplicity mediumPt Forward",50,0,100);
565  mqgLikelihood_mediumPt_Forward= ibooker.book1D("qg_Likelihood_mediumPt_Forward","qg likelihood mediumPt Forward",50,-1.1,1.1);
566 
567  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_mediumPt_Barrel" ,mAxis2_mediumPt_Barrel));
568  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_mediumPt_Barrel" ,mpTD_mediumPt_Barrel));
569  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_mediumPt_Barrel" ,mMultiplicityQG_mediumPt_Barrel));
570  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_mediumPt_Barrel" ,mqgLikelihood_mediumPt_Barrel));
571  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_mediumPt_EndCap" ,mAxis2_mediumPt_EndCap));
572  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_mediumPt_EndCap" ,mpTD_mediumPt_EndCap));
573  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_mediumPt_EndCap" ,mMultiplicityQG_mediumPt_EndCap));
574  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_mediumPt_EndCap" ,mqgLikelihood_mediumPt_EndCap));
575  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_mediumPt_Forward" ,mAxis2_mediumPt_Forward));
576  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_mediumPt_Forward" ,mpTD_mediumPt_Forward));
577  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_mediumPt_Forward" ,mMultiplicityQG_mediumPt_Forward));
578  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_mediumPt_Forward" ,mqgLikelihood_mediumPt_Forward));
579 
580  mAxis2_highPt_Barrel = ibooker.book1D("qg_Axis2_highPt_Barrel","qg Axis2 #sigma_{2} highPt Barrel",50,0.,0.20);
581  mpTD_highPt_Barrel= ibooker.book1D("qg_pTD_highPt_Barrel","qg fragmentation function p_{T}^{D} highPt Barrel",50,0.15,1.05);
582  mMultiplicityQG_highPt_Barrel= ibooker.book1D("qg_multiplicity_highPt_Barrel","qg multiplicity highPt Barrel",50,0,100);
583  mqgLikelihood_highPt_Barrel= ibooker.book1D("qg_Likelihood_highPt_Barrel","qg likelihood highPt Barrel",50,-1.1,1.1);
584  mAxis2_highPt_EndCap = ibooker.book1D("qg_Axis2_highPt_EndCap","qg Axis2 #sigma_{2} highPt EndCap",50,0.,0.20);
585  mpTD_highPt_EndCap= ibooker.book1D("qg_pTD_highPt_EndCap","qg fragmentation function p_{T}^{D} highPt EndCap",50,0.15,1.05);
586  mMultiplicityQG_highPt_EndCap= ibooker.book1D("qg_multiplicity_highPt_EndCap","qg multiplicity highPt EndCap",50,0,100);
587  mqgLikelihood_highPt_EndCap= ibooker.book1D("qg_Likelihood_highPt_EndCap","qg likelihood highPt EndCap",50,-1.1,1.1);
588  mAxis2_highPt_Forward = ibooker.book1D("qg_Axis2_highPt_Forward","qg Axis2 #sigma_{2} highPt Forward",50,0.,0.20);
589  mpTD_highPt_Forward= ibooker.book1D("qg_pTD_highPt_Forward","qg fragmentation function p_{T}^{D} highPt Forward",50,0.15,1.05);
590  mMultiplicityQG_highPt_Forward= ibooker.book1D("qg_multiplicity_highPt_Forward","qg multiplicity highPt Forward",50,0,100);
591  mqgLikelihood_highPt_Forward= ibooker.book1D("qg_Likelihood_highPt_Forward","qg likelihood highPt Forward",50,-1.1,1.1);
592 
593  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_highPt_Barrel" ,mAxis2_highPt_Barrel));
594  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_highPt_Barrel" ,mpTD_highPt_Barrel));
595  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_highPt_Barrel" ,mMultiplicityQG_highPt_Barrel));
596  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_highPt_Barrel" ,mqgLikelihood_highPt_Barrel));
597  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_highPt_EndCap" ,mAxis2_highPt_EndCap));
598  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_highPt_EndCap" ,mpTD_highPt_EndCap));
599  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_highPt_EndCap" ,mMultiplicityQG_highPt_EndCap));
600  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_highPt_EndCap" ,mqgLikelihood_highPt_EndCap));
601  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_highPt_Forward" ,mAxis2_highPt_Forward));
602  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_highPt_Forward" ,mpTD_highPt_Forward));
603  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_highPt_Forward" ,mMultiplicityQG_highPt_Forward));
604  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_highPt_Forward" ,mqgLikelihood_highPt_Forward));
605  }
606  }*/
607  //PFJet specific histograms
609  ibooker.bookProfile("CHFracVSeta_lowPt", "CHFracVSeta_lowPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
611  ibooker.bookProfile("NHFacVSeta_lowPt", "NHFracVSeta_lowPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
613  ibooker.bookProfile("PhFracVSeta_lowPt", "PhFracVSeta_lowPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
615  ibooker.bookProfile("CHFracVSeta_mediumPt", "CHFracVSeta_mediumPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
617  ibooker.bookProfile("NHFracVSeta_mediumPt", "NHFracVSeta_mediumPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
619  ibooker.bookProfile("PhFracVSeta_mediumPt", "PhFracVSeta_mediumPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
621  ibooker.bookProfile("CHFracVSeta_highPt", "CHFracVSeta_highPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
623  ibooker.bookProfile("NHFracVSeta_highPt", "NHFracVSeta_highPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
625  ibooker.bookProfile("PhFracVSeta_highPt", "PhFracVSeta_highPt", etaBin_, etaMin_, etaMax_, 0., 1.2);
626 
627  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracVSeta_lowPt", mCHFracVSeta_lowPt));
628  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracVSeta_lowPt", mNHFracVSeta_lowPt));
629  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracVSeta_lowPt", mPhFracVSeta_lowPt));
630  map_of_MEs.insert(
631  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracVSeta_mediumPt", mCHFracVSeta_mediumPt));
632  map_of_MEs.insert(
633  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracVSeta_mediumPt", mNHFracVSeta_mediumPt));
634  map_of_MEs.insert(
635  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracVSeta_mediumPt", mPhFracVSeta_mediumPt));
636  map_of_MEs.insert(
637  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracVSeta_highPt", mCHFracVSeta_highPt));
638  map_of_MEs.insert(
639  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracVSeta_highPt", mNHFracVSeta_highPt));
640  map_of_MEs.insert(
641  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracVSeta_highPt", mPhFracVSeta_highPt));
642 
644  "LooseMVAPUIDPassFractionVSeta", "LooseMVAPUIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
646  "LooseMVAPUIDPassFractionVSpt", "LooseMVAPUIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
648  "MediumMVAPUIDPassFractionVSeta", "MediumMVAPUIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
650  "MediumMVAPUIDPassFractionVSpt", "MediumMVAPUIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
652  "TightMVAPUIDPassFractionVSeta", "TightMVAPUIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
654  "TightMVAPUIDPassFractionVSpt", "TightMVAPUIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
655 
656  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "LooseMVAPUIDPassFractionVSeta",
658  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "LooseMVAPUIDPassFractionVSpt",
660  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MediumMVAPUIDPassFractionVSeta",
662  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MediumMVAPUIDPassFractionVSpt",
664  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "TightMVAPUIDPassFractionVSeta",
666  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "TightMVAPUIDPassFractionVSpt",
668 
670  "LooseCutPUIDPassFractionVSeta", "LooseCutPUIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
672  "LooseCutPUIDPassFractionVSpt", "LooseCutPUIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
674  "MediumCutPUIDPassFractionVSeta", "MediumCutPUIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
676  "MediumCutPUIDPassFractionVSpt", "MediumCutPUIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
678  "TightCutPUIDPassFractionVSeta", "TightCutPUIDPassFractionVSeta", etaBin_, etaMin_, etaMax_, 0., 1.2);
680  "TightCutPUIDPassFractionVSpt", "TightCutPUIDPassFractionVSpt", ptBin_, ptMin_, ptMax_, 0., 1.2);
682  ibooker.book1D("CutPUJIDDiscriminant_lowPt_Barrel", "CutPUJIDDiscriminant_lowPt_Barrel", 50, -1.00, 1.00);
684  ibooker.book1D("CutPUJIDDiscriminant_lowPt_EndCap", "CutPUJIDDiscriminant_lowPt_EndCap", 50, -1.00, 1.00);
686  ibooker.book1D("CutPUJIDDiscriminant_lowPt_Forward", "CutPUJIDDiscriminant_lowPt_Forward", 50, -1.00, 1.00);
688  ibooker.book1D("CutPUJIDDiscriminant_mediumPt_Barrel", "CutPUJIDDiscriminant_mediumPt_Barrel", 50, -1.00, 1.00);
690  ibooker.book1D("CutPUJIDDiscriminant_mediumPt_EndCap", "CutPUJIDDiscriminant_mediumPt_EndCap", 50, -1.00, 1.00);
692  "CutPUJIDDiscriminant_mediumPt_Forward", "CutPUJIDDiscriminant_mediumPt_Forward", 50, -1.00, 1.00);
694  ibooker.book1D("CutPUJIDDiscriminant_highPt_Barrel", "CutPUJIDDiscriminant_highPt_Barrel", 50, -1.00, 1.00);
696  ibooker.book1D("CutPUJIDDiscriminant_highPt_EndCap", "CutPUJIDDiscriminant_highPt_EndCap", 50, -1.00, 1.00);
698  ibooker.book1D("CutPUJIDDiscriminant_highPt_Forward", "CutPUJIDDiscriminant_highPt_Forward", 50, -1.00, 1.00);
699 
700  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "LooseCutPUIDPassFractionVSeta",
702  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "LooseCutPUIDPassFractionVSpt",
704  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MediumCutPUIDPassFractionVSeta",
706  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MediumCutPUIDPassFractionVSpt",
708  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "TightCutPUIDPassFractionVSeta",
710  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "TightCutPUIDPassFractionVSpt",
712  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_lowPt_Barrel",
714  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_lowPt_EndCap",
716  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_lowPt_Forward",
718  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_mediumPt_Barrel",
720  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_mediumPt_EndCap",
722  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_mediumPt_Forward",
724  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_highPt_Barrel",
726  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_highPt_EndCap",
728  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CutPUJIDDiscriminant_highPt_Forward",
730  //barrel histograms for PFJets
731  // energy fractions
732  mCHFrac_lowPt_Barrel = ibooker.book1D("CHFrac_lowPt_Barrel", "CHFrac_lowPt_Barrel", 120, -0.1, 1.1);
733  mNHFrac_lowPt_Barrel = ibooker.book1D("NHFrac_lowPt_Barrel", "NHFrac_lowPt_Barrel", 120, -0.1, 1.1);
734  mPhFrac_lowPt_Barrel = ibooker.book1D("PhFrac_lowPt_Barrel", "PhFrac_lowPt_Barrel", 120, -0.1, 1.1);
735  mCHFrac_mediumPt_Barrel = ibooker.book1D("CHFrac_mediumPt_Barrel", "CHFrac_mediumPt_Barrel", 120, -0.1, 1.1);
736  mNHFrac_mediumPt_Barrel = ibooker.book1D("NHFrac_mediumPt_Barrel", "NHFrac_mediumPt_Barrel", 120, -0.1, 1.1);
737  mPhFrac_mediumPt_Barrel = ibooker.book1D("PhFrac_mediumPt_Barrel", "PhFrac_mediumPt_Barrel", 120, -0.1, 1.1);
738  mCHFrac_highPt_Barrel = ibooker.book1D("CHFrac_highPt_Barrel", "CHFrac_highPt_Barrel", 120, -0.1, 1.1);
739  mNHFrac_highPt_Barrel = ibooker.book1D("NHFrac_highPt_Barrel", "NHFrac_highPt_Barrel", 120, -0.1, 1.1);
740  mPhFrac_highPt_Barrel = ibooker.book1D("PhFrac_highPt_Barrel", "PhFrac_highPt_Barrel", 120, -0.1, 1.1);
741 
742  map_of_MEs.insert(
743  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_lowPt_Barrel", mCHFrac_lowPt_Barrel));
744  map_of_MEs.insert(
745  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_lowPt_Barrel", mNHFrac_lowPt_Barrel));
746  map_of_MEs.insert(
747  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_lowPt_Barrel", mPhFrac_lowPt_Barrel));
748  map_of_MEs.insert(
749  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_mediumPt_Barrel", mCHFrac_mediumPt_Barrel));
750  map_of_MEs.insert(
751  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_mediumPt_Barrel", mNHFrac_mediumPt_Barrel));
752  map_of_MEs.insert(
753  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_mediumPt_Barrel", mPhFrac_mediumPt_Barrel));
754  map_of_MEs.insert(
755  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_highPt_Barrel", mCHFrac_highPt_Barrel));
756  map_of_MEs.insert(
757  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_highPt_Barrel", mNHFrac_highPt_Barrel));
758  map_of_MEs.insert(
759  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_highPt_Barrel", mPhFrac_highPt_Barrel));
760 
761  mMass_lowPt_Barrel = ibooker.book1D("JetMass_lowPt_Barrel", "JetMass_lowPt_Barrel", 50, 0, 150);
762  mMass_lowPt_EndCap = ibooker.book1D("JetMass_lowPt_EndCap", "JetMass_lowPt_EndCap", 50, 0, 150);
763  mMass_lowPt_Forward = ibooker.book1D("JetMass_lowPt_Forward", "JetMass_lowPt_Forward", 50, 0, 150);
764  mMass_mediumPt_Barrel = ibooker.book1D("JetMass_mediumPt_Barrel", "JetMass_mediumPt_Barrel", 50, 0, 150);
765  mMass_mediumPt_EndCap = ibooker.book1D("JetMass_mediumPt_EndCap", "JetMass_mediumPt_EndCap", 50, 0, 150);
766  mMass_mediumPt_Forward = ibooker.book1D("JetMass_mediumPt_Forward", "JetMass_mediumPt_Forward", 75, 0, 150);
767  mMass_highPt_Barrel = ibooker.book1D("JetMass_highPt_Barrel", "JetMass_highPt_Barrel", 50, 0, 150);
768  mMass_highPt_EndCap = ibooker.book1D("JetMass_highPt_EndCap", "JetMass_highPt_EndCap", 50, 0, 150);
769  mMass_highPt_Forward = ibooker.book1D("JetMass_highPt_Forward", "JetMass_highPt_Forward", 50, 0, 150);
770 
771  map_of_MEs.insert(
772  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_lowPt_Barrel", mMass_lowPt_Barrel));
773  map_of_MEs.insert(
774  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_lowPt_EndCap", mMass_lowPt_EndCap));
775  map_of_MEs.insert(
776  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_lowPt_Forward", mMass_lowPt_Forward));
777  map_of_MEs.insert(
778  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_mediumPt_Barrel", mMass_mediumPt_Barrel));
779  map_of_MEs.insert(
780  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_mediumPt_EndCap", mMass_mediumPt_EndCap));
781  map_of_MEs.insert(
782  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_mediumPt_Forward", mMass_mediumPt_Forward));
783  map_of_MEs.insert(
784  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_highPt_Barrel", mMass_highPt_Barrel));
785  map_of_MEs.insert(
786  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_highPt_EndCap", mMass_highPt_EndCap));
787  map_of_MEs.insert(
788  std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_highPt_Forward", mMass_highPt_Forward));
789 
790  //energies
791  mCHEn_lowPt_Barrel = ibooker.book1D("CHEn_lowPt_Barrel", "CHEn_lowPt_Barrel", ptBin_, 0., ptMax_);
792  mNHEn_lowPt_Barrel = ibooker.book1D("NHEn_lowPt_Barrel", "NHEn_lowPt_Barrel", ptBin_, 0., ptMax_);
793  mPhEn_lowPt_Barrel = ibooker.book1D("PhEn_lowPt_Barrel", "PhEn_lowPt_Barrel", ptBin_, 0., ptMax_);
794  mElEn_lowPt_Barrel = ibooker.book1D("ElEn_lowPt_Barrel", "ElEn_lowPt_Barrel", ptBin_, 0., 100);
795  mMuEn_lowPt_Barrel = ibooker.book1D("MuEn_lowPt_Barrel", "MuEn_lowPt_Barrel", ptBin_, 0., 100);
796  mCHEn_mediumPt_Barrel = ibooker.book1D("CHEn_mediumPt_Barrel", "CHEn_mediumPt_Barrel", ptBin_, 0., ptMax_);
797  mNHEn_mediumPt_Barrel = ibooker.book1D("NHEn_mediumPt_Barrel", "NHEn_mediumPt_Barrel", ptBin_, 0., ptMax_);
798  mPhEn_mediumPt_Barrel = ibooker.book1D("PhEn_mediumPt_Barrel", "PhEn_mediumPt_Barrel", ptBin_, 0., ptMax_);
799  mElEn_mediumPt_Barrel = ibooker.book1D("ElEn_mediumPt_Barrel", "ElEn_mediumPt_Barrel", ptBin_, 0., 100);
800  mMuEn_mediumPt_Barrel = ibooker.book1D("MuEn_mediumPt_Barrel", "MuEn_mediumPt_Barrel", ptBin_, 0., 100);
801  mCHEn_highPt_Barrel = ibooker.book1D("CHEn_highPt_Barrel", "CHEn_highPt_Barrel", ptBin_, 0., 1.1 * ptMax_);
802  mNHEn_highPt_Barrel = ibooker.book1D("NHEn_highPt_Barrel", "NHEn_highPt_Barrel", ptBin_, 0., ptMax_);
803  mPhEn_highPt_Barrel = ibooker.book1D("PhEn_highPt_Barrel", "PhEn_highPt_Barrel", ptBin_, 0., ptMax_);
804  mElEn_highPt_Barrel = ibooker.book1D("ElEn_highPt_Barrel", "ElEn_highPt_Barrel", ptBin_, 0., 100);
805  mMuEn_highPt_Barrel = ibooker.book1D("MuEn_highPt_Barrel", "MuEn_highPt_Barrel", ptBin_, 0., 100);
806 
807  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHEn_lowPt_Barrel", mCHEn_lowPt_Barrel));
808  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHEn_lowPt_Barrel", mNHEn_lowPt_Barrel));
809  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhEn_lowPt_Barrel", mPhEn_lowPt_Barrel));
810  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ElEn_lowPt_Barrel", mElEn_lowPt_Barrel));
811  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuEn_lowPt_Barrel", mMuEn_lowPt_Barrel));
812  map_of_MEs.insert(
813  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHEn_mediumPt_Barrel", mCHEn_mediumPt_Barrel));
814  map_of_MEs.insert(
815  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHEn_mediumPt_Barrel", mNHEn_mediumPt_Barrel));
816  map_of_MEs.insert(
817  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhEn_mediumPt_Barrel", mPhEn_mediumPt_Barrel));
818  map_of_MEs.insert(
819  std::pair<std::string, MonitorElement*>(DirName + "/" + "ElEn_mediumPt_Barrel", mElEn_mediumPt_Barrel));
820  map_of_MEs.insert(
821  std::pair<std::string, MonitorElement*>(DirName + "/" + "MuEn_mediumPt_Barrel", mMuEn_mediumPt_Barrel));
822  map_of_MEs.insert(
823  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHEn_highPt_Barrel", mCHEn_highPt_Barrel));
824  map_of_MEs.insert(
825  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHEn_highPt_Barrel", mNHEn_highPt_Barrel));
826  map_of_MEs.insert(
827  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhEn_highPt_Barrel", mPhEn_highPt_Barrel));
828  map_of_MEs.insert(
829  std::pair<std::string, MonitorElement*>(DirName + "/" + "ElEn_highPt_Barrel", mElEn_highPt_Barrel));
830  map_of_MEs.insert(
831  std::pair<std::string, MonitorElement*>(DirName + "/" + "MuEn_highPt_Barrel", mMuEn_highPt_Barrel));
832 
833  //multiplicities
835  ibooker.book1D("ChMultiplicity_lowPt_Barrel", "ChMultiplicity_lowPt_Barrel", 60, 0, 60);
837  ibooker.book1D("NeutMultiplicity_lowPt_Barrel", "NeutMultiplicity_lowPt_Barrel", 60, 0, 60);
839  ibooker.book1D("MuMultiplicity_lowPt_Barrel", "MuMultiplicity_lowPt_Barrel", 10, 0, 10);
841  ibooker.book1D("ChMultiplicity_mediumPt_Barrel", "ChMultiplicity_mediumPt_Barrel", 60, 0, 60);
843  ibooker.book1D("NeutMultiplicity_mediumPt_Barrel", "NeutMultiplicity_mediumPt_Barrel", 60, 0, 60);
845  ibooker.book1D("MuMultiplicity_mediumPt_Barrel", "MuMultiplicity_mediumPt_Barrel", 10, 0, 10);
847  ibooker.book1D("ChMultiplicity_highPt_Barrel", "ChMultiplicity_highPt_Barrel", 60, 0, 60);
849  ibooker.book1D("NeutMultiplicity_highPt_Barrel", "NeutMultiplicity_highPt_Barrel", 60, 0, 60);
851  ibooker.book1D("MuMultiplicity_highPt_Barrel", "MuMultiplicity_highPt_Barrel", 10, 0, 10);
852 
853  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChMultiplicity_lowPt_Barrel",
855  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_lowPt_Barrel",
857  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuMultiplicity_lowPt_Barrel",
859  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChMultiplicity_mediumPt_Barrel",
861  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_mediumPt_Barrel",
863  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuMultiplicity_mediumPt_Barrel",
865  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChMultiplicity_highPt_Barrel",
867  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_highPt_Barrel",
869  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuMultiplicity_highPt_Barrel",
871  }
872  //
873  if (isMiniAODJet_ || isPFJet_) {
874  if (!filljetsubstruc_) { //not available for ak8 -> so just take out
876  ibooker.book1D("MVAPUJIDDiscriminant_lowPt_Barrel", "MVAPUJIDDiscriminant_lowPt_Barrel", 50, -1.00, 1.00);
878  ibooker.book1D("MVAPUJIDDiscriminant_lowPt_EndCap", "MVAPUJIDDiscriminant_lowPt_EndCap", 50, -1.00, 1.00);
880  ibooker.book1D("MVAPUJIDDiscriminant_lowPt_Forward", "MVAPUJIDDiscriminant_lowPt_Forward", 50, -1.00, 1.00);
882  "MVAPUJIDDiscriminant_mediumPt_Barrel", "MVAPUJIDDiscriminant_mediumPt_Barrel", 50, -1.00, 1.00);
884  "MVAPUJIDDiscriminant_mediumPt_EndCap", "MVAPUJIDDiscriminant_mediumPt_EndCap", 50, -1.00, 1.00);
886  "MVAPUJIDDiscriminant_mediumPt_Forward", "MVAPUJIDDiscriminant_mediumPt_Forward", 50, -1.00, 1.00);
888  ibooker.book1D("MVAPUJIDDiscriminant_highPt_Barrel", "MVAPUJIDDiscriminant_highPt_Barrel", 50, -1.00, 1.00);
890  ibooker.book1D("MVAPUJIDDiscriminant_highPt_EndCap", "MVAPUJIDDiscriminant_highPt_EndCap", 50, -1.00, 1.00);
892  ibooker.book1D("MVAPUJIDDiscriminant_highPt_Forward", "MVAPUJIDDiscriminant_highPt_Forward", 50, -1.00, 1.00);
893 
894  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Barrel",
896  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_lowPt_EndCap",
898  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Forward",
900  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Barrel",
902  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_EndCap",
904  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Forward",
906  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_highPt_Barrel",
908  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_highPt_EndCap",
910  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MVAPUJIDDiscriminant_highPt_Forward",
912  }
913  mCHFracVSpT_Barrel = ibooker.bookProfile("CHFracVSpT_Barrel", "CHFracVSpT_Barrel", ptBin_, ptMin_, ptMax_, 0., 1.2);
914  mNHFracVSpT_Barrel = ibooker.bookProfile("NHFracVSpT_Barrel", "NHFracVSpT_Barrel", ptBin_, ptMin_, ptMax_, 0., 1.2);
915  mPhFracVSpT_Barrel = ibooker.bookProfile("PhFracVSpT_Barrel", "PhFracVSpT_Barrel", ptBin_, ptMin_, ptMax_, 0., 1.2);
916  mCHFracVSpT_EndCap = ibooker.bookProfile("CHFracVSpT_EndCap", "CHFracVSpT_EndCap", ptBin_, ptMin_, ptMax_, 0., 1.2);
917  mNHFracVSpT_EndCap = ibooker.bookProfile("NHFracVSpT_EndCap", "NHFracVSpT_EndCap", ptBin_, ptMin_, ptMax_, 0., 1.2);
918  mPhFracVSpT_EndCap = ibooker.bookProfile("PhFracVSpT_EndCap", "PhFracVSpT_EndCap", ptBin_, ptMin_, ptMax_, 0., 1.2);
920  ibooker.bookProfile("HFHFracVSpT_Forward", "HFHFracVSpT_Forward", ptBin_, ptMin_, ptMax_, -0.2, 1.2);
922  ibooker.bookProfile("HFEFracVSpT_Forward", "HFEFracVSpT_Forward", ptBin_, ptMin_, ptMax_, -0.2, 1.2);
923 
924  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracVSpT_Barrel", mCHFracVSpT_Barrel));
925  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracVSpT_Barrel", mNHFracVSpT_Barrel));
926  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracVSpT_Barrel", mPhFracVSpT_Barrel));
927  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracVSpT_EndCap", mCHFracVSpT_EndCap));
928  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracVSpT_EndCap", mNHFracVSpT_EndCap));
929  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracVSpT_EndCap", mPhFracVSpT_EndCap));
930  map_of_MEs.insert(
931  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFracVSpT_Forward", mHFHFracVSpT_Forward));
932  map_of_MEs.insert(
933  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEFracVSpT_Forward", mHFEFracVSpT_Forward));
934  }
935  if (isPFJet_) {
936  //endcap monitoring
937  //energy fractions
938  mCHFrac_lowPt_EndCap = ibooker.book1D("CHFrac_lowPt_EndCap", "CHFrac_lowPt_EndCap", 120, -0.1, 1.1);
939  mNHFrac_lowPt_EndCap = ibooker.book1D("NHFrac_lowPt_EndCap", "NHFrac_lowPt_EndCap", 120, -0.1, 1.1);
940  mPhFrac_lowPt_EndCap = ibooker.book1D("PhFrac_lowPt_EndCap", "PhFrac_lowPt_EndCap", 120, -0.1, 1.1);
941  mCHFrac_mediumPt_EndCap = ibooker.book1D("CHFrac_mediumPt_EndCap", "CHFrac_mediumPt_EndCap", 120, -0.1, 1.1);
942  mNHFrac_mediumPt_EndCap = ibooker.book1D("NHFrac_mediumPt_EndCap", "NHFrac_mediumPt_EndCap", 120, -0.1, 1.1);
943  mPhFrac_mediumPt_EndCap = ibooker.book1D("PhFrac_mediumPt_EndCap", "PhFrac_mediumPt_EndCap", 120, -0.1, 1.1);
944  mCHFrac_highPt_EndCap = ibooker.book1D("CHFrac_highPt_EndCap", "CHFrac_highPt_EndCap", 120, -0.1, 1.1);
945  mNHFrac_highPt_EndCap = ibooker.book1D("NHFrac_highPt_EndCap", "NHFrac_highPt_EndCap", 120, -0.1, 1.1);
946  mPhFrac_highPt_EndCap = ibooker.book1D("PhFrac_highPt_EndCap", "PhFrac_highPt_EndCap", 120, -0.1, 1.1);
947 
948  map_of_MEs.insert(
949  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_lowPt_EndCap", mCHFrac_lowPt_EndCap));
950  map_of_MEs.insert(
951  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_lowPt_EndCap", mNHFrac_lowPt_EndCap));
952  map_of_MEs.insert(
953  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_lowPt_EndCap", mPhFrac_lowPt_EndCap));
954  map_of_MEs.insert(
955  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_mediumPt_EndCap", mCHFrac_mediumPt_EndCap));
956  map_of_MEs.insert(
957  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_mediumPt_EndCap", mNHFrac_mediumPt_EndCap));
958  map_of_MEs.insert(
959  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_mediumPt_EndCap", mPhFrac_mediumPt_EndCap));
960  map_of_MEs.insert(
961  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_highPt_EndCap", mCHFrac_highPt_EndCap));
962  map_of_MEs.insert(
963  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_highPt_EndCap", mNHFrac_highPt_EndCap));
964  map_of_MEs.insert(
965  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_highPt_EndCap", mPhFrac_highPt_EndCap));
966 
967  //energies
968  mCHEn_lowPt_EndCap = ibooker.book1D("CHEn_lowPt_EndCap", "CHEn_lowPt_EndCap", ptBin_, 0., ptMax_);
969  mNHEn_lowPt_EndCap = ibooker.book1D("NHEn_lowPt_EndCap", "NHEn_lowPt_EndCap", ptBin_, 0., ptMax_);
970  mPhEn_lowPt_EndCap = ibooker.book1D("PhEn_lowPt_EndCap", "PhEn_lowPt_EndCap", ptBin_, 0., ptMax_);
971  mElEn_lowPt_EndCap = ibooker.book1D("ElEn_lowPt_EndCap", "ElEn_lowPt_EndCap", ptBin_, 0., 100);
972  mMuEn_lowPt_EndCap = ibooker.book1D("MuEn_lowPt_EndCap", "MuEn_lowPt_EndCap", ptBin_, 0., 100);
973  mCHEn_mediumPt_EndCap = ibooker.book1D("CHEn_mediumPt_EndCap", "CHEn_mediumPt_EndCap", ptBin_, 0., ptMax_);
974  mNHEn_mediumPt_EndCap = ibooker.book1D("NHEn_mediumPt_EndCap", "NHEn_mediumPt_EndCap", ptBin_, 0., ptMax_);
975  mPhEn_mediumPt_EndCap = ibooker.book1D("PhEn_mediumPt_EndCap", "PhEn_mediumPt_EndCap", ptBin_, 0., ptMax_);
976  mElEn_mediumPt_EndCap = ibooker.book1D("ElEn_mediumPt_EndCap", "ElEn_mediumPt_EndCap", ptBin_, 0., 100);
977  mMuEn_mediumPt_EndCap = ibooker.book1D("MuEn_mediumPt_EndCap", "MuEn_mediumPt_EndCap", ptBin_, 0., 100);
978  mCHEn_highPt_EndCap = ibooker.book1D("CHEn_highPt_EndCap", "CHEn_highPt_EndCap", ptBin_, 0., 1.5 * ptMax_);
979  mNHEn_highPt_EndCap = ibooker.book1D("NHEn_highPt_EndCap", "NHEn_highPt_EndCap", ptBin_, 0., 1.5 * ptMax_);
980  mPhEn_highPt_EndCap = ibooker.book1D("PhEn_highPt_EndCap", "PhEn_highPt_EndCap", ptBin_, 0., 1.5 * ptMax_);
981  mElEn_highPt_EndCap = ibooker.book1D("ElEn_highPt_EndCap", "ElEn_highPt_EndCap", ptBin_, 0., 100);
982  mMuEn_highPt_EndCap = ibooker.book1D("MuEn_highPt_EndCap", "MuEn_highPt_EndCap", ptBin_, 0., 100);
983 
984  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHEn_lowPt_EndCap", mCHEn_lowPt_EndCap));
985  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHEn_lowPt_EndCap", mNHEn_lowPt_EndCap));
986  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhEn_lowPt_EndCap", mPhEn_lowPt_EndCap));
987  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ElEn_lowPt_EndCap", mElEn_lowPt_EndCap));
988  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuEn_lowPt_EndCap", mMuEn_lowPt_EndCap));
989  map_of_MEs.insert(
990  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHEn_mediumPt_EndCap", mCHEn_mediumPt_EndCap));
991  map_of_MEs.insert(
992  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHEn_mediumPt_EndCap", mNHEn_mediumPt_EndCap));
993  map_of_MEs.insert(
994  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhEn_mediumPt_EndCap", mPhEn_mediumPt_EndCap));
995  map_of_MEs.insert(
996  std::pair<std::string, MonitorElement*>(DirName + "/" + "ElEn_mediumPt_EndCap", mElEn_mediumPt_EndCap));
997  map_of_MEs.insert(
998  std::pair<std::string, MonitorElement*>(DirName + "/" + "MuEn_mediumPt_EndCap", mMuEn_mediumPt_EndCap));
999  map_of_MEs.insert(
1000  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHEn_highPt_EndCap", mCHEn_highPt_EndCap));
1001  map_of_MEs.insert(
1002  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHEn_highPt_EndCap", mNHEn_highPt_EndCap));
1003  map_of_MEs.insert(
1004  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhEn_highPt_EndCap", mPhEn_highPt_EndCap));
1005  map_of_MEs.insert(
1006  std::pair<std::string, MonitorElement*>(DirName + "/" + "ElEn_highPt_EndCap", mElEn_highPt_EndCap));
1007  map_of_MEs.insert(
1008  std::pair<std::string, MonitorElement*>(DirName + "/" + "MuEn_highPt_EndCap", mMuEn_highPt_EndCap));
1009  /*
1010  //now get handle on OOT PU
1011  mePhFracBarrel_BXm2BXm1Empty = ibooker.book1D("PhFracBarrel_BXm2BXm1Empty", "PHFrac prev empty 2 bunches (Barrel)", 50, 0, 1);
1012  mePhFracBarrel_BXm2BXm1Filled = ibooker.book1D("PhFracBarrel_BXm2BXm1Filled", "PHFrac prev filled 2 bunches (Barrel)", 50, 0, 1);
1013  meNHFracBarrel_BXm2BXm1Empty = ibooker.book1D("NHFracBarrel_BXm2BXm1Empty", "NHFrac prev empty 2 bunches (Barrel)", 50, 0, 1);
1014  meNHFracBarrel_BXm2BXm1Filled = ibooker.book1D("NHFracBarrel_BXm2BXm1Filled", "NHFrac prev filled 2 bunches (Barrel)", 50, 0, 1);
1015  meCHFracBarrel_BXm2BXm1Empty = ibooker.book1D("CHFracBarrel_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (Barrel)", 50, 0, 1);
1016  meCHFracBarrel_BXm2BXm1Filled = ibooker.book1D("CHFracBarrel_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (Barrel)", 50, 0, 1);
1017  mePtBarrel_BXm2BXm1Empty = ibooker.book1D("PtBarrel_BXm2BXm1Empty", "pT prev empty 2 bunches (Barrel)", ptBin_, ptMin_, ptMax_);
1018  mePtBarrel_BXm2BXm1Filled = ibooker.book1D("PtBarrel_BXm2BXm1Filled", "pT prev filled 2 bunches (Barrel)", ptBin_, ptMin_, ptMax_);
1019  mePhFracEndCapPlus_BXm2BXm1Empty = ibooker.book1D("PhFracEndCapPlus_BXm2BXm1Empty", "PHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
1020  mePhFracEndCapPlus_BXm2BXm1Filled = ibooker.book1D("PhFracEndCapPlus_BXm2BXm1Filled", "PHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
1021  meNHFracEndCapPlus_BXm2BXm1Empty = ibooker.book1D("NHFracEndCapPlus_BXm2BXm1Empty", "NHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
1022  meNHFracEndCapPlus_BXm2BXm1Filled = ibooker.book1D("NHFracEndCapPlus_BXm2BXm1Filled", "NHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
1023  meCHFracEndCapPlus_BXm2BXm1Empty = ibooker.book1D("CHFracEndCapPlus_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
1024  meCHFracEndCapPlus_BXm2BXm1Filled = ibooker.book1D("CHFracEndCapPlus_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
1025  mePtEndCapPlus_BXm2BXm1Empty = ibooker.book1D("PtEndCapPlus_BXm2BXm1Empty", "pT prev empty 2 bunches (EndCapPlus)", ptBin_, ptMin_, ptMax_);
1026  mePtEndCapPlus_BXm2BXm1Filled = ibooker.book1D("PtEndCapPlus_BXm2BXm1Filled", "pT prev filled 2 bunches (EndCapPlus)", ptBin_, ptMin_, ptMax_);
1027  meHFHFracPlus_BXm2BXm1Empty = ibooker.book1D("HFHFracPlus_BXm2BXm1Empty", "HFHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
1028  meHFHFracPlus_BXm2BXm1Filled = ibooker.book1D("HFHFracPlus_BXm2BXm1Filled", "HFHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
1029  meHFEMFracPlus_BXm2BXm1Empty = ibooker.book1D("HFEMFracPlus_BXm2BXm1Empty", "HFEMFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
1030  meHFEMFracPlus_BXm2BXm1Filled = ibooker.book1D("HFEMFracPlus_BXm2BXm1Filled", "HFEMFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
1031  mePtForwardPlus_BXm2BXm1Empty = ibooker.book1D("PtForwardPlus_BXm2BXm1Empty", "pT prev empty 2 bunches (ForwardPlus)", ptBin_, ptMin_, ptMax_);
1032  mePtForwardPlus_BXm2BXm1Filled = ibooker.book1D("PtForwardPlus_BXm2BXm1Filled", "pT prev filled 2 bunches (ForwardPlus)", ptBin_, ptMin_, ptMax_);
1033  mePhFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("PhFracEndCapMinus_BXm2BXm1Empty", "PHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
1034  mePhFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("PhFracEndCapMinus_BXm2BXm1Filled", "PHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
1035  meNHFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("NHFracEndCapMinus_BXm2BXm1Empty", "NHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
1036  meNHFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("NHFracEndCapMinus_BXm2BXm1Filled", "NHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
1037  meCHFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("CHFracEndCapMinus_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
1038  meCHFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("CHFracEndCapMinus_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
1039  mePtEndCapMinus_BXm2BXm1Empty = ibooker.book1D("PtEndCapMinus_BXm2BXm1Empty", "pT prev empty 2 bunches (EndCapMinus)", ptBin_, ptMin_, ptMax_);
1040  mePtEndCapMinus_BXm2BXm1Filled = ibooker.book1D("PtEndCapMinus_BXm2BXm1Filled", "pT prev filled 2 bunches (EndCapMinus)", ptBin_, ptMin_, ptMax_);
1041  meHFHFracMinus_BXm2BXm1Empty = ibooker.book1D("HFHFracMinus_BXm2BXm1Empty", "HFHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
1042  meHFHFracMinus_BXm2BXm1Filled = ibooker.book1D("HFHFracMinus_BXm2BXm1Filled", "HFHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
1043  meHFEMFracMinus_BXm2BXm1Empty = ibooker.book1D("HFEMFracMinus_BXm2BXm1Empty", "HFEMFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
1044  meHFEMFracMinus_BXm2BXm1Filled = ibooker.book1D("HFEMFracMinus_BXm2BXm1Filled", "HFEMFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
1045  mePtForwardMinus_BXm2BXm1Empty = ibooker.book1D("PtForwardMinus_BXm2BXm1Empty", "pT prev empty 2 bunches (ForwardMinus)", ptBin_, ptMin_, ptMax_);
1046  mePtForwardMinus_BXm2BXm1Filled = ibooker.book1D("PtForwardMinus_BXm2BXm1Filled", "pT prev filled 2 bunches (ForwardMinus)", ptBin_, ptMin_, ptMax_);
1047  meEta_BXm2BXm1Empty = ibooker.book1D("Eta_BXm2BXm1Empty", "eta prev empty 2 bunches", etaBin_, etaMin_, etaMax_);
1048  meEta_BXm2BXm1Filled = ibooker.book1D("Eta_BXm2BXm1Filled", "eta prev filled 2 bunches", etaBin_, etaMin_, etaMax_);
1049 
1050  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracBarrel_BXm2BXm1Empty" ,mePhFracBarrel_BXm2BXm1Empty));
1051  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracBarrel_BXm2BXm1Filled" ,mePhFracBarrel_BXm2BXm1Filled));
1052  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracBarrel_BXm2BXm1Empty" ,meNHFracBarrel_BXm2BXm1Empty));
1053  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracBarrel_BXm2BXm1Filled" ,meNHFracBarrel_BXm2BXm1Filled));
1054  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracBarrel_BXm2BXm1Empty" ,meCHFracBarrel_BXm2BXm1Empty));
1055  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracBarrel_BXm2BXm1Filled" ,meCHFracBarrel_BXm2BXm1Filled));
1056  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtBarrel_BXm2BXm1Empty" ,mePtBarrel_BXm2BXm1Empty));
1057  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtBarrel_BXm2BXm1Filled" ,mePtBarrel_BXm2BXm1Filled));
1058  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Empty" ,mePhFracEndCapPlus_BXm2BXm1Empty));
1059  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Filled" ,mePhFracEndCapPlus_BXm2BXm1Filled));
1060  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Empty" ,meNHFracEndCapPlus_BXm2BXm1Empty));
1061  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Filled" ,meNHFracEndCapPlus_BXm2BXm1Filled));
1062  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Empty" ,meCHFracEndCapPlus_BXm2BXm1Empty));
1063  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Filled" ,meCHFracEndCapPlus_BXm2BXm1Filled));
1064  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapPlus_BXm2BXm1Empty" ,mePtEndCapPlus_BXm2BXm1Empty));
1065  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapPlus_BXm2BXm1Filled" ,mePtEndCapPlus_BXm2BXm1Filled));
1066  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracPlus_BXm2BXm1Empty" ,meHFHFracPlus_BXm2BXm1Empty));
1067  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracPlus_BXm2BXm1Filled" ,meHFHFracPlus_BXm2BXm1Filled));
1068  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracPlus_BXm2BXm1Empty" ,meHFEMFracPlus_BXm2BXm1Empty));
1069  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracPlus_BXm2BXm1Filled" ,meHFEMFracPlus_BXm2BXm1Filled));
1070  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardPlus_BXm2BXm1Empty" ,mePtForwardPlus_BXm2BXm1Empty));
1071  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardPlus_BXm2BXm1Filled" ,mePtForwardPlus_BXm2BXm1Filled));
1072  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Empty" ,mePhFracEndCapMinus_BXm2BXm1Empty));
1073  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Filled" ,mePhFracEndCapMinus_BXm2BXm1Filled));
1074  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Empty" ,meNHFracEndCapMinus_BXm2BXm1Empty));
1075  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Filled" ,meNHFracEndCapMinus_BXm2BXm1Filled));
1076  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Empty" ,meCHFracEndCapMinus_BXm2BXm1Empty));
1077  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Filled" ,meCHFracEndCapMinus_BXm2BXm1Filled));
1078  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapMinus_BXm2BXm1Empty" ,mePtEndCapMinus_BXm2BXm1Empty));
1079  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapMinus_BXm2BXm1Filled" ,mePtEndCapMinus_BXm2BXm1Filled));
1080  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracMinus_BXm2BXm1Empty" ,meHFHFracMinus_BXm2BXm1Empty));
1081  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracMinus_BXm2BXm1Filled" ,meHFHFracMinus_BXm2BXm1Filled));
1082  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracMinus_BXm2BXm1Empty" ,meHFEMFracMinus_BXm2BXm1Empty));
1083  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracMinus_BXm2BXm1Filled" ,meHFEMFracMinus_BXm2BXm1Filled));
1084  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardMinus_BXm2BXm1Empty" ,mePtForwardMinus_BXm2BXm1Empty));
1085  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardMinus_BXm2BXm1Filled" ,mePtForwardMinus_BXm2BXm1Filled));
1086  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_BXm2BXm1Empty" ,meEta_BXm2BXm1Empty));
1087  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_BXm2BXm1Filled",meEta_BXm2BXm1Filled));
1088  */
1089  mePhFracBarrel_BXm1Empty = ibooker.book1D("PhFracBarrel_BXm1Empty", "PHFrac prev empty 1 bunch (Barrel)", 50, 0, 1);
1091  ibooker.book1D("PhFracBarrel_BXm1Filled", "PHFrac prev filled 1 bunch (Barrel)", 50, 0, 1);
1092  meNHFracBarrel_BXm1Empty = ibooker.book1D("NHFracBarrel_BXm1Empty", "NHFrac prev empty 1 bunch (Barrel)", 50, 0, 1);
1094  ibooker.book1D("NHFracBarrel_BXm1Filled", "NHFrac prev filled 1 bunch (Barrel)", 50, 0, 1);
1095  meCHFracBarrel_BXm1Empty = ibooker.book1D("CHFracBarrel_BXm1Empty", "CHFrac prev empty 1 bunch (Barrel)", 50, 0, 1);
1097  ibooker.book1D("CHFracBarrel_BXm1Filled", "CHFrac prev filled 1 bunch (Barrel)", 50, 0, 1);
1099  ibooker.book1D("PtBarrel_BXm1Empty", "pT prev empty 1 bunch (Barrel)", ptBin_, ptMin_, ptMax_);
1101  ibooker.book1D("PtBarrel_BXm1Filled", "pT prev filled 1 bunch (Barrel)", ptBin_, ptMin_, ptMax_);
1103  ibooker.book1D("PhFracEndCapPlus_BXm1Empty", "PHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
1105  ibooker.book1D("PhFracEndCapPlus_BXm1Filled", "PHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
1107  ibooker.book1D("NHFracEndCapPlus_BXm1Empty", "NHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
1109  ibooker.book1D("NHFracEndCapPlus_BXm1Filled", "NHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
1111  ibooker.book1D("CHFracEndCapPlus_BXm1Empty", "CHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
1113  ibooker.book1D("CHFracEndCapPlus_BXm1Filled", "CHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
1115  ibooker.book1D("PtEndCapPlus_BXm1Empty", "pT prev empty 1 bunch (EndCapPlus)", ptBin_, ptMin_, ptMax_);
1117  ibooker.book1D("PtEndCapPlus_BXm1Filled", "pT prev filled 1 bunch (EndCapPlus)", ptBin_, ptMin_, ptMax_);
1119  ibooker.book1D("HFHFracPlus_BXm1Empty", "HFHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
1121  ibooker.book1D("HFHFracPlus_BXm1Filled", "HFHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
1123  ibooker.book1D("HFEMFracPlus_BXm1Empty", "HFEMFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
1125  ibooker.book1D("HFEMFracPlus_BXm1Filled", "HFEMFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
1127  ibooker.book1D("PtForwardPlus_BXm1Empty", "pT prev empty 1 bunch (ForwardPlus)", ptBin_, ptMin_, ptMax_);
1129  ibooker.book1D("PtForwardPlus_BXm1Filled", "pT prev filled 1 bunch (ForwardPlus)", ptBin_, ptMin_, ptMax_);
1131  ibooker.book1D("PhFracEndCapMinus_BXm1Empty", "PHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
1133  ibooker.book1D("PhFracEndCapMinus_BXm1Filled", "PHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
1135  ibooker.book1D("NHFracEndCapMinus_BXm1Empty", "NHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
1137  ibooker.book1D("NHFracEndCapMinus_BXm1Filled", "NHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
1139  ibooker.book1D("CHFracEndCapMinus_BXm1Empty", "CHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
1141  ibooker.book1D("CHFracEndCapMinus_BXm1Filled", "CHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
1143  ibooker.book1D("PtEndCapMinus_BXm1Empty", "pT prev empty 1 bunch (EndCapMinus)", ptBin_, ptMin_, ptMax_);
1145  ibooker.book1D("PtEndCapMinus_BXm1Filled", "pT prev filled 1 bunch (EndCapMinus)", ptBin_, ptMin_, ptMax_);
1147  ibooker.book1D("HFHFracMinus_BXm1Empty", "HFHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
1149  ibooker.book1D("HFHFracMinus_BXm1Filled", "HFHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
1151  ibooker.book1D("HFEMFracMinus_BXm1Empty", "HFEMFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
1153  ibooker.book1D("HFEMFracMinus_BXm1Filled", "HFEMFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
1155  ibooker.book1D("PtForwardMinus_BXm1Empty", "pT prev empty 1 bunch (ForwardMinus)", ptBin_, ptMin_, ptMax_);
1157  ibooker.book1D("PtForwardMinus_BXm1Filled", "pT prev filled 1 bunch (ForwardMinus)", ptBin_, ptMin_, ptMax_);
1158  meEta_BXm1Empty = ibooker.book1D("Eta_BXm1Empty", "eta prev empty 1 bunch", etaBin_, etaMin_, etaMax_);
1159  meEta_BXm1Filled = ibooker.book1D("Eta_BXm1Filled", "eta prev filled 1 bunch", etaBin_, etaMin_, etaMax_);
1160 
1161  map_of_MEs.insert(
1162  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracBarrel_BXm1Empty", mePhFracBarrel_BXm1Empty));
1163  map_of_MEs.insert(
1164  std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracBarrel_BXm1Filled", mePhFracBarrel_BXm1Filled));
1165  map_of_MEs.insert(
1166  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracBarrel_BXm1Empty", meNHFracBarrel_BXm1Empty));
1167  map_of_MEs.insert(
1168  std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracBarrel_BXm1Filled", meNHFracBarrel_BXm1Filled));
1169  map_of_MEs.insert(
1170  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracBarrel_BXm1Empty", meCHFracBarrel_BXm1Empty));
1171  map_of_MEs.insert(
1172  std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracBarrel_BXm1Filled", meCHFracBarrel_BXm1Filled));
1173  map_of_MEs.insert(
1174  std::pair<std::string, MonitorElement*>(DirName + "/" + "PtBarrel_BXm1Empty", mePtBarrel_BXm1Empty));
1175  map_of_MEs.insert(
1176  std::pair<std::string, MonitorElement*>(DirName + "/" + "PtBarrel_BXm1Filled", mePtBarrel_BXm1Filled));
1177  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracEndCapPlus_BXm1Empty",
1179  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracEndCapPlus_BXm1Filled",
1181  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracEndCapPlus_BXm1Empty",
1183  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracEndCapPlus_BXm1Filled",
1185  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracEndCapPlus_BXm1Empty",
1187  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracEndCapPlus_BXm1Filled",
1189  map_of_MEs.insert(
1190  std::pair<std::string, MonitorElement*>(DirName + "/" + "PtEndCapPlus_BXm1Empty", mePtEndCapPlus_BXm1Empty));
1191  map_of_MEs.insert(
1192  std::pair<std::string, MonitorElement*>(DirName + "/" + "PtEndCapPlus_BXm1Filled", mePtEndCapPlus_BXm1Filled));
1193  map_of_MEs.insert(
1194  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFracPlus_BXm1Empty", meHFHFracPlus_BXm1Empty));
1195  map_of_MEs.insert(
1196  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFracPlus_BXm1Filled", meHFHFracPlus_BXm1Filled));
1197  map_of_MEs.insert(
1198  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFracPlus_BXm1Empty", meHFEMFracPlus_BXm1Empty));
1199  map_of_MEs.insert(
1200  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFracPlus_BXm1Filled", meHFEMFracPlus_BXm1Filled));
1201  map_of_MEs.insert(
1202  std::pair<std::string, MonitorElement*>(DirName + "/" + "PtForwardPlus_BXm1Empty", mePtForwardPlus_BXm1Empty));
1203  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PtForwardPlus_BXm1Filled",
1205  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracEndCapMinus_BXm1Empty",
1207  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFracEndCapMinus_BXm1Filled",
1209  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracEndCapMinus_BXm1Empty",
1211  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFracEndCapMinus_BXm1Filled",
1213  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracEndCapMinus_BXm1Empty",
1215  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFracEndCapMinus_BXm1Filled",
1217  map_of_MEs.insert(
1218  std::pair<std::string, MonitorElement*>(DirName + "/" + "PtEndCapMinus_BXm1Empty", mePtEndCapMinus_BXm1Empty));
1219  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PtEndCapMinus_BXm1Filled",
1221  map_of_MEs.insert(
1222  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFracMinus_BXm1Empty", meHFHFracMinus_BXm1Empty));
1223  map_of_MEs.insert(
1224  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFracMinus_BXm1Filled", meHFHFracMinus_BXm1Filled));
1225  map_of_MEs.insert(
1226  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFracMinus_BXm1Empty", meHFEMFracMinus_BXm1Empty));
1227  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFracMinus_BXm1Filled",
1229  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PtForwardMinus_BXm1Empty",
1231  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PtForwardMinus_BXm1Filled",
1233  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_BXm1Empty", meEta_BXm1Empty));
1234  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_BXm1Filled", meEta_BXm1Filled));
1235 
1236  //multiplicities
1238  ibooker.book1D("ChMultiplicity_lowPt_EndCap", "ChMultiplicity_lowPt_EndCap", 60, 0, 60);
1240  ibooker.book1D("NeutMultiplicity_lowPt_EndCap", "NeutMultiplicity_lowPt_EndCap", 60, 0, 60);
1242  ibooker.book1D("MuMultiplicity_lowPt_EndCap", "MuMultiplicity_lowPt_EndCap", 10, 0, 10);
1244  ibooker.book1D("ChMultiplicity_mediumPt_EndCap", "ChMultiplicity_mediumPt_EndCap", 60, 0, 60);
1246  ibooker.book1D("NeutMultiplicity_mediumPt_EndCap", "NeutMultiplicity_mediumPt_EndCap", 60, 0, 60);
1248  ibooker.book1D("MuMultiplicity_mediumPt_EndCap", "MuMultiplicity_mediumPt_EndCap", 10, 0, 10);
1250  ibooker.book1D("ChMultiplicity_highPt_EndCap", "ChMultiplicity_highPt_EndCap", 60, 0, 60);
1252  ibooker.book1D("NeutMultiplicity_highPt_EndCap", "NeutMultiplicity_highPt_EndCap", 60, 0, 60);
1254  ibooker.book1D("MuMultiplicity_highPt_EndCap", "MuMultiplicity_highPt_EndCap", 10, 0, 10);
1255 
1256  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChMultiplicity_lowPt_EndCap",
1258  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_lowPt_EndCap",
1260  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuMultiplicity_lowPt_EndCap",
1262  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChMultiplicity_mediumPt_EndCap",
1264  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_mediumPt_EndCap",
1266  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuMultiplicity_mediumPt_EndCap",
1268  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChMultiplicity_highPt_EndCap",
1270  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_highPt_EndCap",
1272  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuMultiplicity_highPt_EndCap",
1274 
1275  //forward monitoring
1276  //energy fraction
1277  mHFEFrac_lowPt_Forward = ibooker.book1D("HFEFrac_lowPt_Forward", "HFEFrac_lowPt_Forward", 70, -0.2, 1.2);
1278  mHFHFrac_lowPt_Forward = ibooker.book1D("HFHFrac_lowPt_Forward", "HFHFrac_lowPt_Forward", 70, -0.2, 1.2);
1279  mHFEFrac_mediumPt_Forward = ibooker.book1D("HFEFrac_mediumPt_Forward", "HFEFrac_mediumPt_Forward", 70, -0.2, 1.2);
1280  mHFHFrac_mediumPt_Forward = ibooker.book1D("HFHFrac_mediumPt_Forward", "HFHFrac_mediumPt_Forward", 70, -0.2, 1.2);
1281  mHFEFrac_highPt_Forward = ibooker.book1D("HFEFrac_highPt_Forward", "HFEFrac_highPt_Forward", 70, -0.2, 1.2);
1282  mHFHFrac_highPt_Forward = ibooker.book1D("HFHFrac_highPt_Forward", "HFHFrac_highPt_Forward", 70, -0.2, 1.2);
1283  map_of_MEs.insert(
1284  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac_lowPt_Forward", mHFHFrac_lowPt_Forward));
1285  map_of_MEs.insert(
1286  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEFrac_lowPt_Forward", mHFEFrac_lowPt_Forward));
1287  map_of_MEs.insert(
1288  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac_mediumPt_Forward", mHFHFrac_mediumPt_Forward));
1289  map_of_MEs.insert(
1290  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEFrac_mediumPt_Forward", mHFEFrac_mediumPt_Forward));
1291  map_of_MEs.insert(
1292  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac_highPt_Forward", mHFHFrac_highPt_Forward));
1293  map_of_MEs.insert(
1294  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEFrac_highPt_Forward", mHFEFrac_highPt_Forward));
1295 
1296  //energies
1297  mHFEEn_lowPt_Forward = ibooker.book1D("HFEEn_lowPt_Forward", "HFEEn_lowPt_Forward", ptBin_, 0., ptMax_);
1298  mHFHEn_lowPt_Forward = ibooker.book1D("HFHEn_lowPt_Forward", "HFHEn_lowPt_Forward", ptBin_, 0., 2.0 * ptMax_);
1300  ibooker.book1D("HFEEn_mediumPt_Forward", "HFEEn_mediumPt_Forward", ptBin_, 0., 1.5 * ptMax_);
1302  ibooker.book1D("HFHEn_mediumPt_Forward", "HFHEn_mediumPt_Forward", ptBin_, 0., 2.5 * ptMax_);
1303  mHFEEn_highPt_Forward = ibooker.book1D("HFEEn_highPt_Forward", "HFEEn_highPt_Forward", ptBin_, 0., 1.5 * ptMax_);
1304  mHFHEn_highPt_Forward = ibooker.book1D("HFHEn_highPt_Forward", "HFHEn_highPt_Forward", ptBin_, 0., 5.0 * ptMax_);
1305  map_of_MEs.insert(
1306  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHEn_lowPt_Forward", mHFHEn_lowPt_Forward));
1307  map_of_MEs.insert(
1308  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEEn_lowPt_Forward", mHFEEn_lowPt_Forward));
1309  map_of_MEs.insert(
1310  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHEn_mediumPt_Forward", mHFHEn_mediumPt_Forward));
1311  map_of_MEs.insert(
1312  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEEn_mediumPt_Forward", mHFEEn_mediumPt_Forward));
1313  map_of_MEs.insert(
1314  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHEn_highPt_Forward", mHFHEn_highPt_Forward));
1315  map_of_MEs.insert(
1316  std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEEn_highPt_Forward", mHFEEn_highPt_Forward));
1317  //multiplicities
1319  ibooker.book1D("NeutMultiplicity_lowPt_Forward", "NeutMultiplicity_lowPt_Forward", 60, 0, 60);
1321  ibooker.book1D("NeutMultiplicity_mediumPt_Forward", "NeutMultiplicity_mediumPt_Forward", 60, 0, 60);
1323  ibooker.book1D("NeutMultiplicity_highPt_Forward", "NeutMultiplicity_highPt_Forward", 60, 0, 60);
1324 
1325  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_lowPt_Forward",
1327  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_mediumPt_Forward",
1329  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutMultiplicity_highPt_Forward",
1331 
1332  mChargedHadronEnergy = ibooker.book1D("ChargedHadronEnergy", "charged HAD energy", 50, 0, 100);
1333  mNeutralHadronEnergy = ibooker.book1D("NeutralHadronEnergy", "neutral HAD energy", 50, 0, 100);
1334  mChargedEmEnergy = ibooker.book1D("ChargedEmEnergy", "charged EM energy ", 50, 0, 100);
1335  mChargedMuEnergy = ibooker.book1D("ChargedMuEnergy", "charged Mu energy", 50, 0, 100);
1336  mNeutralEmEnergy = ibooker.book1D("NeutralEmEnergy", "neutral EM energy", 50, 0, 100);
1337  mChargedMultiplicity = ibooker.book1D("ChargedMultiplicity", "charged multiplicity ", 50, 0, 100);
1338  mNeutralMultiplicity = ibooker.book1D("NeutralMultiplicity", "neutral multiplicity", 50, 0, 100);
1339  mMuonMultiplicity = ibooker.book1D("MuonMultiplicity", "muon multiplicity", 50, 0, 100);
1340  map_of_MEs.insert(
1341  std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedHadronEnergy", mChargedHadronEnergy));
1342  map_of_MEs.insert(
1343  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralHadronEnergy", mNeutralHadronEnergy));
1344  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedEmEnergy", mChargedEmEnergy));
1345  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMuEnergy", mChargedMuEnergy));
1346  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralEmEnergy", mNeutralEmEnergy));
1347  map_of_MEs.insert(
1348  std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMultiplicity", mChargedMultiplicity));
1349  map_of_MEs.insert(
1350  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralMultiplicity", mNeutralMultiplicity));
1351  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuonMultiplicity", mMuonMultiplicity));
1352 
1353  // Book NPV profiles
1354  //----------------------------------------------------------------------------
1356  "ChargedHadronEnergy_profile", "charged HAD energy", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1358  "NeutralHadronEnergy_profile", "neutral HAD energy", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1360  ibooker.bookProfile("ChargedEmEnergy_profile", "charged EM energy", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1362  ibooker.bookProfile("ChargedMuEnergy_profile", "charged Mu energy", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1364  ibooker.bookProfile("NeutralEmEnergy_profile", "neutral EM energy", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1366  "ChargedMultiplicity_profile", "charged multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1368  "NeutralMultiplicity_profile", "neutral multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1370  ibooker.bookProfile("MuonMultiplicity_profile", "muon multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1371 
1372  // Set NPV profiles x-axis title
1373  //----------------------------------------------------------------------------
1382 
1383  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedHadronEnergy_profile",
1385  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralHadronEnergy_profile",
1387  map_of_MEs.insert(
1388  std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedEmEnergy_profile", mChargedEmEnergy_profile));
1389  map_of_MEs.insert(
1390  std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMuEnergy_profile", mChargedMuEnergy_profile));
1391  map_of_MEs.insert(
1392  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralEmEnergy_profile", mNeutralEmEnergy_profile));
1393  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMultiplicity_profile",
1395  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralMultiplicity_profile",
1397  map_of_MEs.insert(
1398  std::pair<std::string, MonitorElement*>(DirName + "/" + "MuonMultiplicity_profile", mMuonMultiplicity_profile));
1399 
1400  mNeutralFraction = ibooker.book1D("NeutralConstituentsFraction", "Neutral Constituents Fraction", 100, 0, 1);
1401  map_of_MEs.insert(
1402  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralConstituentsFraction", mNeutralFraction));
1403  }
1404 
1405  //
1406  if (isMiniAODJet_) {
1407  mMass_Barrel = ibooker.book1D("JetMass_Barrel", "JetMass_Barrel", 50, 0, 250);
1408  mMass_EndCap = ibooker.book1D("JetMass_EndCap", "JetMass_EndCap", 50, 0, 250);
1409  mMass_Forward = ibooker.book1D("JetMass_Forward", "JetMass_Forward", 50, 0, 250);
1410 
1411  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_Barrel", mMass_Barrel));
1412  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_EndCap", mMass_EndCap));
1413  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetMass_Forward", mMass_Forward));
1414  if (!filljetsubstruc_) {
1415  //done only for MINIAOD
1416  mPt_CaloJet = ibooker.book1D("Pt_CaloJet", "Pt_CaloJet", ptBin_, 10, ptMax_);
1417  mEMF_CaloJet = ibooker.book1D("EMF_CaloJet", "EMF_CaloJet", 52, -0.02, 1.02);
1418  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_CaloJet", mPt_CaloJet));
1419  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EMF_CaloJet", mEMF_CaloJet));
1420  }
1421  if (filljetsubstruc_) {
1422  //miniaod specific variables, especially for substructure
1423  mSoftDropMass = ibooker.book1D("SoftDropMass", "SoftDropMass", 50, 0, 250);
1424  mPrunedMass = ibooker.book1D("PrunedMass", "PrunedMass", 50, 0, 250);
1425  mTrimmedMass = ibooker.book1D("TrimmedMass", "TrimmedMass", 50, 0, 250);
1426  mFilteredMass = ibooker.book1D("FilteredMass", "FilteredMass", 50, 0, 250);
1427  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SoftDropMass", mSoftDropMass));
1428  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PrunedMass", mPrunedMass));
1429  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "TrimmedMass", mTrimmedMass));
1430  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "FilteredMass", mFilteredMass));
1431 
1432  mtau2_over_tau1 = ibooker.book1D("tau2_over_tau1", "tau2_over_tau1", 50, 0, 1);
1433  mtau3_over_tau2 = ibooker.book1D("tau3_over_tau2", "tau3_over_tau2", 50, 0, 1);
1434  mCATopTag_topMass = ibooker.book1D("CATopTag_topMass", "CATopTag_topMass", 50, 50, 250);
1435  mCATopTag_minMass = ibooker.book1D("CATopTag_minMass", "CATopTag_minMass", 50, 0, 250);
1436  mCATopTag_nSubJets = ibooker.book1D("nSubJets_CATopTag", "nSubJets_CATopTag", 10, 0, 10);
1437  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "tau2_over_tau1", mtau2_over_tau1));
1438  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "tau3_over_tau2", mtau3_over_tau2));
1439  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CATopTag_topMass", mCATopTag_topMass));
1440  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CATopTag_minMass", mCATopTag_minMass));
1441  map_of_MEs.insert(
1442  std::pair<std::string, MonitorElement*>(DirName + "/" + "nSubJets_CATopTag", mCATopTag_nSubJets));
1443 
1444  mnSubJetsCMSTopTag = ibooker.book1D("nSubJets_CMSTopTag", "nSubJets_CMSTopTag", 10, 0, 10);
1445  mSubJet1_CMSTopTag_pt = ibooker.book1D("SubJet1_CMSTopTag_pt", "SubJet1_CMSTopTag_pt", ptBin_, ptMin_, ptMax_);
1447  ibooker.book1D("SubJet1_CMSTopTag_eta", "SubJet1_CMSTopTag_eta", etaBin_, etaMin_, etaMax_);
1449  ibooker.book1D("SubJet1_CMSTopTag_phi", "SubJet1_CMSTopTag_phi", phiBin_, phiMin_, phiMax_);
1450  mSubJet1_CMSTopTag_mass = ibooker.book1D("SubJet1_CMSTopTag_mass", "SubJet1_CMSTopTag_mass", 50, 0, 250);
1451  mSubJet2_CMSTopTag_pt = ibooker.book1D("SubJet2_CMSTopTag_pt", "SubJet2_CMSTopTag_pt", ptBin_, ptMin_, ptMax_);
1453  ibooker.book1D("SubJet2_CMSTopTag_eta", "SubJet2_CMSTopTag_eta", etaBin_, etaMin_, etaMax_);
1455  ibooker.book1D("SubJet2_CMSTopTag_phi", "SubJet2_CMSTopTag_phi", phiBin_, phiMin_, phiMax_);
1456  mSubJet2_CMSTopTag_mass = ibooker.book1D("SubJet2_CMSTopTag_mass", "SubJet2_CMSTopTag_mass", 50, 0, 250);
1457  mSubJet3_CMSTopTag_pt = ibooker.book1D("SubJet3_CMSTopTag_pt", "SubJet3_CMSTopTag_pt", ptBin_, ptMin_, ptMax_);
1459  ibooker.book1D("SubJet3_CMSTopTag_eta", "SubJet3_CMSTopTag_eta", etaBin_, etaMin_, etaMax_);
1461  ibooker.book1D("SubJet3_CMSTopTag_phi", "SubJet3_CMSTopTag_phi", phiBin_, phiMin_, phiMax_);
1462  mSubJet3_CMSTopTag_mass = ibooker.book1D("SubJet3_CMSTopTag_mass", "SubJet3_CMSTopTag_mass", 50, 0, 250);
1463  mSubJet4_CMSTopTag_pt = ibooker.book1D("SubJet4_CMSTopTag_pt", "SubJet4_CMSTopTag_pt", ptBin_, ptMin_, ptMax_);
1465  ibooker.book1D("SubJet4_CMSTopTag_eta", "SubJet4_CMSTopTag_eta", etaBin_, etaMin_, etaMax_);
1467  ibooker.book1D("SubJet4_CMSTopTag_phi", "SubJet4_CMSTopTag_phi", phiBin_, phiMin_, phiMax_);
1468  mSubJet4_CMSTopTag_mass = ibooker.book1D("SubJet4_CMSTopTag_mass", "SubJet4_CMSTopTag_mass", 50, 0, 250);
1469 
1470  map_of_MEs.insert(
1471  std::pair<std::string, MonitorElement*>(DirName + "/" + "nSubJets_CMSTopTag", mnSubJetsCMSTopTag));
1472  map_of_MEs.insert(
1473  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_pt", mSubJet1_CMSTopTag_pt));
1474  map_of_MEs.insert(
1475  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_eta", mSubJet1_CMSTopTag_eta));
1476  map_of_MEs.insert(
1477  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_phi", mSubJet1_CMSTopTag_phi));
1478  map_of_MEs.insert(
1479  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_mass", mSubJet1_CMSTopTag_mass));
1480  map_of_MEs.insert(
1481  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_pt", mSubJet2_CMSTopTag_pt));
1482  map_of_MEs.insert(
1483  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_eta", mSubJet2_CMSTopTag_eta));
1484  map_of_MEs.insert(
1485  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_phi", mSubJet2_CMSTopTag_phi));
1486  map_of_MEs.insert(
1487  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_mass", mSubJet2_CMSTopTag_mass));
1488  map_of_MEs.insert(
1489  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_pt", mSubJet3_CMSTopTag_pt));
1490  map_of_MEs.insert(
1491  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_eta", mSubJet3_CMSTopTag_eta));
1492  map_of_MEs.insert(
1493  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_phi", mSubJet3_CMSTopTag_phi));
1494  map_of_MEs.insert(
1495  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_mass", mSubJet3_CMSTopTag_mass));
1496  map_of_MEs.insert(
1497  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_pt", mSubJet4_CMSTopTag_pt));
1498  map_of_MEs.insert(
1499  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_eta", mSubJet4_CMSTopTag_eta));
1500  map_of_MEs.insert(
1501  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_phi", mSubJet4_CMSTopTag_phi));
1502  map_of_MEs.insert(
1503  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_mass", mSubJet4_CMSTopTag_mass));
1504 
1505  mnSubJetsSoftDrop = ibooker.book1D("nSubJets_SoftDrop", "nSubJets_SoftDrop", 10, 0, 10);
1506  mSubJet1_SoftDrop_pt = ibooker.book1D("SubJet1_SoftDrop_pt", "SubJet1_SoftDrop_pt", ptBin_, ptMin_, ptMax_);
1507  mSubJet1_SoftDrop_eta = ibooker.book1D("SubJet1_SoftDrop_eta", "SubJet1_SoftDrop_eta", etaBin_, etaMin_, etaMax_);
1508  mSubJet1_SoftDrop_phi = ibooker.book1D("SubJet1_SoftDrop_phi", "SubJet1_SoftDrop_phi", phiBin_, phiMin_, phiMax_);
1509  mSubJet1_SoftDrop_mass = ibooker.book1D("SubJet1_SoftDrop_mass", "SubJet1_SoftDrop_mass", 50, 0, 250);
1510  mSubJet2_SoftDrop_pt = ibooker.book1D("SubJet2_SoftDrop_pt", "SubJet2_SoftDrop_pt", ptBin_, ptMin_, ptMax_);
1511  mSubJet2_SoftDrop_eta = ibooker.book1D("SubJet2_SoftDrop_eta", "SubJet2_SoftDrop_eta", etaBin_, etaMin_, etaMax_);
1512  mSubJet2_SoftDrop_phi = ibooker.book1D("SubJet2_SoftDrop_phi", "SubJet2_SoftDrop_phi", phiBin_, phiMin_, phiMax_);
1513  mSubJet2_SoftDrop_mass = ibooker.book1D("SubJet2_SoftDrop_mass", "SubJet2_SoftDrop_mass", 50, 0, 250);
1514 
1515  map_of_MEs.insert(
1516  std::pair<std::string, MonitorElement*>(DirName + "/" + "nSubJets_SoftDrop", mnSubJetsSoftDrop));
1517  map_of_MEs.insert(
1518  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_pt", mSubJet1_SoftDrop_pt));
1519  map_of_MEs.insert(
1520  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_eta", mSubJet1_SoftDrop_eta));
1521  map_of_MEs.insert(
1522  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_phi", mSubJet1_SoftDrop_phi));
1523  map_of_MEs.insert(
1524  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_mass", mSubJet1_SoftDrop_mass));
1525  map_of_MEs.insert(
1526  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_pt", mSubJet2_SoftDrop_pt));
1527  map_of_MEs.insert(
1528  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_eta", mSubJet2_SoftDrop_eta));
1529  map_of_MEs.insert(
1530  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_phi", mSubJet2_SoftDrop_phi));
1531  map_of_MEs.insert(
1532  std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_mass", mSubJet2_SoftDrop_mass));
1533  //miniaod specific variables, especially for substructure for boosted stuff
1534  mSoftDropMass_boosted = ibooker.book1D("SoftDropMass_boosted", "SoftDropMass_boosted", 50, 0, 250);
1535  mPrunedMass_boosted = ibooker.book1D("PrunedMass_boosted", "PrunedMass_boosted", 50, 0, 250);
1536  mTrimmedMass_boosted = ibooker.book1D("TrimmedMass_boosted", "TrimmedMass_boosted", 50, 0, 250);
1537  mFilteredMass_boosted = ibooker.book1D("FilteredMass_boosted", "FilteredMass_boosted", 50, 0, 250);
1538  map_of_MEs.insert(
1539  std::pair<std::string, MonitorElement*>(DirName + "/" + "SoftDropMass_boosted", mSoftDropMass_boosted));
1540  map_of_MEs.insert(
1541  std::pair<std::string, MonitorElement*>(DirName + "/" + "PrunedMass_boosted", mPrunedMass_boosted));
1542  map_of_MEs.insert(
1543  std::pair<std::string, MonitorElement*>(DirName + "/" + "TrimmedMass_boosted", mTrimmedMass_boosted));
1544  map_of_MEs.insert(
1545  std::pair<std::string, MonitorElement*>(DirName + "/" + "FilteredMass_boosted", mFilteredMass_boosted));
1546 
1547  mtau2_over_tau1_boosted = ibooker.book1D("tau2_over_tau1_boosted", "tau2_over_tau1_boosted", 50, 0, 1);
1548  mtau3_over_tau2_boosted = ibooker.book1D("tau3_over_tau2_boosted", "tau3_over_tau2_boosted", 50, 0, 1);
1549  mCATopTag_topMass_boosted = ibooker.book1D("CATopTag_topMass_boosted", "CATopTag_topMass_boosted", 50, 50, 250);
1550  mCATopTag_minMass_boosted = ibooker.book1D("CATopTag_minMass_boosted", "CATopTag_minMass_boosted", 50, 0, 250);
1551  mCATopTag_nSubJets_boosted = ibooker.book1D("nSubJets_CATopTag_boosted", "nSubJets_CATopTag_boosted", 10, 0, 10);
1552  map_of_MEs.insert(
1553  std::pair<std::string, MonitorElement*>(DirName + "/" + "tau2_over_tau1_boosted", mtau2_over_tau1_boosted));
1554  map_of_MEs.insert(
1555  std::pair<std::string, MonitorElement*>(DirName + "/" + "tau3_over_tau2_boosted", mtau3_over_tau2_boosted));
1556  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CATopTag_topMass_boosted",
1558  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CATopTag_minMass_boosted",
1560  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "nSubJets_CATopTag_boosted",
1562 
1564  ibooker.book1D("nSubJets_CMSTopTag_boosted", "nSubJets_CMSTopTag_boosted", 10, 0, 10);
1566  ibooker.book1D("SubJet1_CMSTopTag_pt_boosted", "SubJet1_CMSTopTag_pt_boosted", ptBin_, ptMin_, 2 * ptMax_);
1568  ibooker.book1D("SubJet1_CMSTopTag_eta_boosted", "SubJet1_CMSTopTag_eta_boosted", etaBin_, etaMin_, etaMax_);
1570  ibooker.book1D("SubJet1_CMSTopTag_phi_boosted", "SubJet1_CMSTopTag_phi_boosted", phiBin_, phiMin_, phiMax_);
1572  ibooker.book1D("SubJet1_CMSTopTag_mass_boosted", "SubJet1_CMSTopTag_mass_boosted", 50, 0, 250);
1574  ibooker.book1D("SubJet2_CMSTopTag_pt_boosted", "SubJet2_CMSTopTag_pt_boosted", ptBin_, ptMin_, 2 * ptMax_);
1576  ibooker.book1D("SubJet2_CMSTopTag_eta_boosted", "SubJet2_CMSTopTag_eta_boosted", etaBin_, etaMin_, etaMax_);
1578  ibooker.book1D("SubJet2_CMSTopTag_phi_boosted", "SubJet2_CMSTopTag_phi_boosted", phiBin_, phiMin_, phiMax_);
1580  ibooker.book1D("SubJet2_CMSTopTag_mass_boosted", "SubJet2_CMSTopTag_mass_boosted", 50, 0, 250);
1582  ibooker.book1D("SubJet3_CMSTopTag_pt_boosted", "SubJet3_CMSTopTag_pt_boosted", ptBin_, ptMin_, ptMax_);
1584  ibooker.book1D("SubJet3_CMSTopTag_eta_boosted", "SubJet3_CMSTopTag_eta_boosted", etaBin_, etaMin_, etaMax_);
1586  ibooker.book1D("SubJet3_CMSTopTag_phi_boosted", "SubJet3_CMSTopTag_phi_boosted", phiBin_, phiMin_, phiMax_);
1588  ibooker.book1D("SubJet3_CMSTopTag_mass_boosted", "SubJet3_CMSTopTag_mass_boosted", 50, 0, 250);
1590  ibooker.book1D("SubJet4_CMSTopTag_pt_boosted", "SubJet4_CMSTopTag_pt_boosted", ptBin_, ptMin_, ptMax_);
1592  ibooker.book1D("SubJet4_CMSTopTag_eta_boosted", "SubJet4_CMSTopTag_eta_boosted", etaBin_, etaMin_, etaMax_);
1594  ibooker.book1D("SubJet4_CMSTopTag_phi_boosted", "SubJet4_CMSTopTag_phi_boosted", phiBin_, phiMin_, phiMax_);
1596  ibooker.book1D("SubJet4_CMSTopTag_mass_boosted", "SubJet4_CMSTopTag_mass_boosted", 50, 0, 250);
1597 
1598  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "nSubJets_CMSTopTag_boosted",
1600  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_pt_boosted",
1602  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_eta_boosted",
1604  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_phi_boosted",
1606  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_CMSTopTag_mass_boosted",
1608  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_pt_boosted",
1610  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_eta_boosted",
1612  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_phi_boosted",
1614  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_CMSTopTag_mass_boosted",
1616  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_pt_boosted",
1618  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_eta_boosted",
1620  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_phi_boosted",
1622  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet3_CMSTopTag_mass_boosted",
1624  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_pt_boosted",
1626  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_eta_boosted",
1628  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_phi_boosted",
1630  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet4_CMSTopTag_mass_boosted",
1632 
1633  mnSubJetsSoftDrop_boosted = ibooker.book1D("nSubJets_SoftDrop_boosted", "nSubJets_SoftDrop_boosted", 10, 0, 10);
1635  ibooker.book1D("SubJet1_SoftDrop_pt_boosted", "SubJet1_SoftDrop_pt_boosted", ptBin_, ptMin_, 2 * ptMax_);
1637  ibooker.book1D("SubJet1_SoftDrop_eta_boosted", "SubJet1_SoftDrop_eta_boosted", etaBin_, etaMin_, etaMax_);
1639  ibooker.book1D("SubJet1_SoftDrop_phi_boosted", "SubJet1_SoftDrop_phi_boosted", phiBin_, phiMin_, phiMax_);
1641  ibooker.book1D("SubJet1_SoftDrop_mass_boosted", "SubJet1_SoftDrop_mass_boosted", 50, 0, 250);
1643  ibooker.book1D("SubJet2_SoftDrop_pt_boosted", "SubJet2_SoftDrop_pt_boosted", ptBin_, ptMin_, 2 * ptMax_);
1645  ibooker.book1D("SubJet2_SoftDrop_eta_boosted", "SubJet2_SoftDrop_eta_boosted", etaBin_, etaMin_, etaMax_);
1647  ibooker.book1D("SubJet2_SoftDrop_phi_boosted", "SubJet2_SoftDrop_phi_boosted", phiBin_, phiMin_, phiMax_);
1649  ibooker.book1D("SubJet2_SoftDrop_mass_boosted", "SubJet2_SoftDrop_mass_boosted", 50, 0, 250);
1650 
1651  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "nSubJets_SoftDrop_boosted",
1653  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_pt_boosted",
1655  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_eta_boosted",
1657  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_phi_boosted",
1659  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet1_SoftDrop_mass_boosted",
1661  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_pt_boosted",
1663  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_eta_boosted",
1665  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_phi_boosted",
1667  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "SubJet2_SoftDrop_mass_boosted",
1669  }
1670  }
1671 
1672  if (jetCleaningFlag_) {
1673  //so far we have only one additional selection -> implement to make it expandable
1674  folderNames_.push_back("DiJet");
1675  if (isPFJet_) { //check for now only for PFJets
1676  folderNames_.push_back("ZJets");
1677  }
1678  //book for each of these selection default histograms
1679  for (std::vector<std::string>::const_iterator ic = folderNames_.begin(); ic != folderNames_.end(); ic++) {
1680  bookMESetSelection(DirName + "/" + *ic, ibooker);
1681  }
1682  }
1683 
1684  ibooker.setCurrentFolder("JetMET");
1685  cleanupME = ibooker.book1D("cleanup", "cleanup", 10, 0., 10.);
1686  cleanupME->setBinLabel(1, "Primary Vertex");
1687  cleanupME->setBinLabel(2, "DCS::Pixel");
1688  cleanupME->setBinLabel(3, "DCS::SiStrip");
1689  cleanupME->setBinLabel(4, "DCS::ECAL");
1690  cleanupME->setBinLabel(5, "DCS::ES");
1691  cleanupME->setBinLabel(6, "DCS::HBHE");
1692  cleanupME->setBinLabel(7, "DCS::HF");
1693  cleanupME->setBinLabel(8, "DCS::HO");
1694  cleanupME->setBinLabel(9, "DCS::Muon");
1695  map_of_MEs.insert(std::pair<std::string, MonitorElement*>("JetMET/cleanup", cleanupME));
1696 
1697  verticesME = ibooker.book1D("vertices", "vertices", 100, 0, 100);
1698  map_of_MEs.insert(std::pair<std::string, MonitorElement*>("JetMET/vertices", verticesME));
1699 }
MonitorElement * mSubJet1_CMSTopTag_eta_boosted
Definition: JetAnalyzer.h:700
MonitorElement * mCHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:383
MonitorElement * mSubJet3_CMSTopTag_mass
Definition: JetAnalyzer.h:671
MonitorElement * mEFrac_EndCap
Definition: JetAnalyzer.h:239
MonitorElement * mNJets
Definition: JetAnalyzer.h:262
MonitorElement * mNHEn_lowPt_Barrel
Definition: JetAnalyzer.h:379
MonitorElement * mSubJet2_CMSTopTag_eta_boosted
Definition: JetAnalyzer.h:704
MonitorElement * mMass_lowPt_Forward
Definition: JetAnalyzer.h:449
MonitorElement * mPt_Forward_Hi
Definition: JetAnalyzer.h:257
MonitorElement * mMass_mediumPt_Forward
Definition: JetAnalyzer.h:452
MonitorElement * mePtForwardPlus_BXm1Empty
Definition: JetAnalyzer.h:605
MonitorElement * mMass_highPt_Forward
Definition: JetAnalyzer.h:455
MonitorElement * mHadEnergyInHB
Definition: JetAnalyzer.h:356
MonitorElement * mHFEEn_highPt_Forward
Definition: JetAnalyzer.h:477
MonitorElement * mSubJet2_CMSTopTag_phi_boosted
Definition: JetAnalyzer.h:705
MonitorElement * mfRBX
Definition: JetAnalyzer.h:364
MonitorElement * mSubJet1_SoftDrop_phi_boosted
Definition: JetAnalyzer.h:719
MonitorElement * mCHEn_highPt_Barrel
Definition: JetAnalyzer.h:388
MonitorElement * mPhi_Forward
Definition: JetAnalyzer.h:242
MonitorElement * mChMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:399
MonitorElement * mLooseCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:298
MonitorElement * mChMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:460
MonitorElement * mNeutralEmEnergy
Definition: JetAnalyzer.h:487
MonitorElement * mtau2_over_tau1
Definition: JetAnalyzer.h:653
double ptMin_
Definition: JetAnalyzer.h:175
MonitorElement * mPhEn_mediumPt_EndCap
Definition: JetAnalyzer.h:439
MonitorElement * mPt_Lo
Definition: JetAnalyzer.h:272
MonitorElement * mtau2_over_tau1_boosted
Definition: JetAnalyzer.h:692
MonitorElement * mePhFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:636
MonitorElement * mSubJet2_SoftDrop_phi_boosted
Definition: JetAnalyzer.h:723
MonitorElement * mEmEnergyInHF
Definition: JetAnalyzer.h:361
MonitorElement * mtau3_over_tau2
Definition: JetAnalyzer.h:654
bool jetCleaningFlag_
Definition: JetAnalyzer.h:344
MonitorElement * mPhiFirst
Definition: JetAnalyzer.h:267
MonitorElement * mCutPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:306
MonitorElement * mCATopTag_nSubJets
Definition: JetAnalyzer.h:657
MonitorElement * mNeutralHadronEnergy
Definition: JetAnalyzer.h:484
MonitorElement * mHFEFrac_mediumPt_Forward
Definition: JetAnalyzer.h:469
MonitorElement * mPt_Forward
Definition: JetAnalyzer.h:241
MonitorElement * mCHFrac_highPt_EndCap
Definition: JetAnalyzer.h:428
MonitorElement * mNHFrac_highPt_EndCap
Definition: JetAnalyzer.h:429
MonitorElement * mSubJet4_CMSTopTag_phi
Definition: JetAnalyzer.h:674
MonitorElement * mSubJet3_CMSTopTag_pt
Definition: JetAnalyzer.h:668
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * mChargedEmEnergy_profile
Definition: JetAnalyzer.h:545
MonitorElement * mHFrac_Forward
Definition: JetAnalyzer.h:244
MonitorElement * mEmEnergyInEE
Definition: JetAnalyzer.h:360
MonitorElement * mMass_Barrel
Definition: JetAnalyzer.h:729
MonitorElement * mMass_Forward
Definition: JetAnalyzer.h:731
MonitorElement * mHFHFrac_highPt_Forward
Definition: JetAnalyzer.h:472
MonitorElement * meNHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:629
MonitorElement * mHFHEn_lowPt_Forward
Definition: JetAnalyzer.h:474
MonitorElement * mNHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:423
virtual void setOption(const char *option)
MonitorElement * mCHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:369
MonitorElement * mElEn_highPt_Barrel
Definition: JetAnalyzer.h:391
MonitorElement * jetME
Definition: JetAnalyzer.h:205
MonitorElement * mPrunedMass_boosted
Definition: JetAnalyzer.h:689
MonitorElement * mPhEn_lowPt_EndCap
Definition: JetAnalyzer.h:434
MonitorElement * mSubJet1_SoftDrop_mass
Definition: JetAnalyzer.h:681
MonitorElement * mMediumCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:300
MonitorElement * mHFEEn_lowPt_Forward
Definition: JetAnalyzer.h:473
MonitorElement * mSubJet4_CMSTopTag_mass
Definition: JetAnalyzer.h:675
MonitorElement * meNHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:633
MonitorElement * mPhi_EndCap
Definition: JetAnalyzer.h:236
MonitorElement * mPrunedMass
Definition: JetAnalyzer.h:650
MonitorElement * mPhFrac_lowPt_EndCap
Definition: JetAnalyzer.h:424
MonitorElement * mMass_highPt_EndCap
Definition: JetAnalyzer.h:454
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:291
MonitorElement * mNHFracVSeta_highPt
Definition: JetAnalyzer.h:419
MonitorElement * mCutPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:304
MonitorElement * mSubJet1_CMSTopTag_mass
Definition: JetAnalyzer.h:663
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:362
MonitorElement * mSubJet1_SoftDrop_eta_boosted
Definition: JetAnalyzer.h:718
MonitorElement * mSubJet1_SoftDrop_pt_boosted
Definition: JetAnalyzer.h:717
MonitorElement * mCHEn_lowPt_EndCap
Definition: JetAnalyzer.h:432
MonitorElement * meNHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:597
MonitorElement * mCutPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:305
MonitorElement * mCHFracVSeta_highPt
Definition: JetAnalyzer.h:418
MonitorElement * mPhEn_highPt_Barrel
Definition: JetAnalyzer.h:390
MonitorElement * mSubJet2_SoftDrop_eta_boosted
Definition: JetAnalyzer.h:722
MonitorElement * mNeutMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:458
MonitorElement * mNHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:438
MonitorElement * mEta_Hi
Definition: JetAnalyzer.h:274
bool isCaloJet_
Definition: JetAnalyzer.h:786
MonitorElement * meCHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:638
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:489
MonitorElement * mCATopTag_minMass
Definition: JetAnalyzer.h:656
MonitorElement * mMass_lowPt_Barrel
Definition: JetAnalyzer.h:447
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:326
MonitorElement * mePhFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:628
MonitorElement * mPt_3
Definition: JetAnalyzer.h:211
std::string const & label() const
Definition: InputTag.h:36
MonitorElement * mSubJet2_SoftDrop_pt_boosted
Definition: JetAnalyzer.h:721
MonitorElement * mEta
Definition: JetAnalyzer.h:213
MonitorElement * mConstituents_Forward
Definition: JetAnalyzer.h:243
MonitorElement * mPt_CaloJet
Definition: JetAnalyzer.h:727
std::string DirName
Definition: JetAnalyzer.h:158
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:290
MonitorElement * mtau3_over_tau2_boosted
Definition: JetAnalyzer.h:693
MonitorElement * mnSubJetsSoftDrop
Definition: JetAnalyzer.h:677
MonitorElement * mPt_Hi
Definition: JetAnalyzer.h:276
MonitorElement * mePhFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:596
MonitorElement * meHFHFracPlus_BXm1Filled
Definition: JetAnalyzer.h:643
MonitorElement * meNHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:637
MonitorElement * mSubJet2_CMSTopTag_mass
Definition: JetAnalyzer.h:667
MonitorElement * mCHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:422
MonitorElement * mMuMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:401
MonitorElement * mNHFracVSeta_mediumPt
Definition: JetAnalyzer.h:416
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:548
MonitorElement * mHFEFrac_lowPt_Forward
Definition: JetAnalyzer.h:467
MonitorElement * mMass_EndCap
Definition: JetAnalyzer.h:730
MonitorElement * meHFEMFracPlus_BXm1Filled
Definition: JetAnalyzer.h:644
MonitorElement * mNHFracVSeta_lowPt
Definition: JetAnalyzer.h:413
MonitorElement * mLooseJIDPassFractionVSpt
Definition: JetAnalyzer.h:279
MonitorElement * mPt_uncor
Definition: JetAnalyzer.h:215
MonitorElement * mDPhi
Definition: JetAnalyzer.h:263
MonitorElement * mresEMF
Definition: JetAnalyzer.h:365
MonitorElement * mEMF_CaloJet
Definition: JetAnalyzer.h:728
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:784
MonitorElement * mChargedMuEnergy
Definition: JetAnalyzer.h:486
MonitorElement * mLooseMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:283
double nPVhigh_
Definition: JetAnalyzer.h:188
MonitorElement * mMuMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:462
bool filljetsubstruc_
Definition: JetAnalyzer.h:345
bool runcosmics_
Definition: JetAnalyzer.h:348
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:324
MonitorElement * mPt_Barrel_Hi
Definition: JetAnalyzer.h:247
MonitorElement * mEmEnergyInEB
Definition: JetAnalyzer.h:359
MonitorElement * mSubJet1_CMSTopTag_mass_boosted
Definition: JetAnalyzer.h:702
MonitorElement * mCATopTag_topMass_boosted
Definition: JetAnalyzer.h:694
MonitorElement * mTightCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:302
MonitorElement * mMediumMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:284
MonitorElement * mSubJet3_CMSTopTag_eta_boosted
Definition: JetAnalyzer.h:708
MonitorElement * mePtEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:599
MonitorElement * mSubJet1_SoftDrop_mass_boosted
Definition: JetAnalyzer.h:720
MonitorElement * mChargedHadronEnergy_profile
Definition: JetAnalyzer.h:543
MonitorElement * mPhi_Barrel
Definition: JetAnalyzer.h:230
MonitorElement * mPhFrac_lowPt_Barrel
Definition: JetAnalyzer.h:371
MonitorElement * mSubJet2_CMSTopTag_pt_boosted
Definition: JetAnalyzer.h:703
MonitorElement * mSubJet2_SoftDrop_eta
Definition: JetAnalyzer.h:683
MonitorElement * mMass_lowPt_EndCap
Definition: JetAnalyzer.h:448
MonitorElement * mConstituents_EndCap
Definition: JetAnalyzer.h:237
MonitorElement * mPhi_EndCap_Hi
Definition: JetAnalyzer.h:253
MonitorElement * mPt_log
Definition: JetAnalyzer.h:212
MonitorElement * mSubJet1_CMSTopTag_phi
Definition: JetAnalyzer.h:662
MonitorElement * meEta_BXm1Empty
Definition: JetAnalyzer.h:606
MonitorElement * mHFHFrac_mediumPt_Forward
Definition: JetAnalyzer.h:470
MonitorElement * mPhFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:374
MonitorElement * mFilteredMass
Definition: JetAnalyzer.h:652
MonitorElement * mSubJet1_CMSTopTag_pt
Definition: JetAnalyzer.h:660
MonitorElement * mSoftDropMass
Definition: JetAnalyzer.h:649
MonitorElement * mePtEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:595
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:549
MonitorElement * meHFHFracMinus_BXm1Filled
Definition: JetAnalyzer.h:640
MonitorElement * cleanupME
Definition: JetAnalyzer.h:335
MonitorElement * mPhEn_mediumPt_Barrel
Definition: JetAnalyzer.h:385
MonitorElement * mTrimmedMass_boosted
Definition: JetAnalyzer.h:690
MonitorElement * mSubJet2_SoftDrop_mass_boosted
Definition: JetAnalyzer.h:724
MonitorElement * mLooseMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:282
MonitorElement * mNeutMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:461
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:534
MonitorElement * mNHFracVSpT_EndCap
Definition: JetAnalyzer.h:407
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:399
MonitorElement * mNeutralEmEnergy_profile
Definition: JetAnalyzer.h:547
MonitorElement * mNHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:373
MonitorElement * mPhEn_lowPt_Barrel
Definition: JetAnalyzer.h:380
MonitorElement * mSubJet2_SoftDrop_pt
Definition: JetAnalyzer.h:682
double ptMax_
Definition: JetAnalyzer.h:176
MonitorElement * mPt_1
Definition: JetAnalyzer.h:209
MonitorElement * mConstituents_Barrel
Definition: JetAnalyzer.h:231
MonitorElement * mCATopTag_minMass_boosted
Definition: JetAnalyzer.h:695
MonitorElement * meHFHFracMinus_BXm1Empty
Definition: JetAnalyzer.h:600
MonitorElement * meCHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:594
MonitorElement * mNHEn_lowPt_EndCap
Definition: JetAnalyzer.h:433
MonitorElement * mSubJet4_CMSTopTag_pt_boosted
Definition: JetAnalyzer.h:711
MonitorElement * mMuEn_lowPt_EndCap
Definition: JetAnalyzer.h:436
MonitorElement * mPhi
Definition: JetAnalyzer.h:214
MonitorElement * meHFEMFracMinus_BXm1Filled
Definition: JetAnalyzer.h:641
MonitorElement * mNeutMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:394
MonitorElement * mSubJet3_CMSTopTag_phi_boosted
Definition: JetAnalyzer.h:709
MonitorElement * mPhFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:427
MonitorElement * mSubJet4_CMSTopTag_phi_boosted
Definition: JetAnalyzer.h:713
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:550
MonitorElement * mSubJet2_CMSTopTag_pt
Definition: JetAnalyzer.h:664
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:309
MonitorElement * mCutPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:311
MonitorElement * mChargedHadronEnergy
Definition: JetAnalyzer.h:483
MonitorElement * mPhi_uncor
Definition: JetAnalyzer.h:217
MonitorElement * mSubJet2_CMSTopTag_eta
Definition: JetAnalyzer.h:665
MonitorElement * mCutPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:310
MonitorElement * mChargedEmEnergy
Definition: JetAnalyzer.h:485
MonitorElement * mNeutMultiplicity_mediumPt_Forward
Definition: JetAnalyzer.h:480
MonitorElement * mSubJet1_CMSTopTag_eta
Definition: JetAnalyzer.h:661
MonitorElement * mMass_mediumPt_EndCap
Definition: JetAnalyzer.h:451
MonitorElement * meNHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:589
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:321
MonitorElement * mPhFracVSeta_lowPt
Definition: JetAnalyzer.h:414
MonitorElement * mChMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:393
MonitorElement * mnSubJetsCMSTopTag_boosted
Definition: JetAnalyzer.h:698
MonitorElement * mEtaFirst
Definition: JetAnalyzer.h:266
MonitorElement * mElEn_lowPt_EndCap
Definition: JetAnalyzer.h:435
MonitorElement * mTightMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:286
MonitorElement * mNHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:426
MonitorElement * mEFrac_Forward
Definition: JetAnalyzer.h:245
MonitorElement * mCATopTag_topMass
Definition: JetAnalyzer.h:655
MonitorElement * mSubJet3_CMSTopTag_eta
Definition: JetAnalyzer.h:669
MonitorElement * mChMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:457
MonitorElement * mMuEn_mediumPt_Barrel
Definition: JetAnalyzer.h:387
MonitorElement * mSubJet3_CMSTopTag_phi
Definition: JetAnalyzer.h:670
MonitorElement * mMuMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:465
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * mPt_2
Definition: JetAnalyzer.h:210
MonitorElement * mMVAPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:294
MonitorElement * mSubJet1_SoftDrop_pt
Definition: JetAnalyzer.h:678
MonitorElement * mNeutralHadronEnergy_profile
Definition: JetAnalyzer.h:544
MonitorElement * mHFrac_Barrel
Definition: JetAnalyzer.h:232
MonitorElement * mNJets_profile
Definition: JetAnalyzer.h:320
MonitorElement * mHFEFracVSpT_Forward
Definition: JetAnalyzer.h:410
MonitorElement * mePhFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:588
MonitorElement * mCHEn_lowPt_Barrel
Definition: JetAnalyzer.h:378
MonitorElement * mHFEFrac_highPt_Forward
Definition: JetAnalyzer.h:471
MonitorElement * mElEn_highPt_EndCap
Definition: JetAnalyzer.h:445
MonitorElement * mCutPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:308
MonitorElement * mEFrac
Definition: JetAnalyzer.h:226
double phiMin_
Definition: JetAnalyzer.h:171
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:307
MonitorElement * mPhFrac_highPt_EndCap
Definition: JetAnalyzer.h:430
MonitorElement * mPhFracVSeta_mediumPt
Definition: JetAnalyzer.h:417
MonitorElement * meHFEMFracPlus_BXm1Empty
Definition: JetAnalyzer.h:604
MonitorElement * mSubJet3_CMSTopTag_pt_boosted
Definition: JetAnalyzer.h:707
MonitorElement * mnSubJetsSoftDrop_boosted
Definition: JetAnalyzer.h:716
MonitorElement * meCHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:590
MonitorElement * mePtBarrel_BXm1Empty
Definition: JetAnalyzer.h:591
MonitorElement * mNHFracVSpT_Barrel
Definition: JetAnalyzer.h:404
MonitorElement * mHadEnergyInHF
Definition: JetAnalyzer.h:357
double nPVlow_
Definition: JetAnalyzer.h:187
MonitorElement * mSubJet1_SoftDrop_eta
Definition: JetAnalyzer.h:679
MonitorElement * mfHPD
Definition: JetAnalyzer.h:363
MonitorElement * mNeutMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:464
MonitorElement * mHFHEn_mediumPt_Forward
Definition: JetAnalyzer.h:476
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:220
MonitorElement * mSubJet2_CMSTopTag_phi
Definition: JetAnalyzer.h:666
MonitorElement * mElEn_mediumPt_Barrel
Definition: JetAnalyzer.h:386
MonitorElement * mMVAPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:296
MonitorElement * mSubJet3_CMSTopTag_mass_boosted
Definition: JetAnalyzer.h:710
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:488
MonitorElement * mNHEn_highPt_Barrel
Definition: JetAnalyzer.h:389
MonitorElement * mPt
Definition: JetAnalyzer.h:208
MonitorElement * mEFrac_Barrel
Definition: JetAnalyzer.h:233
MonitorElement * mCHFracVSeta_mediumPt
Definition: JetAnalyzer.h:415
MonitorElement * mePtBarrel_BXm1Filled
Definition: JetAnalyzer.h:631
MonitorElement * mCHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:425
MonitorElement * mNHFrac_highPt_Barrel
Definition: JetAnalyzer.h:376
MonitorElement * mMediumCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:301
MonitorElement * mPhi_Barrel_Hi
Definition: JetAnalyzer.h:248
MonitorElement * mePhFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:592
double etaMin_
Definition: JetAnalyzer.h:167
double ptThresholdUnc_
Definition: JetAnalyzer.h:195
MonitorElement * mSubJet4_CMSTopTag_eta_boosted
Definition: JetAnalyzer.h:712
MonitorElement * mMuMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:398
MonitorElement * mHFrac_EndCap
Definition: JetAnalyzer.h:238
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:222
double etaMax_
Definition: JetAnalyzer.h:168
MonitorElement * mElEn_mediumPt_EndCap
Definition: JetAnalyzer.h:440
MonitorElement * mPhiVSEta
Definition: JetAnalyzer.h:227
MonitorElement * mePtEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:635
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:212
MonitorElement * mChargedMuEnergy_profile
Definition: JetAnalyzer.h:546
MonitorElement * mLooseJIDPassFractionVSptNoHF
Definition: JetAnalyzer.h:280
MonitorElement * mEta_uncor
Definition: JetAnalyzer.h:216
MonitorElement * mMediumMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:285
MonitorElement * mCHEn_highPt_EndCap
Definition: JetAnalyzer.h:442
MonitorElement * mMVAPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:295
MonitorElement * mCHFracVSpT_EndCap
Definition: JetAnalyzer.h:406
MonitorElement * mHFHFracVSpT_Forward
Definition: JetAnalyzer.h:409
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:288
bool isMiniAODJet_
Definition: JetAnalyzer.h:788
MonitorElement * mNHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:384
MonitorElement * mSubJet2_SoftDrop_phi
Definition: JetAnalyzer.h:684
MonitorElement * mMuMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:395
MonitorElement * mMuEn_highPt_EndCap
Definition: JetAnalyzer.h:446
MonitorElement * mLooseJIDPassFractionVSeta
Definition: JetAnalyzer.h:278
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:325
MonitorElement * mPhEn_highPt_EndCap
Definition: JetAnalyzer.h:444
MonitorElement * mSubJet4_CMSTopTag_mass_boosted
Definition: JetAnalyzer.h:714
MonitorElement * mMVAPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:289
MonitorElement * mMuEn_mediumPt_EndCap
Definition: JetAnalyzer.h:441
MonitorElement * mPt_EndCap_Hi
Definition: JetAnalyzer.h:252
MonitorElement * mMuEn_lowPt_Barrel
Definition: JetAnalyzer.h:382
MonitorElement * mTightMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:287
MonitorElement * mCHFrac_highPt_Barrel
Definition: JetAnalyzer.h:375
MonitorElement * mMuEn_highPt_Barrel
Definition: JetAnalyzer.h:392
MonitorElement * meCHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:598
MonitorElement * mTrimmedMass
Definition: JetAnalyzer.h:651
MonitorElement * mePhFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:632
MonitorElement * mHFHEn_highPt_Forward
Definition: JetAnalyzer.h:478
MonitorElement * mePtEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:639
MonitorElement * mNHEn_highPt_EndCap
Definition: JetAnalyzer.h:443
MonitorElement * mePtForwardPlus_BXm1Filled
Definition: JetAnalyzer.h:645
MonitorElement * mSubJet1_CMSTopTag_phi_boosted
Definition: JetAnalyzer.h:701
MonitorElement * mCHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:372
MonitorElement * mPhi_Hi
Definition: JetAnalyzer.h:275
void bookMESetSelection(std::string, DQMStore::IBooker &)
MonitorElement * mPtFirst
Definition: JetAnalyzer.h:268
MonitorElement * meNHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:593
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:323
MonitorElement * mPt_Barrel
Definition: JetAnalyzer.h:229
MonitorElement * meCHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:630
MonitorElement * mElEn_lowPt_Barrel
Definition: JetAnalyzer.h:381
MonitorElement * mMass_highPt_Barrel
Definition: JetAnalyzer.h:453
MonitorElement * mHadEnergyInHE
Definition: JetAnalyzer.h:358
MonitorElement * mMass_mediumPt_Barrel
Definition: JetAnalyzer.h:450
MonitorElement * meHFEMFracMinus_BXm1Empty
Definition: JetAnalyzer.h:601
MonitorElement * mCATopTag_nSubJets_boosted
Definition: JetAnalyzer.h:696
MonitorElement * mChMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:463
MonitorElement * mConstituents
Definition: JetAnalyzer.h:224
MonitorElement * mNHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:370
MonitorElement * mSubJet4_CMSTopTag_eta
Definition: JetAnalyzer.h:673
MonitorElement * meEta_BXm1Filled
Definition: JetAnalyzer.h:646
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:221
MonitorElement * mPhFrac_highPt_Barrel
Definition: JetAnalyzer.h:377
MonitorElement * mCHFracVSpT_Barrel
Definition: JetAnalyzer.h:403
MonitorElement * mPhFracVSpT_EndCap
Definition: JetAnalyzer.h:408
MonitorElement * mChMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:396
MonitorElement * mPhi_Forward_Hi
Definition: JetAnalyzer.h:258
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:322
MonitorElement * mCHFracVSeta_lowPt
Definition: JetAnalyzer.h:412
MonitorElement * mPt_EndCap
Definition: JetAnalyzer.h:235
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:292
MonitorElement * mCHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:437
MonitorElement * mTightCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:303
MonitorElement * mSubJet2_SoftDrop_mass
Definition: JetAnalyzer.h:685
MonitorElement * mSubJet4_CMSTopTag_pt
Definition: JetAnalyzer.h:672
double phiMax_
Definition: JetAnalyzer.h:172
MonitorElement * mNeutMultiplicity_highPt_Forward
Definition: JetAnalyzer.h:481
MonitorElement * mePtForwardMinus_BXm1Filled
Definition: JetAnalyzer.h:642
MonitorElement * mLooseCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:299
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:490
MonitorElement * mPhFracVSpT_Barrel
Definition: JetAnalyzer.h:405
MonitorElement * mSubJet1_CMSTopTag_pt_boosted
Definition: JetAnalyzer.h:699
MonitorElement * mHFHFrac_lowPt_Forward
Definition: JetAnalyzer.h:468
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:293
MonitorElement * mMuMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:459
MonitorElement * meHFHFracPlus_BXm1Empty
Definition: JetAnalyzer.h:603
MonitorElement * mnSubJetsCMSTopTag
Definition: JetAnalyzer.h:659
MonitorElement * mSubJet2_CMSTopTag_mass_boosted
Definition: JetAnalyzer.h:706
MonitorElement * mConstituents_uncor
Definition: JetAnalyzer.h:218
MonitorElement * mNeutMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:397
MonitorElement * meCHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:634
MonitorElement * mPhi_Lo
Definition: JetAnalyzer.h:271
MonitorElement * mHFrac
Definition: JetAnalyzer.h:225
MonitorElement * mCutPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:312
MonitorElement * mNeutMultiplicity_lowPt_Forward
Definition: JetAnalyzer.h:479
MonitorElement * mHFEEn_mediumPt_Forward
Definition: JetAnalyzer.h:475
MonitorElement * mSubJet1_SoftDrop_phi
Definition: JetAnalyzer.h:680
MonitorElement * mNeutMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:400
MonitorElement * verticesME
Definition: JetAnalyzer.h:336
MonitorElement * mPhFracVSeta_highPt
Definition: JetAnalyzer.h:420
MonitorElement * mFilteredMass_boosted
Definition: JetAnalyzer.h:691
MonitorElement * mePtForwardMinus_BXm1Empty
Definition: JetAnalyzer.h:602
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * mSoftDropMass_boosted
Definition: JetAnalyzer.h:688
std::vector< std::string > folderNames_
Definition: JetAnalyzer.h:156
MonitorElement * mHadEnergyInHO
Definition: JetAnalyzer.h:355
edm::InputTag mInputCollection_
Definition: JetAnalyzer.h:101

◆ bookMESetSelection()

void JetAnalyzer::bookMESetSelection ( std::string  DirName,
DQMStore::IBooker ibooker 
)
private

Definition at line 1701 of file JetAnalyzer.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), fed_dqm_sourceclient-live_cfg::DirName, dqm::impl::MonitorElement::setAxisTitle(), and dqm::implementation::NavigatorBase::setCurrentFolder().

1701  {
1702  ibooker.setCurrentFolder(DirName);
1703  // Generic jet parameters
1704  mPt = ibooker.book1D("Pt", "pt", ptBin_, ptMin_, ptMax_);
1705  mEta = ibooker.book1D("Eta", "eta", etaBin_, etaMin_, etaMax_);
1706  mPhi = ibooker.book1D("Phi", "phi", phiBin_, phiMin_, phiMax_);
1707  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt", mPt));
1708  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta", mEta));
1709  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi", mPhi));
1710  //if(!isJPTJet_){
1711  mConstituents = ibooker.book1D("Constituents", "# of constituents", 50, 0, 100);
1712  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents", mConstituents));
1713  //}
1714  mJetEnergyCorr = ibooker.book1D("JetEnergyCorr", "jet energy correction factor", 50, 0.0, 3.0);
1715  mJetEnergyCorrVSEta = ibooker.bookProfile(
1716  "JetEnergyCorrVSEta", "jet energy correction factor VS eta", etaBin_, etaMin_, etaMax_, 0.0, 3.0);
1718  ibooker.bookProfile("JetEnergyCorrVSPt", "jet energy correction factor VS pt", ptBin_, ptMin_, ptMax_, 0.0, 3.0);
1719 
1720  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorr", mJetEnergyCorr));
1721  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorrVSEta", mJetEnergyCorrVSEta));
1722  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorrVSPt", mJetEnergyCorrVSPt));
1723 
1724  //fill for Dijets: concentrates on gluon jets -> fill leading two jets
1725  //fill for ZJets: concentrates on quark jets -> fill leading jet
1726  if (fill_CHS_histos && isPFJet_) {
1727  mAxis2_lowPt_Barrel = ibooker.book1D("qg_Axis2_lowPt_Barrel", "qg Axis2 #sigma_{2} lowPt Barrel", 50, 0., 0.20);
1729  ibooker.book1D("qg_pTD_lowPt_Barrel", "qg fragmentation function p_{T}^{D} lowPt Barrel", 50, 0.15, 1.05);
1731  ibooker.book1D("qg_multiplicity_lowPt_Barrel", "qg multiplicity lowPt Barrel", 50, 0, 50);
1733  ibooker.book1D("qg_Likelihood_lowPt_Barrel", "qg likelihood lowPt Barrel", 50, -1.1, 1.1);
1734  mAxis2_lowPt_EndCap = ibooker.book1D("qg_Axis2_lowPt_EndCap", "qg Axis2 #sigma_{2} lowPt EndCap", 50, 0., 0.20);
1736  ibooker.book1D("qg_pTD_lowPt_EndCap", "qg fragmentation function p_{T}^{D} lowPt EndCap", 50, 0.15, 1.05);
1738  ibooker.book1D("qg_multiplicity_lowPt_EndCap", "qg multiplicity lowPt EndCap", 50, 0, 100);
1740  ibooker.book1D("qg_Likelihood_lowPt_EndCap", "qg likelihood lowPt EndCap", 50, -1.1, 1.1);
1741  mAxis2_lowPt_Forward = ibooker.book1D("qg_Axis2_lowPt_Forward", "qg Axis2 #sigma_{2} lowPt Forward", 50, 0., 0.20);
1743  ibooker.book1D("qg_pTD_lowPt_Forward", "qg fragmentation function p_{T}^{D} lowPt Forward", 50, 0.15, 1.05);
1745  ibooker.book1D("qg_multiplicity_lowPt_Forward", "qg multiplicity lowPt Forward", 50, 0, 100);
1747  ibooker.book1D("qg_Likelihood_lowPt_Forward", "qg likelihood lowPt Forward", 50, -1.1, 1.1);
1748 
1749  map_of_MEs.insert(
1750  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_lowPt_Barrel", mAxis2_lowPt_Barrel));
1751  map_of_MEs.insert(
1752  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_lowPt_Barrel", mpTD_lowPt_Barrel));
1753  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_lowPt_Barrel",
1755  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_lowPt_Barrel",
1757  map_of_MEs.insert(
1758  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_lowPt_EndCap", mAxis2_lowPt_EndCap));
1759  map_of_MEs.insert(
1760  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_lowPt_EndCap", mpTD_lowPt_EndCap));
1761  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_lowPt_EndCap",
1763  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_lowPt_EndCap",
1765  map_of_MEs.insert(
1766  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_lowPt_Forward", mAxis2_lowPt_Forward));
1767  map_of_MEs.insert(
1768  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_lowPt_Forward", mpTD_lowPt_Forward));
1769  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_lowPt_Forward",
1771  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_lowPt_Forward",
1773 
1775  ibooker.book1D("qg_Axis2_mediumPt_Barrel", "qg Axis2 #sigma_{2} mediumPt Barrel", 50, 0., 0.20);
1777  ibooker.book1D("qg_pTD_mediumPt_Barrel", "qg fragmentation function p_{T}^{D} mediumPt Barrel", 50, 0.15, 1.05);
1779  ibooker.book1D("qg_multiplicity_mediumPt_Barrel", "qg multiplicity mediumPt Barrel", 50, 0, 100);
1781  ibooker.book1D("qg_Likelihood_mediumPt_Barrel", "qg likelihood mediumPt Barrel", 50, -1.1, 1.1);
1783  ibooker.book1D("qg_Axis2_mediumPt_EndCap", "qg Axis2 #sigma_{2} mediumPt EndCap", 50, 0., 0.20);
1785  ibooker.book1D("qg_pTD_mediumPt_EndCap", "qg fragmentation function p_{T}^{D} mediumPt EndCap", 50, 0.15, 1.05);
1787  ibooker.book1D("qg_multiplicity_mediumPt_EndCap", "qg multiplicity mediumPt EndCap", 50, 0, 100);
1789  ibooker.book1D("qg_Likelihood_mediumPt_EndCap", "qg likelihood mediumPt EndCap", 50, -1.1, 1.1);
1791  ibooker.book1D("qg_Axis2_mediumPt_Forward", "qg Axis2 #sigma_{2} mediumPt Forward", 50, 0., 0.20);
1792  mpTD_mediumPt_Forward = ibooker.book1D(
1793  "qg_pTD_mediumPt_Forward", "qg fragmentation function p_{T}^{D} mediumPt Forward", 50, 0.15, 1.05);
1795  ibooker.book1D("qg_multiplicity_mediumPt_Forward", "qg multiplicity mediumPt Forward", 50, 0, 100);
1797  ibooker.book1D("qg_Likelihood_mediumPt_Forward", "qg likelihood mediumPt Forward", 50, -1.1, 1.1);
1798 
1799  map_of_MEs.insert(
1800  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_mediumPt_Barrel", mAxis2_mediumPt_Barrel));
1801  map_of_MEs.insert(
1802  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_mediumPt_Barrel", mpTD_mediumPt_Barrel));
1803  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_mediumPt_Barrel",
1805  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_mediumPt_Barrel",
1807  map_of_MEs.insert(
1808  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_mediumPt_EndCap", mAxis2_mediumPt_EndCap));
1809  map_of_MEs.insert(
1810  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_mediumPt_EndCap", mpTD_mediumPt_EndCap));
1811  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_mediumPt_EndCap",
1813  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_mediumPt_EndCap",
1815  map_of_MEs.insert(
1816  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_mediumPt_Forward", mAxis2_mediumPt_Forward));
1817  map_of_MEs.insert(
1818  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_mediumPt_Forward", mpTD_mediumPt_Forward));
1819  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_mediumPt_Forward",
1821  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_mediumPt_Forward",
1823 
1824  mAxis2_highPt_Barrel = ibooker.book1D("qg_Axis2_highPt_Barrel", "qg Axis2 #sigma_{2} highPt Barrel", 50, 0., 0.20);
1826  ibooker.book1D("qg_pTD_highPt_Barrel", "qg fragmentation function p_{T}^{D} highPt Barrel", 50, 0.15, 1.05);
1828  ibooker.book1D("qg_multiplicity_highPt_Barrel", "qg multiplicity highPt Barrel", 50, 0, 100);
1830  ibooker.book1D("qg_Likelihood_highPt_Barrel", "qg likelihood highPt Barrel", 50, -1.1, 1.1);
1831  mAxis2_highPt_EndCap = ibooker.book1D("qg_Axis2_highPt_EndCap", "qg Axis2 #sigma_{2} highPt EndCap", 50, 0., 0.20);
1833  ibooker.book1D("qg_pTD_highPt_EndCap", "qg fragmentation function p_{T}^{D} highPt EndCap", 50, 0.15, 1.05);
1835  ibooker.book1D("qg_multiplicity_highPt_EndCap", "qg multiplicity highPt EndCap", 50, 0, 100);
1837  ibooker.book1D("qg_Likelihood_highPt_EndCap", "qg likelihood highPt EndCap", 50, -1.1, 1.1);
1839  ibooker.book1D("qg_Axis2_highPt_Forward", "qg Axis2 #sigma_{2} highPt Forward", 50, 0., 0.20);
1841  ibooker.book1D("qg_pTD_highPt_Forward", "qg fragmentation function p_{T}^{D} highPt Forward", 50, 0.15, 1.05);
1843  ibooker.book1D("qg_multiplicity_highPt_Forward", "qg multiplicity highPt Forward", 50, 0, 100);
1845  ibooker.book1D("qg_Likelihood_highPt_Forward", "qg likelihood highPt Forward", 50, -1.1, 1.1);
1846 
1847  map_of_MEs.insert(
1848  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_highPt_Barrel", mAxis2_highPt_Barrel));
1849  map_of_MEs.insert(
1850  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_highPt_Barrel", mpTD_highPt_Barrel));
1851  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_highPt_Barrel",
1853  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_highPt_Barrel",
1855  map_of_MEs.insert(
1856  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_highPt_EndCap", mAxis2_highPt_EndCap));
1857  map_of_MEs.insert(
1858  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_highPt_EndCap", mpTD_highPt_EndCap));
1859  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_highPt_EndCap",
1861  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_highPt_EndCap",
1863  map_of_MEs.insert(
1864  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_highPt_Forward", mAxis2_highPt_Forward));
1865  map_of_MEs.insert(
1866  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_highPt_Forward", mpTD_highPt_Forward));
1867  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_highPt_Forward",
1869  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_highPt_Forward",
1871  }
1872 
1873  if (DirName.find("DiJet") != std::string::npos) {
1874  mDPhi = ibooker.book1D("DPhi", "dPhi btw the two leading jets", 100, 0., acos(-1.));
1875  mDijetAsymmetry = ibooker.book1D("DijetAsymmetry", "DijetAsymmetry", 100, -1., 1.);
1876  mDijetBalance = ibooker.book1D("DijetBalance", "DijetBalance", 100, -2., 2.);
1877  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DPhi", mDPhi));
1878  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DijetAsymmetry", mDijetAsymmetry));
1879  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DijetBalance", mDijetBalance));
1880 
1881  if (isPFJet_ || isMiniAODJet_) {
1882  mChargedMultiplicity = ibooker.book1D("ChargedMultiplicity", "charged multiplicity ", 50, 0, 100);
1883  mNeutralMultiplicity = ibooker.book1D("NeutralMultiplicity", "neutral multiplicity", 50, 0, 100);
1884  mMuonMultiplicity = ibooker.book1D("MuonMultiplicity", "muon multiplicity", 50, 0, 100);
1885 
1886  map_of_MEs.insert(
1887  std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMultiplicity", mChargedMultiplicity));
1888  map_of_MEs.insert(
1889  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralMultiplicity", mNeutralMultiplicity));
1890  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuonMultiplicity", mMuonMultiplicity));
1891 
1893  "ChargedMultiplicity_profile", "charged multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1895  "NeutralMultiplicity_profile", "neutral multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1897  ibooker.bookProfile("MuonMultiplicity_profile", "muon multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1901 
1902  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMultiplicity_profile",
1904  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralMultiplicity_profile",
1906  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuonMultiplicity_profile",
1908 
1909  mNeutralFraction = ibooker.book1D("NeutralConstituentsFraction", "Neutral Constituents Fraction", 100, 0, 1);
1910  map_of_MEs.insert(
1911  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralConstituentsFraction", mNeutralFraction));
1912  }
1913  }
1914 
1915  if (DirName.find("ZJets") != std::string::npos) {
1916  mZMass = ibooker.book1D("DiMuonMass", "DiMuonMass", 50, 71., 111.);
1917  mDPhiZJet = ibooker.book1D("DPhiZJ", "dPhi btw Z and Jet1", 100, 0., acos(-1.));
1918  mZJetAsymmetry = ibooker.book1D("ZJetAsymmetry", "ZJetAsymmetry", 100, -1., 1.);
1920  ibooker.book1D("JZB_lowZPt_J_Barrel", "ZJetBalance (pTJet1-pTZ) (30<pTZ<90), |#eta_{jet}|<1.3", 50, -75., 75);
1922  ibooker.book1D("JZB_mediumZPt_J_Barrel", "ZJetBalance (90<pTZ<140), |#eta_{jet}|<1.3", 50, -75., 75);
1924  ibooker.book1D("JZB_highZPt_J_Barrel", "ZJetBalance (pTZ>140), |#eta_{jet}|<1.3", 50, -75., 75.);
1926  ibooker.book1D("JZB_lowZPt_J_EndCap", "ZJetBalance (30<pTZ<90), 1.3<|#eta_{jet}|<3.0", 50, -75., 75);
1928  ibooker.book1D("JZB_mediumZPt_J_EndCap", "ZJetBalance (90<pTZ<140), 1.3<|#eta_{jet}|<3.0", 50, -75., 75);
1930  ibooker.book1D("JZB_highZPt_J_EndCap", "ZJetBalance (pTZ>140), 1.3<|#eta_{jet}|<3.0", 50, -75., 75.);
1932  ibooker.book1D("JZB_lowZPt_J_Forward", "ZJetBalance (30<pTZ<90), |#eta_{jet}|>3.0", 50, -75., 75);
1934  ibooker.book1D("JZB_mediumZPt_J_Forward", "ZJetBalance (90<pTZ<140), |#eta_{jet}|>3.0", 50, -75., 75);
1936  ibooker.book1D("JZB_highZPt_J_Forward", "ZJetBalance (pTZ>140), |#eta_{jet}|>3.0", 50, -75., 75.);
1937 
1938  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DiMuonMass", mZMass));
1939  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DPhiZJ", mDPhiZJet));
1940  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ZJetAsymmetry", mZJetAsymmetry));
1941  map_of_MEs.insert(
1942  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_lowZPt_J_Barrel", mJetZBalance_lowZPt_J_Barrel));
1943  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_mediumZPt_J_Barrel",
1945  map_of_MEs.insert(
1946  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_highZPt_J_Barrel", mJetZBalance_highZPt_J_Barrel));
1947  map_of_MEs.insert(
1948  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_lowZPt_J_EndCap", mJetZBalance_lowZPt_J_EndCap));
1949  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_mediumZPt_J_EndCap",
1951  map_of_MEs.insert(
1952  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_highZPt_J_EndCap", mJetZBalance_highZPt_J_EndCap));
1953  map_of_MEs.insert(
1954  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_lowZPt_J_Forward", mJetZBalance_lowZPt_J_Forward));
1955  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_mediumZPt_J_Forward",
1957  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_highZPt_J_Forward",
1959 
1960  mJ1Pt_over_ZPt_J_Barrel = ibooker.book1D("J1Pt_over_ZPt_J_Barrel", "Jet1_Pt/ZPt, Barrel", 50, 0., 3.0);
1961  mJ1Pt_over_ZPt_J_EndCap = ibooker.book1D("J1Pt_over_ZPt_J_EndCap", "Jet1_Pt/ZPt, EndCap", 50, 0., 3.0);
1962  mJ1Pt_over_ZPt_J_Forward = ibooker.book1D("J1Pt_over_ZPt_J_Forward", "Jet1_Pt/ZPt, Forward", 50, 0., 3.0);
1963 
1964  map_of_MEs.insert(
1965  std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_J_Barrel", mJ1Pt_over_ZPt_J_Barrel));
1966  map_of_MEs.insert(
1967  std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_J_EndCap", mJ1Pt_over_ZPt_J_EndCap));
1968  map_of_MEs.insert(
1969  std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_J_Forward", mJ1Pt_over_ZPt_J_Forward));
1970 
1972  ibooker.book1D("J1Pt_over_ZPt_lowZPt_J_Barrel", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|<1.3", 50, 0., 3.0);
1974  ibooker.book1D("J1Pt_over_ZPt_mediumZPt_J_Barrel", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|<1.3", 50, 0., 3.0);
1976  ibooker.book1D("J1Pt_over_ZPt_highPt_J_Barrel", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|<1.3", 50, 0., 3.0);
1978  ibooker.book1D("J1Pt_over_ZPt_lowZPt_J_EndCap", "Jet1_Pt/ZPt (30<pTZ<90), 1.3<|#eta_{jet}|<3.0", 50, 0., 3.0);
1980  "J1Pt_over_ZPt_mediumZPt_J_EndCap", "Jet1_Pt/ZPt (90<pTZ<140), 1.3<|#eta_{jet}|<3.0", 50, 0., 3.0);
1982  ibooker.book1D("J1Pt_over_ZPt_highZPt_J_EndCap", "Jet1_Pt/ZPt (pTZ>140), 1.3<|#eta_{jet}|<3.0", 50, 0., 3.0);
1984  ibooker.book1D("J1Pt_over_ZPt_lowZPt_J_Forward", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|>3.0", 50, 0., 3.0);
1986  ibooker.book1D("J1Pt_over_ZPt_mediumPt_J_Forward", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|>3.0", 50, 0., 3.0);
1988  ibooker.book1D("J1Pt_over_ZPt_highZPt_J_Forward", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|>3.0", 50, 0., 3.0);
1989 
1990  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Barrel",
1992  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Barrel",
1994  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Barrel",
1996  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_EndCap",
1998  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_EndCap",
2000  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_highZPt_J_EndCap",
2002  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Forward",
2004  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Forward",
2006  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Forward",
2008 
2009  mMPF_J_Barrel = ibooker.book1D("MPF_J_Barrel", "Jet1_Pt/ZPt, Barrel", 50, 0., 2.0);
2010  mMPF_J_EndCap = ibooker.book1D("MPF_J_EndCap", "Jet1_Pt/ZPt, EndCap", 50, 0., 2.0);
2011  mMPF_J_Forward = ibooker.book1D("MPF_J_Forward", "Jet1_Pt/ZPt, Forward", 50, 0., 2.0);
2012 
2013  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_J_Barrel", mMPF_J_Barrel));
2014  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_J_EndCap", mMPF_J_EndCap));
2015  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_J_Forward", mMPF_J_Forward));
2016 
2018  ibooker.book1D("MPF_lowZPt_J_Barrel", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|<1.3", 50, 0., 2.0);
2020  ibooker.book1D("MPF_mediumZPt_J_Barrel", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|<1.3", 50, 0., 2.0);
2022  ibooker.book1D("MPF_highPt_J_Barrel", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|<1.3", 50, 0., 2.0);
2024  ibooker.book1D("MPF_lowZPt_J_EndCap", "Jet1_Pt/ZPt (30<pTZ<90), 1.3<|#eta_{jet}|<3.0", 50, 0., 2.0);
2026  ibooker.book1D("MPF_mediumZPt_J_EndCap", "Jet1_Pt/ZPt (90<pTZ<140), 1.3<|#eta_{jet}|<3.0", 50, 0., 2.0);
2028  ibooker.book1D("MPF_highZPt_J_EndCap", "Jet1_Pt/ZPt (pTZ>140), 1.3<|#eta_{jet}|<3.0", 50, 0., 2.0);
2030  ibooker.book1D("MPF_lowZPt_J_Forward", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|>3.0", 50, 0., 2.0);
2032  ibooker.book1D("MPF_mediumPt_J_Forward", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|>3.0", 50, 0., 2.0);
2034  ibooker.book1D("MPF_highZPt_J_Forward", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|>3.0", 50, 0., 2.0);
2035 
2036  map_of_MEs.insert(
2037  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_lowZPt_J_Barrel", mMPF_lowZPt_J_Barrel));
2038  map_of_MEs.insert(
2039  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_mediumZPt_J_Barrel", mMPF_mediumZPt_J_Barrel));
2040  map_of_MEs.insert(
2041  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_highZPt_J_Barrel", mMPF_highZPt_J_Barrel));
2042  map_of_MEs.insert(
2043  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_lowZPt_J_EndCap", mMPF_lowZPt_J_EndCap));
2044  map_of_MEs.insert(
2045  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_mediumZPt_J_EndCap", mMPF_mediumZPt_J_EndCap));
2046  map_of_MEs.insert(
2047  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_highZPt_J_EndCap", mMPF_highZPt_J_EndCap));
2048  map_of_MEs.insert(
2049  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_lowZPt_J_Forward", mMPF_lowZPt_J_Forward));
2050  map_of_MEs.insert(
2051  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_mediumZPt_J_Forward", mMPF_mediumZPt_J_Forward));
2052  map_of_MEs.insert(
2053  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_highZPt_J_Forward", mMPF_highZPt_J_Forward));
2054 
2056  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_30_55_J_Barrel", "DeltaPt_Z_j1_over_ZPt_30_55_J_Barrel", 50, -1.00, 1.00);
2058  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_55_75_J_Barrel", "DeltaPt_Z_j1_over_ZPt_55_75_J_Barrel", 50, -1.00, 1.00);
2060  "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel", "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel", 50, -1.00, 1.00);
2062  "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel", "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel", 50, -1.00, 1.00);
2064  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_290_J_Barrel", "DeltaPt_Z_j1_over_ZPt_290_J_Barrel", 50, -1.00, 1.00);
2066  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_30_55_J_EndCap", "DeltaPt_Z_j1_over_ZPt_30_55_J_EndCap", 50, -1.00, 1.00);
2068  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_55_75_J_EndCap", "DeltaPt_Z_j1_over_ZPt_55_75_J_EndCap", 50, -1.00, 1.00);
2070  "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap", "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap", 50, -1.00, 1.00);
2072  "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap", "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap", 50, -1.00, 1.00);
2074  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_290_J_EndCap", "DeltaPt_Z_j1_over_ZPt_290_J_EndCap", 50, -1.00, 1.00);
2076  "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward", "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward", 50, -1.00, 1.00);
2078  "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward", "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward", 50, -1.00, 1.00);
2080  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_100_J_Forward", "DeltaPt_Z_j1_over_ZPt_100_J_Forward", 50, -1.00, 1.00);
2081 
2082  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Barrel",
2084  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_Barrel",
2086  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel",
2088  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel",
2090  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_Barrel",
2092  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_EndCap",
2094  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_EndCap",
2096  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap",
2098  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap",
2100  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_EndCap",
2102  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward",
2104  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward",
2106  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_100_J_Forward",
2108  }
2109  // Book NPV profiles
2110  //----------------------------------------------------------------------------
2111  mPt_profile = ibooker.bookProfile("Pt_profile", "pt", nbinsPV_, nPVlow_, nPVhigh_, ptBin_, ptMin_, ptMax_);
2112  mEta_profile = ibooker.bookProfile("Eta_profile", "eta", nbinsPV_, nPVlow_, nPVhigh_, etaBin_, etaMin_, etaMax_);
2113  mPhi_profile = ibooker.bookProfile("Phi_profile", "phi", nbinsPV_, nPVlow_, nPVhigh_, phiBin_, phiMin_, phiMax_);
2114  //if(!isJPTJet_){
2116  ibooker.bookProfile("Constituents_profile", "# of constituents", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
2117  //}
2118  // met NPV profiles x-axis title
2119  //----------------------------------------------------------------------------
2120  mPt_profile->setAxisTitle("nvtx", 1);
2121  mEta_profile->setAxisTitle("nvtx", 1);
2122  mPhi_profile->setAxisTitle("nvtx", 1);
2123  //if(!isJPTJet_){
2124  mConstituents_profile->setAxisTitle("nvtx", 1);
2125  map_of_MEs.insert(
2126  std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_profile", mConstituents_profile));
2127  //}
2128 
2129  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_profile", mPt_profile));
2130  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_profile", mEta_profile));
2131  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_profile", mPhi_profile));
2132  //
2133  //--- Calo jet melection only
2134 
2135  if (isCaloJet_) {
2136  mHFrac = ibooker.book1D("HFrac", "HFrac", 140, -0.2, 1.2);
2137  mEFrac = ibooker.book1D("EFrac", "EFrac", 140, -0.2, 1.2);
2138  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac", mHFrac));
2139  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac", mEFrac));
2140 
2141  mHFrac_profile = ibooker.bookProfile("HFrac_profile", "HFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
2142  mEFrac_profile = ibooker.bookProfile("EFrac_profile", "EFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
2143  mHFrac_profile->setAxisTitle("nvtx", 1);
2144  mEFrac_profile->setAxisTitle("nvtx", 1);
2145  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac_profile", mHFrac_profile));
2146  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac_profile", mEFrac_profile));
2147 
2148  // CaloJet specific
2149  //JetID variables
2150  mresEMF = ibooker.book1D("resEMF", "resEMF", 50, 0., 1.);
2151  mN90Hits = ibooker.book1D("N90Hits", "N90Hits", 50, 0., 100);
2152  mfHPD = ibooker.book1D("fHPD", "fHPD", 50, 0., 1.);
2153  mfRBX = ibooker.book1D("fRBX", "fRBX", 50, 0., 1.);
2154 
2155  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "resEMF", mresEMF));
2156  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "N90Hits", mN90Hits));
2157  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "fHPD", mfHPD));
2158  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "fRBX", mfRBX));
2159  }
2160 
2161  if (isPFJet_ || isMiniAODJet_) {
2162  //barrel histograms for PFJets
2163  // energy fractions
2164  mCHFrac = ibooker.book1D("CHFrac", "CHFrac", 120, -0.1, 1.1);
2165  mNHFrac = ibooker.book1D("NHFrac", "NHFrac", 120, -0.1, 1.1);
2166  mPhFrac = ibooker.book1D("PhFrac", "PhFrac", 120, -0.1, 1.1);
2167  mHFEMFrac = ibooker.book1D("HFEMFrac", "HFEMFrac", 120, -0.1, 1.1);
2168  mHFHFrac = ibooker.book1D("HFHFrac", "HFHFrac", 120, -0.1, 1.1);
2169 
2170  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac", mCHFrac));
2171  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac", mNHFrac));
2172  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac", mPhFrac));
2173  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFrac", mHFEMFrac));
2174  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac", mHFHFrac));
2175 
2176  // Book NPV profiles
2177  //----------------------------------------------------------------------------
2178  mCHFrac_profile =
2179  ibooker.bookProfile("CHFrac_profile", "charged HAD fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2180  mNHFrac_profile =
2181  ibooker.bookProfile("NHFrac_profile", "neutral HAD fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2182  mPhFrac_profile =
2183  ibooker.bookProfile("PhFrac_profile", "Photon Fraction Profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2184  mHFEMFrac_profile = ibooker.bookProfile(
2185  "HFEMFrac_profile", "HF electomagnetic fraction Profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2187  ibooker.bookProfile("HFHFrac_profile", "HF hadronic fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2188 
2189  // met NPV profiles x-axis title
2190  //----------------------------------------------------------------------------
2191  mCHFrac_profile->setAxisTitle("nvtx", 1);
2192  mNHFrac_profile->setAxisTitle("nvtx", 1);
2193  mPhFrac_profile->setAxisTitle("nvtx", 1);
2194  mHFEMFrac_profile->setAxisTitle("nvtx", 1);
2195  mHFHFrac_profile->setAxisTitle("nvtx", 1);
2196 
2197  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_profile", mCHFrac_profile));
2198  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_profile", mNHFrac_profile));
2199  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_profile", mPhFrac_profile));
2200  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFrac_profile", mHFEMFrac_profile));
2201  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac_profile", mHFHFrac_profile));
2202  }
2203 }
MonitorElement * mqgLikelihood_lowPt_Barrel
Definition: JetAnalyzer.h:496
MonitorElement * mJetZBalance_lowZPt_J_Barrel
Definition: JetAnalyzer.h:737
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_Barrel
Definition: JetAnalyzer.h:774
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel
Definition: JetAnalyzer.h:770
MonitorElement * mfRBX
Definition: JetAnalyzer.h:364
MonitorElement * mMultiplicityQG_highPt_Forward
Definition: JetAnalyzer.h:529
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap
Definition: JetAnalyzer.h:775
MonitorElement * mJetZBalance_lowZPt_J_Forward
Definition: JetAnalyzer.h:743
double ptMin_
Definition: JetAnalyzer.h:175
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward
Definition: JetAnalyzer.h:781
MonitorElement * mJetZBalance_highZPt_J_Barrel
Definition: JetAnalyzer.h:739
MonitorElement * mMPF_mediumZPt_J_Forward
Definition: JetAnalyzer.h:768
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * mqgLikelihood_highPt_EndCap
Definition: JetAnalyzer.h:517
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Barrel
Definition: JetAnalyzer.h:752
MonitorElement * mMultiplicityQG_mediumPt_EndCap
Definition: JetAnalyzer.h:512
MonitorElement * mHFHFrac
Definition: JetAnalyzer.h:558
MonitorElement * mNHFrac
Definition: JetAnalyzer.h:555
MonitorElement * mMPF_J_EndCap
Definition: JetAnalyzer.h:750
MonitorElement * mqgLikelihood_mediumPt_Barrel
Definition: JetAnalyzer.h:500
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_EndCap
Definition: JetAnalyzer.h:779
MonitorElement * mMPF_highZPt_J_Forward
Definition: JetAnalyzer.h:769
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:362
MonitorElement * mCHFrac
Definition: JetAnalyzer.h:554
MonitorElement * mJetZBalance_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:738
MonitorElement * mCHFrac_profile
Definition: JetAnalyzer.h:559
MonitorElement * mpTD_mediumPt_EndCap
Definition: JetAnalyzer.h:511
bool isCaloJet_
Definition: JetAnalyzer.h:786
MonitorElement * mMPF_lowZPt_J_EndCap
Definition: JetAnalyzer.h:764
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:489
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:326
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap
Definition: JetAnalyzer.h:778
MonitorElement * mHFEMFrac
Definition: JetAnalyzer.h:557
MonitorElement * mEta
Definition: JetAnalyzer.h:213
std::string DirName
Definition: JetAnalyzer.h:158
MonitorElement * mpTD_lowPt_Forward
Definition: JetAnalyzer.h:520
MonitorElement * mMPF_highZPt_J_Barrel
Definition: JetAnalyzer.h:763
MonitorElement * mMultiplicityQG_lowPt_EndCap
Definition: JetAnalyzer.h:508
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:548
MonitorElement * mAxis2_mediumPt_Barrel
Definition: JetAnalyzer.h:497
MonitorElement * mAxis2_highPt_Forward
Definition: JetAnalyzer.h:527
MonitorElement * mpTD_mediumPt_Barrel
Definition: JetAnalyzer.h:498
MonitorElement * mDPhi
Definition: JetAnalyzer.h:263
MonitorElement * mresEMF
Definition: JetAnalyzer.h:365
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel
Definition: JetAnalyzer.h:772
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:784
double nPVhigh_
Definition: JetAnalyzer.h:188
MonitorElement * mNHFrac_profile
Definition: JetAnalyzer.h:560
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:324
MonitorElement * mpTD_highPt_EndCap
Definition: JetAnalyzer.h:515
MonitorElement * mDijetBalance
Definition: JetAnalyzer.h:315
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap
Definition: JetAnalyzer.h:776
MonitorElement * mJ1Pt_over_ZPt_J_Barrel
Definition: JetAnalyzer.h:746
MonitorElement * mJ1Pt_over_ZPt_J_EndCap
Definition: JetAnalyzer.h:747
MonitorElement * mAxis2_highPt_Barrel
Definition: JetAnalyzer.h:501
MonitorElement * mJetZBalance_mediumZPt_J_Forward
Definition: JetAnalyzer.h:744
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:549
MonitorElement * mMultiplicityQG_highPt_EndCap
Definition: JetAnalyzer.h:516
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:534
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
Definition: DQMStore.h:399
double ptMax_
Definition: JetAnalyzer.h:176
MonitorElement * mJetZBalance_lowZPt_J_EndCap
Definition: JetAnalyzer.h:740
MonitorElement * mPhi
Definition: JetAnalyzer.h:214
MonitorElement * mpTD_highPt_Barrel
Definition: JetAnalyzer.h:502
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Forward
Definition: JetAnalyzer.h:760
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:550
bool fill_CHS_histos
Definition: JetAnalyzer.h:792
MonitorElement * mPhFrac_profile
Definition: JetAnalyzer.h:561
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Barrel
Definition: JetAnalyzer.h:754
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:321
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel
Definition: JetAnalyzer.h:771
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap
Definition: JetAnalyzer.h:777
MonitorElement * mAxis2_highPt_EndCap
Definition: JetAnalyzer.h:514
MonitorElement * mMultiplicityQG_highPt_Barrel
Definition: JetAnalyzer.h:503
MonitorElement * mMPF_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:762
MonitorElement * mJ1Pt_over_ZPt_J_Forward
Definition: JetAnalyzer.h:748
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Forward
Definition: JetAnalyzer.h:759
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:756
MonitorElement * mEFrac
Definition: JetAnalyzer.h:226
double phiMin_
Definition: JetAnalyzer.h:171
MonitorElement * mMPF_lowZPt_J_Barrel
Definition: JetAnalyzer.h:761
double nPVlow_
Definition: JetAnalyzer.h:187
MonitorElement * mMPF_lowZPt_J_Forward
Definition: JetAnalyzer.h:767
MonitorElement * mfHPD
Definition: JetAnalyzer.h:363
MonitorElement * mDijetAsymmetry
Definition: JetAnalyzer.h:316
MonitorElement * mpTD_lowPt_Barrel
Definition: JetAnalyzer.h:494
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:220
MonitorElement * mJetZBalance_highZPt_J_Forward
Definition: JetAnalyzer.h:745
MonitorElement * mAxis2_lowPt_EndCap
Definition: JetAnalyzer.h:506
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:488
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_EndCap
Definition: JetAnalyzer.h:757
MonitorElement * mPt
Definition: JetAnalyzer.h:208
MonitorElement * mqgLikelihood_highPt_Forward
Definition: JetAnalyzer.h:530
double etaMin_
Definition: JetAnalyzer.h:167
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:222
double etaMax_
Definition: JetAnalyzer.h:168
MonitorElement * mAxis2_lowPt_Barrel
Definition: JetAnalyzer.h:493
MonitorElement * mMPF_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:765
MonitorElement * mqgLikelihood_mediumPt_EndCap
Definition: JetAnalyzer.h:513
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_EndCap
Definition: JetAnalyzer.h:755
MonitorElement * mMPF_J_Forward
Definition: JetAnalyzer.h:751
MonitorElement * mpTD_lowPt_EndCap
Definition: JetAnalyzer.h:507
bool isMiniAODJet_
Definition: JetAnalyzer.h:788
MonitorElement * mJetZBalance_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:741
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:325
MonitorElement * mMPF_highZPt_J_EndCap
Definition: JetAnalyzer.h:766
MonitorElement * mMultiplicityQG_lowPt_Barrel
Definition: JetAnalyzer.h:495
MonitorElement * mqgLikelihood_lowPt_EndCap
Definition: JetAnalyzer.h:509
MonitorElement * mAxis2_mediumPt_Forward
Definition: JetAnalyzer.h:523
MonitorElement * mAxis2_lowPt_Forward
Definition: JetAnalyzer.h:519
MonitorElement * mMultiplicityQG_mediumPt_Barrel
Definition: JetAnalyzer.h:499
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward
Definition: JetAnalyzer.h:780
MonitorElement * mPhFrac
Definition: JetAnalyzer.h:556
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:323
MonitorElement * mConstituents
Definition: JetAnalyzer.h:224
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:221
MonitorElement * mMPF_J_Barrel
Definition: JetAnalyzer.h:749
MonitorElement * mJetZBalance_highZPt_J_EndCap
Definition: JetAnalyzer.h:742
MonitorElement * mMultiplicityQG_lowPt_Forward
Definition: JetAnalyzer.h:521
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:322
MonitorElement * mpTD_mediumPt_Forward
Definition: JetAnalyzer.h:524
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
double phiMax_
Definition: JetAnalyzer.h:172
MonitorElement * mDPhiZJet
Definition: JetAnalyzer.h:734
MonitorElement * mqgLikelihood_highPt_Barrel
Definition: JetAnalyzer.h:504
MonitorElement * mqgLikelihood_mediumPt_Forward
Definition: JetAnalyzer.h:526
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:490
MonitorElement * mHFEMFrac_profile
Definition: JetAnalyzer.h:562
MonitorElement * mZMass
Definition: JetAnalyzer.h:735
MonitorElement * mMultiplicityQG_mediumPt_Forward
Definition: JetAnalyzer.h:525
MonitorElement * mqgLikelihood_lowPt_Forward
Definition: JetAnalyzer.h:522
MonitorElement * mDeltaPt_Z_j1_over_ZPt_100_J_Forward
Definition: JetAnalyzer.h:782
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Forward
Definition: JetAnalyzer.h:758
MonitorElement * mZJetAsymmetry
Definition: JetAnalyzer.h:736
MonitorElement * mHFrac
Definition: JetAnalyzer.h:225
MonitorElement * mAxis2_mediumPt_EndCap
Definition: JetAnalyzer.h:510
MonitorElement * mpTD_highPt_Forward
Definition: JetAnalyzer.h:528
MonitorElement * mHFHFrac_profile
Definition: JetAnalyzer.h:563
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:753
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel
Definition: JetAnalyzer.h:773

◆ dqmBeginRun()

void JetAnalyzer::dqmBeginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
overridevirtual

Initialize run-based parameters.

Reimplemented from DQMEDAnalyzer.

Definition at line 2206 of file JetAnalyzer.cc.

References edm::EventSetup::getData(), LogDebug, and prototype_2023_v1_0_0::menu.

2206  {
2207  //LogDebug("JetAnalyzer") << "beginRun, run " << run.id();
2208  //
2209 
2210  if (highPtJetEventFlag_->on())
2211  highPtJetEventFlag_->initRun(iRun, iSetup);
2212  if (lowPtJetEventFlag_->on())
2213  lowPtJetEventFlag_->initRun(iRun, iSetup);
2214 
2215  if (highPtJetEventFlag_->on() &&
2216  highPtJetEventFlag_->expressionsFromDB(highPtJetEventFlag_->hltDBKey(), iSetup)[0] != "CONFIG_ERROR")
2218  if (lowPtJetEventFlag_->on() &&
2219  lowPtJetEventFlag_->expressionsFromDB(lowPtJetEventFlag_->hltDBKey(), iSetup)[0] != "CONFIG_ERROR")
2221  // if (!jetCorrectionService_.empty()){
2222  // energycorrected=true;
2223  // }
2224  //--- htlConfig_
2225  //processname_="HLT";
2226  bool changed(true);
2227  hltInitialized_ = hltConfig_.init(iRun, iSetup, processname_, changed);
2228  if (!hltInitialized_) {
2229  //if (!hltConfig_.init(iRun,iSetup,processname_,changed)) {
2230  processname_ = "FU";
2231  hltInitialized_ = hltConfig_.init(iRun, iSetup, processname_, changed);
2232  if (!hltInitialized_) {
2233  //if (!hltConfig_.init(iRun,iSetup,processname_,changed)){
2234  LogDebug("JetAnalyzer") << "HLTConfigProvider failed to initialize.";
2235  }
2236  }
2237 
2238  const L1GtTriggerMenu* menu = &iSetup.getData(l1gtTrigMenuToken_);
2239  for (CItAlgo techTrig = menu->gtTechnicalTriggerMap().begin(); techTrig != menu->gtTechnicalTriggerMap().end();
2240  ++techTrig) {
2241  if ((techTrig->second).algoName() == m_l1algoname_) {
2242  m_bitAlgTechTrig_ = (techTrig->second).algoBitNumber();
2243  break;
2244  }
2245  }
2246 }
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:342
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:202
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > l1gtTrigMenuToken_
Definition: JetAnalyzer.h:132
std::string m_l1algoname_
Definition: JetAnalyzer.h:201
HLTConfigProvider hltConfig_
Definition: JetAnalyzer.h:331
bool hltInitialized_
Definition: JetAnalyzer.h:328
AlgorithmMap::const_iterator CItAlgo
iterators through map containing the algorithms
std::vector< std::string > expressionsFromDB(const std::string &key, const edm::EventSetup &setup)
Reads and returns logical expressions from DB.
std::string processname_
Definition: JetAnalyzer.h:332
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:338
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:339
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:341
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
#define LogDebug(id)

◆ jetSortingRule()

static bool JetAnalyzer::jetSortingRule ( reco::Jet  x,
reco::Jet  y 
)
inlinestaticprivate

Definition at line 98 of file JetAnalyzer.h.

References x.

98 { return x.pt() > y.pt(); }

Member Data Documentation

◆ asymmetryThirdJetCut_

double JetAnalyzer::asymmetryThirdJetCut_
private

Definition at line 196 of file JetAnalyzer.h.

◆ balanceThirdJetCut_

double JetAnalyzer::balanceThirdJetCut_
private

Definition at line 197 of file JetAnalyzer.h.

◆ bypassAllPVChecks_

bool JetAnalyzer::bypassAllPVChecks_
private

Definition at line 329 of file JetAnalyzer.h.

◆ caloJetsToken_

edm::EDGetTokenT<reco::CaloJetCollection> JetAnalyzer::caloJetsToken_
private

Definition at line 109 of file JetAnalyzer.h.

◆ caloMetToken_

edm::EDGetTokenT<reco::CaloMETCollection> JetAnalyzer::caloMetToken_
private

Definition at line 113 of file JetAnalyzer.h.

◆ cleaningParameters_

edm::ParameterSet JetAnalyzer::cleaningParameters_
private

Definition at line 135 of file JetAnalyzer.h.

◆ cleanupME

MonitorElement* JetAnalyzer::cleanupME
private

Definition at line 335 of file JetAnalyzer.h.

◆ cutBasedPUDiscriminantToken_

edm::EDGetTokenT<edm::ValueMap<float> > JetAnalyzer::cutBasedPUDiscriminantToken_
private

Definition at line 119 of file JetAnalyzer.h.

◆ cutBasedPUIDToken_

edm::EDGetTokenT<edm::ValueMap<int> > JetAnalyzer::cutBasedPUIDToken_
private

Definition at line 120 of file JetAnalyzer.h.

◆ DCSFilterForDCSMonitoring_

JetMETDQMDCSFilter* JetAnalyzer::DCSFilterForDCSMonitoring_
private

Definition at line 566 of file JetAnalyzer.h.

◆ DCSFilterForJetMonitoring_

JetMETDQMDCSFilter* JetAnalyzer::DCSFilterForJetMonitoring_
private

Definition at line 565 of file JetAnalyzer.h.

◆ DirName

std::string JetAnalyzer::DirName
private

Definition at line 158 of file JetAnalyzer.h.

◆ eBin_

int JetAnalyzer::eBin_
private

Definition at line 178 of file JetAnalyzer.h.

◆ eMax_

double JetAnalyzer::eMax_
private

Definition at line 180 of file JetAnalyzer.h.

◆ eMin_

double JetAnalyzer::eMin_
private

Definition at line 179 of file JetAnalyzer.h.

◆ etaBin_

int JetAnalyzer::etaBin_
private

Definition at line 166 of file JetAnalyzer.h.

◆ etaMax_

double JetAnalyzer::etaMax_
private

Definition at line 168 of file JetAnalyzer.h.

◆ etaMin_

double JetAnalyzer::etaMin_
private

Definition at line 167 of file JetAnalyzer.h.

◆ fill_CHS_histos

bool JetAnalyzer::fill_CHS_histos
private

Definition at line 792 of file JetAnalyzer.h.

◆ fill_jet_high_level_histo

bool JetAnalyzer::fill_jet_high_level_histo
private

Definition at line 790 of file JetAnalyzer.h.

◆ filljetsubstruc_

bool JetAnalyzer::filljetsubstruc_
private

Definition at line 345 of file JetAnalyzer.h.

◆ fillJIDPassFrac_

int JetAnalyzer::fillJIDPassFrac_
private

Definition at line 200 of file JetAnalyzer.h.

◆ folderNames_

std::vector<std::string> JetAnalyzer::folderNames_
private

Definition at line 156 of file JetAnalyzer.h.

◆ gtLabel_

edm::InputTag JetAnalyzer::gtLabel_
private

Definition at line 137 of file JetAnalyzer.h.

◆ gtToken_

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> JetAnalyzer::gtToken_
private

Definition at line 108 of file JetAnalyzer.h.

◆ highPtJetEventFlag_

GenericTriggerEventFlag* JetAnalyzer::highPtJetEventFlag_
private

Definition at line 338 of file JetAnalyzer.h.

◆ highPtJetExpr_

std::vector<std::string> JetAnalyzer::highPtJetExpr_
private

Definition at line 341 of file JetAnalyzer.h.

◆ hltConfig_

HLTConfigProvider JetAnalyzer::hltConfig_
private

Definition at line 331 of file JetAnalyzer.h.

◆ hltInitialized_

bool JetAnalyzer::hltInitialized_
private

Definition at line 328 of file JetAnalyzer.h.

◆ inputJetIDValueMap

edm::InputTag JetAnalyzer::inputJetIDValueMap
private

Definition at line 130 of file JetAnalyzer.h.

◆ isCaloJet_

bool JetAnalyzer::isCaloJet_
private

Definition at line 786 of file JetAnalyzer.h.

◆ isMiniAODJet_

bool JetAnalyzer::isMiniAODJet_
private

Definition at line 788 of file JetAnalyzer.h.

◆ isPFJet_

bool JetAnalyzer::isPFJet_
private

Definition at line 787 of file JetAnalyzer.h.

◆ jetCleaningFlag_

bool JetAnalyzer::jetCleaningFlag_
private

Definition at line 344 of file JetAnalyzer.h.

◆ jetCorrectorTag_

edm::InputTag JetAnalyzer::jetCorrectorTag_
private

Definition at line 142 of file JetAnalyzer.h.

◆ jetCorrectorToken_

edm::EDGetTokenT<reco::JetCorrector> JetAnalyzer::jetCorrectorToken_
private

Definition at line 143 of file JetAnalyzer.h.

◆ jetHiPass_

int JetAnalyzer::jetHiPass_
private

Definition at line 192 of file JetAnalyzer.h.

◆ jetID_ValueMapToken_

edm::EDGetTokenT<edm::ValueMap<reco::JetID> > JetAnalyzer::jetID_ValueMapToken_
private

Definition at line 131 of file JetAnalyzer.h.

◆ jetIDFunctor

JetIDSelectionFunctor JetAnalyzer::jetIDFunctor
private

Definition at line 149 of file JetAnalyzer.h.

◆ jetidquality

JetIDSelectionFunctor::Quality_t JetAnalyzer::jetidquality
private

Definition at line 147 of file JetAnalyzer.h.

◆ JetIDQuality_

std::string JetAnalyzer::JetIDQuality_
private

Definition at line 145 of file JetAnalyzer.h.

◆ jetidversion

JetIDSelectionFunctor::Version_t JetAnalyzer::jetidversion
private

Definition at line 148 of file JetAnalyzer.h.

◆ JetIDVersion_

std::string JetAnalyzer::JetIDVersion_
private

Definition at line 146 of file JetAnalyzer.h.

◆ jetLoPass_

int JetAnalyzer::jetLoPass_
private

Definition at line 191 of file JetAnalyzer.h.

◆ jetME

MonitorElement* JetAnalyzer::jetME
private

Definition at line 205 of file JetAnalyzer.h.

◆ jetType_

std::string JetAnalyzer::jetType_
private

Definition at line 104 of file JetAnalyzer.h.

◆ l1gtTrigMenuToken_

edm::ESGetToken<L1GtTriggerMenu, L1GtTriggerMenuRcd> JetAnalyzer::l1gtTrigMenuToken_
private

Definition at line 132 of file JetAnalyzer.h.

◆ leadJetFlag_

int JetAnalyzer::leadJetFlag_
private

Definition at line 193 of file JetAnalyzer.h.

◆ lowPtJetEventFlag_

GenericTriggerEventFlag* JetAnalyzer::lowPtJetEventFlag_
private

Definition at line 339 of file JetAnalyzer.h.

◆ lowPtJetExpr_

std::vector<std::string> JetAnalyzer::lowPtJetExpr_
private

Definition at line 342 of file JetAnalyzer.h.

◆ m_bitAlgTechTrig_

int JetAnalyzer::m_bitAlgTechTrig_
private

Definition at line 202 of file JetAnalyzer.h.

◆ m_l1algoname_

std::string JetAnalyzer::m_l1algoname_
private

Definition at line 201 of file JetAnalyzer.h.

◆ map_of_MEs

std::map<std::string, MonitorElement*> JetAnalyzer::map_of_MEs
private

Definition at line 784 of file JetAnalyzer.h.

◆ mAxis2_highPt_Barrel

MonitorElement* JetAnalyzer::mAxis2_highPt_Barrel
private

Definition at line 501 of file JetAnalyzer.h.

◆ mAxis2_highPt_EndCap

MonitorElement* JetAnalyzer::mAxis2_highPt_EndCap
private

Definition at line 514 of file JetAnalyzer.h.

◆ mAxis2_highPt_Forward

MonitorElement* JetAnalyzer::mAxis2_highPt_Forward
private

Definition at line 527 of file JetAnalyzer.h.

◆ mAxis2_lowPt_Barrel

MonitorElement* JetAnalyzer::mAxis2_lowPt_Barrel
private

Definition at line 493 of file JetAnalyzer.h.

◆ mAxis2_lowPt_EndCap

MonitorElement* JetAnalyzer::mAxis2_lowPt_EndCap
private

Definition at line 506 of file JetAnalyzer.h.

◆ mAxis2_lowPt_Forward

MonitorElement* JetAnalyzer::mAxis2_lowPt_Forward
private

Definition at line 519 of file JetAnalyzer.h.

◆ mAxis2_mediumPt_Barrel

MonitorElement* JetAnalyzer::mAxis2_mediumPt_Barrel
private

Definition at line 497 of file JetAnalyzer.h.

◆ mAxis2_mediumPt_EndCap

MonitorElement* JetAnalyzer::mAxis2_mediumPt_EndCap
private

Definition at line 510 of file JetAnalyzer.h.

◆ mAxis2_mediumPt_Forward

MonitorElement* JetAnalyzer::mAxis2_mediumPt_Forward
private

Definition at line 523 of file JetAnalyzer.h.

◆ mCATopTag_minMass

MonitorElement* JetAnalyzer::mCATopTag_minMass
private

Definition at line 656 of file JetAnalyzer.h.

◆ mCATopTag_minMass_boosted

MonitorElement* JetAnalyzer::mCATopTag_minMass_boosted
private

Definition at line 695 of file JetAnalyzer.h.

◆ mCATopTag_nSubJets

MonitorElement* JetAnalyzer::mCATopTag_nSubJets
private

Definition at line 657 of file JetAnalyzer.h.

◆ mCATopTag_nSubJets_boosted

MonitorElement* JetAnalyzer::mCATopTag_nSubJets_boosted
private

Definition at line 696 of file JetAnalyzer.h.

◆ mCATopTag_topMass

MonitorElement* JetAnalyzer::mCATopTag_topMass
private

Definition at line 655 of file JetAnalyzer.h.

◆ mCATopTag_topMass_boosted

MonitorElement* JetAnalyzer::mCATopTag_topMass_boosted
private

Definition at line 694 of file JetAnalyzer.h.

◆ mChargedEmEnergy

MonitorElement* JetAnalyzer::mChargedEmEnergy
private

Definition at line 485 of file JetAnalyzer.h.

◆ mChargedEmEnergy_profile

MonitorElement* JetAnalyzer::mChargedEmEnergy_profile
private

Definition at line 545 of file JetAnalyzer.h.

◆ mChargedHadronEnergy

MonitorElement* JetAnalyzer::mChargedHadronEnergy
private

Definition at line 483 of file JetAnalyzer.h.

◆ mChargedHadronEnergy_profile

MonitorElement* JetAnalyzer::mChargedHadronEnergy_profile
private

Definition at line 543 of file JetAnalyzer.h.

◆ mChargedMuEnergy

MonitorElement* JetAnalyzer::mChargedMuEnergy
private

Definition at line 486 of file JetAnalyzer.h.

◆ mChargedMuEnergy_profile

MonitorElement* JetAnalyzer::mChargedMuEnergy_profile
private

Definition at line 546 of file JetAnalyzer.h.

◆ mChargedMultiplicity

MonitorElement* JetAnalyzer::mChargedMultiplicity
private

Definition at line 488 of file JetAnalyzer.h.

◆ mChargedMultiplicity_profile

MonitorElement* JetAnalyzer::mChargedMultiplicity_profile
private

Definition at line 548 of file JetAnalyzer.h.

◆ mCHEn_highPt_Barrel

MonitorElement* JetAnalyzer::mCHEn_highPt_Barrel
private

Definition at line 388 of file JetAnalyzer.h.

◆ mCHEn_highPt_EndCap

MonitorElement* JetAnalyzer::mCHEn_highPt_EndCap
private

Definition at line 442 of file JetAnalyzer.h.

◆ mCHEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mCHEn_lowPt_Barrel
private

Definition at line 378 of file JetAnalyzer.h.

◆ mCHEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mCHEn_lowPt_EndCap
private

Definition at line 432 of file JetAnalyzer.h.

◆ mCHEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mCHEn_mediumPt_Barrel
private

Definition at line 383 of file JetAnalyzer.h.

◆ mCHEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mCHEn_mediumPt_EndCap
private

Definition at line 437 of file JetAnalyzer.h.

◆ mCHFrac

MonitorElement* JetAnalyzer::mCHFrac
private

Definition at line 554 of file JetAnalyzer.h.

◆ mCHFrac_highPt_Barrel

MonitorElement* JetAnalyzer::mCHFrac_highPt_Barrel
private

Definition at line 375 of file JetAnalyzer.h.

◆ mCHFrac_highPt_EndCap

MonitorElement* JetAnalyzer::mCHFrac_highPt_EndCap
private

Definition at line 428 of file JetAnalyzer.h.

◆ mCHFrac_lowPt_Barrel

MonitorElement* JetAnalyzer::mCHFrac_lowPt_Barrel
private

Definition at line 369 of file JetAnalyzer.h.

◆ mCHFrac_lowPt_EndCap

MonitorElement* JetAnalyzer::mCHFrac_lowPt_EndCap
private

Definition at line 422 of file JetAnalyzer.h.

◆ mCHFrac_mediumPt_Barrel

MonitorElement* JetAnalyzer::mCHFrac_mediumPt_Barrel
private

Definition at line 372 of file JetAnalyzer.h.

◆ mCHFrac_mediumPt_EndCap

MonitorElement* JetAnalyzer::mCHFrac_mediumPt_EndCap
private

Definition at line 425 of file JetAnalyzer.h.

◆ mCHFrac_profile

MonitorElement* JetAnalyzer::mCHFrac_profile
private

Definition at line 559 of file JetAnalyzer.h.

◆ mCHFracVSeta_highPt

MonitorElement* JetAnalyzer::mCHFracVSeta_highPt
private

Definition at line 418 of file JetAnalyzer.h.

◆ mCHFracVSeta_lowPt

MonitorElement* JetAnalyzer::mCHFracVSeta_lowPt
private

Definition at line 412 of file JetAnalyzer.h.

◆ mCHFracVSeta_mediumPt

MonitorElement* JetAnalyzer::mCHFracVSeta_mediumPt
private

Definition at line 415 of file JetAnalyzer.h.

◆ mCHFracVSpT_Barrel

MonitorElement* JetAnalyzer::mCHFracVSpT_Barrel
private

Definition at line 403 of file JetAnalyzer.h.

◆ mCHFracVSpT_EndCap

MonitorElement* JetAnalyzer::mCHFracVSpT_EndCap
private

Definition at line 406 of file JetAnalyzer.h.

◆ mChMultiplicity_highPt_Barrel

MonitorElement* JetAnalyzer::mChMultiplicity_highPt_Barrel
private

Definition at line 399 of file JetAnalyzer.h.

◆ mChMultiplicity_highPt_EndCap

MonitorElement* JetAnalyzer::mChMultiplicity_highPt_EndCap
private

Definition at line 463 of file JetAnalyzer.h.

◆ mChMultiplicity_lowPt_Barrel

MonitorElement* JetAnalyzer::mChMultiplicity_lowPt_Barrel
private

Definition at line 393 of file JetAnalyzer.h.

◆ mChMultiplicity_lowPt_EndCap

MonitorElement* JetAnalyzer::mChMultiplicity_lowPt_EndCap
private

Definition at line 457 of file JetAnalyzer.h.

◆ mChMultiplicity_mediumPt_Barrel

MonitorElement* JetAnalyzer::mChMultiplicity_mediumPt_Barrel
private

Definition at line 396 of file JetAnalyzer.h.

◆ mChMultiplicity_mediumPt_EndCap

MonitorElement* JetAnalyzer::mChMultiplicity_mediumPt_EndCap
private

Definition at line 460 of file JetAnalyzer.h.

◆ mConstituents

MonitorElement* JetAnalyzer::mConstituents
private

Definition at line 224 of file JetAnalyzer.h.

◆ mConstituents_Barrel

MonitorElement* JetAnalyzer::mConstituents_Barrel
private

Definition at line 231 of file JetAnalyzer.h.

◆ mConstituents_Barrel_Hi

MonitorElement* JetAnalyzer::mConstituents_Barrel_Hi
private

Definition at line 249 of file JetAnalyzer.h.

◆ mConstituents_EndCap

MonitorElement* JetAnalyzer::mConstituents_EndCap
private

Definition at line 237 of file JetAnalyzer.h.

◆ mConstituents_EndCap_Hi

MonitorElement* JetAnalyzer::mConstituents_EndCap_Hi
private

Definition at line 254 of file JetAnalyzer.h.

◆ mConstituents_Forward

MonitorElement* JetAnalyzer::mConstituents_Forward
private

Definition at line 243 of file JetAnalyzer.h.

◆ mConstituents_Forward_Hi

MonitorElement* JetAnalyzer::mConstituents_Forward_Hi
private

Definition at line 259 of file JetAnalyzer.h.

◆ mConstituents_profile

MonitorElement* JetAnalyzer::mConstituents_profile
private

Definition at line 324 of file JetAnalyzer.h.

◆ mConstituents_uncor

MonitorElement* JetAnalyzer::mConstituents_uncor
private

Definition at line 218 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_highPt_Barrel

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_Barrel
private

Definition at line 310 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_highPt_EndCap

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_EndCap
private

Definition at line 311 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_highPt_Forward

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_Forward
private

Definition at line 312 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_lowPt_Barrel

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_Barrel
private

Definition at line 304 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_lowPt_EndCap

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_EndCap
private

Definition at line 305 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_lowPt_Forward

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_Forward
private

Definition at line 306 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_mediumPt_Barrel

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_Barrel
private

Definition at line 307 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_mediumPt_EndCap

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_EndCap
private

Definition at line 308 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_mediumPt_Forward

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_Forward
private

Definition at line 309 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_100_J_Forward

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_100_J_Forward
private

Definition at line 782 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel
private

Definition at line 773 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap
private

Definition at line 778 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_290_J_Barrel

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_290_J_Barrel
private

Definition at line 774 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_290_J_EndCap

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_290_J_EndCap
private

Definition at line 779 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel
private

Definition at line 770 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap
private

Definition at line 775 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward
private

Definition at line 780 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward
private

Definition at line 781 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel
private

Definition at line 771 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap
private

Definition at line 776 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel
private

Definition at line 772 of file JetAnalyzer.h.

◆ mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap

MonitorElement* JetAnalyzer::mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap
private

Definition at line 777 of file JetAnalyzer.h.

◆ mDijetAsymmetry

MonitorElement* JetAnalyzer::mDijetAsymmetry
private

Definition at line 316 of file JetAnalyzer.h.

◆ mDijetBalance

MonitorElement* JetAnalyzer::mDijetBalance
private

Definition at line 315 of file JetAnalyzer.h.

◆ mDPhi

MonitorElement* JetAnalyzer::mDPhi
private

Definition at line 263 of file JetAnalyzer.h.

◆ mDPhiZJet

MonitorElement* JetAnalyzer::mDPhiZJet
private

Definition at line 734 of file JetAnalyzer.h.

◆ meCHFracBarrel_BXm1Empty

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm1Empty
private

Definition at line 590 of file JetAnalyzer.h.

◆ meCHFracBarrel_BXm1Filled

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm1Filled
private

Definition at line 630 of file JetAnalyzer.h.

◆ meCHFracEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm1Empty
private

Definition at line 594 of file JetAnalyzer.h.

◆ meCHFracEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm1Filled
private

Definition at line 634 of file JetAnalyzer.h.

◆ meCHFracEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm1Empty
private

Definition at line 598 of file JetAnalyzer.h.

◆ meCHFracEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm1Filled
private

Definition at line 638 of file JetAnalyzer.h.

◆ mEEffChargedFraction

MonitorElement* JetAnalyzer::mEEffChargedFraction
private

Definition at line 538 of file JetAnalyzer.h.

◆ mEEffNeutralFraction

MonitorElement* JetAnalyzer::mEEffNeutralFraction
private

Definition at line 537 of file JetAnalyzer.h.

◆ meEta_BXm1Empty

MonitorElement* JetAnalyzer::meEta_BXm1Empty
private

Definition at line 606 of file JetAnalyzer.h.

◆ meEta_BXm1Filled

MonitorElement* JetAnalyzer::meEta_BXm1Filled
private

Definition at line 646 of file JetAnalyzer.h.

◆ mEFrac

MonitorElement* JetAnalyzer::mEFrac
private

Definition at line 226 of file JetAnalyzer.h.

◆ mEFrac_Barrel

MonitorElement* JetAnalyzer::mEFrac_Barrel
private

Definition at line 233 of file JetAnalyzer.h.

◆ mEFrac_EndCap

MonitorElement* JetAnalyzer::mEFrac_EndCap
private

Definition at line 239 of file JetAnalyzer.h.

◆ mEFrac_Forward

MonitorElement* JetAnalyzer::mEFrac_Forward
private

Definition at line 245 of file JetAnalyzer.h.

◆ mEFrac_profile

MonitorElement* JetAnalyzer::mEFrac_profile
private

Definition at line 326 of file JetAnalyzer.h.

◆ meHFEMFracMinus_BXm1Empty

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm1Empty
private

Definition at line 601 of file JetAnalyzer.h.

◆ meHFEMFracMinus_BXm1Filled

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm1Filled
private

Definition at line 641 of file JetAnalyzer.h.

◆ meHFEMFracPlus_BXm1Empty

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm1Empty
private

Definition at line 604 of file JetAnalyzer.h.

◆ meHFEMFracPlus_BXm1Filled

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm1Filled
private

Definition at line 644 of file JetAnalyzer.h.

◆ meHFHFracMinus_BXm1Empty

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm1Empty
private

Definition at line 600 of file JetAnalyzer.h.

◆ meHFHFracMinus_BXm1Filled

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm1Filled
private

Definition at line 640 of file JetAnalyzer.h.

◆ meHFHFracPlus_BXm1Empty

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm1Empty
private

Definition at line 603 of file JetAnalyzer.h.

◆ meHFHFracPlus_BXm1Filled

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm1Filled
private

Definition at line 643 of file JetAnalyzer.h.

◆ mElEn_highPt_Barrel

MonitorElement* JetAnalyzer::mElEn_highPt_Barrel
private

Definition at line 391 of file JetAnalyzer.h.

◆ mElEn_highPt_EndCap

MonitorElement* JetAnalyzer::mElEn_highPt_EndCap
private

Definition at line 445 of file JetAnalyzer.h.

◆ mElEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mElEn_lowPt_Barrel
private

Definition at line 381 of file JetAnalyzer.h.

◆ mElEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mElEn_lowPt_EndCap
private

Definition at line 435 of file JetAnalyzer.h.

◆ mElEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mElEn_mediumPt_Barrel
private

Definition at line 386 of file JetAnalyzer.h.

◆ mElEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mElEn_mediumPt_EndCap
private

Definition at line 440 of file JetAnalyzer.h.

◆ mEmEnergyInEB

MonitorElement* JetAnalyzer::mEmEnergyInEB
private

Definition at line 359 of file JetAnalyzer.h.

◆ mEmEnergyInEE

MonitorElement* JetAnalyzer::mEmEnergyInEE
private

Definition at line 360 of file JetAnalyzer.h.

◆ mEmEnergyInHF

MonitorElement* JetAnalyzer::mEmEnergyInHF
private

Definition at line 361 of file JetAnalyzer.h.

◆ mEMF

MonitorElement* JetAnalyzer::mEMF
private

Definition at line 366 of file JetAnalyzer.h.

◆ mEMF_CaloJet

MonitorElement* JetAnalyzer::mEMF_CaloJet
private

Definition at line 728 of file JetAnalyzer.h.

◆ meNHFracBarrel_BXm1Empty

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm1Empty
private

Definition at line 589 of file JetAnalyzer.h.

◆ meNHFracBarrel_BXm1Filled

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm1Filled
private

Definition at line 629 of file JetAnalyzer.h.

◆ meNHFracEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm1Empty
private

Definition at line 593 of file JetAnalyzer.h.

◆ meNHFracEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm1Filled
private

Definition at line 633 of file JetAnalyzer.h.

◆ meNHFracEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm1Empty
private

Definition at line 597 of file JetAnalyzer.h.

◆ meNHFracEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm1Filled
private

Definition at line 637 of file JetAnalyzer.h.

◆ mePhFracBarrel_BXm1Empty

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm1Empty
private

Definition at line 588 of file JetAnalyzer.h.

◆ mePhFracBarrel_BXm1Filled

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm1Filled
private

Definition at line 628 of file JetAnalyzer.h.

◆ mePhFracEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm1Empty
private

Definition at line 592 of file JetAnalyzer.h.

◆ mePhFracEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm1Filled
private

Definition at line 632 of file JetAnalyzer.h.

◆ mePhFracEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm1Empty
private

Definition at line 596 of file JetAnalyzer.h.

◆ mePhFracEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm1Filled
private

Definition at line 636 of file JetAnalyzer.h.

◆ mePtBarrel_BXm1Empty

MonitorElement* JetAnalyzer::mePtBarrel_BXm1Empty
private

Definition at line 591 of file JetAnalyzer.h.

◆ mePtBarrel_BXm1Filled

MonitorElement* JetAnalyzer::mePtBarrel_BXm1Filled
private

Definition at line 631 of file JetAnalyzer.h.

◆ mePtEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm1Empty
private

Definition at line 595 of file JetAnalyzer.h.

◆ mePtEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm1Filled
private

Definition at line 635 of file JetAnalyzer.h.

◆ mePtEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm1Empty
private

Definition at line 599 of file JetAnalyzer.h.

◆ mePtEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm1Filled
private

Definition at line 639 of file JetAnalyzer.h.

◆ mePtForwardMinus_BXm1Empty

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm1Empty
private

Definition at line 602 of file JetAnalyzer.h.

◆ mePtForwardMinus_BXm1Filled

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm1Filled
private

Definition at line 642 of file JetAnalyzer.h.

◆ mePtForwardPlus_BXm1Empty

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm1Empty
private

Definition at line 605 of file JetAnalyzer.h.

◆ mePtForwardPlus_BXm1Filled

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm1Filled
private

Definition at line 645 of file JetAnalyzer.h.

◆ mEResChargedFraction

MonitorElement* JetAnalyzer::mEResChargedFraction
private

Definition at line 540 of file JetAnalyzer.h.

◆ mEResNeutralFraction

MonitorElement* JetAnalyzer::mEResNeutralFraction
private

Definition at line 539 of file JetAnalyzer.h.

◆ mEta

MonitorElement* JetAnalyzer::mEta
private

Definition at line 213 of file JetAnalyzer.h.

◆ mEta_Hi

MonitorElement* JetAnalyzer::mEta_Hi
private

Definition at line 274 of file JetAnalyzer.h.

◆ mEta_profile

MonitorElement* JetAnalyzer::mEta_profile
private

Definition at line 322 of file JetAnalyzer.h.

◆ mEta_uncor

MonitorElement* JetAnalyzer::mEta_uncor
private

Definition at line 216 of file JetAnalyzer.h.

◆ mEtaFirst

MonitorElement* JetAnalyzer::mEtaFirst
private

Definition at line 266 of file JetAnalyzer.h.

◆ mfHPD

MonitorElement* JetAnalyzer::mfHPD
private

Definition at line 363 of file JetAnalyzer.h.

◆ mFilteredMass

MonitorElement* JetAnalyzer::mFilteredMass
private

Definition at line 652 of file JetAnalyzer.h.

◆ mFilteredMass_boosted

MonitorElement* JetAnalyzer::mFilteredMass_boosted
private

Definition at line 691 of file JetAnalyzer.h.

◆ mfRBX

MonitorElement* JetAnalyzer::mfRBX
private

Definition at line 364 of file JetAnalyzer.h.

◆ mHadEnergyInHB

MonitorElement* JetAnalyzer::mHadEnergyInHB
private

Definition at line 356 of file JetAnalyzer.h.

◆ mHadEnergyInHE

MonitorElement* JetAnalyzer::mHadEnergyInHE
private

Definition at line 358 of file JetAnalyzer.h.

◆ mHadEnergyInHF

MonitorElement* JetAnalyzer::mHadEnergyInHF
private

Definition at line 357 of file JetAnalyzer.h.

◆ mHadEnergyInHO

MonitorElement* JetAnalyzer::mHadEnergyInHO
private

Definition at line 355 of file JetAnalyzer.h.

◆ mHFEEn_highPt_Forward

MonitorElement* JetAnalyzer::mHFEEn_highPt_Forward
private

Definition at line 477 of file JetAnalyzer.h.

◆ mHFEEn_lowPt_Forward

MonitorElement* JetAnalyzer::mHFEEn_lowPt_Forward
private

Definition at line 473 of file JetAnalyzer.h.

◆ mHFEEn_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFEEn_mediumPt_Forward
private

Definition at line 475 of file JetAnalyzer.h.

◆ mHFEFrac_highPt_Forward

MonitorElement* JetAnalyzer::mHFEFrac_highPt_Forward
private

Definition at line 471 of file JetAnalyzer.h.

◆ mHFEFrac_lowPt_Forward

MonitorElement* JetAnalyzer::mHFEFrac_lowPt_Forward
private

Definition at line 467 of file JetAnalyzer.h.

◆ mHFEFrac_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFEFrac_mediumPt_Forward
private

Definition at line 469 of file JetAnalyzer.h.

◆ mHFEFracVSpT_Forward

MonitorElement* JetAnalyzer::mHFEFracVSpT_Forward
private

Definition at line 410 of file JetAnalyzer.h.

◆ mHFEMFrac

MonitorElement* JetAnalyzer::mHFEMFrac
private

Definition at line 557 of file JetAnalyzer.h.

◆ mHFEMFrac_profile

MonitorElement* JetAnalyzer::mHFEMFrac_profile
private

Definition at line 562 of file JetAnalyzer.h.

◆ mHFHEn_highPt_Forward

MonitorElement* JetAnalyzer::mHFHEn_highPt_Forward
private

Definition at line 478 of file JetAnalyzer.h.

◆ mHFHEn_lowPt_Forward

MonitorElement* JetAnalyzer::mHFHEn_lowPt_Forward
private

Definition at line 474 of file JetAnalyzer.h.

◆ mHFHEn_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFHEn_mediumPt_Forward
private

Definition at line 476 of file JetAnalyzer.h.

◆ mHFHFrac

MonitorElement* JetAnalyzer::mHFHFrac
private

Definition at line 558 of file JetAnalyzer.h.

◆ mHFHFrac_highPt_Forward

MonitorElement* JetAnalyzer::mHFHFrac_highPt_Forward
private

Definition at line 472 of file JetAnalyzer.h.

◆ mHFHFrac_lowPt_Forward

MonitorElement* JetAnalyzer::mHFHFrac_lowPt_Forward
private

Definition at line 468 of file JetAnalyzer.h.

◆ mHFHFrac_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFHFrac_mediumPt_Forward
private

Definition at line 470 of file JetAnalyzer.h.

◆ mHFHFrac_profile

MonitorElement* JetAnalyzer::mHFHFrac_profile
private

Definition at line 563 of file JetAnalyzer.h.

◆ mHFHFracVSpT_Forward

MonitorElement* JetAnalyzer::mHFHFracVSpT_Forward
private

Definition at line 409 of file JetAnalyzer.h.

◆ mHFrac

MonitorElement* JetAnalyzer::mHFrac
private

Definition at line 225 of file JetAnalyzer.h.

◆ mHFrac_Barrel

MonitorElement* JetAnalyzer::mHFrac_Barrel
private

Definition at line 232 of file JetAnalyzer.h.

◆ mHFrac_Barrel_Hi

MonitorElement* JetAnalyzer::mHFrac_Barrel_Hi
private

Definition at line 250 of file JetAnalyzer.h.

◆ mHFrac_EndCap

MonitorElement* JetAnalyzer::mHFrac_EndCap
private

Definition at line 238 of file JetAnalyzer.h.

◆ mHFrac_EndCap_Hi

MonitorElement* JetAnalyzer::mHFrac_EndCap_Hi
private

Definition at line 255 of file JetAnalyzer.h.

◆ mHFrac_Forward

MonitorElement* JetAnalyzer::mHFrac_Forward
private

Definition at line 244 of file JetAnalyzer.h.

◆ mHFrac_Forward_Hi

MonitorElement* JetAnalyzer::mHFrac_Forward_Hi
private

Definition at line 260 of file JetAnalyzer.h.

◆ mHFrac_profile

MonitorElement* JetAnalyzer::mHFrac_profile
private

Definition at line 325 of file JetAnalyzer.h.

◆ mInputCollection_

edm::InputTag JetAnalyzer::mInputCollection_
private

Definition at line 101 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_highZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_highZPt_J_Barrel
private

Definition at line 754 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_highZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_highZPt_J_EndCap
private

Definition at line 757 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_highZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_highZPt_J_Forward
private

Definition at line 760 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_J_Barrel
private

Definition at line 746 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_J_EndCap
private

Definition at line 747 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_J_Forward
private

Definition at line 748 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_lowZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_lowZPt_J_Barrel
private

Definition at line 752 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_lowZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_lowZPt_J_EndCap
private

Definition at line 755 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_lowZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_lowZPt_J_Forward
private

Definition at line 758 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_mediumZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_mediumZPt_J_Barrel
private

Definition at line 753 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_mediumZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_mediumZPt_J_EndCap
private

Definition at line 756 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_mediumZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_mediumZPt_J_Forward
private

Definition at line 759 of file JetAnalyzer.h.

◆ mJetEnergyCorr

MonitorElement* JetAnalyzer::mJetEnergyCorr
private

Definition at line 220 of file JetAnalyzer.h.

◆ mJetEnergyCorrVSEta

MonitorElement* JetAnalyzer::mJetEnergyCorrVSEta
private

Definition at line 221 of file JetAnalyzer.h.

◆ mJetEnergyCorrVSPt

MonitorElement* JetAnalyzer::mJetEnergyCorrVSPt
private

Definition at line 222 of file JetAnalyzer.h.

◆ mJetZBalance_highZPt_J_Barrel

MonitorElement* JetAnalyzer::mJetZBalance_highZPt_J_Barrel
private

Definition at line 739 of file JetAnalyzer.h.

◆ mJetZBalance_highZPt_J_EndCap

MonitorElement* JetAnalyzer::mJetZBalance_highZPt_J_EndCap
private

Definition at line 742 of file JetAnalyzer.h.

◆ mJetZBalance_highZPt_J_Forward

MonitorElement* JetAnalyzer::mJetZBalance_highZPt_J_Forward
private

Definition at line 745 of file JetAnalyzer.h.

◆ mJetZBalance_lowZPt_J_Barrel

MonitorElement* JetAnalyzer::mJetZBalance_lowZPt_J_Barrel
private

Definition at line 737 of file JetAnalyzer.h.

◆ mJetZBalance_lowZPt_J_EndCap

MonitorElement* JetAnalyzer::mJetZBalance_lowZPt_J_EndCap
private

Definition at line 740 of file JetAnalyzer.h.

◆ mJetZBalance_lowZPt_J_Forward

MonitorElement* JetAnalyzer::mJetZBalance_lowZPt_J_Forward
private

Definition at line 743 of file JetAnalyzer.h.

◆ mJetZBalance_mediumZPt_J_Barrel

MonitorElement* JetAnalyzer::mJetZBalance_mediumZPt_J_Barrel
private

Definition at line 738 of file JetAnalyzer.h.

◆ mJetZBalance_mediumZPt_J_EndCap

MonitorElement* JetAnalyzer::mJetZBalance_mediumZPt_J_EndCap
private

Definition at line 741 of file JetAnalyzer.h.

◆ mJetZBalance_mediumZPt_J_Forward

MonitorElement* JetAnalyzer::mJetZBalance_mediumZPt_J_Forward
private

Definition at line 744 of file JetAnalyzer.h.

◆ mLooseCutPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mLooseCutPUJIDPassFractionVSeta
private

Definition at line 298 of file JetAnalyzer.h.

◆ mLooseCutPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mLooseCutPUJIDPassFractionVSpt
private

Definition at line 299 of file JetAnalyzer.h.

◆ mLooseJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSeta
private

Definition at line 278 of file JetAnalyzer.h.

◆ mLooseJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSpt
private

Definition at line 279 of file JetAnalyzer.h.

◆ mLooseJIDPassFractionVSptNoHF

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSptNoHF
private

Definition at line 280 of file JetAnalyzer.h.

◆ mLooseMVAPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mLooseMVAPUJIDPassFractionVSeta
private

Definition at line 282 of file JetAnalyzer.h.

◆ mLooseMVAPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mLooseMVAPUJIDPassFractionVSpt
private

Definition at line 283 of file JetAnalyzer.h.

◆ mMass_Barrel

MonitorElement* JetAnalyzer::mMass_Barrel
private

Definition at line 729 of file JetAnalyzer.h.

◆ mMass_EndCap

MonitorElement* JetAnalyzer::mMass_EndCap
private

Definition at line 730 of file JetAnalyzer.h.

◆ mMass_Forward

MonitorElement* JetAnalyzer::mMass_Forward
private

Definition at line 731 of file JetAnalyzer.h.

◆ mMass_highPt_Barrel

MonitorElement* JetAnalyzer::mMass_highPt_Barrel
private

Definition at line 453 of file JetAnalyzer.h.

◆ mMass_highPt_EndCap

MonitorElement* JetAnalyzer::mMass_highPt_EndCap
private

Definition at line 454 of file JetAnalyzer.h.

◆ mMass_highPt_Forward

MonitorElement* JetAnalyzer::mMass_highPt_Forward
private

Definition at line 455 of file JetAnalyzer.h.

◆ mMass_lowPt_Barrel

MonitorElement* JetAnalyzer::mMass_lowPt_Barrel
private

Definition at line 447 of file JetAnalyzer.h.

◆ mMass_lowPt_EndCap

MonitorElement* JetAnalyzer::mMass_lowPt_EndCap
private

Definition at line 448 of file JetAnalyzer.h.

◆ mMass_lowPt_Forward

MonitorElement* JetAnalyzer::mMass_lowPt_Forward
private

Definition at line 449 of file JetAnalyzer.h.

◆ mMass_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMass_mediumPt_Barrel
private

Definition at line 450 of file JetAnalyzer.h.

◆ mMass_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMass_mediumPt_EndCap
private

Definition at line 451 of file JetAnalyzer.h.

◆ mMass_mediumPt_Forward

MonitorElement* JetAnalyzer::mMass_mediumPt_Forward
private

Definition at line 452 of file JetAnalyzer.h.

◆ mMaxEInEmTowers

MonitorElement* JetAnalyzer::mMaxEInEmTowers
private

Definition at line 353 of file JetAnalyzer.h.

◆ mMaxEInHadTowers

MonitorElement* JetAnalyzer::mMaxEInHadTowers
private

Definition at line 354 of file JetAnalyzer.h.

◆ mMediumCutPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mMediumCutPUJIDPassFractionVSeta
private

Definition at line 300 of file JetAnalyzer.h.

◆ mMediumCutPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mMediumCutPUJIDPassFractionVSpt
private

Definition at line 301 of file JetAnalyzer.h.

◆ mMediumMVAPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mMediumMVAPUJIDPassFractionVSeta
private

Definition at line 284 of file JetAnalyzer.h.

◆ mMediumMVAPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mMediumMVAPUJIDPassFractionVSpt
private

Definition at line 285 of file JetAnalyzer.h.

◆ mMPF_highZPt_J_Barrel

MonitorElement* JetAnalyzer::mMPF_highZPt_J_Barrel
private

Definition at line 763 of file JetAnalyzer.h.

◆ mMPF_highZPt_J_EndCap

MonitorElement* JetAnalyzer::mMPF_highZPt_J_EndCap
private

Definition at line 766 of file JetAnalyzer.h.

◆ mMPF_highZPt_J_Forward

MonitorElement* JetAnalyzer::mMPF_highZPt_J_Forward
private

Definition at line 769 of file JetAnalyzer.h.

◆ mMPF_J_Barrel

MonitorElement* JetAnalyzer::mMPF_J_Barrel
private

Definition at line 749 of file JetAnalyzer.h.

◆ mMPF_J_EndCap

MonitorElement* JetAnalyzer::mMPF_J_EndCap
private

Definition at line 750 of file JetAnalyzer.h.

◆ mMPF_J_Forward

MonitorElement* JetAnalyzer::mMPF_J_Forward
private

Definition at line 751 of file JetAnalyzer.h.

◆ mMPF_lowZPt_J_Barrel

MonitorElement* JetAnalyzer::mMPF_lowZPt_J_Barrel
private

Definition at line 761 of file JetAnalyzer.h.

◆ mMPF_lowZPt_J_EndCap

MonitorElement* JetAnalyzer::mMPF_lowZPt_J_EndCap
private

Definition at line 764 of file JetAnalyzer.h.

◆ mMPF_lowZPt_J_Forward

MonitorElement* JetAnalyzer::mMPF_lowZPt_J_Forward
private

Definition at line 767 of file JetAnalyzer.h.

◆ mMPF_mediumZPt_J_Barrel

MonitorElement* JetAnalyzer::mMPF_mediumZPt_J_Barrel
private

Definition at line 762 of file JetAnalyzer.h.

◆ mMPF_mediumZPt_J_EndCap

MonitorElement* JetAnalyzer::mMPF_mediumZPt_J_EndCap
private

Definition at line 765 of file JetAnalyzer.h.

◆ mMPF_mediumZPt_J_Forward

MonitorElement* JetAnalyzer::mMPF_mediumZPt_J_Forward
private

Definition at line 768 of file JetAnalyzer.h.

◆ mMuEn_highPt_Barrel

MonitorElement* JetAnalyzer::mMuEn_highPt_Barrel
private

Definition at line 392 of file JetAnalyzer.h.

◆ mMuEn_highPt_EndCap

MonitorElement* JetAnalyzer::mMuEn_highPt_EndCap
private

Definition at line 446 of file JetAnalyzer.h.

◆ mMuEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mMuEn_lowPt_Barrel
private

Definition at line 382 of file JetAnalyzer.h.

◆ mMuEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mMuEn_lowPt_EndCap
private

Definition at line 436 of file JetAnalyzer.h.

◆ mMuEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMuEn_mediumPt_Barrel
private

Definition at line 387 of file JetAnalyzer.h.

◆ mMuEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMuEn_mediumPt_EndCap
private

Definition at line 441 of file JetAnalyzer.h.

◆ mMultiplicityQG_highPt_Barrel

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_Barrel
private

Definition at line 503 of file JetAnalyzer.h.

◆ mMultiplicityQG_highPt_EndCap

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_EndCap
private

Definition at line 516 of file JetAnalyzer.h.

◆ mMultiplicityQG_highPt_Forward

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_Forward
private

Definition at line 529 of file JetAnalyzer.h.

◆ mMultiplicityQG_lowPt_Barrel

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_Barrel
private

Definition at line 495 of file JetAnalyzer.h.

◆ mMultiplicityQG_lowPt_EndCap

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_EndCap
private

Definition at line 508 of file JetAnalyzer.h.

◆ mMultiplicityQG_lowPt_Forward

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_Forward
private

Definition at line 521 of file JetAnalyzer.h.

◆ mMultiplicityQG_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_Barrel
private

Definition at line 499 of file JetAnalyzer.h.

◆ mMultiplicityQG_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_EndCap
private

Definition at line 512 of file JetAnalyzer.h.

◆ mMultiplicityQG_mediumPt_Forward

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_Forward
private

Definition at line 525 of file JetAnalyzer.h.

◆ mMuMultiplicity_highPt_Barrel

MonitorElement* JetAnalyzer::mMuMultiplicity_highPt_Barrel
private

Definition at line 401 of file JetAnalyzer.h.

◆ mMuMultiplicity_highPt_EndCap

MonitorElement* JetAnalyzer::mMuMultiplicity_highPt_EndCap
private

Definition at line 465 of file JetAnalyzer.h.

◆ mMuMultiplicity_lowPt_Barrel

MonitorElement* JetAnalyzer::mMuMultiplicity_lowPt_Barrel
private

Definition at line 395 of file JetAnalyzer.h.

◆ mMuMultiplicity_lowPt_EndCap

MonitorElement* JetAnalyzer::mMuMultiplicity_lowPt_EndCap
private

Definition at line 459 of file JetAnalyzer.h.

◆ mMuMultiplicity_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMuMultiplicity_mediumPt_Barrel
private

Definition at line 398 of file JetAnalyzer.h.

◆ mMuMultiplicity_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMuMultiplicity_mediumPt_EndCap
private

Definition at line 462 of file JetAnalyzer.h.

◆ mMuonMultiplicity

MonitorElement* JetAnalyzer::mMuonMultiplicity
private

Definition at line 490 of file JetAnalyzer.h.

◆ mMuonMultiplicity_profile

MonitorElement* JetAnalyzer::mMuonMultiplicity_profile
private

Definition at line 550 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_highPt_Barrel

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_Barrel
private

Definition at line 294 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_highPt_EndCap

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_EndCap
private

Definition at line 295 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_highPt_Forward

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_Forward
private

Definition at line 296 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_lowPt_Barrel

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_Barrel
private

Definition at line 288 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_lowPt_EndCap

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_EndCap
private

Definition at line 289 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_lowPt_Forward

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_Forward
private

Definition at line 290 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_Barrel
private

Definition at line 291 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_EndCap
private

Definition at line 292 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_mediumPt_Forward

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_Forward
private

Definition at line 293 of file JetAnalyzer.h.

◆ mN90Hits

MonitorElement* JetAnalyzer::mN90Hits
private

Definition at line 362 of file JetAnalyzer.h.

◆ mNeutMultiplicity_highPt_Barrel

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_Barrel
private

Definition at line 400 of file JetAnalyzer.h.

◆ mNeutMultiplicity_highPt_EndCap

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_EndCap
private

Definition at line 464 of file JetAnalyzer.h.

◆ mNeutMultiplicity_highPt_Forward

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_Forward
private

Definition at line 481 of file JetAnalyzer.h.

◆ mNeutMultiplicity_lowPt_Barrel

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_Barrel
private

Definition at line 394 of file JetAnalyzer.h.

◆ mNeutMultiplicity_lowPt_EndCap

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_EndCap
private

Definition at line 458 of file JetAnalyzer.h.

◆ mNeutMultiplicity_lowPt_Forward

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_Forward
private

Definition at line 479 of file JetAnalyzer.h.

◆ mNeutMultiplicity_mediumPt_Barrel

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_Barrel
private

Definition at line 397 of file JetAnalyzer.h.

◆ mNeutMultiplicity_mediumPt_EndCap

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_EndCap
private

Definition at line 461 of file JetAnalyzer.h.

◆ mNeutMultiplicity_mediumPt_Forward

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_Forward
private

Definition at line 480 of file JetAnalyzer.h.

◆ mNeutralEmEnergy

MonitorElement* JetAnalyzer::mNeutralEmEnergy
private

Definition at line 487 of file JetAnalyzer.h.

◆ mNeutralEmEnergy_profile

MonitorElement* JetAnalyzer::mNeutralEmEnergy_profile
private

Definition at line 547 of file JetAnalyzer.h.

◆ mNeutralFraction

MonitorElement* JetAnalyzer::mNeutralFraction
private

Definition at line 534 of file JetAnalyzer.h.

◆ mNeutralFraction2

MonitorElement* JetAnalyzer::mNeutralFraction2
private

Definition at line 535 of file JetAnalyzer.h.

◆ mNeutralHadronEnergy

MonitorElement* JetAnalyzer::mNeutralHadronEnergy
private

Definition at line 484 of file JetAnalyzer.h.

◆ mNeutralHadronEnergy_profile

MonitorElement* JetAnalyzer::mNeutralHadronEnergy_profile
private

Definition at line 544 of file JetAnalyzer.h.

◆ mNeutralMultiplicity

MonitorElement* JetAnalyzer::mNeutralMultiplicity
private

Definition at line 489 of file JetAnalyzer.h.

◆ mNeutralMultiplicity_profile

MonitorElement* JetAnalyzer::mNeutralMultiplicity_profile
private

Definition at line 549 of file JetAnalyzer.h.

◆ mNHEn_highPt_Barrel

MonitorElement* JetAnalyzer::mNHEn_highPt_Barrel
private

Definition at line 389 of file JetAnalyzer.h.

◆ mNHEn_highPt_EndCap

MonitorElement* JetAnalyzer::mNHEn_highPt_EndCap
private

Definition at line 443 of file JetAnalyzer.h.

◆ mNHEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mNHEn_lowPt_Barrel
private

Definition at line 379 of file JetAnalyzer.h.

◆ mNHEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mNHEn_lowPt_EndCap
private

Definition at line 433 of file JetAnalyzer.h.

◆ mNHEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mNHEn_mediumPt_Barrel
private

Definition at line 384 of file JetAnalyzer.h.

◆ mNHEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mNHEn_mediumPt_EndCap
private

Definition at line 438 of file JetAnalyzer.h.

◆ mNHFrac

MonitorElement* JetAnalyzer::mNHFrac
private

Definition at line 555 of file JetAnalyzer.h.

◆ mNHFrac_highPt_Barrel

MonitorElement* JetAnalyzer::mNHFrac_highPt_Barrel
private

Definition at line 376 of file JetAnalyzer.h.

◆ mNHFrac_highPt_EndCap

MonitorElement* JetAnalyzer::mNHFrac_highPt_EndCap
private

Definition at line 429 of file JetAnalyzer.h.

◆ mNHFrac_lowPt_Barrel

MonitorElement* JetAnalyzer::mNHFrac_lowPt_Barrel
private

Definition at line 370 of file JetAnalyzer.h.

◆ mNHFrac_lowPt_EndCap

MonitorElement* JetAnalyzer::mNHFrac_lowPt_EndCap
private

Definition at line 423 of file JetAnalyzer.h.

◆ mNHFrac_mediumPt_Barrel

MonitorElement* JetAnalyzer::mNHFrac_mediumPt_Barrel
private

Definition at line 373 of file JetAnalyzer.h.

◆ mNHFrac_mediumPt_EndCap

MonitorElement* JetAnalyzer::mNHFrac_mediumPt_EndCap
private

Definition at line 426 of file JetAnalyzer.h.

◆ mNHFrac_profile

MonitorElement* JetAnalyzer::mNHFrac_profile
private

Definition at line 560 of file JetAnalyzer.h.

◆ mNHFracVSeta_highPt

MonitorElement* JetAnalyzer::mNHFracVSeta_highPt
private

Definition at line 419 of file JetAnalyzer.h.

◆ mNHFracVSeta_lowPt

MonitorElement* JetAnalyzer::mNHFracVSeta_lowPt
private

Definition at line 413 of file JetAnalyzer.h.

◆ mNHFracVSeta_mediumPt

MonitorElement* JetAnalyzer::mNHFracVSeta_mediumPt
private

Definition at line 416 of file JetAnalyzer.h.

◆ mNHFracVSpT_Barrel

MonitorElement* JetAnalyzer::mNHFracVSpT_Barrel
private

Definition at line 404 of file JetAnalyzer.h.

◆ mNHFracVSpT_EndCap

MonitorElement* JetAnalyzer::mNHFracVSpT_EndCap
private

Definition at line 407 of file JetAnalyzer.h.

◆ mNJets

MonitorElement* JetAnalyzer::mNJets
private

Definition at line 262 of file JetAnalyzer.h.

◆ mNJets_profile

MonitorElement* JetAnalyzer::mNJets_profile
private

Definition at line 320 of file JetAnalyzer.h.

◆ mnSubJetsCMSTopTag

MonitorElement* JetAnalyzer::mnSubJetsCMSTopTag
private

Definition at line 659 of file JetAnalyzer.h.

◆ mnSubJetsCMSTopTag_boosted

MonitorElement* JetAnalyzer::mnSubJetsCMSTopTag_boosted
private

Definition at line 698 of file JetAnalyzer.h.

◆ mnSubJetsSoftDrop

MonitorElement* JetAnalyzer::mnSubJetsSoftDrop
private

Definition at line 677 of file JetAnalyzer.h.

◆ mnSubJetsSoftDrop_boosted

MonitorElement* JetAnalyzer::mnSubJetsSoftDrop_boosted
private

Definition at line 716 of file JetAnalyzer.h.

◆ mPhEn_highPt_Barrel

MonitorElement* JetAnalyzer::mPhEn_highPt_Barrel
private

Definition at line 390 of file JetAnalyzer.h.

◆ mPhEn_highPt_EndCap

MonitorElement* JetAnalyzer::mPhEn_highPt_EndCap
private

Definition at line 444 of file JetAnalyzer.h.

◆ mPhEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mPhEn_lowPt_Barrel
private

Definition at line 380 of file JetAnalyzer.h.

◆ mPhEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mPhEn_lowPt_EndCap
private

Definition at line 434 of file JetAnalyzer.h.

◆ mPhEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mPhEn_mediumPt_Barrel
private

Definition at line 385 of file JetAnalyzer.h.

◆ mPhEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mPhEn_mediumPt_EndCap
private

Definition at line 439 of file JetAnalyzer.h.

◆ mPhFrac

MonitorElement* JetAnalyzer::mPhFrac
private

Definition at line 556 of file JetAnalyzer.h.

◆ mPhFrac_highPt_Barrel

MonitorElement* JetAnalyzer::mPhFrac_highPt_Barrel
private

Definition at line 377 of file JetAnalyzer.h.

◆ mPhFrac_highPt_EndCap

MonitorElement* JetAnalyzer::mPhFrac_highPt_EndCap
private

Definition at line 430 of file JetAnalyzer.h.

◆ mPhFrac_lowPt_Barrel

MonitorElement* JetAnalyzer::mPhFrac_lowPt_Barrel
private

Definition at line 371 of file JetAnalyzer.h.

◆ mPhFrac_lowPt_EndCap

MonitorElement* JetAnalyzer::mPhFrac_lowPt_EndCap
private

Definition at line 424 of file JetAnalyzer.h.

◆ mPhFrac_mediumPt_Barrel

MonitorElement* JetAnalyzer::mPhFrac_mediumPt_Barrel
private

Definition at line 374 of file JetAnalyzer.h.

◆ mPhFrac_mediumPt_EndCap

MonitorElement* JetAnalyzer::mPhFrac_mediumPt_EndCap
private

Definition at line 427 of file JetAnalyzer.h.

◆ mPhFrac_profile

MonitorElement* JetAnalyzer::mPhFrac_profile
private

Definition at line 561 of file JetAnalyzer.h.

◆ mPhFracVSeta_highPt

MonitorElement* JetAnalyzer::mPhFracVSeta_highPt
private

Definition at line 420 of file JetAnalyzer.h.

◆ mPhFracVSeta_lowPt

MonitorElement* JetAnalyzer::mPhFracVSeta_lowPt
private

Definition at line 414 of file JetAnalyzer.h.

◆ mPhFracVSeta_mediumPt

MonitorElement* JetAnalyzer::mPhFracVSeta_mediumPt
private

Definition at line 417 of file JetAnalyzer.h.

◆ mPhFracVSpT_Barrel

MonitorElement* JetAnalyzer::mPhFracVSpT_Barrel
private

Definition at line 405 of file JetAnalyzer.h.

◆ mPhFracVSpT_EndCap

MonitorElement* JetAnalyzer::mPhFracVSpT_EndCap
private

Definition at line 408 of file JetAnalyzer.h.

◆ mPhi

MonitorElement* JetAnalyzer::mPhi
private

Definition at line 214 of file JetAnalyzer.h.

◆ mPhi_Barrel

MonitorElement* JetAnalyzer::mPhi_Barrel
private

Definition at line 230 of file JetAnalyzer.h.

◆ mPhi_Barrel_Hi

MonitorElement* JetAnalyzer::mPhi_Barrel_Hi
private

Definition at line 248 of file JetAnalyzer.h.

◆ mPhi_EndCap

MonitorElement* JetAnalyzer::mPhi_EndCap
private

Definition at line 236 of file JetAnalyzer.h.

◆ mPhi_EndCap_Hi

MonitorElement* JetAnalyzer::mPhi_EndCap_Hi
private

Definition at line 253 of file JetAnalyzer.h.

◆ mPhi_Forward

MonitorElement* JetAnalyzer::mPhi_Forward
private

Definition at line 242 of file JetAnalyzer.h.

◆ mPhi_Forward_Hi

MonitorElement* JetAnalyzer::mPhi_Forward_Hi
private

Definition at line 258 of file JetAnalyzer.h.

◆ mPhi_Hi

MonitorElement* JetAnalyzer::mPhi_Hi
private

Definition at line 275 of file JetAnalyzer.h.

◆ mPhi_Lo

MonitorElement* JetAnalyzer::mPhi_Lo
private

Definition at line 271 of file JetAnalyzer.h.

◆ mPhi_profile

MonitorElement* JetAnalyzer::mPhi_profile
private

Definition at line 323 of file JetAnalyzer.h.

◆ mPhi_uncor

MonitorElement* JetAnalyzer::mPhi_uncor
private

Definition at line 217 of file JetAnalyzer.h.

◆ mPhiFirst

MonitorElement* JetAnalyzer::mPhiFirst
private

Definition at line 267 of file JetAnalyzer.h.

◆ mPhiVSEta

MonitorElement* JetAnalyzer::mPhiVSEta
private

Definition at line 227 of file JetAnalyzer.h.

◆ mPrunedMass

MonitorElement* JetAnalyzer::mPrunedMass
private

Definition at line 650 of file JetAnalyzer.h.

◆ mPrunedMass_boosted

MonitorElement* JetAnalyzer::mPrunedMass_boosted
private

Definition at line 689 of file JetAnalyzer.h.

◆ mPt

MonitorElement* JetAnalyzer::mPt
private

Definition at line 208 of file JetAnalyzer.h.

◆ mPt_1

MonitorElement* JetAnalyzer::mPt_1
private

Definition at line 209 of file JetAnalyzer.h.

◆ mPt_2

MonitorElement* JetAnalyzer::mPt_2
private

Definition at line 210 of file JetAnalyzer.h.

◆ mPt_3

MonitorElement* JetAnalyzer::mPt_3
private

Definition at line 211 of file JetAnalyzer.h.

◆ mPt_Barrel

MonitorElement* JetAnalyzer::mPt_Barrel
private

Definition at line 229 of file JetAnalyzer.h.

◆ mPt_Barrel_Hi

MonitorElement* JetAnalyzer::mPt_Barrel_Hi
private

Definition at line 247 of file JetAnalyzer.h.

◆ mPt_CaloJet

MonitorElement* JetAnalyzer::mPt_CaloJet
private

Definition at line 727 of file JetAnalyzer.h.

◆ mPt_EndCap

MonitorElement* JetAnalyzer::mPt_EndCap
private

Definition at line 235 of file JetAnalyzer.h.

◆ mPt_EndCap_Hi

MonitorElement* JetAnalyzer::mPt_EndCap_Hi
private

Definition at line 252 of file JetAnalyzer.h.

◆ mPt_Forward

MonitorElement* JetAnalyzer::mPt_Forward
private

Definition at line 241 of file JetAnalyzer.h.

◆ mPt_Forward_Hi

MonitorElement* JetAnalyzer::mPt_Forward_Hi
private

Definition at line 257 of file JetAnalyzer.h.

◆ mPt_Hi

MonitorElement* JetAnalyzer::mPt_Hi
private

Definition at line 276 of file JetAnalyzer.h.

◆ mPt_Lo

MonitorElement* JetAnalyzer::mPt_Lo
private

Definition at line 272 of file JetAnalyzer.h.

◆ mPt_log

MonitorElement* JetAnalyzer::mPt_log
private

Definition at line 212 of file JetAnalyzer.h.

◆ mPt_profile

MonitorElement* JetAnalyzer::mPt_profile
private

Definition at line 321 of file JetAnalyzer.h.

◆ mPt_uncor

MonitorElement* JetAnalyzer::mPt_uncor
private

Definition at line 215 of file JetAnalyzer.h.

◆ mpTD_highPt_Barrel

MonitorElement* JetAnalyzer::mpTD_highPt_Barrel
private

Definition at line 502 of file JetAnalyzer.h.

◆ mpTD_highPt_EndCap

MonitorElement* JetAnalyzer::mpTD_highPt_EndCap
private

Definition at line 515 of file JetAnalyzer.h.

◆ mpTD_highPt_Forward

MonitorElement* JetAnalyzer::mpTD_highPt_Forward
private

Definition at line 528 of file JetAnalyzer.h.

◆ mpTD_lowPt_Barrel

MonitorElement* JetAnalyzer::mpTD_lowPt_Barrel
private

Definition at line 494 of file JetAnalyzer.h.

◆ mpTD_lowPt_EndCap

MonitorElement* JetAnalyzer::mpTD_lowPt_EndCap
private

Definition at line 507 of file JetAnalyzer.h.

◆ mpTD_lowPt_Forward

MonitorElement* JetAnalyzer::mpTD_lowPt_Forward
private

Definition at line 520 of file JetAnalyzer.h.

◆ mpTD_mediumPt_Barrel

MonitorElement* JetAnalyzer::mpTD_mediumPt_Barrel
private

Definition at line 498 of file JetAnalyzer.h.

◆ mpTD_mediumPt_EndCap

MonitorElement* JetAnalyzer::mpTD_mediumPt_EndCap
private

Definition at line 511 of file JetAnalyzer.h.

◆ mpTD_mediumPt_Forward

MonitorElement* JetAnalyzer::mpTD_mediumPt_Forward
private

Definition at line 524 of file JetAnalyzer.h.

◆ mPtFirst

MonitorElement* JetAnalyzer::mPtFirst
private

Definition at line 268 of file JetAnalyzer.h.

◆ mqgLikelihood_highPt_Barrel

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_Barrel
private

Definition at line 504 of file JetAnalyzer.h.

◆ mqgLikelihood_highPt_EndCap

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_EndCap
private

Definition at line 517 of file JetAnalyzer.h.

◆ mqgLikelihood_highPt_Forward

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_Forward
private

Definition at line 530 of file JetAnalyzer.h.

◆ mqgLikelihood_lowPt_Barrel

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_Barrel
private

Definition at line 496 of file JetAnalyzer.h.

◆ mqgLikelihood_lowPt_EndCap

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_EndCap
private

Definition at line 509 of file JetAnalyzer.h.

◆ mqgLikelihood_lowPt_Forward

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_Forward
private

Definition at line 522 of file JetAnalyzer.h.

◆ mqgLikelihood_mediumPt_Barrel

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_Barrel
private

Definition at line 500 of file JetAnalyzer.h.

◆ mqgLikelihood_mediumPt_EndCap

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_EndCap
private

Definition at line 513 of file JetAnalyzer.h.

◆ mqgLikelihood_mediumPt_Forward

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_Forward
private

Definition at line 526 of file JetAnalyzer.h.

◆ mresEMF

MonitorElement* JetAnalyzer::mresEMF
private

Definition at line 365 of file JetAnalyzer.h.

◆ mSoftDropMass

MonitorElement* JetAnalyzer::mSoftDropMass
private

Definition at line 649 of file JetAnalyzer.h.

◆ mSoftDropMass_boosted

MonitorElement* JetAnalyzer::mSoftDropMass_boosted
private

Definition at line 688 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_eta
private

Definition at line 661 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_eta_boosted
private

Definition at line 700 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_mass
private

Definition at line 663 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_mass_boosted
private

Definition at line 702 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_phi
private

Definition at line 662 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_phi_boosted
private

Definition at line 701 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_pt
private

Definition at line 660 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_pt_boosted
private

Definition at line 699 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_eta

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_eta
private

Definition at line 679 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_eta_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_eta_boosted
private

Definition at line 718 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_mass

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_mass
private

Definition at line 681 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_mass_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_mass_boosted
private

Definition at line 720 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_phi

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_phi
private

Definition at line 680 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_phi_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_phi_boosted
private

Definition at line 719 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_pt

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_pt
private

Definition at line 678 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_pt_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_pt_boosted
private

Definition at line 717 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_eta
private

Definition at line 665 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_eta_boosted
private

Definition at line 704 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_mass
private

Definition at line 667 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_mass_boosted
private

Definition at line 706 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_phi
private

Definition at line 666 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_phi_boosted
private

Definition at line 705 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_pt
private

Definition at line 664 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_pt_boosted
private

Definition at line 703 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_eta

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_eta
private

Definition at line 683 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_eta_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_eta_boosted
private

Definition at line 722 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_mass

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_mass
private

Definition at line 685 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_mass_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_mass_boosted
private

Definition at line 724 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_phi

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_phi
private

Definition at line 684 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_phi_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_phi_boosted
private

Definition at line 723 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_pt

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_pt
private

Definition at line 682 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_pt_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_pt_boosted
private

Definition at line 721 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_eta
private

Definition at line 669 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_eta_boosted
private

Definition at line 708 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_mass
private

Definition at line 671 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_mass_boosted
private

Definition at line 710 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_phi
private

Definition at line 670 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_phi_boosted
private

Definition at line 709 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_pt
private

Definition at line 668 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_pt_boosted
private

Definition at line 707 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_eta
private

Definition at line 673 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_eta_boosted
private

Definition at line 712 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_mass
private

Definition at line 675 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_mass_boosted
private

Definition at line 714 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_phi
private

Definition at line 674 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_phi_boosted
private

Definition at line 713 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_pt
private

Definition at line 672 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_pt_boosted
private

Definition at line 711 of file JetAnalyzer.h.

◆ mtau2_over_tau1

MonitorElement* JetAnalyzer::mtau2_over_tau1
private

Definition at line 653 of file JetAnalyzer.h.

◆ mtau2_over_tau1_boosted

MonitorElement* JetAnalyzer::mtau2_over_tau1_boosted
private

Definition at line 692 of file JetAnalyzer.h.

◆ mtau3_over_tau2

MonitorElement* JetAnalyzer::mtau3_over_tau2
private

Definition at line 654 of file JetAnalyzer.h.

◆ mtau3_over_tau2_boosted

MonitorElement* JetAnalyzer::mtau3_over_tau2_boosted
private

Definition at line 693 of file JetAnalyzer.h.

◆ mTightCutPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mTightCutPUJIDPassFractionVSeta
private

Definition at line 302 of file JetAnalyzer.h.

◆ mTightCutPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mTightCutPUJIDPassFractionVSpt
private

Definition at line 303 of file JetAnalyzer.h.

◆ mTightMVAPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mTightMVAPUJIDPassFractionVSeta
private

Definition at line 286 of file JetAnalyzer.h.

◆ mTightMVAPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mTightMVAPUJIDPassFractionVSpt
private

Definition at line 287 of file JetAnalyzer.h.

◆ mTrimmedMass

MonitorElement* JetAnalyzer::mTrimmedMass
private

Definition at line 651 of file JetAnalyzer.h.

◆ mTrimmedMass_boosted

MonitorElement* JetAnalyzer::mTrimmedMass_boosted
private

Definition at line 690 of file JetAnalyzer.h.

◆ MuonsToken_

edm::EDGetTokenT<reco::MuonCollection> JetAnalyzer::MuonsToken_
private

Definition at line 116 of file JetAnalyzer.h.

◆ mvaFullPUDiscriminantToken_

edm::EDGetTokenT<edm::ValueMap<float> > JetAnalyzer::mvaFullPUDiscriminantToken_
private

Definition at line 118 of file JetAnalyzer.h.

◆ mvaPUIDToken_

edm::EDGetTokenT<edm::ValueMap<int> > JetAnalyzer::mvaPUIDToken_
private

Definition at line 121 of file JetAnalyzer.h.

◆ mZJetAsymmetry

MonitorElement* JetAnalyzer::mZJetAsymmetry
private

Definition at line 736 of file JetAnalyzer.h.

◆ mZMass

MonitorElement* JetAnalyzer::mZMass
private

Definition at line 735 of file JetAnalyzer.h.

◆ nbinsPV_

int JetAnalyzer::nbinsPV_
private

Definition at line 186 of file JetAnalyzer.h.

◆ nEEff

MonitorElement* JetAnalyzer::nEEff
private

Definition at line 541 of file JetAnalyzer.h.

◆ nPVhigh_

double JetAnalyzer::nPVhigh_
private

Definition at line 188 of file JetAnalyzer.h.

◆ nPVlow_

double JetAnalyzer::nPVlow_
private

Definition at line 187 of file JetAnalyzer.h.

◆ parameters_

edm::ParameterSet JetAnalyzer::parameters_
private

◆ patJetsToken_

edm::EDGetTokenT<pat::JetCollection> JetAnalyzer::patJetsToken_
private

Definition at line 117 of file JetAnalyzer.h.

◆ patMetToken_

edm::EDGetTokenT<pat::METCollection> JetAnalyzer::patMetToken_
private

Definition at line 114 of file JetAnalyzer.h.

◆ pBin_

int JetAnalyzer::pBin_
private

Definition at line 182 of file JetAnalyzer.h.

◆ pfjetIDFunctor

PFJetIDSelectionFunctor JetAnalyzer::pfjetIDFunctor
private

Definition at line 154 of file JetAnalyzer.h.

◆ pfjetidquality

PFJetIDSelectionFunctor::Quality_t JetAnalyzer::pfjetidquality
private

Definition at line 151 of file JetAnalyzer.h.

◆ pfjetidversion

PFJetIDSelectionFunctor::Version_t JetAnalyzer::pfjetidversion
private

Definition at line 152 of file JetAnalyzer.h.

◆ pfJetsToken_

edm::EDGetTokenT<reco::PFJetCollection> JetAnalyzer::pfJetsToken_
private

Definition at line 110 of file JetAnalyzer.h.

◆ pfMetToken_

edm::EDGetTokenT<reco::PFMETCollection> JetAnalyzer::pfMetToken_
private

Definition at line 112 of file JetAnalyzer.h.

◆ phiBin_

int JetAnalyzer::phiBin_
private

Definition at line 170 of file JetAnalyzer.h.

◆ phiMax_

double JetAnalyzer::phiMax_
private

Definition at line 172 of file JetAnalyzer.h.

◆ phiMin_

double JetAnalyzer::phiMin_
private

Definition at line 171 of file JetAnalyzer.h.

◆ pMax_

double JetAnalyzer::pMax_
private

Definition at line 184 of file JetAnalyzer.h.

◆ pMin_

double JetAnalyzer::pMin_
private

Definition at line 183 of file JetAnalyzer.h.

◆ processname_

std::string JetAnalyzer::processname_
private

Definition at line 332 of file JetAnalyzer.h.

◆ pt_min_boosted_

double JetAnalyzer::pt_min_boosted_
private

Definition at line 346 of file JetAnalyzer.h.

◆ ptBin_

int JetAnalyzer::ptBin_
private

Definition at line 174 of file JetAnalyzer.h.

◆ ptMax_

double JetAnalyzer::ptMax_
private

Definition at line 176 of file JetAnalyzer.h.

◆ ptMin_

double JetAnalyzer::ptMin_
private

Definition at line 175 of file JetAnalyzer.h.

◆ ptThreshold_

double JetAnalyzer::ptThreshold_
private

Definition at line 194 of file JetAnalyzer.h.

◆ ptThresholdUnc_

double JetAnalyzer::ptThresholdUnc_
private

Definition at line 195 of file JetAnalyzer.h.

◆ qgaxis2Token_

edm::EDGetTokenT<edm::ValueMap<float> > JetAnalyzer::qgaxis2Token_
private

Definition at line 126 of file JetAnalyzer.h.

◆ qgLikelihoodToken_

edm::EDGetTokenT<edm::ValueMap<float> > JetAnalyzer::qgLikelihoodToken_
private

Definition at line 124 of file JetAnalyzer.h.

◆ qgMultiplicityToken_

edm::EDGetTokenT<edm::ValueMap<int> > JetAnalyzer::qgMultiplicityToken_
private

Definition at line 123 of file JetAnalyzer.h.

◆ qgptDToken_

edm::EDGetTokenT<edm::ValueMap<float> > JetAnalyzer::qgptDToken_
private

Definition at line 125 of file JetAnalyzer.h.

◆ runcosmics_

bool JetAnalyzer::runcosmics_
private

Definition at line 348 of file JetAnalyzer.h.

◆ theTriggerResultsLabel_

edm::InputTag JetAnalyzer::theTriggerResultsLabel_
private

Definition at line 102 of file JetAnalyzer.h.

◆ triggerResultsToken_

edm::EDGetTokenT<edm::TriggerResults> JetAnalyzer::triggerResultsToken_
private

Definition at line 106 of file JetAnalyzer.h.

◆ verbose_

int JetAnalyzer::verbose_
private

Definition at line 164 of file JetAnalyzer.h.

◆ vertexLabel_

edm::InputTag JetAnalyzer::vertexLabel_
private

Definition at line 136 of file JetAnalyzer.h.

◆ vertexToken_

edm::EDGetTokenT<std::vector<reco::Vertex> > JetAnalyzer::vertexToken_
private

Definition at line 107 of file JetAnalyzer.h.

◆ verticesME

MonitorElement* JetAnalyzer::verticesME
private

Definition at line 336 of file JetAnalyzer.h.