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

◆ ~JetAnalyzer()

JetAnalyzer::~JetAnalyzer ( )
override

Destructor.

Definition at line 275 of file JetAnalyzer.cc.

References LogTrace.

275  {
276  delete highPtJetEventFlag_;
277  delete lowPtJetEventFlag_;
278 
281  LogTrace("JetAnalyzer") << "[JetAnalyzer] Saving the histos";
282 }
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:568
#define LogTrace(id)
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:567
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:340
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:341

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 2258 of file JetAnalyzer.cc.

References isolatedTracks_cfi::caloJets, ALCARECOTkAlJpsiMuMu_cff::charge, reco::JetCorrector::correction(), gather_cfg::cout, eleIsoSequence_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, WZElectronSkims53X_cff::max, BTaggingMonitor_cfi::met, dtSegmentSelection_cfi::Muons, reco::JetID::n90Hits, reco::Jet::nConstituents(), custom_jme_cff::nConstituents, TrackCollections2monitor_cff::numberOfValidPixelHits, PileupJetIdentifier::passJetId(), hemisphereProducer_cfi::patJets, displacedMuons_cfi::pfIsolationR04, pfJets_cff::pfJets, reco::LeafCandidate::phi(), position, edm::Handle< T >::product(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), HLT_2024v14_cff::pt1, HLT_2024v14_cff::pt2, RecoJets_cff::recoJets, reco::JetID::restrictedEMF, isotrackNtupler::scale, reco::Jet::scaleEnergy(), jetUpdater_cfi::sort, L1GlobalTriggerReadoutRecord::technicalTriggerWord(), L1TEGammaOffline_cfi::triggerNames, edm::triggerResults(), and spclusmultinvestigator_cfi::vertexCollection.

2258  {
2259  //set general folders first --> change later on for different folders
2260  if (jetCleaningFlag_) {
2261  //dbe_->setCurrentFolder("JetMET/Jet/Cleaned"+mInputCollection_.label());
2262  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label();
2263  } else {
2264  //dbe_->setCurrentFolder("JetMET/Jet/Uncleaned"+mInputCollection_.label());
2265  DirName = "JetMET/Jet/Uncleaned" + mInputCollection_.label();
2266  }
2267 
2268  Handle<ValueMap<float> > puJetIdMva;
2269  Handle<ValueMap<int> > puJetIdFlagMva;
2270  Handle<ValueMap<float> > puJetId;
2271  Handle<ValueMap<int> > puJetIdFlag;
2272 
2273  Handle<ValueMap<int> > qgMultiplicity;
2274  Handle<ValueMap<float> > qgLikelihood;
2275  Handle<ValueMap<float> > qgptD;
2276  Handle<ValueMap<float> > qgaxis2;
2277 
2278  //should insure we have a PFJet in with CHS
2279  if (fill_CHS_histos) {
2280  iEvent.getByToken(qgMultiplicityToken_, qgMultiplicity);
2281  iEvent.getByToken(qgLikelihoodToken_, qgLikelihood);
2282  iEvent.getByToken(qgptDToken_, qgptD);
2283  iEvent.getByToken(qgaxis2Token_, qgaxis2);
2284  }
2285 
2286  if (!isMiniAODJet_) {
2287  iEvent.getByToken(mvaPUIDToken_, puJetIdFlagMva);
2288  iEvent.getByToken(cutBasedPUDiscriminantToken_, puJetId);
2289  iEvent.getByToken(cutBasedPUIDToken_, puJetIdFlag);
2290  iEvent.getByToken(mvaFullPUDiscriminantToken_, puJetIdMva);
2291  }
2292 
2293  // **** Get the TriggerResults container
2296 
2297  Int_t JetLoPass = 0;
2298  Int_t JetHiPass = 0;
2299 
2300  if (triggerResults.isValid()) {
2301  const edm::TriggerNames& triggerNames = iEvent.triggerNames(*triggerResults);
2302 
2303  const unsigned int nTrig(triggerNames.size());
2304  for (unsigned int i = 0; i < nTrig; ++i) {
2305  if (triggerNames.triggerName(i).find(highPtJetExpr_[0].substr(0, highPtJetExpr_[0].rfind("_v") + 2)) !=
2306  std::string::npos &&
2307  triggerResults->accept(i))
2308  JetHiPass = 1;
2309  else if (triggerNames.triggerName(i).find(lowPtJetExpr_[0].substr(0, lowPtJetExpr_[0].rfind("_v") + 2)) !=
2310  std::string::npos &&
2311  triggerResults->accept(i))
2312  JetLoPass = 1;
2313  }
2314  }
2315 
2316  if (verbose_)
2317  std::cout << "trigger label " << theTriggerResultsLabel_ << std::endl;
2318 
2319  if (verbose_) {
2320  std::cout << ">>> Trigger Lo = " << JetLoPass << " Hi = " << JetHiPass << std::endl;
2321  }
2322 
2323  // ==========================================================
2324  //Vertex information
2325  Handle<VertexCollection> vertexHandle;
2326  iEvent.getByToken(vertexToken_, vertexHandle);
2327 
2328  if (!vertexHandle.isValid()) {
2329  LogDebug("") << "CaloMETAnalyzer: Could not find vertex collection" << std::endl;
2330  if (verbose_)
2331  std::cout << "CaloMETAnalyzer: Could not find vertex collection" << std::endl;
2332  }
2333  int numPV = 0;
2334  if (vertexHandle.isValid()) {
2335  VertexCollection vertexCollection = *(vertexHandle.product());
2336  numPV = vertexCollection.size();
2337  }
2338  bool bPrimaryVertex = (bypassAllPVChecks_ || (numPV > 0));
2339  if (fill_jet_high_level_histo) { //should be filled for all events, no selection up to this point
2340  verticesME = map_of_MEs["JetMET/vertices"];
2342  verticesME->Fill(numPV);
2343  }
2344  // ==========================================================
2346  iEvent.getByToken(gtToken_, gtReadoutRecord);
2347 
2348  if (!gtReadoutRecord.isValid()) {
2349  LogInfo("JetAnalyzer") << "JetAnalyzer: Could not find GT readout record" << std::endl;
2350  if (verbose_)
2351  std::cout << "JetAnalyzer: Could not find GT readout record product" << std::endl;
2352  }
2353 
2354  //bool techTriggerResultBxE = false;
2355  bool techTriggerResultBxF = false;
2356  bool techTriggerResultBx0 = false;
2357 
2358  if (!gtReadoutRecord.isValid()) {
2359  LogDebug("") << "CaloMETAnalyzer: Could not find GT readout record" << std::endl;
2360  if (verbose_)
2361  std::cout << "CaloMETAnalyzer: Could not find GT readout record product" << std::endl;
2362  } else {
2363  // trigger results before mask for BxInEvent -2 (E), -1 (F), 0 (L1A), 1, 2
2364  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxE = gtReadoutRecord->technicalTriggerWord(-2);
2365  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxF = gtReadoutRecord->technicalTriggerWord(-1);
2366  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBx0 = gtReadoutRecord->technicalTriggerWord();
2367  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxG = gtReadoutRecord->technicalTriggerWord(1);
2368  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxH = gtReadoutRecord->technicalTriggerWord(2);
2369  if (m_bitAlgTechTrig_ > -1 && !technicalTriggerWordBeforeMaskBx0.empty()) {
2370  techTriggerResultBx0 = technicalTriggerWordBeforeMaskBx0.at(m_bitAlgTechTrig_);
2371  if (techTriggerResultBx0 != 0) {
2372  //techTriggerResultBxE = technicalTriggerWordBeforeMaskBxE.at(m_bitAlgTechTrig_);
2373  techTriggerResultBxF = technicalTriggerWordBeforeMaskBxF.at(m_bitAlgTechTrig_);
2374  }
2375  }
2376  }
2377 
2379  if (fill_jet_high_level_histo) { //should be filled only once
2380  cleanupME = map_of_MEs["JetMET/cleanup"];
2381  if (cleanupME && cleanupME->getRootObject()) {
2382  if (bPrimaryVertex)
2383  cleanupME->Fill(0.5);
2385  cleanupME->Fill(1.5);
2387  cleanupME->Fill(2.5);
2389  cleanupME->Fill(3.5);
2391  cleanupME->Fill(4.5);
2393  cleanupME->Fill(5.5);
2395  cleanupME->Fill(6.5);
2397  cleanupME->Fill(7.5);
2399  cleanupME->Fill(8.5);
2400  }
2401  }
2406  edm::Handle<PFJetCollection> puppiJets;
2407 
2409 
2410  bool pass_Z_selection = false;
2412 
2413  int mu_index0 = -1;
2414  int mu_index1 = -1;
2415 
2416  if (isCaloJet_)
2417  iEvent.getByToken(caloJetsToken_, caloJets);
2418  //if (isJPTJet_) iEvent.getByToken(jptJetsToken_, jptJets);
2419  if (isPFJet_) {
2420  iEvent.getByToken(pfJetsToken_, pfJets);
2421  iEvent.getByToken(MuonsToken_, Muons);
2422  double pt0 = -1;
2423  double pt1 = -1;
2424  //fill it only for cleaned jets
2425  if (jetCleaningFlag_ && Muons.isValid() && Muons->size() > 1) {
2426  for (unsigned int i = 0; i < Muons->size(); i++) {
2427  bool pass_muon_id = false;
2428  bool pass_muon_iso = false;
2429  double dxy = fabs((*Muons)[i].muonBestTrack()->dxy());
2430  double dz = fabs((*Muons)[i].muonBestTrack()->dz());
2431  if (numPV > 0) {
2432  dxy = fabs((*Muons)[i].muonBestTrack()->dxy((*vertexHandle)[0].position()));
2433  dz = fabs((*Muons)[i].muonBestTrack()->dz((*vertexHandle)[0].position()));
2434  }
2435  if ((*Muons)[i].pt() > 20 && fabs((*Muons)[i].eta()) < 2.3) {
2436  if ((*Muons)[i].isGlobalMuon() && (*Muons)[i].isPFMuon() &&
2437  (*Muons)[i].globalTrack()->hitPattern().numberOfValidMuonHits() > 0 &&
2438  (*Muons)[i].numberOfMatchedStations() > 1 && dxy < 0.2 && (*Muons)[i].numberOfMatchedStations() > 1 &&
2439  dz < 0.5 && (*Muons)[i].innerTrack()->hitPattern().numberOfValidPixelHits() > 0 &&
2440  (*Muons)[i].innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5) {
2441  pass_muon_id = true;
2442  }
2443  // Muon pf isolation DB corrected
2444  float muonIsoPFdb =
2445  ((*Muons)[i].pfIsolationR04().sumChargedHadronPt +
2446  std::max(0.,
2447  (*Muons)[i].pfIsolationR04().sumNeutralHadronEt + (*Muons)[i].pfIsolationR04().sumPhotonEt -
2448  0.5 * (*Muons)[i].pfIsolationR04().sumPUPt)) /
2449  (*Muons)[i].pt();
2450  if (muonIsoPFdb < 0.12) {
2451  pass_muon_iso = true;
2452  }
2453 
2454  if (pass_muon_id && pass_muon_iso) {
2455  if ((*Muons)[i].pt() > pt0) {
2456  mu_index1 = mu_index0;
2457  pt1 = pt0;
2458  mu_index0 = i;
2459  pt0 = (*Muons)[i].pt();
2460  } else if ((*Muons)[i].pt() > pt1) {
2461  mu_index1 = i;
2462  pt1 = (*Muons)[i].pt();
2463  }
2464  }
2465  }
2466  }
2467  if (mu_index0 >= 0 && mu_index1 >= 0) {
2468  if ((*Muons)[mu_index0].charge() * (*Muons)[mu_index1].charge() < 0) {
2469  zCand = (*Muons)[mu_index0].polarP4() + (*Muons)[mu_index1].polarP4();
2470  if (fabs(zCand.M() - 91.) < 20 && zCand.Pt() > 30) {
2471  pass_Z_selection = true;
2472  }
2473  }
2474  }
2475  }
2476  }
2477  if (isPUPPIJet_) {
2478  iEvent.getByToken(puppiJetsToken_, puppiJets);
2479  double pt0 = -1;
2480  double pt1 = -1;
2481  //fill it only for cleaned jets
2482  if (jetCleaningFlag_ && Muons.isValid() && Muons->size() > 1) {
2483  for (unsigned int i = 0; i < Muons->size(); i++) {
2484  bool pass_muon_id = false;
2485  bool pass_muon_iso = false;
2486  double dxy = fabs((*Muons)[i].muonBestTrack()->dxy());
2487  double dz = fabs((*Muons)[i].muonBestTrack()->dz());
2488  if (numPV > 0) {
2489  dxy = fabs((*Muons)[i].muonBestTrack()->dxy((*vertexHandle)[0].position()));
2490  dz = fabs((*Muons)[i].muonBestTrack()->dz((*vertexHandle)[0].position()));
2491  }
2492  if ((*Muons)[i].pt() > 20 && fabs((*Muons)[i].eta()) < 2.3) {
2493  if ((*Muons)[i].isGlobalMuon() && (*Muons)[i].isPFMuon() &&
2494  (*Muons)[i].globalTrack()->hitPattern().numberOfValidMuonHits() > 0 &&
2495  (*Muons)[i].numberOfMatchedStations() > 1 && dxy < 0.2 && (*Muons)[i].numberOfMatchedStations() > 1 &&
2496  dz < 0.5 && (*Muons)[i].innerTrack()->hitPattern().numberOfValidPixelHits() > 0 &&
2497  (*Muons)[i].innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5) {
2498  pass_muon_id = true;
2499  }
2500  // Muon pf isolation DB corrected
2501  float muonIsoPFdb =
2502  ((*Muons)[i].pfIsolationR04().sumChargedHadronPt +
2503  std::max(0.,
2504  (*Muons)[i].pfIsolationR04().sumNeutralHadronEt + (*Muons)[i].pfIsolationR04().sumPhotonEt -
2505  0.5 * (*Muons)[i].pfIsolationR04().sumPUPt)) /
2506  (*Muons)[i].pt();
2507  if (muonIsoPFdb < 0.12) {
2508  pass_muon_iso = true;
2509  }
2510 
2511  if (pass_muon_id && pass_muon_iso) {
2512  if ((*Muons)[i].pt() > pt0) {
2513  mu_index1 = mu_index0;
2514  pt1 = pt0;
2515  mu_index0 = i;
2516  pt0 = (*Muons)[i].pt();
2517  } else if ((*Muons)[i].pt() > pt1) {
2518  mu_index1 = i;
2519  pt1 = (*Muons)[i].pt();
2520  }
2521  }
2522  }
2523  }
2524  if (mu_index0 >= 0 && mu_index1 >= 0) {
2525  if ((*Muons)[mu_index0].charge() * (*Muons)[mu_index1].charge() < 0) {
2526  zCand = (*Muons)[mu_index0].polarP4() + (*Muons)[mu_index1].polarP4();
2527  if (fabs(zCand.M() - 91.) < 20 && zCand.Pt() > 30) {
2528  pass_Z_selection = true;
2529  }
2530  }
2531  }
2532  }
2533  }
2534  if (isMiniAODJet_)
2535  iEvent.getByToken(patJetsToken_, patJets);
2536 
2537  edm::Handle<edm::ValueMap<reco::JetID> > jetID_ValueMap_Handle;
2538  if (/*isJPTJet_ || */ isCaloJet_) {
2539  if (!runcosmics_) {
2540  iEvent.getByToken(jetID_ValueMapToken_, jetID_ValueMap_Handle);
2541  }
2542  }
2543 
2544  //check for collections AND DCS filters
2545  bool dcsDecision = DCSFilterForJetMonitoring_->filter(iEvent, iSetup);
2546  bool jetCollectionIsValid = false;
2547  if (isCaloJet_)
2548  jetCollectionIsValid = caloJets.isValid();
2549  //if (isJPTJet_) jetCollectionIsValid = jptJets.isValid();
2550  if (isPFJet_)
2551  jetCollectionIsValid = pfJets.isValid();
2552  if (isPUPPIJet_)
2553  jetCollectionIsValid = puppiJets.isValid();
2554  if (isMiniAODJet_)
2555  jetCollectionIsValid = patJets.isValid();
2556 
2557  if (jetCleaningFlag_ && (!jetCollectionIsValid || !bPrimaryVertex || !dcsDecision))
2558  return;
2559 
2560  unsigned int collSize = -1;
2561  if (isCaloJet_)
2562  collSize = caloJets->size();
2563  //if (isJPTJet_) {
2564  //collSize=jptJets->size();
2565  //if(collSize>0){
2566  // //update the track propagator and strip noise calculator
2567  // trackPropagator_->update(iSetup);
2568  // //sOverNCalculator_->update(iSetup);
2569  //}
2570  //}
2571  if (isPFJet_)
2572  collSize = pfJets->size();
2573  if (isMiniAODJet_)
2574  collSize = patJets->size();
2575  if (isPUPPIJet_)
2576  collSize = puppiJets->size();
2577 
2578  double scale = -1;
2579  //now start changes for jets
2580  std::vector<Jet> corJets;
2581  corJets.clear();
2582 
2583  //maybe not most elegant solution, but works for sure
2584  int ind1 = -1;
2585  double pt1 = -1;
2586  int ind2 = -1;
2587  double pt2 = -1;
2588  int ind3 = -1;
2589  double pt3 = -1;
2590 
2591  bool cleaned_first_jet = false;
2592  bool cleaned_second_jet = false;
2593  //bool cleaned_third_jet=false;
2594  //for ZJets selection check for muon jet overlap
2595  int ind1_mu_vetoed = -1;
2596  double pt1_mu_vetoed = -1;
2597  int ind2_mu_vetoed = -1;
2598  double pt2_mu_vetoed = -1;
2599  bool cleaned_first_jet_mu_vetoed = false;
2600  bool cleaned_second_jet_mu_vetoed = false;
2601 
2602  //now start changes for jets
2603  std::vector<Jet> recoJets;
2604  recoJets.clear();
2605 
2606  int numofjets = 0;
2607 
2609  bool pass_correction_flag = false;
2610  if (!isMiniAODJet_ && !jetCorrectorTag_.label().empty()) {
2611  iEvent.getByToken(jetCorrectorToken_, jetCorr);
2612  if (jetCorr.isValid()) {
2613  pass_correction_flag = true;
2614  } else {
2615  LogWarning("JetAnalyzer") << "Jet corrector service not found!";
2616  }
2617  }
2618  if (isMiniAODJet_) {
2619  pass_correction_flag = true;
2620  }
2621 
2622  for (unsigned int ijet = 0; ijet < collSize; ijet++) {
2623  //bool thiscleaned=false;
2624  Jet correctedJet;
2625  bool pass_uncorrected = false;
2626  bool pass_corrected = false;
2627  if (isCaloJet_) {
2628  correctedJet = (*caloJets)[ijet];
2629  }
2630  //if (isJPTJet_){
2631  //correctedJet=(*jptJets)[ijet];
2632  //}
2633  if (isPFJet_) {
2634  correctedJet = (*pfJets)[ijet];
2635  }
2636  if (isPUPPIJet_) {
2637  correctedJet = (*puppiJets)[ijet];
2638  }
2639  if (isMiniAODJet_) {
2640  correctedJet = (*patJets)[ijet];
2641  }
2642  if (!isMiniAODJet_ && correctedJet.pt() > ptThresholdUnc_) {
2643  pass_uncorrected = true;
2644  }
2645  if (isMiniAODJet_ && (correctedJet.pt() * (*patJets)[ijet].jecFactor("Uncorrected")) > ptThresholdUnc_) {
2646  pass_uncorrected = true;
2647  }
2648  if (pass_correction_flag && !isMiniAODJet_) {
2649  if (isCaloJet_) {
2650  scale = jetCorr->correction((*caloJets)[ijet]);
2651  }
2652  if (isPFJet_) {
2653  scale = jetCorr->correction((*pfJets)[ijet]);
2654  }
2655  if (isPUPPIJet_) {
2656  scale = jetCorr->correction((*puppiJets)[ijet]);
2657  }
2658  correctedJet.scaleEnergy(scale);
2659  }
2660  if (correctedJet.pt() > ptThreshold_) {
2661  pass_corrected = true;
2662  }
2663  //if (!pass_corrected && !pass_uncorrected) continue;
2664  //remove the continue line, for physics selections we might losen the pt-thresholds as we care only about leading jets
2665  //fill only corrected jets -> check ID for uncorrected jets
2666  if (pass_corrected) {
2667  recoJets.push_back(correctedJet);
2668  }
2669  bool jetpassid = true;
2670  bool Thiscleaned = true;
2671  bool JetIDWPU = true;
2672  //jet ID for calojets
2673  if (isCaloJet_) {
2674  reco::CaloJetRef calojetref(caloJets, ijet);
2675  if (!runcosmics_) {
2676  reco::JetID jetID = (*jetID_ValueMap_Handle)[calojetref];
2677  jetpassid = jetIDFunctor((*caloJets)[ijet], jetID);
2678  JetIDWPU = jetpassid;
2679  if (jetCleaningFlag_) {
2680  Thiscleaned = jetpassid;
2681  }
2682  if (Thiscleaned && pass_corrected) { //if cleaning requested->jet passes a loose ID
2683  mN90Hits = map_of_MEs[DirName + "/" + "N90Hits"];
2684  if (mN90Hits && mN90Hits->getRootObject())
2685  mN90Hits->Fill(jetID.n90Hits);
2686  mfHPD = map_of_MEs[DirName + "/" + "fHPD"];
2687  if (mfHPD && mfHPD->getRootObject())
2688  mfHPD->Fill(jetID.fHPD);
2689  mresEMF = map_of_MEs[DirName + "/" + "resEMF"];
2690  if (mresEMF && mresEMF->getRootObject())
2691  mresEMF->Fill(jetID.restrictedEMF);
2692  mfRBX = map_of_MEs[DirName + "/" + "fRBX"];
2693  if (mfRBX && mfRBX->getRootObject())
2694  mfRBX->Fill(jetID.fRBX);
2695  }
2696  }
2697  if (jetCleaningFlag_) {
2698  Thiscleaned = jetpassid;
2699  }
2700  if (Thiscleaned && pass_uncorrected) {
2701  mPt_uncor = map_of_MEs[DirName + "/" + "Pt_uncor"];
2702  if (mPt_uncor && mPt_uncor->getRootObject())
2703  mPt_uncor->Fill((*caloJets)[ijet].pt());
2704  mEta_uncor = map_of_MEs[DirName + "/" + "Eta_uncor"];
2706  mEta_uncor->Fill((*caloJets)[ijet].eta());
2707  mPhi_uncor = map_of_MEs[DirName + "/" + "Phi_uncor"];
2709  mPhi_uncor->Fill((*caloJets)[ijet].phi());
2710  mConstituents_uncor = map_of_MEs[DirName + "/" + "Constituents_uncor"];
2712  mConstituents_uncor->Fill((*caloJets)[ijet].nConstituents());
2713  }
2714  //now do calojet specific fractions and histograms ->H and E fracs
2715  if (Thiscleaned && pass_corrected) { //if cleaning requested->jet passes a loose ID
2716  mHFrac = map_of_MEs[DirName + "/" + "HFrac"];
2717  if (mHFrac && mHFrac->getRootObject())
2718  mHFrac->Fill((*caloJets)[ijet].energyFractionHadronic());
2719  mEFrac = map_of_MEs[DirName + "/" + "EFrac"];
2720  if (mEFrac && mHFrac->getRootObject())
2721  mEFrac->Fill((*caloJets)[ijet].emEnergyFraction());
2722  mHFrac_profile = map_of_MEs[DirName + "/" + "HFrac_profile"];
2724  mHFrac_profile->Fill(numPV, (*caloJets)[ijet].energyFractionHadronic());
2725  mEFrac_profile = map_of_MEs[DirName + "/" + "EFrac_profile"];
2727  mEFrac_profile->Fill(numPV, (*caloJets)[ijet].emEnergyFraction());
2728  if (fabs((*caloJets)[ijet].eta()) <= 1.3) {
2729  mHFrac_Barrel = map_of_MEs[DirName + "/" + "HFrac_Barrel"];
2731  mHFrac_Barrel->Fill((*caloJets)[ijet].energyFractionHadronic());
2732  mEFrac_Barrel = map_of_MEs[DirName + "/" + "EFrac_Barrel"];
2734  mEFrac_Barrel->Fill((*caloJets)[ijet].emEnergyFraction());
2735  } else if (fabs((*caloJets)[ijet].eta()) < 3.0) {
2736  mHFrac_EndCap = map_of_MEs[DirName + "/" + "HFrac_EndCap"];
2738  mHFrac_EndCap->Fill((*caloJets)[ijet].energyFractionHadronic());
2739  mEFrac_EndCap = map_of_MEs[DirName + "/" + "EFrac_EndCap"];
2741  mEFrac_EndCap->Fill((*caloJets)[ijet].emEnergyFraction());
2742  } else {
2743  mHFrac_Forward = map_of_MEs[DirName + "/" + "HFrac_Forward"];
2745  mHFrac_Forward->Fill((*caloJets)[ijet].energyFractionHadronic());
2746  mEFrac_Forward = map_of_MEs[DirName + "/" + "EFrac_Forward"];
2748  mEFrac_Forward->Fill((*caloJets)[ijet].emEnergyFraction());
2749  }
2750  mHadEnergyInHO = map_of_MEs[DirName + "/" + "HadEnergyInHO"];
2752  mHadEnergyInHO->Fill((*caloJets)[ijet].hadEnergyInHO());
2753  mHadEnergyInHB = map_of_MEs[DirName + "/" + "HadEnergyInHB"];
2755  mHadEnergyInHB->Fill((*caloJets)[ijet].hadEnergyInHB());
2756  mHadEnergyInHF = map_of_MEs[DirName + "/" + "HadEnergyInHF"];
2758  mHadEnergyInHF->Fill((*caloJets)[ijet].hadEnergyInHF());
2759  mHadEnergyInHE = map_of_MEs[DirName + "/" + "HadEnergyInHE"];
2761  mHadEnergyInHE->Fill((*caloJets)[ijet].hadEnergyInHE());
2762  mEmEnergyInEB = map_of_MEs[DirName + "/" + "EmEnergyInEB"];
2764  mEmEnergyInEB->Fill((*caloJets)[ijet].emEnergyInEB());
2765  mEmEnergyInEE = map_of_MEs[DirName + "/" + "EmEnergyInEE"];
2767  mEmEnergyInEE->Fill((*caloJets)[ijet].emEnergyInEE());
2768  mEmEnergyInHF = map_of_MEs[DirName + "/" + "EmEnergyInHF"];
2770  mEmEnergyInHF->Fill((*caloJets)[ijet].emEnergyInHF());
2771  }
2772  }
2773  if (isMiniAODJet_ && (*patJets)[ijet].isPFJet()) {
2774  // You can't check the jet ID without the specifics. If they were dropped for space savings,
2775  // don't monitor this jet.
2776  if (!(*patJets)[ijet].hasPFSpecific())
2777  continue;
2778 
2779  pat::strbitset stringbitset = pfjetIDFunctor.getBitTemplate();
2780  jetpassid = pfjetIDFunctor((*patJets)[ijet], stringbitset);
2781  if (jetCleaningFlag_) {
2782  Thiscleaned = jetpassid;
2783  JetIDWPU = jetpassid;
2784  }
2785  if (Thiscleaned && pass_uncorrected) {
2786  mPt_uncor = map_of_MEs[DirName + "/" + "Pt_uncor"];
2787  if (mPt_uncor && mPt_uncor->getRootObject())
2788  if (mPt_uncor)
2789  mPt_uncor->Fill((*patJets)[ijet].pt() * (*patJets)[ijet].jecFactor("Uncorrected"));
2790  mEta_uncor = map_of_MEs[DirName + "/" + "Eta_uncor"];
2792  if (mEta_uncor)
2793  mEta_uncor->Fill((*patJets)[ijet].eta());
2794  mPhi_uncor = map_of_MEs[DirName + "/" + "Phi_uncor"];
2796  if (mPhi_uncor)
2797  mPhi_uncor->Fill((*patJets)[ijet].phi());
2798  mConstituents_uncor = map_of_MEs[DirName + "/" + "Constituents_uncor"];
2800  if (mConstituents_uncor)
2802  }
2803  if (Thiscleaned && pass_corrected) {
2804  mPt_CaloJet = map_of_MEs[DirName + "/" + "Pt_CaloJet"];
2805  if (mPt_CaloJet && mPt_CaloJet->getRootObject() && (*patJets)[ijet].hasUserFloat("caloJetMap:pt"))
2806  mPt_CaloJet->Fill((*patJets)[ijet].userFloat("caloJetMap:pt"));
2807  mEMF_CaloJet = map_of_MEs[DirName + "/" + "EMF_CaloJet"];
2809  (*patJets)[ijet].hasUserFloat("caloJetMap:emEnergyFraction"))
2810  mEMF_CaloJet->Fill((*patJets)[ijet].userFloat("caloJetMap:emEnergyFraction"));
2811  if (fabs(correctedJet.eta()) <= 1.3) {
2812  if (correctedJet.pt() <= 50.) {
2813  mMVAPUJIDDiscriminant_lowPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Barrel"];
2815  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2816  mMVAPUJIDDiscriminant_lowPt_Barrel->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2817  }
2818  }
2819  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2820  mMVAPUJIDDiscriminant_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Barrel"];
2822  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2823  mMVAPUJIDDiscriminant_mediumPt_Barrel->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2824  }
2825  }
2826  if (correctedJet.pt() > 140.) {
2827  mMVAPUJIDDiscriminant_highPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Barrel"];
2829  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2830  mMVAPUJIDDiscriminant_highPt_Barrel->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2831  }
2832  }
2833  mMass_Barrel = map_of_MEs[DirName + "/" + "JetMass_Barrel"];
2835  mMass_Barrel->Fill((*patJets)[ijet].mass());
2836  mCHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "CHFracVSpT_Barrel"];
2838  mCHFracVSpT_Barrel->Fill(correctedJet.pt(), (*patJets)[ijet].chargedHadronEnergyFraction());
2839  mNHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "NHFracVSpT_Barrel"];
2841  mNHFracVSpT_Barrel->Fill(correctedJet.pt(), (*patJets)[ijet].neutralHadronEnergyFraction());
2842  mPhFracVSpT_Barrel = map_of_MEs[DirName + "/" + "PhFracVSpT_Barrel"];
2844  mPhFracVSpT_Barrel->Fill(correctedJet.pt(), (*patJets)[ijet].neutralEmEnergyFraction());
2845  } else if (fabs(correctedJet.eta()) <= 3) {
2846  if (correctedJet.pt() <= 50.) {
2847  mMVAPUJIDDiscriminant_lowPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_EndCap"];
2849  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2850  mMVAPUJIDDiscriminant_lowPt_EndCap->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2851  }
2852  }
2853  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2854  mMVAPUJIDDiscriminant_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_EndCap"];
2856  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2857  mMVAPUJIDDiscriminant_mediumPt_EndCap->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2858  }
2859  }
2860  if (correctedJet.pt() > 140.) {
2861  mMVAPUJIDDiscriminant_highPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_EndCap"];
2863  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2864  mMVAPUJIDDiscriminant_highPt_EndCap->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2865  }
2866  }
2867  mMass_EndCap = map_of_MEs[DirName + "/" + "JetMass_EndCap"];
2869  mMass_EndCap->Fill((*patJets)[ijet].mass());
2870  mCHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "CHFracVSpT_EndCap"];
2872  mCHFracVSpT_EndCap->Fill(correctedJet.pt(), (*patJets)[ijet].chargedHadronEnergyFraction());
2873  mNHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "NHFracVSpT_EndCap"];
2875  mNHFracVSpT_EndCap->Fill(correctedJet.pt(), (*patJets)[ijet].neutralHadronEnergyFraction());
2876  mPhFracVSpT_EndCap = map_of_MEs[DirName + "/" + "PhFracVSpT_EndCap"];
2878  mPhFracVSpT_EndCap->Fill(correctedJet.pt(), (*patJets)[ijet].neutralEmEnergyFraction());
2879  } else if (fabs(correctedJet.eta()) <= 5) {
2880  if (correctedJet.pt() <= 50.) {
2881  mMVAPUJIDDiscriminant_lowPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Forward"];
2883  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2884  mMVAPUJIDDiscriminant_lowPt_Forward->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2885  }
2886  }
2887  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
2889  map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Forward"];
2891  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2893  (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2894  }
2895  }
2896  if (correctedJet.pt() > 140.) {
2897  mMVAPUJIDDiscriminant_highPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Forward"];
2899  if ((*patJets)[ijet].hasUserFloat("pileupJetId:fullDiscriminant"))
2900  mMVAPUJIDDiscriminant_highPt_Forward->Fill((*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
2901  }
2902  }
2903  mMass_Forward = map_of_MEs[DirName + "/" + "JetMass_Forward"];
2905  mMass_Forward->Fill((*patJets)[ijet].mass());
2906  mHFHFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFHFracVSpT_Forward"];
2908  mHFHFracVSpT_Forward->Fill(correctedJet.pt(), (*patJets)[ijet].HFHadronEnergyFraction());
2909  mHFEFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFEFracVSpT_Forward"];
2911  mHFEFracVSpT_Forward->Fill(correctedJet.pt(), (*patJets)[ijet].HFEMEnergyFraction());
2912  }
2913  }
2914  }
2915  if (isPFJet_) {
2916  reco::PFJetRef pfjetref(pfJets, ijet);
2917  float puidmva = -1;
2918  float puidcut = -1;
2919  int puidmvaflag = -10;
2920  int puidcutflag = -10;
2921  puidmva = (*puJetIdMva)[pfjetref];
2922  puidcut = (*puJetId)[pfjetref];
2923  puidmvaflag = (*puJetIdFlagMva)[pfjetref];
2924  puidcutflag = (*puJetIdFlag)[pfjetref];
2925  jetpassid = pfjetIDFunctor((*pfJets)[ijet]);
2926  if (jetCleaningFlag_) {
2927  Thiscleaned = jetpassid;
2928  JetIDWPU = jetpassid; // && PileupJetIdentifier::passJetId( puidmvaflag, PileupJetIdentifier::kLoose )
2929  }
2930  if (Thiscleaned && pass_uncorrected) {
2931  mPt_uncor = map_of_MEs[DirName + "/" + "Pt_uncor"];
2932  if (mPt_uncor && mPt_uncor->getRootObject())
2933  mPt_uncor->Fill((*pfJets)[ijet].pt());
2934  mEta_uncor = map_of_MEs[DirName + "/" + "Eta_uncor"];
2936  mEta_uncor->Fill((*pfJets)[ijet].eta());
2937  mPhi_uncor = map_of_MEs[DirName + "/" + "Phi_uncor"];
2939  mPhi_uncor->Fill((*pfJets)[ijet].phi());
2940  mConstituents_uncor = map_of_MEs[DirName + "/" + "Constituents_uncor"];
2942  mConstituents_uncor->Fill((*pfJets)[ijet].nConstituents());
2943  }
2944  if (Thiscleaned && pass_corrected) {
2946  mLooseCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSeta"];
2948  mLooseCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2949  mLooseCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSpt"];
2951  mLooseCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2952  } else {
2953  mLooseCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSeta"];
2955  mLooseCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2956  mLooseCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseCutPUIDPassFractionVSpt"];
2958  mLooseCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2959  }
2961  mMediumCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSeta"];
2963  mMediumCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2964  mMediumCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSpt"];
2966  mMediumCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2967  } else {
2968  mMediumCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSeta"];
2970  mMediumCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2971  mMediumCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumCutPUIDPassFractionVSpt"];
2973  mMediumCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2974  }
2976  mTightCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSeta"];
2978  mTightCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2979  mTightCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSpt"];
2981  mTightCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2982  } else {
2983  mTightCutPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSeta"];
2985  mTightCutPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
2986  mTightCutPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightCutPUIDPassFractionVSpt"];
2988  mTightCutPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
2989  }
2991  mLooseMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSeta"];
2993  mLooseMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
2994  mLooseMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSpt"];
2996  mLooseMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
2997  } else {
2998  mLooseMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSeta"];
3000  mLooseMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
3001  mLooseMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "LooseMVAPUIDPassFractionVSpt"];
3003  mLooseMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
3004  }
3006  mMediumMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSeta"];
3008  mMediumMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
3009  mMediumMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSpt"];
3011  mMediumMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
3012  } else {
3013  mMediumMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSeta"];
3015  mMediumMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
3016  mMediumMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "MediumMVAPUIDPassFractionVSpt"];
3018  mMediumMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
3019  }
3021  mTightMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSeta"];
3023  mTightMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
3024  mTightMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSpt"];
3026  mTightMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
3027  } else {
3028  mTightMVAPUJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSeta"];
3030  mTightMVAPUJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
3031  mTightMVAPUJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "TightMVAPUIDPassFractionVSpt"];
3033  mTightMVAPUJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
3034  }
3035  if (correctedJet.pt() <= 50) {
3036  mCHFracVSeta_lowPt = map_of_MEs[DirName + "/" + "CHFracVSeta_lowPt"];
3038  mCHFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3039  mNHFracVSeta_lowPt = map_of_MEs[DirName + "/" + "NHFracVSeta_lowPt"];
3041  mNHFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3042  mPhFracVSeta_lowPt = map_of_MEs[DirName + "/" + "PhFracVSeta_lowPt"];
3044  mPhFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralEmEnergyFraction());
3045  }
3046  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3047  mCHFracVSeta_mediumPt = map_of_MEs[DirName + "/" + "CHFracVSeta_mediumPt"];
3049  mCHFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3050  mNHFracVSeta_mediumPt = map_of_MEs[DirName + "/" + "NHFracVSeta_mediumPt"];
3052  mNHFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3053  mPhFracVSeta_mediumPt = map_of_MEs[DirName + "/" + "PhFracVSeta_mediumPt"];
3055  mPhFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralEmEnergyFraction());
3056  }
3057  if (correctedJet.pt() > 140.) {
3058  mCHFracVSeta_highPt = map_of_MEs[DirName + "/" + "CHFracVSeta_highPt"];
3060  mCHFracVSeta_highPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3061  mNHFracVSeta_highPt = map_of_MEs[DirName + "/" + "NHFracVSeta_highPt"];
3063  mNHFracVSeta_highPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3064  mPhFracVSeta_highPt = map_of_MEs[DirName + "/" + "PhFracVSeta_highPt"];
3066  mPhFracVSeta_highPt->Fill((*pfJets)[ijet].eta(), (*pfJets)[ijet].neutralEmEnergyFraction());
3067  }
3068  if (fabs(correctedJet.eta()) <= 1.3) {
3069  //fractions for barrel
3070  if (correctedJet.pt() <= 50.) {
3071  //mAxis2_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_Axis2_lowPt_Barrel"];if(mAxis2_lowPt_Barrel && mAxis2_lowPt_Barrel->getRootObject()) mAxis2_lowPt_Barrel->Fill(QGaxis2);
3072  //mpTD_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_pTD_lowPt_Barrel"]; if(mpTD_lowPt_Barrel && mpTD_lowPt_Barrel->getRootObject()) mpTD_lowPt_Barrel->Fill(QGptD);
3073  //mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_multiplicity_lowPt_Barrel"]; if(mMultiplicityQG_lowPt_Barrel && mMultiplicityQG_lowPt_Barrel->getRootObject()) mMultiplicityQG_lowPt_Barrel->Fill(QGmulti);
3074  //mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName+"/"+"qg_Likelihood_lowPt_Barrel"]; if(mqgLikelihood_lowPt_Barrel && mqgLikelihood_lowPt_Barrel->getRootObject()) mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
3075  mMass_lowPt_Barrel = map_of_MEs[DirName + "/" + "JetMass_lowPt_Barrel"];
3077  mMass_lowPt_Barrel->Fill((*pfJets)[ijet].mass());
3078  mMVAPUJIDDiscriminant_lowPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Barrel"];
3081  mCutPUJIDDiscriminant_lowPt_Barrel = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_lowPt_Barrel"];
3084  mCHFrac_lowPt_Barrel = map_of_MEs[DirName + "/" + "CHFrac_lowPt_Barrel"];
3086  mCHFrac_lowPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3087  mNHFrac_lowPt_Barrel = map_of_MEs[DirName + "/" + "NHFrac_lowPt_Barrel"];
3089  mNHFrac_lowPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3090  mPhFrac_lowPt_Barrel = map_of_MEs[DirName + "/" + "PhFrac_lowPt_Barrel"];
3092  mPhFrac_lowPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3093  mCHEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "CHEn_lowPt_Barrel"];
3095  mCHEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
3096  mNHEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "NHEn_lowPt_Barrel"];
3098  mNHEn_lowPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
3099  mPhEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "PhEn_lowPt_Barrel"];
3101  mPhEn_lowPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
3102  mElEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "ElEn_lowPt_Barrel"];
3104  mElEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
3105  mMuEn_lowPt_Barrel = map_of_MEs[DirName + "/" + "MuEn_lowPt_Barrel"];
3107  mMuEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
3108  mChMultiplicity_lowPt_Barrel = map_of_MEs[DirName + "/" + "ChMultiplicity_lowPt_Barrel"];
3110  mChMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
3111  mNeutMultiplicity_lowPt_Barrel = map_of_MEs[DirName + "/" + "NeutMultiplicity_lowPt_Barrel"];
3113  mNeutMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
3114  mMuMultiplicity_lowPt_Barrel = map_of_MEs[DirName + "/" + "MuMultiplicity_lowPt_Barrel"];
3116  mMuMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
3117  }
3118  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3119  //mAxis2_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_Axis2_mediumPt_Barrel"];if(mAxis2_mediumPt_Barrel && mAxis2_mediumPt_Barrel->getRootObject()) mAxis2_mediumPt_Barrel->Fill(QGaxis2);
3120  //mpTD_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_pTD_mediumPt_Barrel"]; if(mpTD_mediumPt_Barrel && mpTD_mediumPt_Barrel->getRootObject()) mpTD_mediumPt_Barrel->Fill(QGptD);
3121  //mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_multiplicity_mediumPt_Barrel"]; if(mMultiplicityQG_mediumPt_Barrel && mMultiplicityQG_mediumPt_Barrel->getRootObject()) mMultiplicityQG_mediumPt_Barrel->Fill(QGmulti);
3122  //mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName+"/"+"qg_Likelihood_mediumPt_Barrel"]; if(mqgLikelihood_mediumPt_Barrel && mqgLikelihood_mediumPt_Barrel->getRootObject()) mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
3123  mMass_mediumPt_Barrel = map_of_MEs[DirName + "/" + "JetMass_mediumPt_Barrel"];
3125  mMass_mediumPt_Barrel->Fill((*pfJets)[ijet].mass());
3126  mMVAPUJIDDiscriminant_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Barrel"];
3129  mCutPUJIDDiscriminant_mediumPt_Barrel = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_mediumPt_Barrel"];
3132  mCHFrac_mediumPt_Barrel = map_of_MEs[DirName + "/" + "CHFrac_mediumPt_Barrel"];
3134  mCHFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3135  mNHFrac_mediumPt_Barrel = map_of_MEs[DirName + "/" + "NHFrac_mediumPt_Barrel"];
3137  mNHFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3138  mPhFrac_mediumPt_Barrel = map_of_MEs[DirName + "/" + "PhFrac_mediumPt_Barrel"];
3140  mPhFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3141  mCHEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "CHEn_mediumPt_Barrel"];
3143  mCHEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
3144  mNHEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "NHEn_mediumPt_Barrel"];
3146  mNHEn_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
3147  mPhEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "PhEn_mediumPt_Barrel"];
3149  mPhEn_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
3150  mElEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "ElEn_mediumPt_Barrel"];
3152  mElEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
3153  mMuEn_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MuEn_mediumPt_Barrel"];
3155  mMuEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
3156  mChMultiplicity_mediumPt_Barrel = map_of_MEs[DirName + "/" + "ChMultiplicity_mediumPt_Barrel"];
3158  mChMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
3159  mNeutMultiplicity_mediumPt_Barrel = map_of_MEs[DirName + "/" + "NeutMultiplicity_mediumPt_Barrel"];
3161  mNeutMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
3162  mMuMultiplicity_mediumPt_Barrel = map_of_MEs[DirName + "/" + "MuMultiplicity_mediumPt_Barrel"];
3164  mMuMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
3165  }
3166  if (correctedJet.pt() > 140.) {
3167  //mAxis2_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_Axis2_highPt_Barrel"];if(mAxis2_highPt_Barrel && mAxis2_highPt_Barrel->getRootObject()) mAxis2_highPt_Barrel->Fill(QGaxis2);
3168  //mpTD_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_pTD_highPt_Barrel"]; if(mpTD_highPt_Barrel && mpTD_highPt_Barrel->getRootObject()) mpTD_highPt_Barrel->Fill(QGptD);
3169  //mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_multiplicity_highPt_Barrel"]; if(mMultiplicityQG_highPt_Barrel && mMultiplicityQG_highPt_Barrel->getRootObject()) mMultiplicityQG_highPt_Barrel->Fill(QGmulti);
3170  //mqgLikelihood_highPt_Barrel = map_of_MEs[DirName+"/"+"qg_Likelihood_highPt_Barrel"]; if(mqgLikelihood_highPt_Barrel && mqgLikelihood_highPt_Barrel->getRootObject()) mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
3171  mMass_highPt_Barrel = map_of_MEs[DirName + "/" + "JetMass_highPt_Barrel"];
3173  mMass_highPt_Barrel->Fill((*pfJets)[ijet].mass());
3174  mMVAPUJIDDiscriminant_highPt_Barrel = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Barrel"];
3177  mCutPUJIDDiscriminant_highPt_Barrel = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_highPt_Barrel"];
3180  mCHFrac_highPt_Barrel = map_of_MEs[DirName + "/" + "CHFrac_highPt_Barrel"];
3182  mCHFrac_highPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3183  mNHFrac_highPt_Barrel = map_of_MEs[DirName + "/" + "NHFrac_highPt_Barrel"];
3185  mNHFrac_highPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3186  mPhFrac_highPt_Barrel = map_of_MEs[DirName + "/" + "PhFrac_highPt_Barrel"];
3188  mPhFrac_highPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3189  mCHEn_highPt_Barrel = map_of_MEs[DirName + "/" + "CHEn_highPt_Barrel"];
3191  mCHEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
3192  mNHEn_highPt_Barrel = map_of_MEs[DirName + "/" + "NHEn_highPt_Barrel"];
3194  mNHEn_highPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
3195  mPhEn_highPt_Barrel = map_of_MEs[DirName + "/" + "PhEn_highPt_Barrel"];
3197  mPhEn_highPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
3198  mElEn_highPt_Barrel = map_of_MEs[DirName + "/" + "ElEn_highPt_Barrel"];
3200  mElEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
3201  mMuEn_highPt_Barrel = map_of_MEs[DirName + "/" + "MuEn_highPt_Barrel"];
3203  mMuEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
3204  mChMultiplicity_highPt_Barrel = map_of_MEs[DirName + "/" + "ChMultiplicity_highPt_Barrel"];
3206  mChMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
3207  mNeutMultiplicity_highPt_Barrel = map_of_MEs[DirName + "/" + "NeutMultiplicity_highPt_Barrel"];
3209  mNeutMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
3210  mMuMultiplicity_highPt_Barrel = map_of_MEs[DirName + "/" + "MuMultiplicity_highPt_Barrel"];
3212  mMuMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
3213  }
3214  mCHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "CHFracVSpT_Barrel"];
3216  mCHFracVSpT_Barrel->Fill(correctedJet.pt(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3217  mNHFracVSpT_Barrel = map_of_MEs[DirName + "/" + "NHFracVSpT_Barrel"];
3219  mNHFracVSpT_Barrel->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3220  mPhFracVSpT_Barrel = map_of_MEs[DirName + "/" + "PhFracVSpT_Barrel"];
3222  mPhFracVSpT_Barrel->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralEmEnergyFraction());
3223  } else if (fabs(correctedJet.eta()) <= 3) {
3224  //fractions for endcap
3225  if (correctedJet.pt() <= 50.) {
3226  //mAxis2_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_Axis2_lowPt_EndCap"];if(mAxis2_lowPt_EndCap && mAxis2_lowPt_EndCap->getRootObject()) mAxis2_lowPt_EndCap->Fill(QGaxis2);
3227  //mpTD_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_pTD_lowPt_EndCap"]; if(mpTD_lowPt_EndCap && mpTD_lowPt_EndCap->getRootObject()) mpTD_lowPt_EndCap->Fill(QGptD);
3228  //mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_multiplicity_lowPt_EndCap"]; if(mMultiplicityQG_lowPt_EndCap && mMultiplicityQG_lowPt_EndCap->getRootObject()) mMultiplicityQG_lowPt_EndCap->Fill(QGmulti);
3229  //mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName+"/"+"qg_Likelihood_lowPt_EndCap"]; if(mqgLikelihood_lowPt_EndCap && mqgLikelihood_lowPt_EndCap->getRootObject()) mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
3230  mMass_lowPt_EndCap = map_of_MEs[DirName + "/" + "JetMass_lowPt_EndCap"];
3232  mMass_lowPt_EndCap->Fill((*pfJets)[ijet].mass());
3233  mMVAPUJIDDiscriminant_lowPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_EndCap"];
3236  mCutPUJIDDiscriminant_lowPt_EndCap = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_lowPt_EndCap"];
3239  mCHFrac_lowPt_EndCap = map_of_MEs[DirName + "/" + "CHFrac_lowPt_EndCap"];
3241  mCHFrac_lowPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3242  mNHFrac_lowPt_EndCap = map_of_MEs[DirName + "/" + "NHFrac_lowPt_EndCap"];
3244  mNHFrac_lowPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3245  mPhFrac_lowPt_EndCap = map_of_MEs[DirName + "/" + "PhFrac_lowPt_EndCap"];
3247  mPhFrac_lowPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3248  mCHEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "CHEn_lowPt_EndCap"];
3250  mCHEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
3251  mNHEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "NHEn_lowPt_EndCap"];
3253  mNHEn_lowPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
3254  mPhEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "PhEn_lowPt_EndCap"];
3256  mPhEn_lowPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
3257  mElEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "ElEn_lowPt_EndCap"];
3259  mElEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
3260  mMuEn_lowPt_EndCap = map_of_MEs[DirName + "/" + "MuEn_lowPt_EndCap"];
3262  mMuEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
3263  mChMultiplicity_lowPt_EndCap = map_of_MEs[DirName + "/" + "ChMultiplicity_lowPt_EndCap"];
3265  mChMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
3266  mNeutMultiplicity_lowPt_EndCap = map_of_MEs[DirName + "/" + "NeutMultiplicity_lowPt_EndCap"];
3268  mNeutMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
3269  mMuMultiplicity_lowPt_EndCap = map_of_MEs[DirName + "/" + "MuMultiplicity_lowPt_EndCap"];
3271  mMuMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
3272  }
3273  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3274  //mAxis2_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_Axis2_mediumPt_EndCap"];if(mAxis2_mediumPt_EndCap && mAxis2_mediumPt_EndCap->getRootObject()) mAxis2_mediumPt_EndCap->Fill(QGaxis2);
3275  //mpTD_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_pTD_mediumPt_EndCap"]; if(mpTD_mediumPt_EndCap && mpTD_mediumPt_EndCap->getRootObject()) mpTD_mediumPt_EndCap->Fill(QGptD);
3276  //mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_multiplicity_mediumPt_EndCap"]; if(mMultiplicityQG_mediumPt_EndCap && mMultiplicityQG_mediumPt_EndCap->getRootObject()) mMultiplicityQG_mediumPt_EndCap->Fill(QGmulti);
3277  //mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName+"/"+"qg_Likelihood_mediumPt_EndCap"]; if(mqgLikelihood_mediumPt_EndCap && mqgLikelihood_mediumPt_EndCap->getRootObject()) mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
3278  mMass_mediumPt_EndCap = map_of_MEs[DirName + "/" + "JetMass_mediumPt_EndCap"];
3280  mMass_mediumPt_EndCap->Fill((*pfJets)[ijet].mass());
3281  mMVAPUJIDDiscriminant_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_EndCap"];
3284  mCutPUJIDDiscriminant_mediumPt_EndCap = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_mediumPt_EndCap"];
3287  mCHFrac_mediumPt_EndCap = map_of_MEs[DirName + "/" + "CHFrac_mediumPt_EndCap"];
3289  mCHFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3290  mNHFrac_mediumPt_EndCap = map_of_MEs[DirName + "/" + "NHFrac_mediumPt_EndCap"];
3292  mNHFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3293  mPhFrac_mediumPt_EndCap = map_of_MEs[DirName + "/" + "PhFrac_mediumPt_EndCap"];
3295  mPhFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3296  mCHEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "CHEn_mediumPt_EndCap"];
3298  mCHEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
3299  mNHEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "NHEn_mediumPt_EndCap"];
3301  mNHEn_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
3302  mPhEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "PhEn_mediumPt_EndCap"];
3304  mPhEn_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
3305  mElEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "ElEn_mediumPt_EndCap"];
3307  mElEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
3308  mMuEn_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MuEn_mediumPt_EndCap"];
3310  mMuEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
3311  mChMultiplicity_mediumPt_EndCap = map_of_MEs[DirName + "/" + "ChMultiplicity_mediumPt_EndCap"];
3313  mChMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
3314  mNeutMultiplicity_mediumPt_EndCap = map_of_MEs[DirName + "/" + "NeutMultiplicity_mediumPt_EndCap"];
3316  mNeutMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
3317  mMuMultiplicity_mediumPt_EndCap = map_of_MEs[DirName + "/" + "MuMultiplicity_mediumPt_EndCap"];
3319  mMuMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
3320  }
3321  if (correctedJet.pt() > 140.) {
3322  //mAxis2_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_Axis2_highPt_EndCap"];if(mAxis2_highPt_EndCap && mAxis2_highPt_EndCap->getRootObject()) mAxis2_highPt_EndCap->Fill(QGaxis2);
3323  //mpTD_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_pTD_highPt_EndCap"]; if(mpTD_highPt_EndCap && mpTD_highPt_EndCap->getRootObject()) mpTD_highPt_EndCap->Fill(QGptD);
3324  //mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_multiplicity_highPt_EndCap"]; if(mMultiplicityQG_highPt_EndCap && mMultiplicityQG_highPt_EndCap->getRootObject()) mMultiplicityQG_highPt_EndCap->Fill(QGmulti);
3325  //mqgLikelihood_highPt_EndCap = map_of_MEs[DirName+"/"+"qg_Likelihood_highPt_EndCap"]; if(mqgLikelihood_highPt_EndCap && mqgLikelihood_highPt_EndCap->getRootObject()) mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
3326  mMass_highPt_EndCap = map_of_MEs[DirName + "/" + "JetMass_highPt_EndCap"];
3328  mMass_highPt_EndCap->Fill((*pfJets)[ijet].mass());
3329  mMVAPUJIDDiscriminant_highPt_EndCap = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_EndCap"];
3332  mCutPUJIDDiscriminant_highPt_EndCap = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_highPt_EndCap"];
3335  mCHFrac_highPt_EndCap = map_of_MEs[DirName + "/" + "CHFrac_highPt_EndCap"];
3337  mCHFrac_highPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3338  mNHFrac_highPt_EndCap = map_of_MEs[DirName + "/" + "NHFrac_highPt_EndCap"];
3340  mNHFrac_highPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3341  mPhFrac_highPt_EndCap = map_of_MEs[DirName + "/" + "PhFrac_highPt_EndCap"];
3343  mPhFrac_highPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
3344  mCHEn_highPt_EndCap = map_of_MEs[DirName + "/" + "CHEn_highPt_EndCap"];
3346  mCHEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
3347  mNHEn_highPt_EndCap = map_of_MEs[DirName + "/" + "NHEn_highPt_EndCap"];
3349  mNHEn_highPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
3350  mPhEn_highPt_EndCap = map_of_MEs[DirName + "/" + "PhEn_highPt_EndCap"];
3352  mPhEn_highPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
3353  mElEn_highPt_EndCap = map_of_MEs[DirName + "/" + "ElEn_highPt_EndCap"];
3355  mElEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
3356  mMuEn_highPt_EndCap = map_of_MEs[DirName + "/" + "MuEn_highPt_EndCap"];
3358  mMuEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
3359  mChMultiplicity_highPt_EndCap = map_of_MEs[DirName + "/" + "ChMultiplicity_highPt_EndCap"];
3361  mChMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
3362  mNeutMultiplicity_highPt_EndCap = map_of_MEs[DirName + "/" + "NeutMultiplicity_highPt_EndCap"];
3364  mNeutMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
3365  mMuMultiplicity_highPt_EndCap = map_of_MEs[DirName + "/" + "MuMultiplicity_highPt_EndCap"];
3367  mMuMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
3368  }
3369  mCHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "CHFracVSpT_EndCap"];
3371  mCHFracVSpT_EndCap->Fill(correctedJet.pt(), (*pfJets)[ijet].chargedHadronEnergyFraction());
3372  mNHFracVSpT_EndCap = map_of_MEs[DirName + "/" + "NHFracVSpT_EndCap"];
3374  mNHFracVSpT_EndCap->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralHadronEnergyFraction());
3375  mPhFracVSpT_EndCap = map_of_MEs[DirName + "/" + "PhFracVSpT_EndCap"];
3377  mPhFracVSpT_EndCap->Fill(correctedJet.pt(), (*pfJets)[ijet].neutralEmEnergyFraction());
3378  } else {
3379  mHFHFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFHFracVSpT_Forward"];
3381  mHFHFracVSpT_Forward->Fill(correctedJet.pt(), (*pfJets)[ijet].HFHadronEnergyFraction());
3382  mHFEFracVSpT_Forward = map_of_MEs[DirName + "/" + "HFEFracVSpT_Forward"];
3384  mHFEFracVSpT_Forward->Fill(correctedJet.pt(), (*pfJets)[ijet].HFEMEnergyFraction());
3385  //fractions
3386  if (correctedJet.pt() <= 50.) {
3387  //mAxis2_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_Axis2_lowPt_Forward"];if(mAxis2_lowPt_Forward && mAxis2_lowPt_Forward->getRootObject()) mAxis2_lowPt_Forward->Fill(QGaxis2);
3388  //mpTD_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_pTD_lowPt_Forward"]; if(mpTD_lowPt_Forward && mpTD_lowPt_Forward->getRootObject()) mpTD_lowPt_Forward->Fill(QGptD);
3389  //mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_multiplicity_lowPt_Forward"]; if(mMultiplicityQG_lowPt_Forward && mMultiplicityQG_lowPt_Forward->getRootObject()) mMultiplicityQG_lowPt_Forward->Fill(QGmulti);
3390  //mqgLikelihood_lowPt_Forward = map_of_MEs[DirName+"/"+"qg_Likelihood_lowPt_Forward"]; if(mqgLikelihood_lowPt_Forward && mqgLikelihood_lowPt_Forward->getRootObject()) mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
3391  mMass_lowPt_Forward = map_of_MEs[DirName + "/" + "JetMass_lowPt_Forward"];
3393  mMass_lowPt_Forward->Fill((*pfJets)[ijet].mass());
3394  mMVAPUJIDDiscriminant_lowPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_lowPt_Forward"];
3397  mCutPUJIDDiscriminant_lowPt_Forward = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_lowPt_Forward"];
3400  mHFEFrac_lowPt_Forward = map_of_MEs[DirName + "/" + "HFEFrac_lowPt_Forward"];
3402  mHFEFrac_lowPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3403  mHFHFrac_lowPt_Forward = map_of_MEs[DirName + "/" + "HFHFrac_lowPt_Forward"];
3405  mHFHFrac_lowPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3406  mHFEEn_lowPt_Forward = map_of_MEs[DirName + "/" + "HFEEn_lowPt_Forward"];
3408  mHFEEn_lowPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
3409  mHFHEn_lowPt_Forward = map_of_MEs[DirName + "/" + "HFHEn_lowPt_Forward"];
3411  mHFHEn_lowPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
3412  mNeutMultiplicity_lowPt_Forward = map_of_MEs[DirName + "/" + "NeutMultiplicity_lowPt_Forward"];
3414  mNeutMultiplicity_lowPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
3415  }
3416  if (correctedJet.pt() > 50. && correctedJet.pt() <= 140.) {
3417  //mAxis2_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_Axis2_mediumPt_Forward"];if(mAxis2_mediumPt_Forward && mAxis2_mediumPt_Forward->getRootObject()) mAxis2_mediumPt_Forward->Fill(QGaxis2);
3418  //mpTD_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_pTD_mediumPt_Forward"]; if(mpTD_mediumPt_Forward && mpTD_mediumPt_Forward->getRootObject()) mpTD_mediumPt_Forward->Fill(QGptD);
3419  //mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_multiplicity_mediumPt_Forward"]; if(mMultiplicityQG_mediumPt_Forward && mMultiplicityQG_mediumPt_Forward->getRootObject()) mMultiplicityQG_mediumPt_Forward->Fill(QGmulti);
3420  //mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName+"/"+"qg_Likelihood_mediumPt_Forward"]; if(mqgLikelihood_mediumPt_Forward && mqgLikelihood_mediumPt_Forward->getRootObject()) mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
3421  mMass_mediumPt_Forward = map_of_MEs[DirName + "/" + "JetMass_mediumPt_Forward"];
3423  mMass_mediumPt_Forward->Fill((*pfJets)[ijet].mass());
3425  map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_mediumPt_Forward"];
3429  map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_mediumPt_Forward"];
3432  mHFEFrac_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFEFrac_mediumPt_Forward"];
3434  mHFEFrac_mediumPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3435  mHFHFrac_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFHFrac_mediumPt_Forward"];
3437  mHFHFrac_mediumPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3438  mHFEEn_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFEEn_mediumPt_Forward"];
3440  mHFEEn_mediumPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
3441  mHFHEn_mediumPt_Forward = map_of_MEs[DirName + "/" + "HFHEn_mediumPt_Forward"];
3443  mHFHEn_mediumPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
3444  mNeutMultiplicity_mediumPt_Forward = map_of_MEs[DirName + "/" + "NeutMultiplicity_mediumPt_Forward"];
3446  mNeutMultiplicity_mediumPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
3447  }
3448  if (correctedJet.pt() > 140.) {
3449  //mAxis2_highPt_Forward = map_of_MEs[DirName+"/"+"qg_Axis2_highPt_Forward"];if(mAxis2_highPt_Forward && mAxis2_highPt_Forward->getRootObject()) mAxis2_highPt_Forward->Fill(QGaxis2);
3450  //mpTD_highPt_Forward = map_of_MEs[DirName+"/"+"qg_pTD_highPt_Forward"]; if(mpTD_highPt_Forward && mpTD_highPt_Forward->getRootObject()) mpTD_highPt_Forward->Fill(QGptD);
3451  //mMultiplicityQG_highPt_Forward = map_of_MEs[DirName+"/"+"qg_multiplicity_highPt_Forward"]; if(mMultiplicityQG_highPt_Forward && mMultiplicityQG_highPt_Forward->getRootObject()) mMultiplicityQG_highPt_Forward->Fill(QGmulti);
3452  //mqgLikelihood_highPt_Forward = map_of_MEs[DirName+"/"+"qg_Likelihood_highPt_Forward"]; if(mqgLikelihood_highPt_Forward && mqgLikelihood_highPt_Forward->getRootObject()) mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
3453  mMass_highPt_Forward = map_of_MEs[DirName + "/" + "JetMass_highPt_Forward"];
3455  mMass_highPt_Forward->Fill((*pfJets)[ijet].mass());
3456  mMVAPUJIDDiscriminant_highPt_Forward = map_of_MEs[DirName + "/" + "MVAPUJIDDiscriminant_highPt_Forward"];
3459  mCutPUJIDDiscriminant_highPt_Forward = map_of_MEs[DirName + "/" + "CutPUJIDDiscriminant_highPt_Forward"];
3462  mHFEFrac_highPt_Forward = map_of_MEs[DirName + "/" + "HFEFrac_highPt_Forward"];
3464  mHFEFrac_highPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3465  mHFHFrac_highPt_Forward = map_of_MEs[DirName + "/" + "HFHFrac_highPt_Forward"];
3467  mHFHFrac_highPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3468  mHFEEn_highPt_Forward = map_of_MEs[DirName + "/" + "HFEEn_highPt_Forward"];
3470  mHFEEn_highPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
3471  mHFHEn_highPt_Forward = map_of_MEs[DirName + "/" + "HFHEn_highPt_Forward"];
3473  mHFHEn_highPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
3474  mNeutMultiplicity_highPt_Forward = map_of_MEs[DirName + "/" + "NeutMultiplicity_highPt_Forward"];
3476  mNeutMultiplicity_highPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
3477  }
3478  }
3479  //OOT plots
3480  /*
3481  if(techTriggerResultBx0 && techTriggerResultBxE && techTriggerResultBxF){
3482  meEta_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"Eta_BXm2BXm1Filled"]; if ( meEta_BXm2BXm1Filled && meEta_BXm2BXm1Filled ->getRootObject()) meEta_BXm2BXm1Filled ->Fill((*pfJets)[ijet].eta());
3483  if(fabs(correctedJet.eta()) <= 1.3) {
3484  mePhFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm2BXm1Filled"]; if ( mePhFracBarrel_BXm2BXm1Filled && mePhFracBarrel_BXm2BXm1Filled ->getRootObject()) mePhFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
3485  meNHFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm2BXm1Filled"]; if ( meNHFracBarrel_BXm2BXm1Filled && meNHFracBarrel_BXm2BXm1Filled ->getRootObject()) meNHFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3486  meCHFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm2BXm1Filled"]; if ( meCHFracBarrel_BXm2BXm1Filled && meCHFracBarrel_BXm2BXm1Filled ->getRootObject()) meCHFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3487  mePtBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtBarrel_BXm2BXm1Filled"]; if ( mePtBarrel_BXm2BXm1Filled && mePtBarrel_BXm2BXm1Filled ->getRootObject()) mePtBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3488  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3489  mePhFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Filled"]; if ( mePhFracEndCapMinus_BXm2BXm1Filled && mePhFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) mePhFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
3490  meNHFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Filled"]; if ( meNHFracEndCapMinus_BXm2BXm1Filled && meNHFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3491  meCHFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Filled"]; if ( meCHFracEndCapMinus_BXm2BXm1Filled && meCHFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) meCHFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3492  mePtEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm2BXm1Filled"]; if ( mePtEndCapMinus_BXm2BXm1Filled && mePtEndCapMinus_BXm2BXm1Filled ->getRootObject()) mePtEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3493  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3494  mePhFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Filled"]; if ( mePhFracEndCapPlus_BXm2BXm1Filled && mePhFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) mePhFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
3495  meNHFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Filled"]; if ( meNHFracEndCapPlus_BXm2BXm1Filled && meNHFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) meNHFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3496  meCHFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Filled"]; if ( meCHFracEndCapPlus_BXm2BXm1Filled && meCHFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) meCHFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3497  mePtEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm2BXm1Filled"]; if ( mePtEndCapPlus_BXm2BXm1Filled && mePtEndCapPlus_BXm2BXm1Filled ->getRootObject()) mePtEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3498  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3499  mePtForwardMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm2BXm1Filled"]; if ( mePtForwardMinus_BXm2BXm1Filled && mePtForwardMinus_BXm2BXm1Filled ->getRootObject()) mePtForwardMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3500  meHFHFracMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm2BXm1Filled"]; if ( meHFHFracMinus_BXm2BXm1Filled && meHFHFracMinus_BXm2BXm1Filled ->getRootObject()) meHFHFracMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3501  meHFEMFracMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm2BXm1Filled"]; if ( meHFEMFracMinus_BXm2BXm1Filled && meHFEMFracMinus_BXm2BXm1Filled ->getRootObject()) meHFEMFracMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3502  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3503  mePtForwardPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm2BXm1Filled"]; if ( mePtForwardPlus_BXm2BXm1Filled && mePtForwardPlus_BXm2BXm1Filled ->getRootObject()) mePtForwardPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
3504  meHFHFracPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm2BXm1Filled"]; if ( meHFHFracPlus_BXm2BXm1Filled && meHFHFracPlus_BXm2BXm1Filled ->getRootObject()) meHFHFracPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3505  meHFEMFracPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm2BXm1Filled"]; if ( meHFEMFracPlus_BXm2BXm1Filled && meHFEMFracPlus_BXm2BXm1Filled ->getRootObject()) meHFEMFracPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3506  }
3507  }*/
3508  if (techTriggerResultBx0 && techTriggerResultBxF) {
3509  meEta_BXm1Filled = map_of_MEs[DirName + "/" + "Eta_BXm1Filled"];
3511  meEta_BXm1Filled->Fill((*pfJets)[ijet].eta());
3512  if (fabs(correctedJet.eta()) <= 1.3) {
3513  mePhFracBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "PhFracBarrel_BXm1Filled"];
3515  mePhFracBarrel_BXm1Filled->Fill((*pfJets)[ijet].photonEnergyFraction());
3516  meNHFracBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "NHFracBarrel_BXm1Filled"];
3518  meNHFracBarrel_BXm1Filled->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3519  meCHFracBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "CHFracBarrel_BXm1Filled"];
3521  meCHFracBarrel_BXm1Filled->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3522  mePtBarrel_BXm1Filled = map_of_MEs[DirName + "/" + "PtBarrel_BXm1Filled"];
3524  mePtBarrel_BXm1Filled->Fill((*pfJets)[ijet].pt());
3525  } else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3526  mePhFracEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "PhFracEndCapMinus_BXm1Filled"];
3528  mePhFracEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].photonEnergyFraction());
3529  meNHFracEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "NHFracEndCapMinus_BXm1Filled"];
3531  meNHFracEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3532  meCHFracEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "CHFracEndCapMinus_BXm1Filled"];
3534  meCHFracEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3535  mePtEndCapMinus_BXm1Filled = map_of_MEs[DirName + "/" + "PtEndCapMinus_BXm1Filled"];
3537  mePtEndCapMinus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3538  } else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3539  mePhFracEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "PhFracEndCapPlus_BXm1Filled"];
3541  mePhFracEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].photonEnergyFraction());
3542  meNHFracEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "NHFracEndCapPlus_BXm1Filled"];
3544  meNHFracEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3545  meCHFracEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "CHFracEndCapPlus_BXm1Filled"];
3547  meCHFracEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3548  mePtEndCapPlus_BXm1Filled = map_of_MEs[DirName + "/" + "PtEndCapPlus_BXm1Filled"];
3550  mePtEndCapPlus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3551  } else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3552  mePtForwardMinus_BXm1Filled = map_of_MEs[DirName + "/" + "PtForwardMinus_BXm1Filled"];
3554  mePtForwardMinus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3555  meHFHFracMinus_BXm1Filled = map_of_MEs[DirName + "/" + "HFHFracMinus_BXm1Filled"];
3557  meHFHFracMinus_BXm1Filled->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3558  meHFEMFracMinus_BXm1Filled = map_of_MEs[DirName + "/" + "HFEMFracMinus_BXm1Filled"];
3560  meHFEMFracMinus_BXm1Filled->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3561  } else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3562  mePtForwardPlus_BXm1Filled = map_of_MEs[DirName + "/" + "PtForwardPlus_BXm1Filled"];
3564  mePtForwardPlus_BXm1Filled->Fill((*pfJets)[ijet].pt());
3565  meHFHFracPlus_BXm1Filled = map_of_MEs[DirName + "/" + "HFHFracPlus_BXm1Filled"];
3567  meHFHFracPlus_BXm1Filled->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3568  meHFEMFracPlus_BXm1Filled = map_of_MEs[DirName + "/" + "HFEMFracPlus_BXm1Filled"];
3570  meHFEMFracPlus_BXm1Filled->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3571  }
3572  } /*
3573  if(techTriggerResultBx0 && !techTriggerResultBxE && !techTriggerResultBxF){
3574  meEta_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"Eta_BXm2BXm1Empty"]; if ( meEta_BXm2BXm1Empty && meEta_BXm2BXm1Empty ->getRootObject()) meEta_BXm2BXm1Empty ->Fill((*pfJets)[ijet].eta());
3575  if(fabs(correctedJet.eta()) <= 1.3) {
3576  mePhFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm2BXm1Empty"]; if ( mePhFracBarrel_BXm2BXm1Empty && mePhFracBarrel_BXm2BXm1Empty ->getRootObject()) mePhFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
3577  meNHFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm2BXm1Empty"]; if ( meNHFracBarrel_BXm2BXm1Empty && meNHFracBarrel_BXm2BXm1Empty ->getRootObject()) meNHFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3578  meCHFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm2BXm1Empty"]; if ( meCHFracBarrel_BXm2BXm1Empty && meCHFracBarrel_BXm2BXm1Empty ->getRootObject()) meCHFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3579  mePtBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtBarrel_BXm2BXm1Empty"]; if ( mePtBarrel_BXm2BXm1Empty && mePtBarrel_BXm2BXm1Empty ->getRootObject()) mePtBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3580  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3581  mePhFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Empty"]; if ( mePhFracEndCapMinus_BXm2BXm1Empty && mePhFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) mePhFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
3582  meNHFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Empty"]; if ( meNHFracEndCapMinus_BXm2BXm1Empty && meNHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3583  meCHFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Empty"]; if ( meCHFracEndCapMinus_BXm2BXm1Empty && meCHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meCHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3584  mePtEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm2BXm1Empty"]; if ( mePtEndCapMinus_BXm2BXm1Empty && mePtEndCapMinus_BXm2BXm1Empty ->getRootObject()) mePtEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3585  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3586  mePhFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Empty"]; if ( mePhFracEndCapPlus_BXm2BXm1Empty && mePhFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) mePhFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
3587  meNHFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Empty"]; if ( meNHFracEndCapPlus_BXm2BXm1Empty && meNHFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3588  meCHFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Empty"]; if ( meCHFracEndCapPlus_BXm2BXm1Empty && meCHFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) meCHFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3589  mePtEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm2BXm1Empty"]; if ( mePtEndCapPlus_BXm2BXm1Empty && mePtEndCapPlus_BXm2BXm1Empty ->getRootObject()) mePtEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3590  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3591  mePtForwardMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm2BXm1Empty"]; if ( mePtForwardMinus_BXm2BXm1Empty && mePtForwardMinus_BXm2BXm1Empty ->getRootObject()) mePtForwardMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3592  meHFHFracMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm2BXm1Empty"]; if ( meHFHFracMinus_BXm2BXm1Empty && meHFHFracMinus_BXm2BXm1Empty ->getRootObject()) meHFHFracMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3593  meHFEMFracMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm2BXm1Empty"]; if ( meHFEMFracMinus_BXm2BXm1Empty && meHFEMFracMinus_BXm2BXm1Empty ->getRootObject()) meHFEMFracMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3594  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3595  mePtForwardPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm2BXm1Empty"]; if ( mePtForwardPlus_BXm2BXm1Empty && mePtForwardPlus_BXm2BXm1Empty ->getRootObject()) mePtForwardPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
3596  meHFHFracPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm2BXm1Empty"]; if ( meHFHFracPlus_BXm2BXm1Empty && meHFHFracPlus_BXm2BXm1Empty ->getRootObject()) meHFHFracPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3597  meHFEMFracPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm2BXm1Empty"]; if ( meHFEMFracPlus_BXm2BXm1Empty && meHFEMFracPlus_BXm2BXm1Empty ->getRootObject()) meHFEMFracPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3598  }
3599  }*/
3600  if (techTriggerResultBx0 && !techTriggerResultBxF) {
3601  meEta_BXm1Empty = map_of_MEs[DirName + "/" + "Eta_BXm1Empty"];
3603  meEta_BXm1Empty->Fill((*pfJets)[ijet].eta());
3604  if (fabs(correctedJet.eta()) <= 1.3) {
3605  mePhFracBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "PhFracBarrel_BXm1Empty"];
3607  mePhFracBarrel_BXm1Empty->Fill((*pfJets)[ijet].photonEnergyFraction());
3608  meNHFracBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "NHFracBarrel_BXm1Empty"];
3610  meNHFracBarrel_BXm1Empty->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3611  meCHFracBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "CHFracBarrel_BXm1Empty"];
3613  meCHFracBarrel_BXm1Empty->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3614  mePtBarrel_BXm1Empty = map_of_MEs[DirName + "/" + "PtBarrel_BXm1Empty"];
3616  mePtBarrel_BXm1Empty->Fill((*pfJets)[ijet].pt());
3617  } else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
3618  mePhFracEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "PhFracEndCapMinus_BXm1Empty"];
3620  mePhFracEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].photonEnergyFraction());
3621  meNHFracEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "NHFracEndCapMinus_BXm1Empty"];
3623  meNHFracEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3624  meCHFracEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "CHFracEndCapMinus_BXm1Empty"];
3626  meCHFracEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3627  mePtEndCapMinus_BXm1Empty = map_of_MEs[DirName + "/" + "PtEndCapMinus_BXm1Empty"];
3629  mePtEndCapMinus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3630  } else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
3631  mePhFracEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "PhFracEndCapPlus_BXm1Empty"];
3633  mePhFracEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].photonEnergyFraction());
3634  meNHFracEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "NHFracEndCapPlus_BXm1Empty"];
3636  meNHFracEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
3637  meCHFracEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "CHFracEndCapPlus_BXm1Empty"];
3639  meCHFracEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
3640  mePtEndCapPlus_BXm1Empty = map_of_MEs[DirName + "/" + "PtEndCapPlus_BXm1Empty"];
3642  mePtEndCapPlus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3643  } else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
3644  mePtForwardMinus_BXm1Empty = map_of_MEs[DirName + "/" + "PtForwardMinus_BXm1Empty"];
3646  mePtForwardMinus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3647  meHFHFracMinus_BXm1Empty = map_of_MEs[DirName + "/" + "HFHFracMinus_BXm1Empty"];
3649  meHFHFracMinus_BXm1Empty->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3650  meHFEMFracMinus_BXm1Empty = map_of_MEs[DirName + "/" + "HFEMFracMinus_BXm1Empty"];
3652  meHFEMFracMinus_BXm1Empty->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3653  } else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
3654  mePtForwardPlus_BXm1Empty = map_of_MEs[DirName + "/" + "PtForwardPlus_BXm1Empty"];
3656  mePtForwardPlus_BXm1Empty->Fill((*pfJets)[ijet].pt());
3657  meHFHFracPlus_BXm1Empty = map_of_MEs[DirName + "/" + "HFHFracPlus_BXm1Empty"];
3659  meHFHFracPlus_BXm1Empty->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
3660  meHFEMFracPlus_BXm1Empty = map_of_MEs[DirName + "/" + "HFEMFracPlus_BXm1Empty"];
3662  meHFEMFracPlus_BXm1Empty->Fill((*pfJets)[ijet].HFEMEnergyFraction());
3663  }
3664  }
3665  mChargedHadronEnergy = map_of_MEs[DirName + "/" + "ChargedHadronEnergy"];
3667  mChargedHadronEnergy->Fill((*pfJets)[ijet].chargedHadronEnergy());
3668  mNeutralHadronEnergy = map_of_MEs[DirName + "/" + "NeutralHadronEnergy"];
3670  mNeutralHadronEnergy->Fill((*pfJets)[ijet].neutralHadronEnergy());
3671  mChargedEmEnergy = map_of_MEs[DirName + "/" + "ChargedEmEnergy"];
3673  mChargedEmEnergy->Fill((*pfJets)[ijet].chargedEmEnergy());
3674  mChargedMuEnergy = map_of_MEs[DirName + "/" + "ChargedMuEnergy"];
3676  mChargedMuEnergy->Fill((*pfJets)[ijet].chargedMuEnergy());
3677  mNeutralEmEnergy = map_of_MEs[DirName + "/" + "NeutralEmEnergy"];
3679  mNeutralEmEnergy->Fill((*pfJets)[ijet].neutralEmEnergy());
3680  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
3682  mChargedMultiplicity->Fill((*pfJets)[ijet].chargedMultiplicity());
3683  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
3685  mNeutralMultiplicity->Fill((*pfJets)[ijet].neutralMultiplicity());
3686  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
3688  mMuonMultiplicity->Fill((*pfJets)[ijet].muonMultiplicity());
3689  //_______________________________________________________
3690  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
3692  mNeutralFraction->Fill((double)(*pfJets)[ijet].neutralMultiplicity() /
3693  (double)(*pfJets)[ijet].nConstituents());
3694  mChargedHadronEnergy_profile = map_of_MEs[DirName + "/" + "ChargedHadronEnergy_profile"];
3696  mChargedHadronEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedHadronEnergy());
3697  mNeutralHadronEnergy_profile = map_of_MEs[DirName + "/" + "NeutralHadronEnergy_profile"];
3699  mNeutralHadronEnergy_profile->Fill(numPV, (*pfJets)[ijet].neutralHadronEnergy());
3700  mChargedEmEnergy_profile = map_of_MEs[DirName + "/" + "ChargedEmEnergy_profile"];
3702  mChargedEmEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedEmEnergy());
3703  mChargedMuEnergy_profile = map_of_MEs[DirName + "/" + "ChargedMuEnergy_profile"];
3705  mChargedMuEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedMuEnergy());
3706  mNeutralEmEnergy_profile = map_of_MEs[DirName + "/" + "NeutralEmEnergy_profile"];
3708  mNeutralEmEnergy_profile->Fill(numPV, (*pfJets)[ijet].neutralEmEnergy());
3709  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
3711  mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].chargedMultiplicity());
3712  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
3714  mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].neutralMultiplicity());
3715  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
3717  mMuonMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].muonMultiplicity());
3718  } //cleaned PFJets
3719  } //PFJet specific loop
3720  //IDs have been defined by now
3721  //check here already for ordering of jets -> if we choose later to soften pt-thresholds for physics selections
3722  //compared to the default jet histograms
3723  if (pass_Z_selection) { //if Z selection not passed, don't need to find out of muons and Jets are overlapping
3724  if (deltaR((*Muons)[mu_index0].eta(), (*Muons)[mu_index0].phi(), correctedJet.eta(), correctedJet.phi()) > 0.2 &&
3725  deltaR((*Muons)[mu_index1].eta(), (*Muons)[mu_index1].phi(), correctedJet.eta(), correctedJet.phi()) > 0.2) {
3726  if (correctedJet.pt() > pt1_mu_vetoed) {
3727  pt2_mu_vetoed = pt1_mu_vetoed;
3728  ind2_mu_vetoed = ind1_mu_vetoed;
3729  cleaned_second_jet_mu_vetoed = cleaned_first_jet_mu_vetoed;
3730  pt1_mu_vetoed = correctedJet.pt();
3731  ind1_mu_vetoed = ijet;
3732  cleaned_first_jet_mu_vetoed = JetIDWPU;
3733  } else if (correctedJet.pt() > pt2_mu_vetoed) {
3734  pt2_mu_vetoed = correctedJet.pt();
3735  ind2_mu_vetoed = ijet;
3736  cleaned_second_jet_mu_vetoed = JetIDWPU;
3737  }
3738  }
3739  }
3740 
3741  if (correctedJet.pt() > pt1) {
3742  pt3 = pt2;
3743  ind3 = ind2;
3744  //cleaned_third_jet=cleaned_second_jet;
3745  pt2 = pt1;
3746  ind2 = ind1;
3747  cleaned_second_jet = cleaned_first_jet;
3748  pt1 = correctedJet.pt();
3749  ind1 = ijet;
3750  cleaned_first_jet = JetIDWPU;
3751  } else if (correctedJet.pt() > pt2) {
3752  pt3 = pt2;
3753  ind3 = ind2;
3754  //cleaned_third_jet=cleaned_second_jet;
3755  pt2 = correctedJet.pt();
3756  ind2 = ijet;
3757  cleaned_second_jet = JetIDWPU;
3758  } else if (correctedJet.pt() > pt3) {
3759  pt3 = correctedJet.pt();
3760  ind3 = ijet;
3761  //cleaned_third_jet=JetIDWPU;
3762  }
3763  if (!pass_corrected) {
3764  continue;
3765  }
3766  //after jettype specific variables are filled -> perform histograms for all jets
3767  //fill JetID efficiencies if uncleaned selection is chosen
3768  if (!runcosmics_ && pass_corrected) {
3769  if (jetpassid) {
3770  mLooseJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "JetIDPassFractionVSeta"];
3772  mLooseJIDPassFractionVSeta->Fill(correctedJet.eta(), 1.);
3773  mLooseJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "JetIDPassFractionVSpt"];
3775  mLooseJIDPassFractionVSpt->Fill(correctedJet.pt(), 1.);
3776  if (fabs(correctedJet.eta()) < 3.0) {
3777  mLooseJIDPassFractionVSptNoHF = map_of_MEs[DirName + "/" + "JetIDPassFractionVSptNoHF"];
3779  mLooseJIDPassFractionVSptNoHF->Fill(correctedJet.pt(), 1.);
3780  }
3781  } else {
3782  mLooseJIDPassFractionVSeta = map_of_MEs[DirName + "/" + "JetIDPassFractionVSeta"];
3784  mLooseJIDPassFractionVSeta->Fill(correctedJet.eta(), 0.);
3785  mLooseJIDPassFractionVSpt = map_of_MEs[DirName + "/" + "JetIDPassFractionVSpt"];
3787  mLooseJIDPassFractionVSpt->Fill(correctedJet.pt(), 0.);
3788  if (fabs(correctedJet.eta()) < 3.0) {
3789  mLooseJIDPassFractionVSptNoHF = map_of_MEs[DirName + "/" + "JetIDPassFractionVSptNoHF"];
3791  mLooseJIDPassFractionVSptNoHF->Fill(correctedJet.pt(), 0.);
3792  }
3793  }
3794  }
3795  //here we so far consider calojets ->check for PFJets and JPT jets again
3796  if (Thiscleaned && pass_corrected) { //might be softer than loose jet ID
3797  numofjets++;
3798  if (isCaloJet_) {
3799  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3800  if (jetME && jetME->getRootObject())
3801  jetME->Fill(1);
3802  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3804  mJetEnergyCorr->Fill(correctedJet.pt() / (*caloJets)[ijet].pt());
3805  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3807  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), correctedJet.pt() / (*caloJets)[ijet].pt());
3808  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3810  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), correctedJet.pt() / (*caloJets)[ijet].pt());
3811  }
3812  if (isPFJet_) {
3813  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3814  if (jetME && jetME->getRootObject())
3815  jetME->Fill(2);
3816  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3818  mJetEnergyCorr->Fill(correctedJet.pt() / (*pfJets)[ijet].pt());
3819  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3821  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), correctedJet.pt() / (*pfJets)[ijet].pt());
3822  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3824  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), correctedJet.pt() / (*pfJets)[ijet].pt());
3825  }
3826  if (isPUPPIJet_) {
3827  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3828  if (jetME && jetME->getRootObject())
3829  jetME->Fill(3);
3830  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3832  mJetEnergyCorr->Fill(correctedJet.pt() / (*puppiJets)[ijet].pt());
3833  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3835  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), correctedJet.pt() / (*puppiJets)[ijet].pt());
3836  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3838  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), correctedJet.pt() / (*puppiJets)[ijet].pt());
3839  }
3840  if (isMiniAODJet_) {
3841  jetME = map_of_MEs[DirName + "/" + "jetReco"];
3842  if (jetME && jetME->getRootObject())
3843  jetME->Fill(4);
3844  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
3846  mJetEnergyCorr->Fill(1. / (*patJets)[ijet].jecFactor("Uncorrected"));
3847  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
3849  mJetEnergyCorrVSEta->Fill(correctedJet.eta(), 1. / (*patJets)[ijet].jecFactor("Uncorrected"));
3850  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
3852  mJetEnergyCorrVSPt->Fill(correctedJet.pt(), 1. / (*patJets)[ijet].jecFactor("Uncorrected"));
3853  if (filljetsubstruc_) {
3854  //miniaod specific variables, especially for substructure
3855  mSoftDropMass = map_of_MEs[DirName + "/" + "SoftDropMass"];
3857  (*patJets)[ijet].hasUserFloat("ak8PFJetsPuppiSoftDropMass"))
3858  mSoftDropMass->Fill((*patJets)[ijet].userFloat("ak8PFJetsPuppiSoftDropMass"));
3859  mPrunedMass = map_of_MEs[DirName + "/" + "PrunedMass"];
3860  mtau2_over_tau1 = map_of_MEs[DirName + "/" + "tau2_over_tau1"];
3862  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau1") &&
3863  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2")))
3864  mtau2_over_tau1->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2") /
3865  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau1"));
3866  mtau3_over_tau2 = map_of_MEs[DirName + "/" + "tau3_over_tau2"];
3868  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2") &&
3869  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau3")))
3870  mtau3_over_tau2->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau3") /
3871  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2"));
3872 
3873  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi")) {
3874  mnSubJetsSoftDrop = map_of_MEs[DirName + "/" + "nSubJets_SoftDrop"];
3876  mnSubJetsSoftDrop->Fill((*patJets)[ijet].subjets("SoftDropPuppi").size());
3877  }
3878  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi") && !(*patJets)[ijet].subjets("SoftDropPuppi").empty()) {
3879  mSubJet1_SoftDrop_pt = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_pt"];
3881  mSubJet1_SoftDrop_pt->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->pt());
3882  mSubJet1_SoftDrop_eta = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_eta"];
3884  mSubJet1_SoftDrop_eta->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->eta());
3885  mSubJet1_SoftDrop_phi = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_phi"];
3887  mSubJet1_SoftDrop_phi->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->phi());
3888  mSubJet1_SoftDrop_mass = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_mass"];
3890  mSubJet1_SoftDrop_mass->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->mass());
3891  if ((*patJets)[ijet].subjets("SoftDropPuppi").size() > 1) {
3892  mSubJet2_SoftDrop_pt = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_pt"];
3894  mSubJet2_SoftDrop_pt->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->pt());
3895  mSubJet2_SoftDrop_eta = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_eta"];
3897  mSubJet2_SoftDrop_eta->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->eta());
3898  mSubJet2_SoftDrop_phi = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_phi"];
3900  mSubJet2_SoftDrop_phi->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->phi());
3901  mSubJet2_SoftDrop_mass = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_mass"];
3903  mSubJet2_SoftDrop_mass->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->mass());
3904  }
3905  } //soft drop jets
3906  if ((*patJets)[ijet].pt() > pt_min_boosted_) {
3907  //miniaod specific variables, especially for boosted substructure
3908  mSoftDropMass_boosted = map_of_MEs[DirName + "/" + "SoftDropMass_boosted"];
3910  (*patJets)[ijet].hasUserFloat("ak8PFJetsPuppiSoftDropMass"))
3911  mSoftDropMass_boosted->Fill((*patJets)[ijet].userFloat("ak8PFJetsPuppiSoftDropMass"));
3912  mPrunedMass_boosted = map_of_MEs[DirName + "/" + "PrunedMass_boosted"];
3913  mtau2_over_tau1_boosted = map_of_MEs[DirName + "/" + "tau2_over_tau1_boosted"];
3915  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau1") &&
3916  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2")))
3917  mtau2_over_tau1_boosted->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2") /
3918  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau1"));
3919  mtau3_over_tau2_boosted = map_of_MEs[DirName + "/" + "tau3_over_tau2_boosted"];
3921  ((*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau2") &&
3922  (*patJets)[ijet].hasUserFloat("NjettinessAK8Puppi:tau3")))
3923  mtau3_over_tau2_boosted->Fill((*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau3") /
3924  (*patJets)[ijet].userFloat("NjettinessAK8Puppi:tau2"));
3925  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi")) {
3926  mnSubJetsSoftDrop_boosted = map_of_MEs[DirName + "/" + "nSubJets_SoftDrop_boosted"];
3928  mnSubJetsSoftDrop_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi").size());
3929  }
3930  if ((*patJets)[ijet].hasSubjets("SoftDropPuppi") && !(*patJets)[ijet].subjets("SoftDropPuppi").empty()) {
3931  mSubJet1_SoftDrop_pt_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_pt_boosted"];
3933  mSubJet1_SoftDrop_pt_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->pt());
3934  mSubJet1_SoftDrop_eta_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_eta_boosted"];
3936  mSubJet1_SoftDrop_eta_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->eta());
3937  mSubJet1_SoftDrop_phi_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_phi_boosted"];
3939  mSubJet1_SoftDrop_phi_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->phi());
3940  mSubJet1_SoftDrop_mass_boosted = map_of_MEs[DirName + "/" + "SubJet1_SoftDrop_mass_boosted"];
3942  mSubJet1_SoftDrop_mass_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[0]->mass());
3943  if ((*patJets)[ijet].subjets("SoftDropPuppi").size() > 1) {
3944  mSubJet2_SoftDrop_pt_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_pt_boosted"];
3946  mSubJet2_SoftDrop_pt_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->pt());
3947  mSubJet2_SoftDrop_eta_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_eta_boosted"];
3949  mSubJet2_SoftDrop_eta_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->eta());
3950  mSubJet2_SoftDrop_phi_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_phi_boosted"];
3952  mSubJet2_SoftDrop_phi_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->phi());
3953  mSubJet2_SoftDrop_mass_boosted = map_of_MEs[DirName + "/" + "SubJet2_SoftDrop_mass_boosted"];
3955  mSubJet2_SoftDrop_mass_boosted->Fill((*patJets)[ijet].subjets("SoftDropPuppi")[1]->mass());
3956  }
3957  }
3958  } //substructure filling for boosted
3959  } //substructure filling
3960  }
3961  // --- Event passed the low pt jet trigger
3962  if (jetLoPass_ == 1) {
3963  mPhi_Lo = map_of_MEs[DirName + "/" + "Phi_Lo"];
3964  if (mPhi_Lo && mPhi_Lo->getRootObject())
3965  mPhi_Lo->Fill(correctedJet.phi());
3966  mPt_Lo = map_of_MEs[DirName + "/" + "Pt_Lo"];
3967  if (mPt_Lo && mPt_Lo->getRootObject())
3968  mPt_Lo->Fill(correctedJet.pt());
3969  }
3970  // --- Event passed the high pt jet trigger
3971  if (jetHiPass_ == 1 && correctedJet.pt() > 100.) {
3972  mEta_Hi = map_of_MEs[DirName + "/" + "Eta_Hi"];
3973  if (mEta_Hi && mEta_Hi->getRootObject())
3974  mEta_Hi->Fill(correctedJet.eta());
3975  mPhi_Hi = map_of_MEs[DirName + "/" + "Phi_Hi"];
3976  if (mPhi_Hi && mPhi_Hi->getRootObject())
3977  mPhi_Hi->Fill(correctedJet.phi());
3978  mPt_Hi = map_of_MEs[DirName + "/" + "Pt_Hi"];
3979  if (mPt_Hi && mPt_Hi->getRootObject())
3980  mPt_Hi->Fill(correctedJet.pt());
3981  }
3982  mPt = map_of_MEs[DirName + "/" + "Pt"];
3983  if (mPt && mPt->getRootObject())
3984  mPt->Fill(correctedJet.pt());
3985  mPt_1 = map_of_MEs[DirName + "/" + "Pt_1"];
3986  if (mPt_1 && mPt_1->getRootObject())
3987  mPt_1->Fill(correctedJet.pt());
3988  mPt_2 = map_of_MEs[DirName + "/" + "Pt_2"];
3989  if (mPt_2 && mPt_2->getRootObject())
3990  mPt_2->Fill(correctedJet.pt());
3991  mPt_3 = map_of_MEs[DirName + "/" + "Pt_3"];
3992  if (mPt_3 && mPt_3->getRootObject())
3993  mPt_3->Fill(correctedJet.pt());
3994  mPt_log = map_of_MEs[DirName + "/" + "Pt_log"];
3995  if (mPt_log && mPt_log->getRootObject())
3996  mPt_log->Fill(log10(correctedJet.pt()));
3997  mEta = map_of_MEs[DirName + "/" + "Eta"];
3998  if (mEta && mEta->getRootObject())
3999  mEta->Fill(correctedJet.eta());
4000  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4001  if (mPhi && mPhi->getRootObject())
4002  mPhi->Fill(correctedJet.phi());
4003 
4004  mPhiVSEta = map_of_MEs[DirName + "/" + "PhiVSEta"];
4005  if (mPhiVSEta && mPhiVSEta->getRootObject())
4006  mPhiVSEta->Fill(correctedJet.eta(), correctedJet.phi());
4007  //if(!isJPTJet_){
4008  float nConstituents = correctedJet.nConstituents();
4009  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
4012  //}
4013  // Fill NPV profiles
4014  //--------------------------------------------------------------------
4015  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
4017  mPt_profile->Fill(numPV, correctedJet.pt());
4018  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
4020  mEta_profile->Fill(numPV, correctedJet.eta());
4021  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
4023  mPhi_profile->Fill(numPV, correctedJet.phi());
4024  //if(!isJPTJet_){
4025  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
4028  //}
4029  if (fabs(correctedJet.eta()) <= 1.3) {
4030  mPt_Barrel = map_of_MEs[DirName + "/" + "Pt_Barrel"];
4032  mPt_Barrel->Fill(correctedJet.pt());
4033  mPhi_Barrel = map_of_MEs[DirName + "/" + "Phi_Barrel"];
4035  mPhi_Barrel->Fill(correctedJet.phi());
4036  //if (mE_Barrel) mE_Barrel->Fill (correctedJet.energy());
4037  //if(!isJPTJet_){
4038  mConstituents_Barrel = map_of_MEs[DirName + "/" + "Constituents_Barrel"];
4041  //}
4042  } else if (fabs(correctedJet.eta()) <= 3) {
4043  mPt_EndCap = map_of_MEs[DirName + "/" + "Pt_EndCap"];
4045  mPt_EndCap->Fill(correctedJet.pt());
4046  mPhi_EndCap = map_of_MEs[DirName + "/" + "Phi_EndCap"];
4048  mPhi_EndCap->Fill(correctedJet.phi());
4049  //if (mE_EndCap) mE_EndCap->Fill (correctedJet.energy());
4050  //if(!isJPTJet_){
4051  mConstituents_EndCap = map_of_MEs[DirName + "/" + "Constituents_EndCap"];
4054  //}
4055  } else {
4056  mPt_Forward = map_of_MEs[DirName + "/" + "Pt_Forward"];
4058  mPt_Forward->Fill(correctedJet.pt());
4059  mPhi_Forward = map_of_MEs[DirName + "/" + "Phi_Forward"];
4061  mPhi_Forward->Fill(correctedJet.phi());
4062  //if (mE_Forward) mE_Forward->Fill (correctedJet.energy());
4063  //if(!isJPTJet_){
4064  mConstituents_Forward = map_of_MEs[DirName + "/" + "Constituents_Forward"];
4067  //}
4068  }
4069  } // pass ID for corrected jets --> inclusive selection
4070  } //loop over uncorrected jets
4071 
4072  mNJets = map_of_MEs[DirName + "/" + "NJets"];
4073  if (mNJets && mNJets->getRootObject())
4074  mNJets->Fill(numofjets);
4075  mNJets_profile = map_of_MEs[DirName + "/" + "NJets_profile"];
4077  mNJets_profile->Fill(numPV, numofjets);
4078 
4079  sort(recoJets.begin(), recoJets.end(), jetSortingRule);
4080 
4081  //for non dijet selection, otherwise numofjets==0
4082  if (numofjets > 0) { //keep threshold for dijet counting at the original one
4083  //check ID of the leading jet
4084 
4085  if (cleaned_first_jet) {
4086  mEtaFirst = map_of_MEs[DirName + "/" + "EtaFirst"];
4087  if (mEtaFirst && mEtaFirst->getRootObject())
4088  mEtaFirst->Fill((recoJets)[0].eta());
4089  mPhiFirst = map_of_MEs[DirName + "/" + "PhiFirst"];
4090  if (mPhiFirst && mPhiFirst->getRootObject())
4091  mPhiFirst->Fill((recoJets)[0].phi());
4092  mPtFirst = map_of_MEs[DirName + "/" + "PtFirst"];
4093  if (mPtFirst && mPtFirst->getRootObject())
4094  mPtFirst->Fill((recoJets)[0].pt());
4095  //check ID of second check for DPhi plots
4096  if (numofjets > 1 && cleaned_second_jet) {
4097  double dphi = fabs((recoJets)[0].phi() - (recoJets)[1].phi());
4098  if (dphi > acos(-1.)) {
4099  dphi = 2 * acos(-1.) - dphi;
4100  }
4101  mDPhi = map_of_MEs[DirName + "/" + "DPhi"];
4102  if (mDPhi && mDPhi->getRootObject())
4103  mDPhi->Fill(dphi);
4104  }
4105  }
4106  //if(cleaned_second_jet && isJPTJet_){
4107  //mPtSecond = map_of_MEs[DirName+"/"+"PtSecond"]; if (mPtSecond && mPtSecond->getRootObject()) mPtSecond->Fill(recoJets[1].pt());
4108  //}
4109  //if(cleaned_third_jet && isJPTJet_){
4110  //mPtThird = map_of_MEs[DirName+"/"+"PtThird"]; if (mPtThird && mPtThird->getRootObject()) mPtThird->Fill(recoJets[2].pt());
4111  //}
4112  }
4113  //dijet selection -> recoJets are on corrected level, both jets cleaned, fill folder only for cleaned jet selection
4114  if (jetCleaningFlag_ && recoJets.size() > 1 && cleaned_first_jet && cleaned_second_jet) {
4115  //pt threshold checked before filling
4116  if (jetCleaningFlag_) {
4117  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label() + "/DiJet";
4118  }
4119  //if(fabs(recoJets[0].eta())<3. && fabs(recoJets[1].eta())<3. ){
4120  //calculate dphi
4121  double dphi = fabs((recoJets)[0].phi() - (recoJets)[1].phi());
4122  if (dphi > acos(-1.)) {
4123  dphi = 2 * acos(-1.) - dphi;
4124  }
4125  mDPhi = map_of_MEs[DirName + "/" + "DPhi"];
4126  if (mDPhi && mDPhi->getRootObject())
4127  if (mDPhi)
4128  mDPhi->Fill(dphi);
4129  //dphi cut
4130  if (fabs(dphi) > 2.1) {
4131  if (isCaloJet_) {
4132  if (!runcosmics_) {
4133  reco::CaloJetRef calojetref1(caloJets, ind1);
4134  reco::JetID jetID1 = (*jetID_ValueMap_Handle)[calojetref1];
4135  reco::CaloJetRef calojetref2(caloJets, ind2);
4136  reco::JetID jetID2 = (*jetID_ValueMap_Handle)[calojetref2];
4137  mN90Hits = map_of_MEs[DirName + "/" + "N90Hits"];
4138  if (mN90Hits && mN90Hits->getRootObject())
4139  mN90Hits->Fill(jetID1.n90Hits);
4140  mfHPD = map_of_MEs[DirName + "/" + "fHPD"];
4141  if (mfHPD && mfHPD->getRootObject())
4142  mfHPD->Fill(jetID1.fHPD);
4143  mresEMF = map_of_MEs[DirName + "/" + "resEMF"];
4144  if (mresEMF && mresEMF->getRootObject())
4145  mresEMF->Fill(jetID1.restrictedEMF);
4146  mfRBX = map_of_MEs[DirName + "/" + "fRBX"];
4147  if (mfRBX && mfRBX->getRootObject())
4148  mfRBX->Fill(jetID1.fRBX);
4149  mN90Hits = map_of_MEs[DirName + "/" + "N90Hits"];
4150  if (mN90Hits && mN90Hits->getRootObject())
4151  mN90Hits->Fill(jetID2.n90Hits);
4152  mfHPD = map_of_MEs[DirName + "/" + "fHPD"];
4153  if (mfHPD && mfHPD->getRootObject())
4154  mfHPD->Fill(jetID2.fHPD);
4155  mresEMF = map_of_MEs[DirName + "/" + "resEMF"];
4156  if (mresEMF && mresEMF->getRootObject())
4157  mresEMF->Fill(jetID2.restrictedEMF);
4158  mfRBX = map_of_MEs[DirName + "/" + "fRBX"];
4159  if (mfRBX && mfRBX->getRootObject())
4160  mfRBX->Fill(jetID2.fRBX);
4161  }
4162  mHFrac = map_of_MEs[DirName + "/" + "HFrac"];
4163  if (mHFrac && mHFrac->getRootObject())
4164  mHFrac->Fill((*caloJets)[ind1].energyFractionHadronic());
4165  mEFrac = map_of_MEs[DirName + "/" + "EFrac"];
4166  if (mEFrac && mHFrac->getRootObject())
4167  mEFrac->Fill((*caloJets)[ind1].emEnergyFraction());
4168  mHFrac = map_of_MEs[DirName + "/" + "HFrac"];
4169  if (mHFrac && mHFrac->getRootObject())
4170  mHFrac->Fill((*caloJets)[ind2].energyFractionHadronic());
4171  mEFrac = map_of_MEs[DirName + "/" + "EFrac"];
4172  if (mEFrac && mHFrac->getRootObject())
4173  mEFrac->Fill((*caloJets)[ind2].emEnergyFraction());
4174  mHFrac_profile = map_of_MEs[DirName + "/" + "HFrac_profile"];
4176  mHFrac_profile->Fill(numPV, (*caloJets)[ind1].energyFractionHadronic());
4177  mEFrac_profile = map_of_MEs[DirName + "/" + "EFrac_profile"];
4179  mEFrac_profile->Fill(numPV, (*caloJets)[ind1].emEnergyFraction());
4180  mHFrac_profile = map_of_MEs[DirName + "/" + "HFrac_profile"];
4182  mHFrac_profile->Fill(numPV, (*caloJets)[ind2].energyFractionHadronic());
4183  mEFrac_profile = map_of_MEs[DirName + "/" + "EFrac_profile"];
4185  mEFrac_profile->Fill(numPV, (*caloJets)[ind2].emEnergyFraction());
4186 
4187  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4189  mJetEnergyCorr->Fill(recoJets[0].pt() / (*caloJets)[ind1].pt());
4190  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4192  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), recoJets[0].pt() / (*caloJets)[ind1].pt());
4193  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4195  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), recoJets[0].pt() / (*caloJets)[ind1].pt());
4196  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4198  mJetEnergyCorr->Fill(recoJets[1].pt() / (*caloJets)[ind2].pt());
4199  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4201  mJetEnergyCorrVSEta->Fill(recoJets[1].eta(), recoJets[1].pt() / (*caloJets)[ind2].pt());
4202  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4204  mJetEnergyCorrVSPt->Fill(recoJets[1].pt(), recoJets[1].pt() / (*caloJets)[ind2].pt());
4205  }
4206  //if(isJPTJet_){
4207  //mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*jptJets)[ind1].chargedHadronEnergyFraction()+(*jptJets)[ind1].neutralHadronEnergyFraction());
4208  //mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill (1.-(*jptJets)[ind1].chargedHadronEnergyFraction()-(*jptJets)[ind1].neutralHadronEnergyFraction());
4209  //mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; mHFrac_profile ->Fill(numPV, (*jptJets)[ind1].chargedHadronEnergyFraction()+(*jptJets)[ind1].neutralHadronEnergyFraction());
4210  //mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; mEFrac_profile ->Fill(numPV, 1.-(*jptJets)[ind1].chargedHadronEnergyFraction()-(*jptJets)[ind1].neutralHadronEnergyFraction());
4211  //mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*jptJets)[ind2].chargedHadronEnergyFraction()+(*jptJets)[ind2].neutralHadronEnergyFraction());
4212  //mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill (1.-(*jptJets)[ind2].chargedHadronEnergyFraction()-(*jptJets)[ind2].neutralHadronEnergyFraction());
4213  //mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; mHFrac_profile ->Fill(numPV, (*jptJets)[ind2].chargedHadronEnergyFraction()+(*jptJets)[ind2].neutralHadronEnergyFraction());
4214  //mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; mEFrac_profile ->Fill(numPV, 1.-(*jptJets)[ind2].chargedHadronEnergyFraction()-(*jptJets)[ind2].neutralHadronEnergyFraction());
4215  //
4216  //mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[0].pt()/(*jptJets)[ind1].pt());
4217  //mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),recoJets[0].pt()/(*jptJets)[ind1].pt());
4218  //mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),recoJets[0].pt()/(*jptJets)[ind1].pt());
4219  //mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[1].pt()/(*jptJets)[ind2].pt());
4220  //mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[1].eta(),recoJets[1].pt()/(*jptJets)[ind2].pt());
4221  //mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[1].pt(),recoJets[1].pt()/(*jptJets)[ind2].pt());
4222  //}
4223  if (isPFJet_) {
4224  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4225  if (mCHFrac && mCHFrac->getRootObject())
4226  mCHFrac->Fill((*pfJets)[ind1].chargedHadronEnergyFraction());
4227  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4228  if (mNHFrac && mNHFrac->getRootObject())
4229  mNHFrac->Fill((*pfJets)[ind1].neutralHadronEnergyFraction());
4230  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4231  if (mPhFrac && mPhFrac->getRootObject())
4232  mPhFrac->Fill((*pfJets)[ind1].neutralEmEnergyFraction());
4233  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4234  if (mHFEMFrac && mHFEMFrac->getRootObject())
4235  mHFEMFrac->Fill((*pfJets)[ind1].HFEMEnergyFraction());
4236  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4237  if (mHFHFrac && mHFHFrac->getRootObject())
4238  mHFHFrac->Fill((*pfJets)[ind1].HFHadronEnergyFraction());
4239 
4240  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4242  mJetEnergyCorr->Fill(recoJets[0].pt() / (*pfJets)[ind1].pt());
4243  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4245  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), recoJets[0].pt() / (*pfJets)[ind1].pt());
4246  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4248  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), recoJets[0].pt() / (*pfJets)[ind1].pt());
4249  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4251  mJetEnergyCorr->Fill(recoJets[1].pt() / (*pfJets)[ind2].pt());
4252  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4254  mJetEnergyCorrVSEta->Fill(recoJets[1].eta(), recoJets[1].pt() / (*pfJets)[ind2].pt());
4255  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4257  mJetEnergyCorrVSPt->Fill(recoJets[1].pt(), recoJets[1].pt() / (*pfJets)[ind2].pt());
4258 
4259  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4261  mChargedMultiplicity->Fill((*pfJets)[ind1].chargedMultiplicity());
4262  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4264  mNeutralMultiplicity->Fill((*pfJets)[ind1].neutralMultiplicity());
4265  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4267  mMuonMultiplicity->Fill((*pfJets)[ind1].muonMultiplicity());
4268  //Filling variables for second jet
4269  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4270  if (mCHFrac && mCHFrac->getRootObject())
4271  mCHFrac->Fill((*pfJets)[ind2].chargedHadronEnergyFraction());
4272  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4273  if (mNHFrac && mNHFrac->getRootObject())
4274  mNHFrac->Fill((*pfJets)[ind2].neutralHadronEnergyFraction());
4275  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4276  if (mPhFrac && mPhFrac->getRootObject())
4277  mPhFrac->Fill((*pfJets)[ind2].neutralEmEnergyFraction());
4278  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4279  if (mHFEMFrac && mHFEMFrac->getRootObject())
4280  mHFEMFrac->Fill((*pfJets)[ind2].HFEMEnergyFraction());
4281  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4282  if (mHFHFrac && mHFHFrac->getRootObject())
4283  mHFHFrac->Fill((*pfJets)[ind2].HFHadronEnergyFraction());
4284 
4285  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4287  mNeutralFraction->Fill((double)(*pfJets)[ind1].neutralMultiplicity() /
4288  (double)(*pfJets)[ind1].nConstituents());
4289 
4290  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4292  mChargedMultiplicity->Fill((*pfJets)[ind2].chargedMultiplicity());
4293  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4295  mNeutralMultiplicity->Fill((*pfJets)[ind2].neutralMultiplicity());
4296  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4298  mMuonMultiplicity->Fill((*pfJets)[ind2].muonMultiplicity());
4299 
4300  //now fill PFJet profiles for leading jet
4301  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4303  mCHFrac_profile->Fill(numPV, (*pfJets)[ind1].chargedHadronEnergyFraction());
4304  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4306  mNHFrac_profile->Fill(numPV, (*pfJets)[ind1].neutralHadronEnergyFraction());
4307  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4309  mPhFrac_profile->Fill(numPV, (*pfJets)[ind1].neutralEmEnergyFraction());
4310  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4312  mHFEMFrac_profile->Fill(numPV, (*pfJets)[ind1].HFEMEnergyFraction());
4313  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4315  mHFHFrac_profile->Fill(numPV, (*pfJets)[ind1].HFHadronEnergyFraction());
4316 
4317  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4319  mNeutralFraction->Fill((double)(*pfJets)[ind2].neutralMultiplicity() /
4320  (double)(*pfJets)[ind2].nConstituents());
4321 
4322  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4324  mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ind1].chargedMultiplicity());
4325  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4327  mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ind1].neutralMultiplicity());
4328  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4330  mMuonMultiplicity->Fill(numPV, (*pfJets)[ind1].muonMultiplicity());
4331  //now fill PFJet profiles for second leading jet
4332  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4334  mCHFrac_profile->Fill(numPV, (*pfJets)[ind2].chargedHadronEnergyFraction());
4335  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4337  mNHFrac_profile->Fill(numPV, (*pfJets)[ind2].neutralHadronEnergyFraction());
4338  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4340  mPhFrac_profile->Fill(numPV, (*pfJets)[ind2].neutralEmEnergyFraction());
4341  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4343  mHFEMFrac_profile->Fill(numPV, (*pfJets)[ind2].HFEMEnergyFraction());
4344  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4346  mHFHFrac_profile->Fill(numPV, (*pfJets)[ind2].HFHadronEnergyFraction());
4347 
4348  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4350  mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].chargedMultiplicity());
4351  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4353  mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].neutralMultiplicity());
4354  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4356  mMuonMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].muonMultiplicity());
4357 
4358  int QGmulti = -1;
4359  float QGLikelihood = -10;
4360  float QGptD = -10;
4361  float QGaxis2 = -10;
4362  if (fill_CHS_histos) {
4363  reco::PFJetRef pfjetref(pfJets, ind1);
4364  QGmulti = (*qgMultiplicity)[pfjetref];
4365  QGLikelihood = (*qgLikelihood)[pfjetref];
4366  QGptD = (*qgptD)[pfjetref];
4367  QGaxis2 = (*qgaxis2)[pfjetref];
4368  if (fabs(recoJets[0].eta()) < 1.3) { //barrel jets
4369  //fractions for barrel
4370  if (recoJets[0].pt() >= 20. && recoJets[0].pt() <= 50.) {
4371  mAxis2_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Barrel"];
4373  mAxis2_lowPt_Barrel->Fill(QGaxis2);
4374  mpTD_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Barrel"];
4376  mpTD_lowPt_Barrel->Fill(QGptD);
4377  mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Barrel"];
4380  mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Barrel"];
4382  mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
4383  }
4384  if (recoJets[0].pt() > 50. && recoJets[0].pt() <= 140.) {
4385  mAxis2_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Barrel"];
4387  mAxis2_mediumPt_Barrel->Fill(QGaxis2);
4388  mpTD_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Barrel"];
4390  mpTD_mediumPt_Barrel->Fill(QGptD);
4391  mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Barrel"];
4394  mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Barrel"];
4396  mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
4397  }
4398  if (recoJets[0].pt() > 140.) {
4399  mAxis2_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Barrel"];
4401  mAxis2_highPt_Barrel->Fill(QGaxis2);
4402  mpTD_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Barrel"];
4404  mpTD_highPt_Barrel->Fill(QGptD);
4405  mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Barrel"];
4408  mqgLikelihood_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Barrel"];
4410  mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
4411  }
4412  } else if (fabs(recoJets[0].eta()) < 3.0) { //endcap jets
4413  if (recoJets[0].pt() > 20. && recoJets[0].pt() <= 50.) {
4414  mAxis2_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_EndCap"];
4416  mAxis2_lowPt_EndCap->Fill(QGaxis2);
4417  mpTD_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_EndCap"];
4419  mpTD_lowPt_EndCap->Fill(QGptD);
4420  mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_EndCap"];
4423  mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_EndCap"];
4425  mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
4426  }
4427  if (recoJets[0].pt() > 50. && recoJets[0].pt() <= 140.) {
4428  mAxis2_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_EndCap"];
4430  mAxis2_mediumPt_EndCap->Fill(QGaxis2);
4431  mpTD_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_EndCap"];
4433  mpTD_mediumPt_EndCap->Fill(QGptD);
4434  mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_EndCap"];
4437  mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_EndCap"];
4439  mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
4440  }
4441  if (recoJets[0].pt() > 140.) {
4442  mAxis2_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_EndCap"];
4444  mAxis2_highPt_EndCap->Fill(QGaxis2);
4445  mpTD_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_highPt_EndCap"];
4447  mpTD_highPt_EndCap->Fill(QGptD);
4448  mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_EndCap"];
4451  mqgLikelihood_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_EndCap"];
4453  mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
4454  }
4455  } else {
4456  if (recoJets[0].pt() > 20. && recoJets[0].pt() <= 50.) {
4457  mAxis2_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Forward"];
4459  mAxis2_lowPt_Forward->Fill(QGaxis2);
4460  mpTD_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Forward"];
4462  mpTD_lowPt_Forward->Fill(QGptD);
4463  mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Forward"];
4466  mqgLikelihood_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Forward"];
4468  mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
4469  }
4470  if (recoJets[0].pt() > 50. && recoJets[0].pt() <= 140.) {
4471  mAxis2_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Forward"];
4473  mAxis2_mediumPt_Forward->Fill(QGaxis2);
4474  mpTD_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Forward"];
4476  mpTD_mediumPt_Forward->Fill(QGptD);
4477  mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Forward"];
4480  mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Forward"];
4482  mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
4483  }
4484  if (recoJets[0].pt() > 140.) {
4485  mAxis2_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Forward"];
4487  mAxis2_highPt_Forward->Fill(QGaxis2);
4488  mpTD_highPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Forward"];
4490  mpTD_highPt_Forward->Fill(QGptD);
4491  mMultiplicityQG_highPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Forward"];
4494  mqgLikelihood_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Forward"];
4496  mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
4497  }
4498  } //done for first jet
4499  reco::PFJetRef pfjetref1(pfJets, ind2);
4500  QGmulti = (*qgMultiplicity)[pfjetref1];
4501  QGLikelihood = (*qgLikelihood)[pfjetref1];
4502  QGptD = (*qgptD)[pfjetref1];
4503  QGaxis2 = (*qgaxis2)[pfjetref1];
4504  if (fabs(recoJets[1].eta()) < 1.3) { //barrel jets
4505  //fractions for barrel
4506  if (recoJets[1].pt() >= 20. && recoJets[1].pt() <= 50.) {
4507  mAxis2_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Barrel"];
4509  mAxis2_lowPt_Barrel->Fill(QGaxis2);
4510  mpTD_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Barrel"];
4512  mpTD_lowPt_Barrel->Fill(QGptD);
4513  mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Barrel"];
4516  mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Barrel"];
4518  mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
4519  }
4520  if (recoJets[1].pt() > 50. && recoJets[1].pt() <= 140.) {
4521  mAxis2_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Barrel"];
4523  mAxis2_mediumPt_Barrel->Fill(QGaxis2);
4524  mpTD_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Barrel"];
4526  mpTD_mediumPt_Barrel->Fill(QGptD);
4527  mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Barrel"];
4530  mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Barrel"];
4532  mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
4533  }
4534  if (recoJets[1].pt() > 140.) {
4535  mAxis2_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Barrel"];
4537  mAxis2_highPt_Barrel->Fill(QGaxis2);
4538  mpTD_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Barrel"];
4540  mpTD_highPt_Barrel->Fill(QGptD);
4541  mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Barrel"];
4544  mqgLikelihood_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Barrel"];
4546  mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
4547  }
4548  } else if (fabs(recoJets[1].eta()) < 3.0) { //endcap jets
4549  if (recoJets[1].pt() > 20. && recoJets[1].pt() <= 50.) {
4550  mAxis2_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_EndCap"];
4552  mAxis2_lowPt_EndCap->Fill(QGaxis2);
4553  mpTD_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_EndCap"];
4555  mpTD_lowPt_EndCap->Fill(QGptD);
4556  mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_EndCap"];
4559  mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_EndCap"];
4561  mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
4562  }
4563  if (recoJets[1].pt() > 50. && recoJets[1].pt() <= 140.) {
4564  mAxis2_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_EndCap"];
4566  mAxis2_mediumPt_EndCap->Fill(QGaxis2);
4567  mpTD_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_EndCap"];
4569  mpTD_mediumPt_EndCap->Fill(QGptD);
4570  mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_EndCap"];
4573  mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_EndCap"];
4575  mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
4576  }
4577  if (recoJets[1].pt() > 140.) {
4578  mAxis2_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_EndCap"];
4580  mAxis2_highPt_EndCap->Fill(QGaxis2);
4581  mpTD_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_highPt_EndCap"];
4583  mpTD_highPt_EndCap->Fill(QGptD);
4584  mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_EndCap"];
4587  mqgLikelihood_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_EndCap"];
4589  mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
4590  }
4591  } else {
4592  if (recoJets[1].pt() > 20. && recoJets[1].pt() <= 50.) {
4593  mAxis2_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Forward"];
4595  mAxis2_lowPt_Forward->Fill(QGaxis2);
4596  mpTD_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Forward"];
4598  mpTD_lowPt_Forward->Fill(QGptD);
4599  mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Forward"];
4602  mqgLikelihood_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Forward"];
4604  mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
4605  }
4606  if (recoJets[1].pt() > 50. && recoJets[1].pt() <= 140.) {
4607  mAxis2_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Forward"];
4609  mAxis2_mediumPt_Forward->Fill(QGaxis2);
4610  mpTD_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Forward"];
4612  mpTD_mediumPt_Forward->Fill(QGptD);
4613  mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Forward"];
4616  mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Forward"];
4618  mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
4619  }
4620  if (recoJets[1].pt() > 140.) {
4621  mAxis2_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Forward"];
4623  mAxis2_highPt_Forward->Fill(QGaxis2);
4624  mpTD_highPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Forward"];
4626  mpTD_highPt_Forward->Fill(QGptD);
4627  mMultiplicityQG_highPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Forward"];
4630  mqgLikelihood_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Forward"];
4632  mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
4633  }
4634  } //deal with second jet
4635  } //fill quark gluon tagged variables
4636  } //pfjet
4637  if (isMiniAODJet_) {
4638  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4640  mJetEnergyCorr->Fill(1. / (*patJets)[ind1].jecFactor("Uncorrected"));
4641  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4643  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), 1. / (*patJets)[ind1].jecFactor("Uncorrected"));
4644  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4646  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), 1. / (*patJets)[ind1].jecFactor("Uncorrected"));
4647  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
4649  mJetEnergyCorr->Fill(1. / (*patJets)[ind2].jecFactor("Uncorrected"));
4650  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
4652  mJetEnergyCorrVSEta->Fill(recoJets[0].eta(), 1. / (*patJets)[ind2].jecFactor("Uncorrected"));
4653  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
4655  mJetEnergyCorrVSPt->Fill(recoJets[0].pt(), 1. / (*patJets)[ind2].jecFactor("Uncorrected"));
4656 
4657  // In MINIAOD, can drop PFSpecifics just to save space, so check they are available.
4658  if ((*patJets)[ind1].hasPFSpecific()) {
4659  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4660  if (mCHFrac && mCHFrac->getRootObject())
4661  mCHFrac->Fill((*patJets)[ind1].chargedHadronEnergyFraction());
4662  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4663  if (mNHFrac && mNHFrac->getRootObject())
4664  mNHFrac->Fill((*patJets)[ind1].neutralHadronEnergyFraction());
4665  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4666  if (mPhFrac && mPhFrac->getRootObject())
4667  mPhFrac->Fill((*patJets)[ind1].neutralEmEnergyFraction());
4668  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4669  if (mHFEMFrac && mHFEMFrac->getRootObject())
4670  mHFEMFrac->Fill((*patJets)[ind1].HFEMEnergyFraction());
4671  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4672  if (mHFHFrac && mHFHFrac->getRootObject())
4673  mHFHFrac->Fill((*patJets)[ind1].HFHadronEnergyFraction());
4674  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4676  mChargedMultiplicity->Fill((*patJets)[ind1].chargedMultiplicity());
4677  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4679  mNeutralMultiplicity->Fill((*patJets)[ind1].neutralMultiplicity());
4680  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4682  mMuonMultiplicity->Fill((*patJets)[ind1].muonMultiplicity());
4683  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4685  mNeutralFraction->Fill((double)(*patJets)[ind1].neutralMultiplicity() /
4686  (double)(*patJets)[ind1].nConstituents());
4687  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4689  mCHFrac_profile->Fill(numPV, (*patJets)[ind1].chargedHadronEnergyFraction());
4690  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4692  mNHFrac_profile->Fill(numPV, (*patJets)[ind1].neutralHadronEnergyFraction());
4693  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4695  mPhFrac_profile->Fill(numPV, (*patJets)[ind1].neutralEmEnergyFraction());
4696  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4698  mHFEMFrac_profile->Fill(numPV, (*patJets)[ind1].HFEMEnergyFraction());
4699  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4701  mHFHFrac_profile->Fill(numPV, (*patJets)[ind1].HFHadronEnergyFraction());
4702  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4704  mChargedMultiplicity_profile->Fill(numPV, (*patJets)[ind1].chargedMultiplicity());
4705  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4707  mNeutralMultiplicity_profile->Fill(numPV, (*patJets)[ind1].neutralMultiplicity());
4708  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4710  mMuonMultiplicity->Fill(numPV, (*patJets)[ind1].muonMultiplicity());
4711  }
4712 
4713  // In MINIAOD, can drop PFSpecifics just to save space, so check they are available.
4714  //Filling variables for second jet
4715  if ((*patJets)[ind2].hasPFSpecific()) {
4716  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
4717  if (mCHFrac && mCHFrac->getRootObject())
4718  mCHFrac->Fill((*patJets)[ind2].chargedHadronEnergyFraction());
4719  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
4720  if (mNHFrac && mNHFrac->getRootObject())
4721  mNHFrac->Fill((*patJets)[ind2].neutralHadronEnergyFraction());
4722  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
4723  if (mPhFrac && mPhFrac->getRootObject())
4724  mPhFrac->Fill((*patJets)[ind2].neutralEmEnergyFraction());
4725  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
4726  if (mHFEMFrac && mHFEMFrac->getRootObject())
4727  mHFEMFrac->Fill((*patJets)[ind2].HFEMEnergyFraction());
4728  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
4729  if (mHFHFrac && mHFHFrac->getRootObject())
4730  mHFHFrac->Fill((*patJets)[ind2].HFHadronEnergyFraction());
4731 
4732  mChargedMultiplicity = map_of_MEs[DirName + "/" + "ChargedMultiplicity"];
4734  mChargedMultiplicity->Fill((*patJets)[ind2].chargedMultiplicity());
4735  mNeutralMultiplicity = map_of_MEs[DirName + "/" + "NeutralMultiplicity"];
4737  mNeutralMultiplicity->Fill((*patJets)[ind2].neutralMultiplicity());
4738  mMuonMultiplicity = map_of_MEs[DirName + "/" + "MuonMultiplicity"];
4740  mMuonMultiplicity->Fill((*patJets)[ind2].muonMultiplicity());
4741 
4742  mNeutralFraction = map_of_MEs[DirName + "/" + "NeutralConstituentsFraction"];
4744  mNeutralFraction->Fill((double)(*patJets)[ind2].neutralMultiplicity() /
4745  (double)(*patJets)[ind2].nConstituents());
4746 
4747  //now fill PATJet profiles for second leading jet
4748  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
4750  mCHFrac_profile->Fill(numPV, (*patJets)[ind2].chargedHadronEnergyFraction());
4751  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
4753  mNHFrac_profile->Fill(numPV, (*patJets)[ind2].neutralHadronEnergyFraction());
4754  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
4756  mPhFrac_profile->Fill(numPV, (*patJets)[ind2].neutralEmEnergyFraction());
4757  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
4759  mHFEMFrac_profile->Fill(numPV, (*patJets)[ind2].HFEMEnergyFraction());
4760  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
4762  mHFHFrac_profile->Fill(numPV, (*patJets)[ind2].HFHadronEnergyFraction());
4763 
4764  mChargedMultiplicity_profile = map_of_MEs[DirName + "/" + "ChargedMultiplicity_profile"];
4766  mChargedMultiplicity_profile->Fill(numPV, (*patJets)[ind2].chargedMultiplicity());
4767  mNeutralMultiplicity_profile = map_of_MEs[DirName + "/" + "NeutralMultiplicity_profile"];
4769  mNeutralMultiplicity_profile->Fill(numPV, (*patJets)[ind2].neutralMultiplicity());
4770  mMuonMultiplicity_profile = map_of_MEs[DirName + "/" + "MuonMultiplicity_profile"];
4772  mMuonMultiplicity_profile->Fill(numPV, (*patJets)[ind2].muonMultiplicity());
4773  }
4774  }
4775 
4776  //fill histos for first jet
4777  mPt = map_of_MEs[DirName + "/" + "Pt"];
4778  if (mPt && mPt->getRootObject())
4779  mPt->Fill(recoJets[0].pt());
4780  mEta = map_of_MEs[DirName + "/" + "Eta"];
4781  if (mEta && mEta->getRootObject())
4782  mEta->Fill(recoJets[0].eta());
4783  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4784  if (mPhi && mPhi->getRootObject())
4785  mPhi->Fill(recoJets[0].phi());
4786  mPhiVSEta = map_of_MEs[DirName + "/" + "PhiVSEta"];
4787  if (mPhiVSEta && mPhiVSEta->getRootObject())
4788  mPhiVSEta->Fill(recoJets[0].eta(), recoJets[0].phi());
4789  //if(!isJPTJet_){
4790  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
4792  mConstituents->Fill(recoJets[0].nConstituents());
4793  //}
4794  mPt = map_of_MEs[DirName + "/" + "Pt"];
4795  if (mPt && mPt->getRootObject())
4796  mPt->Fill(recoJets[1].pt());
4797  mEta = map_of_MEs[DirName + "/" + "Eta"];
4798  if (mEta && mEta->getRootObject())
4799  mEta->Fill(recoJets[1].eta());
4800  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4801  if (mPhi && mPhi->getRootObject())
4802  mPhi->Fill(recoJets[1].phi());
4803  mPhiVSEta = map_of_MEs[DirName + "/" + "PhiVSEta"];
4804  if (mPhiVSEta && mPhiVSEta->getRootObject())
4805  mPhiVSEta->Fill(recoJets[1].eta(), recoJets[1].phi());
4806  //if(!isJPTJet_){
4807  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
4809  mConstituents->Fill(recoJets[1].nConstituents());
4810  //}
4811  //PV profiles
4812  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
4814  mPt_profile->Fill(numPV, recoJets[0].pt());
4815  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
4817  mEta_profile->Fill(numPV, recoJets[0].eta());
4818  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
4820  mPhi_profile->Fill(numPV, recoJets[0].phi());
4821  //if(!isJPTJet_){
4822  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
4824  mConstituents_profile->Fill(numPV, recoJets[0].nConstituents());
4825  //}
4826  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
4828  mPt_profile->Fill(numPV, recoJets[1].pt());
4829  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
4831  mEta_profile->Fill(numPV, recoJets[1].eta());
4832  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
4834  mPhi_profile->Fill(numPV, recoJets[1].phi());
4835  //if(!isJPTJet_){
4836  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
4838  mConstituents_profile->Fill(numPV, recoJets[1].nConstituents());
4839  //}
4840  if (fabs(recoJets[0].eta() < 1.4)) {
4841  double pt_dijet = (recoJets[0].pt() + recoJets[1].pt()) / 2;
4842  if (dphi > 2.7) { //cut even toughter on dijet balance
4843  double pt_probe;
4844  double pt_barrel;
4845  int jet1, jet2;
4846  //int randJet = rand() % 2;
4847  int randJet = iEvent.id().event() % 2;
4848  if (fabs(recoJets[1].eta() < 1.4)) {
4849  if (randJet) {
4850  jet1 = 0;
4851  jet2 = 1;
4852  } else {
4853  jet1 = 1;
4854  jet2 = 0;
4855  }
4856  // ***Di-Jet Asymmetry****
4857  // * leading jets eta < 1.4
4858  // * leading jets dphi > 2.7
4859  // * pt_third jet < threshold
4860  // * A = (pt_1 - pt_2)/(pt_1 + pt_2)
4861  // * jets 1 and two are randomly ordered
4862  // **
4863  bool thirdJetCut = true;
4864  //that doesn't make any sense -> imagine you have 5 jets,
4865  //jet 3 is quite hard (almost as hard as the second jet, i.e. 200/80/79/20/15, cutoff is 30
4866  //the 4th and 5th jet are soft enough -> then you would fill the asymmetry twice,
4867  //although jet 2 and 3 are basically identical
4868  //do third jet relative to second jet
4869  //JME-10-014 suggests pt3/pt_dijet<0.15
4870  if (ind3 > 0) {
4871  if (pt3 > asymmetryThirdJetCut_) {
4872  thirdJetCut = false;
4873  }
4874  }
4875  if (thirdJetCut) {
4876  double dijetAsymmetry =
4877  (recoJets[jet1].pt() - recoJets[jet2].pt()) / (recoJets[jet1].pt() + recoJets[jet2].pt());
4878  mDijetAsymmetry = map_of_MEs[DirName + "/" + "DijetAsymmetry"];
4880  mDijetAsymmetry->Fill(dijetAsymmetry);
4881  } // end restriction on third jet pt in asymmetry calculation
4882 
4883  } else {
4884  jet1 = 0;
4885  jet2 = 1;
4886  }
4887 
4888  pt_barrel = recoJets[jet1].pt();
4889  pt_probe = recoJets[jet2].pt();
4890 
4891  //dijet balance cuts
4892  // ***Di-Jet Balance****
4893  // * pt_dijet = (pt_probe+pt_barrel)/2
4894  // * leading jets dphi > 2.7
4895  // * reject evnets where pt_third/pt_dijet > 0.2
4896  // * pv selection
4897  // * B = (pt_probe - pt_barrel)/pt_dijet
4898  // * select probe randomly from 2 jets if both leading jets are in the barrel
4899  bool thirdJetCut = true;
4900  if (ind3 > 0) {
4901  if (pt3 / pt_dijet > balanceThirdJetCut_) {
4902  thirdJetCut = false;
4903  }
4904  }
4905  if (thirdJetCut) {
4906  double dijetBalance = (pt_probe - pt_barrel) / pt_dijet;
4907  mDijetBalance = map_of_MEs[DirName + "/" + "DijetBalance"];
4909  mDijetBalance->Fill(dijetBalance);
4910  } // end restriction on third jet pt ratio in balance calculation
4911 
4912  } // dPhi > 2.7 for dijetbalance and asymmetrie
4913  } //leading jet in barrel
4914  } //DPhi cut of 2.1
4915  } //dijet selection, check if both leading jets are IDed
4916  //now do the ZJets selection -> pass_Z_selection cuts already on the Z-pt>30 GeV
4917  if (pass_Z_selection && ind1_mu_vetoed >= 0 && pt1_mu_vetoed > 12 && cleaned_first_jet_mu_vetoed && isPFJet_) {
4918  bool pass_second_jet_mu_vetoed = false;
4919  if (cleaned_second_jet_mu_vetoed) {
4920  if (ind2_mu_vetoed >= 0 && pt2_mu_vetoed / zCand.Pt() < 0.2) {
4921  pass_second_jet_mu_vetoed = true;
4922  }
4923  }
4924  if (pass_second_jet_mu_vetoed) {
4925  Jet recoJet1;
4926  if (isPFJet_) {
4927  recoJet1 = (*pfJets)[ind1_mu_vetoed];
4928  }
4929  if (pass_correction_flag && !isMiniAODJet_) {
4930  double scale = 1;
4931  if (isCaloJet_) {
4932  scale = jetCorr->correction((*caloJets)[ind1_mu_vetoed]);
4933  }
4934  if (isPFJet_) {
4935  scale = jetCorr->correction((*pfJets)[ind1_mu_vetoed]);
4936  }
4937  if (isPUPPIJet_) {
4938  scale = jetCorr->correction((*puppiJets)[ind1_mu_vetoed]);
4939  }
4940  recoJet1.scaleEnergy(scale);
4941  }
4942  double dphi = fabs(recoJet1.phi() - zCand.Phi());
4943  if (dphi > acos(-1.)) {
4944  dphi = 2 * acos(-1.) - dphi;
4945  }
4946  if (jetCleaningFlag_) {
4947  DirName = "JetMET/Jet/Cleaned" + mInputCollection_.label() + "/ZJets";
4948  }
4949  mDPhiZJet = map_of_MEs[DirName + "/" + "DPhiZJ"];
4950  if (mDPhiZJet && mDPhiZJet->getRootObject())
4951  mDPhiZJet->Fill(dphi);
4952  if (fabs(dphi - acos(-1.)) < 0.34) {
4953  //get now MET collections for MPF studies
4957  //edm::Handle<pat::METCollection> patmetcoll;
4958  const MET* met = nullptr;
4959  if (isCaloJet_) {
4960  iEvent.getByToken(caloMetToken_, calometcoll);
4961  if (!calometcoll.isValid())
4962  return;
4963  met = &(calometcoll->front());
4964  }
4965  if (isPFJet_) {
4966  iEvent.getByToken(pfMetToken_, pfmetcoll);
4967  if (!pfmetcoll.isValid())
4968  return;
4969  met = &(pfmetcoll->front());
4970  }
4971  if (isPUPPIJet_) {
4972  iEvent.getByToken(puppiMetToken_, puppimetcoll);
4973  if (!pfmetcoll.isValid())
4974  return;
4975  met = &(pfmetcoll->front());
4976  }
4977  //if(isMiniAODJet_){
4978  //iEvent.getByToken(patMetToken_, patmetcoll);
4979  //if(!patmetcoll.isValid()) return;
4980  //met=&(patmetcoll->front());
4981  //}
4982  mZMass = map_of_MEs[DirName + "/" + "DiMuonMass"];
4983  if (mZMass && mZMass->getRootObject())
4984  mZMass->Fill(zCand.M());
4985  mZJetAsymmetry = map_of_MEs[DirName + "/" + "ZJetAsymmetry"];
4987  mZJetAsymmetry->Fill((zCand.Pt() - recoJet1.pt()) / (zCand.Pt() + recoJet1.pt()));
4988  if (recoJet1.pt() > 20) {
4989  mPt = map_of_MEs[DirName + "/" + "Pt"];
4990  if (mPt && mPt->getRootObject())
4991  mPt->Fill(recoJet1.pt());
4992  mEta = map_of_MEs[DirName + "/" + "Eta"];
4993  if (mEta && mEta->getRootObject())
4994  mEta->Fill(recoJet1.eta());
4995  mPhi = map_of_MEs[DirName + "/" + "Phi"];
4996  if (mPhi && mPhi->getRootObject())
4997  mPhi->Fill(recoJet1.phi());
4998  //PV profiles
4999  mPt_profile = map_of_MEs[DirName + "/" + "Pt_profile"];
5001  mPt_profile->Fill(numPV, recoJet1.pt());
5002  mEta_profile = map_of_MEs[DirName + "/" + "Eta_profile"];
5004  mEta_profile->Fill(numPV, recoJet1.eta());
5005  mPhi_profile = map_of_MEs[DirName + "/" + "Phi_profile"];
5007  mPhi_profile->Fill(numPV, recoJet1.phi());
5008  mConstituents = map_of_MEs[DirName + "/" + "Constituents"];
5010  mConstituents->Fill(recoJet1.nConstituents());
5011  mConstituents_profile = map_of_MEs[DirName + "/" + "Constituents_profile"];
5013  mConstituents_profile->Fill(numPV, recoJet1.nConstituents());
5014  mJetEnergyCorr = map_of_MEs[DirName + "/" + "JetEnergyCorr"];
5016  mJetEnergyCorr->Fill(recoJet1.pt() / (*pfJets)[ind1_mu_vetoed].pt());
5017  mJetEnergyCorrVSEta = map_of_MEs[DirName + "/" + "JetEnergyCorrVSEta"];
5019  mJetEnergyCorrVSEta->Fill(recoJet1.eta(), recoJet1.pt() / (*pfJets)[ind1_mu_vetoed].pt());
5020  mJetEnergyCorrVSPt = map_of_MEs[DirName + "/" + "JetEnergyCorrVSPt"];
5022  mJetEnergyCorrVSPt->Fill(recoJet1.pt(), recoJet1.pt() / (*pfJets)[ind1_mu_vetoed].pt());
5023  mCHFrac = map_of_MEs[DirName + "/" + "CHFrac"];
5024  if (mCHFrac && mCHFrac->getRootObject())
5025  mCHFrac->Fill((*pfJets)[ind1_mu_vetoed].chargedHadronEnergyFraction());
5026  mNHFrac = map_of_MEs[DirName + "/" + "NHFrac"];
5027  if (mNHFrac && mNHFrac->getRootObject())
5028  mNHFrac->Fill((*pfJets)[ind1_mu_vetoed].neutralHadronEnergyFraction());
5029  mPhFrac = map_of_MEs[DirName + "/" + "PhFrac"];
5030  if (mPhFrac && mPhFrac->getRootObject())
5031  mPhFrac->Fill((*pfJets)[ind1_mu_vetoed].neutralEmEnergyFraction());
5032  mHFEMFrac = map_of_MEs[DirName + "/" + "HFEMFrac"];
5033  if (mHFEMFrac && mHFEMFrac->getRootObject())
5034  mHFEMFrac->Fill((*pfJets)[ind1_mu_vetoed].HFEMEnergyFraction());
5035  mHFHFrac = map_of_MEs[DirName + "/" + "HFHFrac"];
5036  if (mHFHFrac && mHFHFrac->getRootObject())
5037  mHFHFrac->Fill((*pfJets)[ind1_mu_vetoed].HFHadronEnergyFraction());
5038  //now fill PFJet profiles for second leading jet
5039  mCHFrac_profile = map_of_MEs[DirName + "/" + "CHFrac_profile"];
5041  mCHFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].chargedHadronEnergyFraction());
5042  mNHFrac_profile = map_of_MEs[DirName + "/" + "NHFrac_profile"];
5044  mNHFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].neutralHadronEnergyFraction());
5045  mPhFrac_profile = map_of_MEs[DirName + "/" + "PhFrac_profile"];
5047  mPhFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].neutralEmEnergyFraction());
5048  mHFEMFrac_profile = map_of_MEs[DirName + "/" + "HFEMFrac_profile"];
5050  mHFEMFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].HFEMEnergyFraction());
5051  mHFHFrac_profile = map_of_MEs[DirName + "/" + "HFHFrac_profile"];
5053  mHFHFrac_profile->Fill(numPV, (*pfJets)[ind1_mu_vetoed].HFHadronEnergyFraction());
5054  }
5055  double MPF = 1. + (met->px() * zCand.Px() + met->py() * zCand.Py()) / (zCand.Pt() * zCand.Pt());
5056  if (fabs(recoJet1.eta()) < 1.3) { //barrel jets
5057  mJ1Pt_over_ZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_J_Barrel"];
5059  mJ1Pt_over_ZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
5060  mMPF_J_Barrel = map_of_MEs[DirName + "/" + "MPF_J_Barrel"];
5063  if (zCand.Pt() < 90) { //lower cut on 30 already right from the start
5064  mJetZBalance_lowZPt_J_Barrel = map_of_MEs[DirName + "/" + "JZB_lowZPt_J_Barrel"];
5066  mJetZBalance_lowZPt_J_Barrel->Fill(recoJet1.pt() - zCand.Pt());
5067  mJ1Pt_over_ZPt_lowZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Barrel"];
5069  mJ1Pt_over_ZPt_lowZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
5070  mMPF_lowZPt_J_Barrel = map_of_MEs[DirName + "/" + "MPF_lowZPt_J_Barrel"];
5073  //mMPF_J_Barrel = map_of_MEs[DirName+"/"+"MPF_J_Barrel"]; if(mMPF_J_Barrel && mMPF_J_Barrel->getRootObject())mMPF_J_Barrel->Fill(MPF);
5074  } else if (zCand.Pt() < 140) {
5075  mJetZBalance_mediumZPt_J_Barrel = map_of_MEs[DirName + "/" + "JZB_mediumZPt_J_Barrel"];
5077  mJetZBalance_mediumZPt_J_Barrel->Fill(recoJet1.pt() - zCand.Pt());
5078  mJ1Pt_over_ZPt_mediumZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Barrel"];
5080  mJ1Pt_over_ZPt_mediumZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
5081  mMPF_mediumZPt_J_Barrel = map_of_MEs[DirName + "/" + "MPF_mediumZPt_J_Barrel"];
5084  } else {
5085  mJetZBalance_highZPt_J_Barrel = map_of_MEs[DirName + "/" + "JZB_highZPt_J_Barrel"];
5087  mJetZBalance_highZPt_J_Barrel->Fill(recoJet1.pt() - zCand.Pt());
5088  mJ1Pt_over_ZPt_highZPt_J_Barrel = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Barrel"];
5090  mJ1Pt_over_ZPt_highZPt_J_Barrel->Fill(recoJet1.pt() / zCand.Pt());
5091  mMPF_highZPt_J_Barrel = map_of_MEs[DirName + "/" + "MPF_highZPt_J_Barrel"];
5094  }
5095  if (zCand.Pt() > 30) {
5096  if (zCand.Pt() < 55) {
5098  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Barrel"];
5100  mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5101  } else if (zCand.Pt() < 75) {
5103  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_Barrel"];
5105  mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5106  } else if (zCand.Pt() < 150) {
5108  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel"];
5110  mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5111  } else if (zCand.Pt() < 290) {
5113  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel"];
5115  mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5116  } else {
5117  mDeltaPt_Z_j1_over_ZPt_290_J_Barrel = map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_Barrel"];
5119  mDeltaPt_Z_j1_over_ZPt_290_J_Barrel->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5120  }
5121  }
5122  } else if (fabs(recoJet1.eta()) < 3.0) { //endcap jets
5123  mJ1Pt_over_ZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_J_EndCap"];
5125  mJ1Pt_over_ZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5126  mMPF_J_EndCap = map_of_MEs[DirName + "/" + "MPF_J_EndCap"];
5129  if (zCand.Pt() < 90) { //lower cut on 30 already right from the start
5130  mJetZBalance_lowZPt_J_EndCap = map_of_MEs[DirName + "/" + "JZB_lowZPt_J_EndCap"];
5132  mJetZBalance_lowZPt_J_EndCap->Fill(recoJet1.pt() - zCand.Pt());
5133  mJ1Pt_over_ZPt_lowZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_EndCap"];
5135  mJ1Pt_over_ZPt_lowZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5136  mMPF_lowZPt_J_EndCap = map_of_MEs[DirName + "/" + "MPF_lowZPt_J_EndCap"];
5139  } else if (zCand.Pt() < 140) {
5140  mJetZBalance_mediumZPt_J_EndCap = map_of_MEs[DirName + "/" + "JZB_mediumZPt_J_EndCap"];
5142  mJetZBalance_mediumZPt_J_EndCap->Fill(recoJet1.pt() - zCand.Pt());
5143  mJ1Pt_over_ZPt_mediumZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_EndCap"];
5145  mJ1Pt_over_ZPt_mediumZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5146  mMPF_mediumZPt_J_EndCap = map_of_MEs[DirName + "/" + "MPF_mediumZPt_J_EndCap"];
5149  } else {
5150  mJetZBalance_highZPt_J_EndCap = map_of_MEs[DirName + "/" + "JZB_highZPt_J_EndCap"];
5152  mJetZBalance_highZPt_J_EndCap->Fill(recoJet1.pt() - zCand.Pt());
5153  mJ1Pt_over_ZPt_highZPt_J_EndCap = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_highZPt_J_EndCap"];
5155  mJ1Pt_over_ZPt_highZPt_J_EndCap->Fill(recoJet1.pt() / zCand.Pt());
5156  mMPF_highZPt_J_EndCap = map_of_MEs[DirName + "/" + "MPF_highZPt_J_EndCap"];
5159  }
5160  if (zCand.Pt() > 30) {
5161  if (zCand.Pt() < 55) {
5163  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_EndCap"];
5165  mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5166  } else if (zCand.Pt() < 75) {
5168  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_EndCap"];
5170  mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5171  } else if (zCand.Pt() < 150) {
5173  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap"];
5175  mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5176  } else if (zCand.Pt() < 290) {
5178  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap"];
5180  mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5181  } else {
5182  mDeltaPt_Z_j1_over_ZPt_290_J_EndCap = map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_EndCap"];
5184  mDeltaPt_Z_j1_over_ZPt_290_J_EndCap->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5185  }
5186  }
5187  } else { //forward jets
5188  mJ1Pt_over_ZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_J_Forward"];
5190  mJ1Pt_over_ZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5191  mMPF_J_Forward = map_of_MEs[DirName + "/" + "MPF_J_Forward"];
5194  if (zCand.Pt() < 90) { //lower cut on 30 already right from the start
5195  mJetZBalance_lowZPt_J_Forward = map_of_MEs[DirName + "/" + "JZB_lowZPt_J_Forward"];
5197  mJetZBalance_lowZPt_J_Forward->Fill(recoJet1.pt() - zCand.Pt());
5198  mJ1Pt_over_ZPt_lowZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Forward"];
5200  mJ1Pt_over_ZPt_lowZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5201  mMPF_lowZPt_J_Forward = map_of_MEs[DirName + "/" + "MPF_lowZPt_J_Forward"];
5204  } else if (zCand.Pt() < 140) {
5205  mJetZBalance_mediumZPt_J_Forward = map_of_MEs[DirName + "/" + "JZB_mediumZPt_J_Forward"];
5207  mJetZBalance_mediumZPt_J_Forward->Fill(recoJet1.pt() - zCand.Pt());
5208  mJ1Pt_over_ZPt_mediumZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Forward"];
5210  mJ1Pt_over_ZPt_mediumZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5211  mMPF_mediumZPt_J_Forward = map_of_MEs[DirName + "/" + "MPF_mediumZPt_J_Forward"];
5214  } else {
5215  mJetZBalance_highZPt_J_Forward = map_of_MEs[DirName + "/" + "JZB_highZPt_J_Forward"];
5217  mJetZBalance_highZPt_J_Forward->Fill(recoJet1.pt() - zCand.Pt());
5218  mJ1Pt_over_ZPt_highZPt_J_Forward = map_of_MEs[DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Forward"];
5220  mJ1Pt_over_ZPt_highZPt_J_Forward->Fill(recoJet1.pt() / zCand.Pt());
5221  mMPF_highZPt_J_Forward = map_of_MEs[DirName + "/" + "MPF_highZPt_J_Forward"];
5224  }
5225  if (zCand.Pt() > 30) {
5226  if (zCand.Pt() < 55) {
5228  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward"];
5230  mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5231  } else if (zCand.Pt() < 100) {
5233  map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward"];
5235  mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5236  } else {
5237  mDeltaPt_Z_j1_over_ZPt_100_J_Forward = map_of_MEs[DirName + "/" + "DeltaPt_Z_j1_over_ZPt_100_J_Forward"];
5239  mDeltaPt_Z_j1_over_ZPt_100_J_Forward->Fill((zCand.Pt() - recoJet1.pt()) / zCand.Pt());
5240  }
5241  }
5242  }
5243  int QGmulti = -1;
5244  float QGLikelihood = -10;
5245  float QGptD = -10;
5246  float QGaxis2 = -10;
5247  if (fill_CHS_histos) {
5248  reco::PFJetRef pfjetref(pfJets, ind1_mu_vetoed);
5249  QGmulti = (*qgMultiplicity)[pfjetref];
5250  QGLikelihood = (*qgLikelihood)[pfjetref];
5251  QGptD = (*qgptD)[pfjetref];
5252  QGaxis2 = (*qgaxis2)[pfjetref];
5253  if (fabs(recoJet1.eta()) < 1.3) { //barrel jets
5254  //fractions for barrel
5255  if (recoJet1.pt() >= 20. && recoJet1.pt() <= 50.) {
5256  mAxis2_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Barrel"];
5258  mAxis2_lowPt_Barrel->Fill(QGaxis2);
5259  mpTD_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Barrel"];
5261  mpTD_lowPt_Barrel->Fill(QGptD);
5262  mMultiplicityQG_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Barrel"];
5265  mqgLikelihood_lowPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Barrel"];
5267  mqgLikelihood_lowPt_Barrel->Fill(QGLikelihood);
5268  }
5269  if (recoJet1.pt() > 50. && recoJet1.pt() <= 140.) {
5270  mAxis2_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Barrel"];
5272  mAxis2_mediumPt_Barrel->Fill(QGaxis2);
5273  mpTD_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Barrel"];
5275  mpTD_mediumPt_Barrel->Fill(QGptD);
5276  mMultiplicityQG_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Barrel"];
5279  mqgLikelihood_mediumPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Barrel"];
5281  mqgLikelihood_mediumPt_Barrel->Fill(QGLikelihood);
5282  }
5283  if (recoJet1.pt() > 140.) {
5284  mAxis2_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Barrel"];
5286  mAxis2_highPt_Barrel->Fill(QGaxis2);
5287  mpTD_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Barrel"];
5289  mpTD_highPt_Barrel->Fill(QGptD);
5290  mMultiplicityQG_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Barrel"];
5293  mqgLikelihood_highPt_Barrel = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Barrel"];
5295  mqgLikelihood_highPt_Barrel->Fill(QGLikelihood);
5296  }
5297  } else if (fabs(recoJet1.eta()) < 3.0) { //endcap jets
5298  if (recoJet1.pt() > 20. && recoJet1.pt() <= 50.) {
5299  mAxis2_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_EndCap"];
5301  mAxis2_lowPt_EndCap->Fill(QGaxis2);
5302  mpTD_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_EndCap"];
5304  mpTD_lowPt_EndCap->Fill(QGptD);
5305  mMultiplicityQG_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_EndCap"];
5308  mqgLikelihood_lowPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_EndCap"];
5310  mqgLikelihood_lowPt_EndCap->Fill(QGLikelihood);
5311  }
5312  if (recoJet1.pt() > 50. && recoJet1.pt() <= 140.) {
5313  mAxis2_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_EndCap"];
5315  mAxis2_mediumPt_EndCap->Fill(QGaxis2);
5316  mpTD_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_EndCap"];
5318  mpTD_mediumPt_EndCap->Fill(QGptD);
5319  mMultiplicityQG_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_EndCap"];
5322  mqgLikelihood_mediumPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_EndCap"];
5324  mqgLikelihood_mediumPt_EndCap->Fill(QGLikelihood);
5325  }
5326  if (recoJet1.pt() > 140.) {
5327  mAxis2_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_EndCap"];
5329  mAxis2_highPt_EndCap->Fill(QGaxis2);
5330  mpTD_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_pTD_highPt_EndCap"];
5332  mpTD_highPt_EndCap->Fill(QGptD);
5333  mMultiplicityQG_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_EndCap"];
5336  mqgLikelihood_highPt_EndCap = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_EndCap"];
5338  mqgLikelihood_highPt_EndCap->Fill(QGLikelihood);
5339  }
5340  } else {
5341  if (recoJet1.pt() > 20. && recoJet1.pt() <= 50.) {
5342  mAxis2_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_lowPt_Forward"];
5344  mAxis2_lowPt_Forward->Fill(QGaxis2);
5345  mpTD_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_lowPt_Forward"];
5347  mpTD_lowPt_Forward->Fill(QGptD);
5348  mMultiplicityQG_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_lowPt_Forward"];
5351  mqgLikelihood_lowPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_lowPt_Forward"];
5353  mqgLikelihood_lowPt_Forward->Fill(QGLikelihood);
5354  }
5355  if (recoJet1.pt() > 50. && recoJet1.pt() <= 140.) {
5356  mAxis2_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_mediumPt_Forward"];
5358  mAxis2_mediumPt_Forward->Fill(QGaxis2);
5359  mpTD_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_mediumPt_Forward"];
5361  mpTD_mediumPt_Forward->Fill(QGptD);
5362  mMultiplicityQG_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_mediumPt_Forward"];
5365  mqgLikelihood_mediumPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_mediumPt_Forward"];
5367  mqgLikelihood_mediumPt_Forward->Fill(QGLikelihood);
5368  }
5369  if (recoJet1.pt() > 140.) {
5370  mAxis2_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Axis2_highPt_Forward"];
5372  mAxis2_highPt_Forward->Fill(QGaxis2);
5373  mpTD_highPt_Forward = map_of_MEs[DirName + "/" + "qg_pTD_highPt_Forward"];
5375  mpTD_highPt_Forward->Fill(QGptD);
5376  mMultiplicityQG_highPt_Forward = map_of_MEs[DirName + "/" + "qg_multiplicity_highPt_Forward"];
5379  mqgLikelihood_highPt_Forward = map_of_MEs[DirName + "/" + "qg_Likelihood_highPt_Forward"];
5381  mqgLikelihood_highPt_Forward->Fill(QGLikelihood);
5382  }
5383  }
5384  } //fill quark gluon tagged variables
5385  } //jet back to back to Z
5386  } //2nd jet veto
5387  } //Z selection + hard leading jet
5388 }
MonitorElement * mqgLikelihood_lowPt_Barrel
Definition: JetAnalyzer.h:498
MonitorElement * mCHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:385
MonitorElement * mEFrac_EndCap
Definition: JetAnalyzer.h:241
MonitorElement * mNJets
Definition: JetAnalyzer.h:264
MonitorElement * mNHEn_lowPt_Barrel
Definition: JetAnalyzer.h:381
MonitorElement * mJetZBalance_lowZPt_J_Barrel
Definition: JetAnalyzer.h:739
MonitorElement * mMass_lowPt_Forward
Definition: JetAnalyzer.h:451
MonitorElement * mMass_mediumPt_Forward
Definition: JetAnalyzer.h:454
MonitorElement * mePtForwardPlus_BXm1Empty
Definition: JetAnalyzer.h:607
MonitorElement * mMass_highPt_Forward
Definition: JetAnalyzer.h:457
MonitorElement * mHadEnergyInHB
Definition: JetAnalyzer.h:358
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_Barrel
Definition: JetAnalyzer.h:776
MonitorElement * mHFEEn_highPt_Forward
Definition: JetAnalyzer.h:479
bool bypassAllPVChecks_
Definition: JetAnalyzer.h:331
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel
Definition: JetAnalyzer.h:772
MonitorElement * mfRBX
Definition: JetAnalyzer.h:366
MonitorElement * mSubJet1_SoftDrop_phi_boosted
Definition: JetAnalyzer.h:721
MonitorElement * mMultiplicityQG_highPt_Forward
Definition: JetAnalyzer.h:531
edm::EDGetTokenT< reco::PFJetCollection > puppiJetsToken_
Definition: JetAnalyzer.h:111
MonitorElement * mCHEn_highPt_Barrel
Definition: JetAnalyzer.h:390
MonitorElement * mPhi_Forward
Definition: JetAnalyzer.h:244
MonitorElement * mChMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:401
MonitorElement * mLooseCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:300
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap
Definition: JetAnalyzer.h:777
MonitorElement * mJetZBalance_lowZPt_J_Forward
Definition: JetAnalyzer.h:745
MonitorElement * mChMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:462
MonitorElement * mNeutralEmEnergy
Definition: JetAnalyzer.h:489
MonitorElement * mtau2_over_tau1
Definition: JetAnalyzer.h:655
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:783
MonitorElement * mPhEn_mediumPt_EndCap
Definition: JetAnalyzer.h:441
virtual void scaleEnergy(double fScale)
scale energy of the jet
MonitorElement * mPt_Lo
Definition: JetAnalyzer.h:274
MonitorElement * mtau2_over_tau1_boosted
Definition: JetAnalyzer.h:694
MonitorElement * mePhFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:638
MonitorElement * mJetZBalance_highZPt_J_Barrel
Definition: JetAnalyzer.h:741
MonitorElement * mSubJet2_SoftDrop_phi_boosted
Definition: JetAnalyzer.h:725
MonitorElement * mEmEnergyInHF
Definition: JetAnalyzer.h:363
MonitorElement * mtau3_over_tau2
Definition: JetAnalyzer.h:656
double pt() const final
transverse momentum
bool jetCleaningFlag_
Definition: JetAnalyzer.h:346
MonitorElement * mPhiFirst
Definition: JetAnalyzer.h:269
MonitorElement * mCutPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:308
MonitorElement * mMPF_mediumZPt_J_Forward
Definition: JetAnalyzer.h:770
MonitorElement * mNeutralHadronEnergy
Definition: JetAnalyzer.h:486
MonitorElement * mHFEFrac_mediumPt_Forward
Definition: JetAnalyzer.h:471
MonitorElement * mPt_Forward
Definition: JetAnalyzer.h:243
MonitorElement * mCHFrac_highPt_EndCap
Definition: JetAnalyzer.h:430
MonitorElement * mNHFrac_highPt_EndCap
Definition: JetAnalyzer.h:431
bool fill_jet_high_level_histo
Definition: JetAnalyzer.h:793
MonitorElement * mqgLikelihood_highPt_EndCap
Definition: JetAnalyzer.h:519
MonitorElement * mChargedEmEnergy_profile
Definition: JetAnalyzer.h:547
float fHPD
Definition: JetID.h:41
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Barrel
Definition: JetAnalyzer.h:754
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken_
Definition: JetAnalyzer.h:145
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:344
MonitorElement * mHFrac_Forward
Definition: JetAnalyzer.h:246
MonitorElement * mEmEnergyInEE
Definition: JetAnalyzer.h:362
MonitorElement * mMass_Barrel
Definition: JetAnalyzer.h:731
MonitorElement * mMass_Forward
Definition: JetAnalyzer.h:733
MonitorElement * mHFHFrac_highPt_Forward
Definition: JetAnalyzer.h:474
MonitorElement * meNHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:631
MonitorElement * mHFHEn_lowPt_Forward
Definition: JetAnalyzer.h:476
MonitorElement * mMultiplicityQG_mediumPt_EndCap
Definition: JetAnalyzer.h:514
MonitorElement * mNHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:425
MonitorElement * mCHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:371
MonitorElement * mElEn_highPt_Barrel
Definition: JetAnalyzer.h:393
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
Definition: JetAnalyzer.h:109
MonitorElement * mHFHFrac
Definition: JetAnalyzer.h:560
MonitorElement * jetME
Definition: JetAnalyzer.h:207
MonitorElement * mPrunedMass_boosted
Definition: JetAnalyzer.h:691
MonitorElement * mPhEn_lowPt_EndCap
Definition: JetAnalyzer.h:436
MonitorElement * mSubJet1_SoftDrop_mass
Definition: JetAnalyzer.h:683
edm::EDGetTokenT< edm::ValueMap< int > > mvaPUIDToken_
Definition: JetAnalyzer.h:123
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:204
double balanceThirdJetCut_
Definition: JetAnalyzer.h:199
MonitorElement * mMediumCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:302
MonitorElement * mHFEEn_lowPt_Forward
Definition: JetAnalyzer.h:475
MonitorElement * meNHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:635
MonitorElement * mPhi_EndCap
Definition: JetAnalyzer.h:238
JetIDSelectionFunctor jetIDFunctor
Definition: JetAnalyzer.h:151
MonitorElement * mPrunedMass
Definition: JetAnalyzer.h:652
MonitorElement * mNHFrac
Definition: JetAnalyzer.h:557
MonitorElement * mMPF_J_EndCap
Definition: JetAnalyzer.h:752
T const * product() const
Definition: Handle.h:70
float restrictedEMF
Definition: JetID.h:48
MonitorElement * mqgLikelihood_mediumPt_Barrel
Definition: JetAnalyzer.h:502
edm::EDGetTokenT< reco::PFMETCollection > pfMetToken_
Definition: JetAnalyzer.h:113
MonitorElement * mPhFrac_lowPt_EndCap
Definition: JetAnalyzer.h:426
MonitorElement * mMass_highPt_EndCap
Definition: JetAnalyzer.h:456
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:293
MonitorElement * mNHFracVSeta_highPt
Definition: JetAnalyzer.h:421
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_EndCap
Definition: JetAnalyzer.h:781
MonitorElement * mMPF_highZPt_J_Forward
Definition: JetAnalyzer.h:771
MonitorElement * mCutPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:306
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:364
MonitorElement * mCHFrac
Definition: JetAnalyzer.h:556
MonitorElement * mSubJet1_SoftDrop_eta_boosted
Definition: JetAnalyzer.h:720
PFJetIDSelectionFunctor pfjetIDFunctor
Definition: JetAnalyzer.h:156
float fRBX
Definition: JetID.h:42
MonitorElement * mSubJet1_SoftDrop_pt_boosted
Definition: JetAnalyzer.h:719
MonitorElement * mJetZBalance_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:740
MonitorElement * mCHEn_lowPt_EndCap
Definition: JetAnalyzer.h:434
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
Definition: JetAnalyzer.h:110
MonitorElement * meNHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:599
MonitorElement * mCutPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:307
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * mCHFracVSeta_highPt
Definition: JetAnalyzer.h:420
MonitorElement * mPhEn_highPt_Barrel
Definition: JetAnalyzer.h:392
MonitorElement * mCHFrac_profile
Definition: JetAnalyzer.h:561
MonitorElement * mSubJet2_SoftDrop_eta_boosted
Definition: JetAnalyzer.h:724
MonitorElement * mNeutMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:460
MonitorElement * mNHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:440
MonitorElement * mEta_Hi
Definition: JetAnalyzer.h:276
MonitorElement * mpTD_mediumPt_EndCap
Definition: JetAnalyzer.h:513
bool isCaloJet_
Definition: JetAnalyzer.h:788
MonitorElement * meCHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:640
MonitorElement * mMPF_lowZPt_J_EndCap
Definition: JetAnalyzer.h:766
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:491
MonitorElement * mMass_lowPt_Barrel
Definition: JetAnalyzer.h:449
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:328
MonitorElement * mePhFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:630
MonitorElement * mPt_3
Definition: JetAnalyzer.h:213
std::string const & label() const
Definition: InputTag.h:36
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap
Definition: JetAnalyzer.h:780
MonitorElement * mSubJet2_SoftDrop_pt_boosted
Definition: JetAnalyzer.h:723
Jet ID object.
Definition: JetID.h:16
MonitorElement * mHFEMFrac
Definition: JetAnalyzer.h:559
MonitorElement * mEta
Definition: JetAnalyzer.h:215
MonitorElement * mConstituents_Forward
Definition: JetAnalyzer.h:245
MonitorElement * mPt_CaloJet
Definition: JetAnalyzer.h:729
double correction(const LorentzVector &fJet) const
get correction using Jet information only
Definition: JetCorrector.h:46
std::string DirName
Definition: JetAnalyzer.h:160
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
Definition: JetAnalyzer.h:107
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:292
MonitorElement * mpTD_lowPt_Forward
Definition: JetAnalyzer.h:522
MonitorElement * mtau3_over_tau2_boosted
Definition: JetAnalyzer.h:695
MonitorElement * mnSubJetsSoftDrop
Definition: JetAnalyzer.h:679
MonitorElement * mPt_Hi
Definition: JetAnalyzer.h:278
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:568
MonitorElement * mePhFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:598
MonitorElement * mMPF_highZPt_J_Barrel
Definition: JetAnalyzer.h:765
MonitorElement * mMultiplicityQG_lowPt_EndCap
Definition: JetAnalyzer.h:510
MonitorElement * meHFHFracPlus_BXm1Filled
Definition: JetAnalyzer.h:645
MonitorElement * meNHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:639
MonitorElement * mCHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:424
MonitorElement * mMuMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:403
MonitorElement * mNHFracVSeta_mediumPt
Definition: JetAnalyzer.h:418
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:550
MonitorElement * mAxis2_mediumPt_Barrel
Definition: JetAnalyzer.h:499
MonitorElement * mHFEFrac_lowPt_Forward
Definition: JetAnalyzer.h:469
MonitorElement * mMass_EndCap
Definition: JetAnalyzer.h:732
MonitorElement * meHFEMFracPlus_BXm1Filled
Definition: JetAnalyzer.h:646
MonitorElement * mNHFracVSeta_lowPt
Definition: JetAnalyzer.h:415
MonitorElement * mLooseJIDPassFractionVSpt
Definition: JetAnalyzer.h:281
MonitorElement * mAxis2_highPt_Forward
Definition: JetAnalyzer.h:529
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:567
MonitorElement * mpTD_mediumPt_Barrel
Definition: JetAnalyzer.h:500
MonitorElement * mPt_uncor
Definition: JetAnalyzer.h:217
MonitorElement * mDPhi
Definition: JetAnalyzer.h:265
MonitorElement * mresEMF
Definition: JetAnalyzer.h:367
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel
Definition: JetAnalyzer.h:774
MonitorElement * mEMF_CaloJet
Definition: JetAnalyzer.h:730
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:786
MonitorElement * mChargedMuEnergy
Definition: JetAnalyzer.h:488
MonitorElement * mLooseMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:285
MonitorElement * mMuMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:464
MonitorElement * mNHFrac_profile
Definition: JetAnalyzer.h:562
bool filljetsubstruc_
Definition: JetAnalyzer.h:347
void Fill(long long x)
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
Definition: JetAnalyzer.h:133
bool runcosmics_
Definition: JetAnalyzer.h:350
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:326
MonitorElement * mpTD_highPt_EndCap
Definition: JetAnalyzer.h:517
MonitorElement * mEmEnergyInEB
Definition: JetAnalyzer.h:361
MonitorElement * mDijetBalance
Definition: JetAnalyzer.h:317
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap
Definition: JetAnalyzer.h:778
MonitorElement * mJ1Pt_over_ZPt_J_Barrel
Definition: JetAnalyzer.h:748
MonitorElement * mJ1Pt_over_ZPt_J_EndCap
Definition: JetAnalyzer.h:749
static bool passJetId(int flag, Id level)
MonitorElement * mTightCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:304
MonitorElement * mMediumMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:286
MonitorElement * mePtEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:601
MonitorElement * mSubJet1_SoftDrop_mass_boosted
Definition: JetAnalyzer.h:722
MonitorElement * mChargedHadronEnergy_profile
Definition: JetAnalyzer.h:545
int iEvent
Definition: GenABIO.cc:224
MonitorElement * mPhi_Barrel
Definition: JetAnalyzer.h:232
MonitorElement * mPhFrac_lowPt_Barrel
Definition: JetAnalyzer.h:373
MonitorElement * mSubJet2_SoftDrop_eta
Definition: JetAnalyzer.h:685
MonitorElement * mAxis2_highPt_Barrel
Definition: JetAnalyzer.h:503
MonitorElement * mMass_lowPt_EndCap
Definition: JetAnalyzer.h:450
edm::EDGetTokenT< reco::CaloMETCollection > caloMetToken_
Definition: JetAnalyzer.h:114
MonitorElement * mConstituents_EndCap
Definition: JetAnalyzer.h:239
MonitorElement * mPt_log
Definition: JetAnalyzer.h:214
MonitorElement * meEta_BXm1Empty
Definition: JetAnalyzer.h:608
MonitorElement * mHFHFrac_mediumPt_Forward
Definition: JetAnalyzer.h:472
MonitorElement * mPhFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:376
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtToken_
Definition: JetAnalyzer.h:108
MonitorElement * mJetZBalance_mediumZPt_J_Forward
Definition: JetAnalyzer.h:746
MonitorElement * mSoftDropMass
Definition: JetAnalyzer.h:651
MonitorElement * mePtEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:597
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:551
MonitorElement * mMultiplicityQG_highPt_EndCap
Definition: JetAnalyzer.h:518
MonitorElement * meHFHFracMinus_BXm1Filled
Definition: JetAnalyzer.h:642
MonitorElement * cleanupME
Definition: JetAnalyzer.h:337
MonitorElement * mPhEn_mediumPt_Barrel
Definition: JetAnalyzer.h:387
Definition: Jet.py:1
MonitorElement * mSubJet2_SoftDrop_mass_boosted
Definition: JetAnalyzer.h:726
MonitorElement * mLooseMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:284
MonitorElement * mNeutMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:463
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:536
MonitorElement * mNHFracVSpT_EndCap
Definition: JetAnalyzer.h:409
MonitorElement * mNeutralEmEnergy_profile
Definition: JetAnalyzer.h:549
Definition: MET.h:41
MonitorElement * mNHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:375
MonitorElement * mPhEn_lowPt_Barrel
Definition: JetAnalyzer.h:382
MonitorElement * mSubJet2_SoftDrop_pt
Definition: JetAnalyzer.h:684
edm::EDGetTokenT< pat::JetCollection > patJetsToken_
Definition: JetAnalyzer.h:119
MonitorElement * mPt_1
Definition: JetAnalyzer.h:211
MonitorElement * mConstituents_Barrel
Definition: JetAnalyzer.h:233
virtual int nConstituents() const
of constituents
Definition: Jet.h:65
edm::EDGetTokenT< edm::ValueMap< float > > mvaFullPUDiscriminantToken_
Definition: JetAnalyzer.h:120
MonitorElement * mJetZBalance_lowZPt_J_EndCap
Definition: JetAnalyzer.h:742
MonitorElement * meHFHFracMinus_BXm1Empty
Definition: JetAnalyzer.h:602
MonitorElement * meCHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:596
MonitorElement * mNHEn_lowPt_EndCap
Definition: JetAnalyzer.h:435
double ptThreshold_
Definition: JetAnalyzer.h:196
MonitorElement * mMuEn_lowPt_EndCap
Definition: JetAnalyzer.h:438
double pt_min_boosted_
Definition: JetAnalyzer.h:348
MonitorElement * mPhi
Definition: JetAnalyzer.h:216
MonitorElement * meHFEMFracMinus_BXm1Filled
Definition: JetAnalyzer.h:643
MonitorElement * mNeutMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:396
MonitorElement * mpTD_highPt_Barrel
Definition: JetAnalyzer.h:504
MonitorElement * mPhFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:429
edm::EDGetTokenT< edm::ValueMap< int > > cutBasedPUIDToken_
Definition: JetAnalyzer.h:122
edm::EDGetTokenT< edm::ValueMap< float > > cutBasedPUDiscriminantToken_
Definition: JetAnalyzer.h:121
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Forward
Definition: JetAnalyzer.h:762
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:552
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:311
MonitorElement * mCutPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:313
MonitorElement * mChargedHadronEnergy
Definition: JetAnalyzer.h:485
MonitorElement * mPhi_uncor
Definition: JetAnalyzer.h:219
MonitorElement * mCutPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:312
bool fill_CHS_histos
Definition: JetAnalyzer.h:795
MonitorElement * mChargedEmEnergy
Definition: JetAnalyzer.h:487
MonitorElement * mNeutMultiplicity_mediumPt_Forward
Definition: JetAnalyzer.h:482
MonitorElement * mMass_mediumPt_EndCap
Definition: JetAnalyzer.h:453
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
MonitorElement * mPhFrac_profile
Definition: JetAnalyzer.h:563
MonitorElement * meNHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:591
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Barrel
Definition: JetAnalyzer.h:756
const TechnicalTriggerWord & technicalTriggerWord(int bxInEventValue) const
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:323
MonitorElement * mPhFracVSeta_lowPt
Definition: JetAnalyzer.h:416
MonitorElement * mChMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:395
edm::InputTag jetCorrectorTag_
Definition: JetAnalyzer.h:144
edm::EDGetTokenT< reco::PFMETCollection > puppiMetToken_
Definition: JetAnalyzer.h:116
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel
Definition: JetAnalyzer.h:773
MonitorElement * mEtaFirst
Definition: JetAnalyzer.h:268
MonitorElement * mElEn_lowPt_EndCap
Definition: JetAnalyzer.h:437
MonitorElement * mTightMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:288
MonitorElement * mNHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:428
MonitorElement * mEFrac_Forward
Definition: JetAnalyzer.h:247
static std::string const triggerResults
Definition: EdmProvDump.cc:47
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap
Definition: JetAnalyzer.h:779
MonitorElement * mChMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:459
MonitorElement * mMuEn_mediumPt_Barrel
Definition: JetAnalyzer.h:389
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: JetAnalyzer.h:106
MonitorElement * mMuMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:467
MonitorElement * mPt_2
Definition: JetAnalyzer.h:212
MonitorElement * mAxis2_highPt_EndCap
Definition: JetAnalyzer.h:516
MonitorElement * mMVAPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:296
MonitorElement * mSubJet1_SoftDrop_pt
Definition: JetAnalyzer.h:680
MonitorElement * mNeutralHadronEnergy_profile
Definition: JetAnalyzer.h:546
MonitorElement * mHFrac_Barrel
Definition: JetAnalyzer.h:234
bool filter(const edm::Event &evt, const edm::EventSetup &es)
MonitorElement * mNJets_profile
Definition: JetAnalyzer.h:322
MonitorElement * mMultiplicityQG_highPt_Barrel
Definition: JetAnalyzer.h:505
MonitorElement * mHFEFracVSpT_Forward
Definition: JetAnalyzer.h:412
MonitorElement * mMPF_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:764
MonitorElement * mePhFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:590
MonitorElement * mCHEn_lowPt_Barrel
Definition: JetAnalyzer.h:380
MonitorElement * mHFEFrac_highPt_Forward
Definition: JetAnalyzer.h:473
MonitorElement * mJ1Pt_over_ZPt_J_Forward
Definition: JetAnalyzer.h:750
MonitorElement * mElEn_highPt_EndCap
Definition: JetAnalyzer.h:447
MonitorElement * mCutPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:310
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Forward
Definition: JetAnalyzer.h:761
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:758
MonitorElement * mEFrac
Definition: JetAnalyzer.h:228
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:309
MonitorElement * mPhFrac_highPt_EndCap
Definition: JetAnalyzer.h:432
MonitorElement * mPhFracVSeta_mediumPt
Definition: JetAnalyzer.h:419
MonitorElement * mMPF_lowZPt_J_Barrel
Definition: JetAnalyzer.h:763
MonitorElement * meHFEMFracPlus_BXm1Empty
Definition: JetAnalyzer.h:606
Log< level::Info, false > LogInfo
MonitorElement * mnSubJetsSoftDrop_boosted
Definition: JetAnalyzer.h:718
MonitorElement * meCHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:592
MonitorElement * mePtBarrel_BXm1Empty
Definition: JetAnalyzer.h:593
MonitorElement * mNHFracVSpT_Barrel
Definition: JetAnalyzer.h:406
edm::EDGetTokenT< edm::ValueMap< float > > qgLikelihoodToken_
Definition: JetAnalyzer.h:126
MonitorElement * mHadEnergyInHF
Definition: JetAnalyzer.h:359
edm::EDGetTokenT< reco::MuonCollection > MuonsToken_
Definition: JetAnalyzer.h:118
MonitorElement * mSubJet1_SoftDrop_eta
Definition: JetAnalyzer.h:681
MonitorElement * mMPF_lowZPt_J_Forward
Definition: JetAnalyzer.h:769
virtual TObject const * getRootObject() const
MonitorElement * mfHPD
Definition: JetAnalyzer.h:365
MonitorElement * mDijetAsymmetry
Definition: JetAnalyzer.h:318
MonitorElement * mNeutMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:466
MonitorElement * mpTD_lowPt_Barrel
Definition: JetAnalyzer.h:496
MonitorElement * mHFHEn_mediumPt_Forward
Definition: JetAnalyzer.h:478
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:222
MonitorElement * mJetZBalance_highZPt_J_Forward
Definition: JetAnalyzer.h:747
MonitorElement * mAxis2_lowPt_EndCap
Definition: JetAnalyzer.h:508
MonitorElement * mElEn_mediumPt_Barrel
Definition: JetAnalyzer.h:388
MonitorElement * mMVAPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:298
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:490
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_EndCap
Definition: JetAnalyzer.h:759
MonitorElement * mNHEn_highPt_Barrel
Definition: JetAnalyzer.h:391
pat::strbitset getBitTemplate() const
Get an empty bitset with the proper names.
Definition: Selector.h:168
MonitorElement * mPt
Definition: JetAnalyzer.h:210
MonitorElement * mEFrac_Barrel
Definition: JetAnalyzer.h:235
double asymmetryThirdJetCut_
Definition: JetAnalyzer.h:198
MonitorElement * mCHFracVSeta_mediumPt
Definition: JetAnalyzer.h:417
MonitorElement * mePtBarrel_BXm1Filled
Definition: JetAnalyzer.h:633
MonitorElement * mCHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:427
MonitorElement * mNHFrac_highPt_Barrel
Definition: JetAnalyzer.h:378
MonitorElement * mqgLikelihood_highPt_Forward
Definition: JetAnalyzer.h:532
MonitorElement * mMediumCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:303
MonitorElement * mePhFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:594
double ptThresholdUnc_
Definition: JetAnalyzer.h:197
MonitorElement * mMuMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:400
MonitorElement * mHFrac_EndCap
Definition: JetAnalyzer.h:240
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:224
MonitorElement * mElEn_mediumPt_EndCap
Definition: JetAnalyzer.h:442
MonitorElement * mAxis2_lowPt_Barrel
Definition: JetAnalyzer.h:495
MonitorElement * mPhiVSEta
Definition: JetAnalyzer.h:229
MonitorElement * mMPF_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:767
MonitorElement * mqgLikelihood_mediumPt_EndCap
Definition: JetAnalyzer.h:515
MonitorElement * mePtEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:637
MonitorElement * mChargedMuEnergy_profile
Definition: JetAnalyzer.h:548
MonitorElement * mLooseJIDPassFractionVSptNoHF
Definition: JetAnalyzer.h:282
MonitorElement * mEta_uncor
Definition: JetAnalyzer.h:218
MonitorElement * mMediumMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:287
MonitorElement * mCHEn_highPt_EndCap
Definition: JetAnalyzer.h:444
MonitorElement * mMVAPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:297
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_EndCap
Definition: JetAnalyzer.h:757
MonitorElement * mMPF_J_Forward
Definition: JetAnalyzer.h:753
MonitorElement * mCHFracVSpT_EndCap
Definition: JetAnalyzer.h:408
MonitorElement * mHFHFracVSpT_Forward
Definition: JetAnalyzer.h:411
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:290
MonitorElement * mpTD_lowPt_EndCap
Definition: JetAnalyzer.h:509
bool isMiniAODJet_
Definition: JetAnalyzer.h:790
MonitorElement * mNHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:386
MonitorElement * mJetZBalance_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:743
MonitorElement * mSubJet2_SoftDrop_phi
Definition: JetAnalyzer.h:686
MonitorElement * mMuMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:397
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * mMuEn_highPt_EndCap
Definition: JetAnalyzer.h:448
MonitorElement * mLooseJIDPassFractionVSeta
Definition: JetAnalyzer.h:280
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:327
MonitorElement * mMPF_highZPt_J_EndCap
Definition: JetAnalyzer.h:768
MonitorElement * mPhEn_highPt_EndCap
Definition: JetAnalyzer.h:446
MonitorElement * mMultiplicityQG_lowPt_Barrel
Definition: JetAnalyzer.h:497
MonitorElement * mMVAPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:291
MonitorElement * mMuEn_mediumPt_EndCap
Definition: JetAnalyzer.h:443
MonitorElement * mqgLikelihood_lowPt_EndCap
Definition: JetAnalyzer.h:511
MonitorElement * mAxis2_mediumPt_Forward
Definition: JetAnalyzer.h:525
MonitorElement * mMuEn_lowPt_Barrel
Definition: JetAnalyzer.h:384
edm::EDGetTokenT< edm::ValueMap< float > > qgptDToken_
Definition: JetAnalyzer.h:127
MonitorElement * mTightMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:289
MonitorElement * mCHFrac_highPt_Barrel
Definition: JetAnalyzer.h:377
MonitorElement * mMuEn_highPt_Barrel
Definition: JetAnalyzer.h:394
MonitorElement * meCHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:600
static int position[264][3]
Definition: ReadPGInfo.cc:289
MonitorElement * mePhFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:634
MonitorElement * mHFHEn_highPt_Forward
Definition: JetAnalyzer.h:480
MonitorElement * mePtEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:641
MonitorElement * mNHEn_highPt_EndCap
Definition: JetAnalyzer.h:445
MonitorElement * mePtForwardPlus_BXm1Filled
Definition: JetAnalyzer.h:647
MonitorElement * mCHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:374
MonitorElement * mAxis2_lowPt_Forward
Definition: JetAnalyzer.h:521
MonitorElement * mPhi_Hi
Definition: JetAnalyzer.h:277
MonitorElement * mMultiplicityQG_mediumPt_Barrel
Definition: JetAnalyzer.h:501
edm::InputTag theTriggerResultsLabel_
Definition: JetAnalyzer.h:102
MonitorElement * mPtFirst
Definition: JetAnalyzer.h:270
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward
Definition: JetAnalyzer.h:782
MonitorElement * meNHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:595
MonitorElement * mPhFrac
Definition: JetAnalyzer.h:558
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:325
MonitorElement * mPt_Barrel
Definition: JetAnalyzer.h:231
MonitorElement * meCHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:632
MonitorElement * mElEn_lowPt_Barrel
Definition: JetAnalyzer.h:383
MonitorElement * mMass_highPt_Barrel
Definition: JetAnalyzer.h:455
MonitorElement * mHadEnergyInHE
Definition: JetAnalyzer.h:360
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:343
edm::EDGetTokenT< edm::ValueMap< int > > qgMultiplicityToken_
Definition: JetAnalyzer.h:125
MonitorElement * mMass_mediumPt_Barrel
Definition: JetAnalyzer.h:452
MonitorElement * meHFEMFracMinus_BXm1Empty
Definition: JetAnalyzer.h:603
MonitorElement * mChMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:465
MonitorElement * mConstituents
Definition: JetAnalyzer.h:226
MonitorElement * mNHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:372
MonitorElement * meEta_BXm1Filled
Definition: JetAnalyzer.h:648
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:223
MonitorElement * mPhFrac_highPt_Barrel
Definition: JetAnalyzer.h:379
MonitorElement * mCHFracVSpT_Barrel
Definition: JetAnalyzer.h:405
MonitorElement * mPhFracVSpT_EndCap
Definition: JetAnalyzer.h:410
MonitorElement * mChMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:398
MonitorElement * mMPF_J_Barrel
Definition: JetAnalyzer.h:751
MonitorElement * mJetZBalance_highZPt_J_EndCap
Definition: JetAnalyzer.h:744
MonitorElement * mMultiplicityQG_lowPt_Forward
Definition: JetAnalyzer.h:523
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:324
Log< level::Warning, false > LogWarning
MonitorElement * mPt_EndCap
Definition: JetAnalyzer.h:237
MonitorElement * mCHFracVSeta_lowPt
Definition: JetAnalyzer.h:414
MonitorElement * mpTD_mediumPt_Forward
Definition: JetAnalyzer.h:526
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:294
MonitorElement * mCHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:439
MonitorElement * mTightCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:305
MonitorElement * mSubJet2_SoftDrop_mass
Definition: JetAnalyzer.h:687
edm::EDGetTokenT< edm::ValueMap< float > > qgaxis2Token_
Definition: JetAnalyzer.h:128
MonitorElement * mNeutMultiplicity_highPt_Forward
Definition: JetAnalyzer.h:483
MonitorElement * mDPhiZJet
Definition: JetAnalyzer.h:736
double phi() const final
momentum azimuthal angle
MonitorElement * mqgLikelihood_highPt_Barrel
Definition: JetAnalyzer.h:506
MonitorElement * mqgLikelihood_mediumPt_Forward
Definition: JetAnalyzer.h:528
MonitorElement * mePtForwardMinus_BXm1Filled
Definition: JetAnalyzer.h:644
MonitorElement * mLooseCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:301
bool isPUPPIJet_
Definition: JetAnalyzer.h:791
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:492
MonitorElement * mPhFracVSpT_Barrel
Definition: JetAnalyzer.h:407
MonitorElement * mHFEMFrac_profile
Definition: JetAnalyzer.h:564
MonitorElement * mZMass
Definition: JetAnalyzer.h:737
MonitorElement * mMultiplicityQG_mediumPt_Forward
Definition: JetAnalyzer.h:527
MonitorElement * mqgLikelihood_lowPt_Forward
Definition: JetAnalyzer.h:524
MonitorElement * mDeltaPt_Z_j1_over_ZPt_100_J_Forward
Definition: JetAnalyzer.h:784
MonitorElement * mHFHFrac_lowPt_Forward
Definition: JetAnalyzer.h:470
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:295
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Forward
Definition: JetAnalyzer.h:760
MonitorElement * mMuMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:461
MonitorElement * mZJetAsymmetry
Definition: JetAnalyzer.h:738
MonitorElement * meHFHFracPlus_BXm1Empty
Definition: JetAnalyzer.h:605
MonitorElement * mConstituents_uncor
Definition: JetAnalyzer.h:220
MonitorElement * mNeutMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:399
MonitorElement * meCHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:636
MonitorElement * mPhi_Lo
Definition: JetAnalyzer.h:273
MonitorElement * mHFrac
Definition: JetAnalyzer.h:227
MonitorElement * mCutPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:314
short n90Hits
Definition: JetID.h:43
MonitorElement * mNeutMultiplicity_lowPt_Forward
Definition: JetAnalyzer.h:481
MonitorElement * mHFEEn_mediumPt_Forward
Definition: JetAnalyzer.h:477
MonitorElement * mSubJet1_SoftDrop_phi
Definition: JetAnalyzer.h:682
MonitorElement * mNeutMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:402
MonitorElement * verticesME
Definition: JetAnalyzer.h:338
MonitorElement * mPhFracVSeta_highPt
Definition: JetAnalyzer.h:422
MonitorElement * mAxis2_mediumPt_EndCap
Definition: JetAnalyzer.h:512
MonitorElement * mpTD_highPt_Forward
Definition: JetAnalyzer.h:530
#define LogDebug(id)
MonitorElement * mePtForwardMinus_BXm1Empty
Definition: JetAnalyzer.h:604
MonitorElement * mHFHFrac_profile
Definition: JetAnalyzer.h:565
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:755
MonitorElement * mSoftDropMass_boosted
Definition: JetAnalyzer.h:690
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_Barrel
Definition: JetAnalyzer.h:775
double eta() const final
momentum pseudorapidity
MonitorElement * mHadEnergyInHO
Definition: JetAnalyzer.h:357
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 285 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().

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

◆ bookMESetSelection()

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

Definition at line 1710 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().

1710  {
1711  ibooker.setCurrentFolder(DirName);
1712  // Generic jet parameters
1713  mPt = ibooker.book1D("Pt", "pt", ptBin_, ptMin_, ptMax_);
1714  mEta = ibooker.book1D("Eta", "eta", etaBin_, etaMin_, etaMax_);
1715  mPhi = ibooker.book1D("Phi", "phi", phiBin_, phiMin_, phiMax_);
1716  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt", mPt));
1717  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta", mEta));
1718  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi", mPhi));
1719  //if(!isJPTJet_){
1720  mConstituents = ibooker.book1D("Constituents", "# of constituents", 50, 0, 100);
1721  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents", mConstituents));
1722  //}
1723  mJetEnergyCorr = ibooker.book1D("JetEnergyCorr", "jet energy correction factor", 50, 0.0, 3.0);
1724  mJetEnergyCorrVSEta = ibooker.bookProfile(
1725  "JetEnergyCorrVSEta", "jet energy correction factor VS eta", etaBin_, etaMin_, etaMax_, 0.0, 3.0);
1727  ibooker.bookProfile("JetEnergyCorrVSPt", "jet energy correction factor VS pt", ptBin_, ptMin_, ptMax_, 0.0, 3.0);
1728 
1729  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorr", mJetEnergyCorr));
1730  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorrVSEta", mJetEnergyCorrVSEta));
1731  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JetEnergyCorrVSPt", mJetEnergyCorrVSPt));
1732 
1733  //fill for Dijets: concentrates on gluon jets -> fill leading two jets
1734  //fill for ZJets: concentrates on quark jets -> fill leading jet
1735  if (fill_CHS_histos && isPFJet_) {
1736  mAxis2_lowPt_Barrel = ibooker.book1D("qg_Axis2_lowPt_Barrel", "qg Axis2 #sigma_{2} lowPt Barrel", 50, 0., 0.20);
1738  ibooker.book1D("qg_pTD_lowPt_Barrel", "qg fragmentation function p_{T}^{D} lowPt Barrel", 50, 0.15, 1.05);
1740  ibooker.book1D("qg_multiplicity_lowPt_Barrel", "qg multiplicity lowPt Barrel", 50, 0, 50);
1742  ibooker.book1D("qg_Likelihood_lowPt_Barrel", "qg likelihood lowPt Barrel", 50, -1.1, 1.1);
1743  mAxis2_lowPt_EndCap = ibooker.book1D("qg_Axis2_lowPt_EndCap", "qg Axis2 #sigma_{2} lowPt EndCap", 50, 0., 0.20);
1745  ibooker.book1D("qg_pTD_lowPt_EndCap", "qg fragmentation function p_{T}^{D} lowPt EndCap", 50, 0.15, 1.05);
1747  ibooker.book1D("qg_multiplicity_lowPt_EndCap", "qg multiplicity lowPt EndCap", 50, 0, 100);
1749  ibooker.book1D("qg_Likelihood_lowPt_EndCap", "qg likelihood lowPt EndCap", 50, -1.1, 1.1);
1750  mAxis2_lowPt_Forward = ibooker.book1D("qg_Axis2_lowPt_Forward", "qg Axis2 #sigma_{2} lowPt Forward", 50, 0., 0.20);
1752  ibooker.book1D("qg_pTD_lowPt_Forward", "qg fragmentation function p_{T}^{D} lowPt Forward", 50, 0.15, 1.05);
1754  ibooker.book1D("qg_multiplicity_lowPt_Forward", "qg multiplicity lowPt Forward", 50, 0, 100);
1756  ibooker.book1D("qg_Likelihood_lowPt_Forward", "qg likelihood lowPt Forward", 50, -1.1, 1.1);
1757 
1758  map_of_MEs.insert(
1759  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_lowPt_Barrel", mAxis2_lowPt_Barrel));
1760  map_of_MEs.insert(
1761  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_lowPt_Barrel", mpTD_lowPt_Barrel));
1762  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_lowPt_Barrel",
1764  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_lowPt_Barrel",
1766  map_of_MEs.insert(
1767  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_lowPt_EndCap", mAxis2_lowPt_EndCap));
1768  map_of_MEs.insert(
1769  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_lowPt_EndCap", mpTD_lowPt_EndCap));
1770  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_lowPt_EndCap",
1772  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_lowPt_EndCap",
1774  map_of_MEs.insert(
1775  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_lowPt_Forward", mAxis2_lowPt_Forward));
1776  map_of_MEs.insert(
1777  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_lowPt_Forward", mpTD_lowPt_Forward));
1778  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_lowPt_Forward",
1780  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_lowPt_Forward",
1782 
1784  ibooker.book1D("qg_Axis2_mediumPt_Barrel", "qg Axis2 #sigma_{2} mediumPt Barrel", 50, 0., 0.20);
1786  ibooker.book1D("qg_pTD_mediumPt_Barrel", "qg fragmentation function p_{T}^{D} mediumPt Barrel", 50, 0.15, 1.05);
1788  ibooker.book1D("qg_multiplicity_mediumPt_Barrel", "qg multiplicity mediumPt Barrel", 50, 0, 100);
1790  ibooker.book1D("qg_Likelihood_mediumPt_Barrel", "qg likelihood mediumPt Barrel", 50, -1.1, 1.1);
1792  ibooker.book1D("qg_Axis2_mediumPt_EndCap", "qg Axis2 #sigma_{2} mediumPt EndCap", 50, 0., 0.20);
1794  ibooker.book1D("qg_pTD_mediumPt_EndCap", "qg fragmentation function p_{T}^{D} mediumPt EndCap", 50, 0.15, 1.05);
1796  ibooker.book1D("qg_multiplicity_mediumPt_EndCap", "qg multiplicity mediumPt EndCap", 50, 0, 100);
1798  ibooker.book1D("qg_Likelihood_mediumPt_EndCap", "qg likelihood mediumPt EndCap", 50, -1.1, 1.1);
1800  ibooker.book1D("qg_Axis2_mediumPt_Forward", "qg Axis2 #sigma_{2} mediumPt Forward", 50, 0., 0.20);
1801  mpTD_mediumPt_Forward = ibooker.book1D(
1802  "qg_pTD_mediumPt_Forward", "qg fragmentation function p_{T}^{D} mediumPt Forward", 50, 0.15, 1.05);
1804  ibooker.book1D("qg_multiplicity_mediumPt_Forward", "qg multiplicity mediumPt Forward", 50, 0, 100);
1806  ibooker.book1D("qg_Likelihood_mediumPt_Forward", "qg likelihood mediumPt Forward", 50, -1.1, 1.1);
1807 
1808  map_of_MEs.insert(
1809  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_mediumPt_Barrel", mAxis2_mediumPt_Barrel));
1810  map_of_MEs.insert(
1811  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_mediumPt_Barrel", mpTD_mediumPt_Barrel));
1812  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_mediumPt_Barrel",
1814  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_mediumPt_Barrel",
1816  map_of_MEs.insert(
1817  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_mediumPt_EndCap", mAxis2_mediumPt_EndCap));
1818  map_of_MEs.insert(
1819  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_mediumPt_EndCap", mpTD_mediumPt_EndCap));
1820  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_mediumPt_EndCap",
1822  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_mediumPt_EndCap",
1824  map_of_MEs.insert(
1825  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_mediumPt_Forward", mAxis2_mediumPt_Forward));
1826  map_of_MEs.insert(
1827  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_mediumPt_Forward", mpTD_mediumPt_Forward));
1828  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_mediumPt_Forward",
1830  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_mediumPt_Forward",
1832 
1833  mAxis2_highPt_Barrel = ibooker.book1D("qg_Axis2_highPt_Barrel", "qg Axis2 #sigma_{2} highPt Barrel", 50, 0., 0.20);
1835  ibooker.book1D("qg_pTD_highPt_Barrel", "qg fragmentation function p_{T}^{D} highPt Barrel", 50, 0.15, 1.05);
1837  ibooker.book1D("qg_multiplicity_highPt_Barrel", "qg multiplicity highPt Barrel", 50, 0, 100);
1839  ibooker.book1D("qg_Likelihood_highPt_Barrel", "qg likelihood highPt Barrel", 50, -1.1, 1.1);
1840  mAxis2_highPt_EndCap = ibooker.book1D("qg_Axis2_highPt_EndCap", "qg Axis2 #sigma_{2} highPt EndCap", 50, 0., 0.20);
1842  ibooker.book1D("qg_pTD_highPt_EndCap", "qg fragmentation function p_{T}^{D} highPt EndCap", 50, 0.15, 1.05);
1844  ibooker.book1D("qg_multiplicity_highPt_EndCap", "qg multiplicity highPt EndCap", 50, 0, 100);
1846  ibooker.book1D("qg_Likelihood_highPt_EndCap", "qg likelihood highPt EndCap", 50, -1.1, 1.1);
1848  ibooker.book1D("qg_Axis2_highPt_Forward", "qg Axis2 #sigma_{2} highPt Forward", 50, 0., 0.20);
1850  ibooker.book1D("qg_pTD_highPt_Forward", "qg fragmentation function p_{T}^{D} highPt Forward", 50, 0.15, 1.05);
1852  ibooker.book1D("qg_multiplicity_highPt_Forward", "qg multiplicity highPt Forward", 50, 0, 100);
1854  ibooker.book1D("qg_Likelihood_highPt_Forward", "qg likelihood highPt Forward", 50, -1.1, 1.1);
1855 
1856  map_of_MEs.insert(
1857  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_highPt_Barrel", mAxis2_highPt_Barrel));
1858  map_of_MEs.insert(
1859  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_highPt_Barrel", mpTD_highPt_Barrel));
1860  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_highPt_Barrel",
1862  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_highPt_Barrel",
1864  map_of_MEs.insert(
1865  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_highPt_EndCap", mAxis2_highPt_EndCap));
1866  map_of_MEs.insert(
1867  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_highPt_EndCap", mpTD_highPt_EndCap));
1868  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_highPt_EndCap",
1870  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_highPt_EndCap",
1872  map_of_MEs.insert(
1873  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Axis2_highPt_Forward", mAxis2_highPt_Forward));
1874  map_of_MEs.insert(
1875  std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_pTD_highPt_Forward", mpTD_highPt_Forward));
1876  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_multiplicity_highPt_Forward",
1878  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "qg_Likelihood_highPt_Forward",
1880  }
1881 
1882  if (DirName.find("DiJet") != std::string::npos) {
1883  mDPhi = ibooker.book1D("DPhi", "dPhi btw the two leading jets", 100, 0., acos(-1.));
1884  mDijetAsymmetry = ibooker.book1D("DijetAsymmetry", "DijetAsymmetry", 100, -1., 1.);
1885  mDijetBalance = ibooker.book1D("DijetBalance", "DijetBalance", 100, -2., 2.);
1886  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DPhi", mDPhi));
1887  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DijetAsymmetry", mDijetAsymmetry));
1888  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DijetBalance", mDijetBalance));
1889 
1890  if (isPFJet_ || isMiniAODJet_) {
1891  mChargedMultiplicity = ibooker.book1D("ChargedMultiplicity", "charged multiplicity ", 50, 0, 100);
1892  mNeutralMultiplicity = ibooker.book1D("NeutralMultiplicity", "neutral multiplicity", 50, 0, 100);
1893  mMuonMultiplicity = ibooker.book1D("MuonMultiplicity", "muon multiplicity", 50, 0, 100);
1894 
1895  map_of_MEs.insert(
1896  std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMultiplicity", mChargedMultiplicity));
1897  map_of_MEs.insert(
1898  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralMultiplicity", mNeutralMultiplicity));
1899  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuonMultiplicity", mMuonMultiplicity));
1900 
1902  "ChargedMultiplicity_profile", "charged multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1904  "NeutralMultiplicity_profile", "neutral multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1906  ibooker.bookProfile("MuonMultiplicity_profile", "muon multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1910 
1911  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ChargedMultiplicity_profile",
1913  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralMultiplicity_profile",
1915  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MuonMultiplicity_profile",
1917 
1918  mNeutralFraction = ibooker.book1D("NeutralConstituentsFraction", "Neutral Constituents Fraction", 100, 0, 1);
1919  map_of_MEs.insert(
1920  std::pair<std::string, MonitorElement*>(DirName + "/" + "NeutralConstituentsFraction", mNeutralFraction));
1921  }
1922  }
1923 
1924  if (DirName.find("ZJets") != std::string::npos) {
1925  mZMass = ibooker.book1D("DiMuonMass", "DiMuonMass", 50, 71., 111.);
1926  mDPhiZJet = ibooker.book1D("DPhiZJ", "dPhi btw Z and Jet1", 100, 0., acos(-1.));
1927  mZJetAsymmetry = ibooker.book1D("ZJetAsymmetry", "ZJetAsymmetry", 100, -1., 1.);
1929  ibooker.book1D("JZB_lowZPt_J_Barrel", "ZJetBalance (pTJet1-pTZ) (30<pTZ<90), |#eta_{jet}|<1.3", 50, -75., 75);
1931  ibooker.book1D("JZB_mediumZPt_J_Barrel", "ZJetBalance (90<pTZ<140), |#eta_{jet}|<1.3", 50, -75., 75);
1933  ibooker.book1D("JZB_highZPt_J_Barrel", "ZJetBalance (pTZ>140), |#eta_{jet}|<1.3", 50, -75., 75.);
1935  ibooker.book1D("JZB_lowZPt_J_EndCap", "ZJetBalance (30<pTZ<90), 1.3<|#eta_{jet}|<3.0", 50, -75., 75);
1937  ibooker.book1D("JZB_mediumZPt_J_EndCap", "ZJetBalance (90<pTZ<140), 1.3<|#eta_{jet}|<3.0", 50, -75., 75);
1939  ibooker.book1D("JZB_highZPt_J_EndCap", "ZJetBalance (pTZ>140), 1.3<|#eta_{jet}|<3.0", 50, -75., 75.);
1941  ibooker.book1D("JZB_lowZPt_J_Forward", "ZJetBalance (30<pTZ<90), |#eta_{jet}|>3.0", 50, -75., 75);
1943  ibooker.book1D("JZB_mediumZPt_J_Forward", "ZJetBalance (90<pTZ<140), |#eta_{jet}|>3.0", 50, -75., 75);
1945  ibooker.book1D("JZB_highZPt_J_Forward", "ZJetBalance (pTZ>140), |#eta_{jet}|>3.0", 50, -75., 75.);
1946 
1947  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DiMuonMass", mZMass));
1948  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DPhiZJ", mDPhiZJet));
1949  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "ZJetAsymmetry", mZJetAsymmetry));
1950  map_of_MEs.insert(
1951  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_lowZPt_J_Barrel", mJetZBalance_lowZPt_J_Barrel));
1952  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_mediumZPt_J_Barrel",
1954  map_of_MEs.insert(
1955  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_highZPt_J_Barrel", mJetZBalance_highZPt_J_Barrel));
1956  map_of_MEs.insert(
1957  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_lowZPt_J_EndCap", mJetZBalance_lowZPt_J_EndCap));
1958  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_mediumZPt_J_EndCap",
1960  map_of_MEs.insert(
1961  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_highZPt_J_EndCap", mJetZBalance_highZPt_J_EndCap));
1962  map_of_MEs.insert(
1963  std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_lowZPt_J_Forward", mJetZBalance_lowZPt_J_Forward));
1964  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_mediumZPt_J_Forward",
1966  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "JZB_highZPt_J_Forward",
1968 
1969  mJ1Pt_over_ZPt_J_Barrel = ibooker.book1D("J1Pt_over_ZPt_J_Barrel", "Jet1_Pt/ZPt, Barrel", 50, 0., 3.0);
1970  mJ1Pt_over_ZPt_J_EndCap = ibooker.book1D("J1Pt_over_ZPt_J_EndCap", "Jet1_Pt/ZPt, EndCap", 50, 0., 3.0);
1971  mJ1Pt_over_ZPt_J_Forward = ibooker.book1D("J1Pt_over_ZPt_J_Forward", "Jet1_Pt/ZPt, Forward", 50, 0., 3.0);
1972 
1973  map_of_MEs.insert(
1974  std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_J_Barrel", mJ1Pt_over_ZPt_J_Barrel));
1975  map_of_MEs.insert(
1976  std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_J_EndCap", mJ1Pt_over_ZPt_J_EndCap));
1977  map_of_MEs.insert(
1978  std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_J_Forward", mJ1Pt_over_ZPt_J_Forward));
1979 
1981  ibooker.book1D("J1Pt_over_ZPt_lowZPt_J_Barrel", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|<1.3", 50, 0., 3.0);
1983  ibooker.book1D("J1Pt_over_ZPt_mediumZPt_J_Barrel", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|<1.3", 50, 0., 3.0);
1985  ibooker.book1D("J1Pt_over_ZPt_highPt_J_Barrel", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|<1.3", 50, 0., 3.0);
1987  ibooker.book1D("J1Pt_over_ZPt_lowZPt_J_EndCap", "Jet1_Pt/ZPt (30<pTZ<90), 1.3<|#eta_{jet}|<3.0", 50, 0., 3.0);
1989  "J1Pt_over_ZPt_mediumZPt_J_EndCap", "Jet1_Pt/ZPt (90<pTZ<140), 1.3<|#eta_{jet}|<3.0", 50, 0., 3.0);
1991  ibooker.book1D("J1Pt_over_ZPt_highZPt_J_EndCap", "Jet1_Pt/ZPt (pTZ>140), 1.3<|#eta_{jet}|<3.0", 50, 0., 3.0);
1993  ibooker.book1D("J1Pt_over_ZPt_lowZPt_J_Forward", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|>3.0", 50, 0., 3.0);
1995  ibooker.book1D("J1Pt_over_ZPt_mediumPt_J_Forward", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|>3.0", 50, 0., 3.0);
1997  ibooker.book1D("J1Pt_over_ZPt_highZPt_J_Forward", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|>3.0", 50, 0., 3.0);
1998 
1999  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Barrel",
2001  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Barrel",
2003  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Barrel",
2005  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_EndCap",
2007  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_EndCap",
2009  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_highZPt_J_EndCap",
2011  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_lowZPt_J_Forward",
2013  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_mediumZPt_J_Forward",
2015  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "J1Pt_over_ZPt_highZPt_J_Forward",
2017 
2018  mMPF_J_Barrel = ibooker.book1D("MPF_J_Barrel", "Jet1_Pt/ZPt, Barrel", 50, 0., 2.0);
2019  mMPF_J_EndCap = ibooker.book1D("MPF_J_EndCap", "Jet1_Pt/ZPt, EndCap", 50, 0., 2.0);
2020  mMPF_J_Forward = ibooker.book1D("MPF_J_Forward", "Jet1_Pt/ZPt, Forward", 50, 0., 2.0);
2021 
2022  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_J_Barrel", mMPF_J_Barrel));
2023  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_J_EndCap", mMPF_J_EndCap));
2024  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_J_Forward", mMPF_J_Forward));
2025 
2027  ibooker.book1D("MPF_lowZPt_J_Barrel", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|<1.3", 50, 0., 2.0);
2029  ibooker.book1D("MPF_mediumZPt_J_Barrel", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|<1.3", 50, 0., 2.0);
2031  ibooker.book1D("MPF_highPt_J_Barrel", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|<1.3", 50, 0., 2.0);
2033  ibooker.book1D("MPF_lowZPt_J_EndCap", "Jet1_Pt/ZPt (30<pTZ<90), 1.3<|#eta_{jet}|<3.0", 50, 0., 2.0);
2035  ibooker.book1D("MPF_mediumZPt_J_EndCap", "Jet1_Pt/ZPt (90<pTZ<140), 1.3<|#eta_{jet}|<3.0", 50, 0., 2.0);
2037  ibooker.book1D("MPF_highZPt_J_EndCap", "Jet1_Pt/ZPt (pTZ>140), 1.3<|#eta_{jet}|<3.0", 50, 0., 2.0);
2039  ibooker.book1D("MPF_lowZPt_J_Forward", "Jet1_Pt/ZPt (30<pTZ<90), |#eta_{jet}|>3.0", 50, 0., 2.0);
2041  ibooker.book1D("MPF_mediumPt_J_Forward", "Jet1_Pt/ZPt (90<pTZ<140), |#eta_{jet}|>3.0", 50, 0., 2.0);
2043  ibooker.book1D("MPF_highZPt_J_Forward", "Jet1_Pt/ZPt (pTZ>140), |#eta_{jet}|>3.0", 50, 0., 2.0);
2044 
2045  map_of_MEs.insert(
2046  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_lowZPt_J_Barrel", mMPF_lowZPt_J_Barrel));
2047  map_of_MEs.insert(
2048  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_mediumZPt_J_Barrel", mMPF_mediumZPt_J_Barrel));
2049  map_of_MEs.insert(
2050  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_highZPt_J_Barrel", mMPF_highZPt_J_Barrel));
2051  map_of_MEs.insert(
2052  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_lowZPt_J_EndCap", mMPF_lowZPt_J_EndCap));
2053  map_of_MEs.insert(
2054  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_mediumZPt_J_EndCap", mMPF_mediumZPt_J_EndCap));
2055  map_of_MEs.insert(
2056  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_highZPt_J_EndCap", mMPF_highZPt_J_EndCap));
2057  map_of_MEs.insert(
2058  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_lowZPt_J_Forward", mMPF_lowZPt_J_Forward));
2059  map_of_MEs.insert(
2060  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_mediumZPt_J_Forward", mMPF_mediumZPt_J_Forward));
2061  map_of_MEs.insert(
2062  std::pair<std::string, MonitorElement*>(DirName + "/" + "MPF_highZPt_J_Forward", mMPF_highZPt_J_Forward));
2063 
2065  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);
2067  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);
2069  "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel", "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel", 50, -1.00, 1.00);
2071  "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel", "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel", 50, -1.00, 1.00);
2073  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_290_J_Barrel", "DeltaPt_Z_j1_over_ZPt_290_J_Barrel", 50, -1.00, 1.00);
2075  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);
2077  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);
2079  "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap", "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap", 50, -1.00, 1.00);
2081  "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap", "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap", 50, -1.00, 1.00);
2083  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_290_J_EndCap", "DeltaPt_Z_j1_over_ZPt_290_J_EndCap", 50, -1.00, 1.00);
2085  "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward", "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward", 50, -1.00, 1.00);
2087  "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward", "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward", 50, -1.00, 1.00);
2089  ibooker.book1D("DeltaPt_Z_j1_over_ZPt_100_J_Forward", "DeltaPt_Z_j1_over_ZPt_100_J_Forward", 50, -1.00, 1.00);
2090 
2091  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Barrel",
2093  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_Barrel",
2095  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_Barrel",
2097  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_Barrel",
2099  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_Barrel",
2101  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_EndCap",
2103  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_75_J_EndCap",
2105  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_75_150_J_EndCap",
2107  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_150_290_J_EndCap",
2109  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_290_J_EndCap",
2111  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_30_55_J_Forward",
2113  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_55_100_J_Forward",
2115  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "DeltaPt_Z_j1_over_ZPt_100_J_Forward",
2117  }
2118  // Book NPV profiles
2119  //----------------------------------------------------------------------------
2120  mPt_profile = ibooker.bookProfile("Pt_profile", "pt", nbinsPV_, nPVlow_, nPVhigh_, ptBin_, ptMin_, ptMax_);
2121  mEta_profile = ibooker.bookProfile("Eta_profile", "eta", nbinsPV_, nPVlow_, nPVhigh_, etaBin_, etaMin_, etaMax_);
2122  mPhi_profile = ibooker.bookProfile("Phi_profile", "phi", nbinsPV_, nPVlow_, nPVhigh_, phiBin_, phiMin_, phiMax_);
2123  //if(!isJPTJet_){
2125  ibooker.bookProfile("Constituents_profile", "# of constituents", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
2126  //}
2127  // met NPV profiles x-axis title
2128  //----------------------------------------------------------------------------
2129  mPt_profile->setAxisTitle("nvtx", 1);
2130  mEta_profile->setAxisTitle("nvtx", 1);
2131  mPhi_profile->setAxisTitle("nvtx", 1);
2132  //if(!isJPTJet_){
2133  mConstituents_profile->setAxisTitle("nvtx", 1);
2134  map_of_MEs.insert(
2135  std::pair<std::string, MonitorElement*>(DirName + "/" + "Constituents_profile", mConstituents_profile));
2136  //}
2137 
2138  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Pt_profile", mPt_profile));
2139  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Eta_profile", mEta_profile));
2140  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "Phi_profile", mPhi_profile));
2141  //
2142  //--- Calo jet melection only
2143 
2144  if (isCaloJet_) {
2145  mHFrac = ibooker.book1D("HFrac", "HFrac", 140, -0.2, 1.2);
2146  mEFrac = ibooker.book1D("EFrac", "EFrac", 140, -0.2, 1.2);
2147  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac", mHFrac));
2148  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac", mEFrac));
2149 
2150  mHFrac_profile = ibooker.bookProfile("HFrac_profile", "HFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
2151  mEFrac_profile = ibooker.bookProfile("EFrac_profile", "EFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
2152  mHFrac_profile->setAxisTitle("nvtx", 1);
2153  mEFrac_profile->setAxisTitle("nvtx", 1);
2154  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFrac_profile", mHFrac_profile));
2155  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "EFrac_profile", mEFrac_profile));
2156 
2157  // CaloJet specific
2158  //JetID variables
2159  mresEMF = ibooker.book1D("resEMF", "resEMF", 50, 0., 1.);
2160  mN90Hits = ibooker.book1D("N90Hits", "N90Hits", 50, 0., 100);
2161  mfHPD = ibooker.book1D("fHPD", "fHPD", 50, 0., 1.);
2162  mfRBX = ibooker.book1D("fRBX", "fRBX", 50, 0., 1.);
2163 
2164  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "resEMF", mresEMF));
2165  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "N90Hits", mN90Hits));
2166  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "fHPD", mfHPD));
2167  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "fRBX", mfRBX));
2168  }
2169 
2170  if (isPFJet_ || isMiniAODJet_) {
2171  //barrel histograms for PFJets
2172  // energy fractions
2173  mCHFrac = ibooker.book1D("CHFrac", "CHFrac", 120, -0.1, 1.1);
2174  mNHFrac = ibooker.book1D("NHFrac", "NHFrac", 120, -0.1, 1.1);
2175  mPhFrac = ibooker.book1D("PhFrac", "PhFrac", 120, -0.1, 1.1);
2176  mHFEMFrac = ibooker.book1D("HFEMFrac", "HFEMFrac", 120, -0.1, 1.1);
2177  mHFHFrac = ibooker.book1D("HFHFrac", "HFHFrac", 120, -0.1, 1.1);
2178 
2179  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac", mCHFrac));
2180  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac", mNHFrac));
2181  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac", mPhFrac));
2182  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFrac", mHFEMFrac));
2183  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac", mHFHFrac));
2184 
2185  // Book NPV profiles
2186  //----------------------------------------------------------------------------
2187  mCHFrac_profile =
2188  ibooker.bookProfile("CHFrac_profile", "charged HAD fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2189  mNHFrac_profile =
2190  ibooker.bookProfile("NHFrac_profile", "neutral HAD fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2191  mPhFrac_profile =
2192  ibooker.bookProfile("PhFrac_profile", "Photon Fraction Profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2193  mHFEMFrac_profile = ibooker.bookProfile(
2194  "HFEMFrac_profile", "HF electomagnetic fraction Profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2196  ibooker.bookProfile("HFHFrac_profile", "HF hadronic fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 1);
2197 
2198  // met NPV profiles x-axis title
2199  //----------------------------------------------------------------------------
2200  mCHFrac_profile->setAxisTitle("nvtx", 1);
2201  mNHFrac_profile->setAxisTitle("nvtx", 1);
2202  mPhFrac_profile->setAxisTitle("nvtx", 1);
2203  mHFEMFrac_profile->setAxisTitle("nvtx", 1);
2204  mHFHFrac_profile->setAxisTitle("nvtx", 1);
2205 
2206  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "CHFrac_profile", mCHFrac_profile));
2207  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "NHFrac_profile", mNHFrac_profile));
2208  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "PhFrac_profile", mPhFrac_profile));
2209  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFEMFrac_profile", mHFEMFrac_profile));
2210  map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "HFHFrac_profile", mHFHFrac_profile));
2211  }
2212 }
MonitorElement * mqgLikelihood_lowPt_Barrel
Definition: JetAnalyzer.h:498
MonitorElement * mJetZBalance_lowZPt_J_Barrel
Definition: JetAnalyzer.h:739
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_Barrel
Definition: JetAnalyzer.h:776
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Barrel
Definition: JetAnalyzer.h:772
MonitorElement * mfRBX
Definition: JetAnalyzer.h:366
MonitorElement * mMultiplicityQG_highPt_Forward
Definition: JetAnalyzer.h:531
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_EndCap
Definition: JetAnalyzer.h:777
MonitorElement * mJetZBalance_lowZPt_J_Forward
Definition: JetAnalyzer.h:745
double ptMin_
Definition: JetAnalyzer.h:177
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_100_J_Forward
Definition: JetAnalyzer.h:783
MonitorElement * mJetZBalance_highZPt_J_Barrel
Definition: JetAnalyzer.h:741
MonitorElement * mMPF_mediumZPt_J_Forward
Definition: JetAnalyzer.h:770
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * mqgLikelihood_highPt_EndCap
Definition: JetAnalyzer.h:519
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Barrel
Definition: JetAnalyzer.h:754
MonitorElement * mMultiplicityQG_mediumPt_EndCap
Definition: JetAnalyzer.h:514
MonitorElement * mHFHFrac
Definition: JetAnalyzer.h:560
MonitorElement * mNHFrac
Definition: JetAnalyzer.h:557
MonitorElement * mMPF_J_EndCap
Definition: JetAnalyzer.h:752
MonitorElement * mqgLikelihood_mediumPt_Barrel
Definition: JetAnalyzer.h:502
MonitorElement * mDeltaPt_Z_j1_over_ZPt_290_J_EndCap
Definition: JetAnalyzer.h:781
MonitorElement * mMPF_highZPt_J_Forward
Definition: JetAnalyzer.h:771
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:364
MonitorElement * mCHFrac
Definition: JetAnalyzer.h:556
MonitorElement * mJetZBalance_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:740
MonitorElement * mCHFrac_profile
Definition: JetAnalyzer.h:561
MonitorElement * mpTD_mediumPt_EndCap
Definition: JetAnalyzer.h:513
bool isCaloJet_
Definition: JetAnalyzer.h:788
MonitorElement * mMPF_lowZPt_J_EndCap
Definition: JetAnalyzer.h:766
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:491
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:328
MonitorElement * mDeltaPt_Z_j1_over_ZPt_150_290_J_EndCap
Definition: JetAnalyzer.h:780
MonitorElement * mHFEMFrac
Definition: JetAnalyzer.h:559
MonitorElement * mEta
Definition: JetAnalyzer.h:215
std::string DirName
Definition: JetAnalyzer.h:160
MonitorElement * mpTD_lowPt_Forward
Definition: JetAnalyzer.h:522
MonitorElement * mMPF_highZPt_J_Barrel
Definition: JetAnalyzer.h:765
MonitorElement * mMultiplicityQG_lowPt_EndCap
Definition: JetAnalyzer.h:510
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:550
MonitorElement * mAxis2_mediumPt_Barrel
Definition: JetAnalyzer.h:499
MonitorElement * mAxis2_highPt_Forward
Definition: JetAnalyzer.h:529
MonitorElement * mpTD_mediumPt_Barrel
Definition: JetAnalyzer.h:500
MonitorElement * mDPhi
Definition: JetAnalyzer.h:265
MonitorElement * mresEMF
Definition: JetAnalyzer.h:367
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_Barrel
Definition: JetAnalyzer.h:774
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:786
double nPVhigh_
Definition: JetAnalyzer.h:190
MonitorElement * mNHFrac_profile
Definition: JetAnalyzer.h:562
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:326
MonitorElement * mpTD_highPt_EndCap
Definition: JetAnalyzer.h:517
MonitorElement * mDijetBalance
Definition: JetAnalyzer.h:317
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_EndCap
Definition: JetAnalyzer.h:778
MonitorElement * mJ1Pt_over_ZPt_J_Barrel
Definition: JetAnalyzer.h:748
MonitorElement * mJ1Pt_over_ZPt_J_EndCap
Definition: JetAnalyzer.h:749
MonitorElement * mAxis2_highPt_Barrel
Definition: JetAnalyzer.h:503
MonitorElement * mJetZBalance_mediumZPt_J_Forward
Definition: JetAnalyzer.h:746
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:551
MonitorElement * mMultiplicityQG_highPt_EndCap
Definition: JetAnalyzer.h:518
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:536
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:408
double ptMax_
Definition: JetAnalyzer.h:178
MonitorElement * mJetZBalance_lowZPt_J_EndCap
Definition: JetAnalyzer.h:742
MonitorElement * mPhi
Definition: JetAnalyzer.h:216
MonitorElement * mpTD_highPt_Barrel
Definition: JetAnalyzer.h:504
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Forward
Definition: JetAnalyzer.h:762
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:552
bool fill_CHS_histos
Definition: JetAnalyzer.h:795
MonitorElement * mPhFrac_profile
Definition: JetAnalyzer.h:563
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_Barrel
Definition: JetAnalyzer.h:756
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:323
MonitorElement * mDeltaPt_Z_j1_over_ZPt_55_75_J_Barrel
Definition: JetAnalyzer.h:773
MonitorElement * mDeltaPt_Z_j1_over_ZPt_75_150_J_EndCap
Definition: JetAnalyzer.h:779
MonitorElement * mAxis2_highPt_EndCap
Definition: JetAnalyzer.h:516
MonitorElement * mMultiplicityQG_highPt_Barrel
Definition: JetAnalyzer.h:505
MonitorElement * mMPF_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:764
MonitorElement * mJ1Pt_over_ZPt_J_Forward
Definition: JetAnalyzer.h:750
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Forward
Definition: JetAnalyzer.h:761
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:758
MonitorElement * mEFrac
Definition: JetAnalyzer.h:228
double phiMin_
Definition: JetAnalyzer.h:173
MonitorElement * mMPF_lowZPt_J_Barrel
Definition: JetAnalyzer.h:763
double nPVlow_
Definition: JetAnalyzer.h:189
MonitorElement * mMPF_lowZPt_J_Forward
Definition: JetAnalyzer.h:769
MonitorElement * mfHPD
Definition: JetAnalyzer.h:365
MonitorElement * mDijetAsymmetry
Definition: JetAnalyzer.h:318
MonitorElement * mpTD_lowPt_Barrel
Definition: JetAnalyzer.h:496
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:222
MonitorElement * mJetZBalance_highZPt_J_Forward
Definition: JetAnalyzer.h:747
MonitorElement * mAxis2_lowPt_EndCap
Definition: JetAnalyzer.h:508
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:490
MonitorElement * mJ1Pt_over_ZPt_highZPt_J_EndCap
Definition: JetAnalyzer.h:759
MonitorElement * mPt
Definition: JetAnalyzer.h:210
MonitorElement * mqgLikelihood_highPt_Forward
Definition: JetAnalyzer.h:532
double etaMin_
Definition: JetAnalyzer.h:169
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:224
double etaMax_
Definition: JetAnalyzer.h:170
MonitorElement * mAxis2_lowPt_Barrel
Definition: JetAnalyzer.h:495
MonitorElement * mMPF_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:767
MonitorElement * mqgLikelihood_mediumPt_EndCap
Definition: JetAnalyzer.h:515
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_EndCap
Definition: JetAnalyzer.h:757
MonitorElement * mMPF_J_Forward
Definition: JetAnalyzer.h:753
MonitorElement * mpTD_lowPt_EndCap
Definition: JetAnalyzer.h:509
bool isMiniAODJet_
Definition: JetAnalyzer.h:790
MonitorElement * mJetZBalance_mediumZPt_J_EndCap
Definition: JetAnalyzer.h:743
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:327
MonitorElement * mMPF_highZPt_J_EndCap
Definition: JetAnalyzer.h:768
MonitorElement * mMultiplicityQG_lowPt_Barrel
Definition: JetAnalyzer.h:497
MonitorElement * mqgLikelihood_lowPt_EndCap
Definition: JetAnalyzer.h:511
MonitorElement * mAxis2_mediumPt_Forward
Definition: JetAnalyzer.h:525
MonitorElement * mAxis2_lowPt_Forward
Definition: JetAnalyzer.h:521
MonitorElement * mMultiplicityQG_mediumPt_Barrel
Definition: JetAnalyzer.h:501
MonitorElement * mDeltaPt_Z_j1_over_ZPt_30_55_J_Forward
Definition: JetAnalyzer.h:782
MonitorElement * mPhFrac
Definition: JetAnalyzer.h:558
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:325
MonitorElement * mConstituents
Definition: JetAnalyzer.h:226
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:223
MonitorElement * mMPF_J_Barrel
Definition: JetAnalyzer.h:751
MonitorElement * mJetZBalance_highZPt_J_EndCap
Definition: JetAnalyzer.h:744
MonitorElement * mMultiplicityQG_lowPt_Forward
Definition: JetAnalyzer.h:523
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:324
MonitorElement * mpTD_mediumPt_Forward
Definition: JetAnalyzer.h:526
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:174
MonitorElement * mDPhiZJet
Definition: JetAnalyzer.h:736
MonitorElement * mqgLikelihood_highPt_Barrel
Definition: JetAnalyzer.h:506
MonitorElement * mqgLikelihood_mediumPt_Forward
Definition: JetAnalyzer.h:528
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:492
MonitorElement * mHFEMFrac_profile
Definition: JetAnalyzer.h:564
MonitorElement * mZMass
Definition: JetAnalyzer.h:737
MonitorElement * mMultiplicityQG_mediumPt_Forward
Definition: JetAnalyzer.h:527
MonitorElement * mqgLikelihood_lowPt_Forward
Definition: JetAnalyzer.h:524
MonitorElement * mDeltaPt_Z_j1_over_ZPt_100_J_Forward
Definition: JetAnalyzer.h:784
MonitorElement * mJ1Pt_over_ZPt_lowZPt_J_Forward
Definition: JetAnalyzer.h:760
MonitorElement * mZJetAsymmetry
Definition: JetAnalyzer.h:738
MonitorElement * mHFrac
Definition: JetAnalyzer.h:227
MonitorElement * mAxis2_mediumPt_EndCap
Definition: JetAnalyzer.h:512
MonitorElement * mpTD_highPt_Forward
Definition: JetAnalyzer.h:530
MonitorElement * mHFHFrac_profile
Definition: JetAnalyzer.h:565
MonitorElement * mJ1Pt_over_ZPt_mediumZPt_J_Barrel
Definition: JetAnalyzer.h:755
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:775

◆ dqmBeginRun()

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

Initialize run-based parameters.

Reimplemented from DQMEDAnalyzer.

Definition at line 2215 of file JetAnalyzer.cc.

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

2215  {
2216  //LogDebug("JetAnalyzer") << "beginRun, run " << run.id();
2217  //
2218 
2219  if (highPtJetEventFlag_->on())
2220  highPtJetEventFlag_->initRun(iRun, iSetup);
2221  if (lowPtJetEventFlag_->on())
2222  lowPtJetEventFlag_->initRun(iRun, iSetup);
2223 
2224  if (highPtJetEventFlag_->on() &&
2225  highPtJetEventFlag_->expressionsFromDB(highPtJetEventFlag_->hltDBKey(), iSetup)[0] != "CONFIG_ERROR")
2227  if (lowPtJetEventFlag_->on() &&
2228  lowPtJetEventFlag_->expressionsFromDB(lowPtJetEventFlag_->hltDBKey(), iSetup)[0] != "CONFIG_ERROR")
2230  // if (!jetCorrectionService_.empty()){
2231  // energycorrected=true;
2232  // }
2233  //--- htlConfig_
2234  //processname_="HLT";
2235  bool changed(true);
2236  hltInitialized_ = hltConfig_.init(iRun, iSetup, processname_, changed);
2237  if (!hltInitialized_) {
2238  //if (!hltConfig_.init(iRun,iSetup,processname_,changed)) {
2239  processname_ = "FU";
2240  hltInitialized_ = hltConfig_.init(iRun, iSetup, processname_, changed);
2241  if (!hltInitialized_) {
2242  //if (!hltConfig_.init(iRun,iSetup,processname_,changed)){
2243  LogDebug("JetAnalyzer") << "HLTConfigProvider failed to initialize.";
2244  }
2245  }
2246 
2247  const L1GtTriggerMenu* menu = &iSetup.getData(l1gtTrigMenuToken_);
2248  for (CItAlgo techTrig = menu->gtTechnicalTriggerMap().begin(); techTrig != menu->gtTechnicalTriggerMap().end();
2249  ++techTrig) {
2250  if ((techTrig->second).algoName() == m_l1algoname_) {
2251  m_bitAlgTechTrig_ = (techTrig->second).algoBitNumber();
2252  break;
2253  }
2254  }
2255 }
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Definition: EventSetup.h:119
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:344
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:204
edm::ESGetToken< L1GtTriggerMenu, L1GtTriggerMenuRcd > l1gtTrigMenuToken_
Definition: JetAnalyzer.h:134
std::string m_l1algoname_
Definition: JetAnalyzer.h:203
HLTConfigProvider hltConfig_
Definition: JetAnalyzer.h:333
bool hltInitialized_
Definition: JetAnalyzer.h:330
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:334
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:340
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:341
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:343
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 198 of file JetAnalyzer.h.

◆ balanceThirdJetCut_

double JetAnalyzer::balanceThirdJetCut_
private

Definition at line 199 of file JetAnalyzer.h.

◆ bypassAllPVChecks_

bool JetAnalyzer::bypassAllPVChecks_
private

Definition at line 331 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 114 of file JetAnalyzer.h.

◆ cleaningParameters_

edm::ParameterSet JetAnalyzer::cleaningParameters_
private

Definition at line 137 of file JetAnalyzer.h.

◆ cleanupME

MonitorElement* JetAnalyzer::cleanupME
private

Definition at line 337 of file JetAnalyzer.h.

◆ cutBasedPUDiscriminantToken_

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

Definition at line 121 of file JetAnalyzer.h.

◆ cutBasedPUIDToken_

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

Definition at line 122 of file JetAnalyzer.h.

◆ DCSFilterForDCSMonitoring_

JetMETDQMDCSFilter* JetAnalyzer::DCSFilterForDCSMonitoring_
private

Definition at line 568 of file JetAnalyzer.h.

◆ DCSFilterForJetMonitoring_

JetMETDQMDCSFilter* JetAnalyzer::DCSFilterForJetMonitoring_
private

Definition at line 567 of file JetAnalyzer.h.

◆ DirName

std::string JetAnalyzer::DirName
private

Definition at line 160 of file JetAnalyzer.h.

◆ eBin_

int JetAnalyzer::eBin_
private

Definition at line 180 of file JetAnalyzer.h.

◆ eMax_

double JetAnalyzer::eMax_
private

Definition at line 182 of file JetAnalyzer.h.

◆ eMin_

double JetAnalyzer::eMin_
private

Definition at line 181 of file JetAnalyzer.h.

◆ etaBin_

int JetAnalyzer::etaBin_
private

Definition at line 168 of file JetAnalyzer.h.

◆ etaMax_

double JetAnalyzer::etaMax_
private

Definition at line 170 of file JetAnalyzer.h.

◆ etaMin_

double JetAnalyzer::etaMin_
private

Definition at line 169 of file JetAnalyzer.h.

◆ fill_CHS_histos

bool JetAnalyzer::fill_CHS_histos
private

Definition at line 795 of file JetAnalyzer.h.

◆ fill_jet_high_level_histo

bool JetAnalyzer::fill_jet_high_level_histo
private

Definition at line 793 of file JetAnalyzer.h.

◆ filljetsubstruc_

bool JetAnalyzer::filljetsubstruc_
private

Definition at line 347 of file JetAnalyzer.h.

◆ fillJIDPassFrac_

int JetAnalyzer::fillJIDPassFrac_
private

Definition at line 202 of file JetAnalyzer.h.

◆ folderNames_

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

Definition at line 158 of file JetAnalyzer.h.

◆ gtLabel_

edm::InputTag JetAnalyzer::gtLabel_
private

Definition at line 139 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 340 of file JetAnalyzer.h.

◆ highPtJetExpr_

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

Definition at line 343 of file JetAnalyzer.h.

◆ hltConfig_

HLTConfigProvider JetAnalyzer::hltConfig_
private

Definition at line 333 of file JetAnalyzer.h.

◆ hltInitialized_

bool JetAnalyzer::hltInitialized_
private

Definition at line 330 of file JetAnalyzer.h.

◆ inputJetIDValueMap

edm::InputTag JetAnalyzer::inputJetIDValueMap
private

Definition at line 132 of file JetAnalyzer.h.

◆ isCaloJet_

bool JetAnalyzer::isCaloJet_
private

Definition at line 788 of file JetAnalyzer.h.

◆ isMiniAODJet_

bool JetAnalyzer::isMiniAODJet_
private

Definition at line 790 of file JetAnalyzer.h.

◆ isPFJet_

bool JetAnalyzer::isPFJet_
private

Definition at line 789 of file JetAnalyzer.h.

◆ isPUPPIJet_

bool JetAnalyzer::isPUPPIJet_
private

Definition at line 791 of file JetAnalyzer.h.

◆ jetCleaningFlag_

bool JetAnalyzer::jetCleaningFlag_
private

Definition at line 346 of file JetAnalyzer.h.

◆ jetCorrectorTag_

edm::InputTag JetAnalyzer::jetCorrectorTag_
private

Definition at line 144 of file JetAnalyzer.h.

◆ jetCorrectorToken_

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

Definition at line 145 of file JetAnalyzer.h.

◆ jetHiPass_

int JetAnalyzer::jetHiPass_
private

Definition at line 194 of file JetAnalyzer.h.

◆ jetID_ValueMapToken_

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

Definition at line 133 of file JetAnalyzer.h.

◆ jetIDFunctor

JetIDSelectionFunctor JetAnalyzer::jetIDFunctor
private

Definition at line 151 of file JetAnalyzer.h.

◆ jetidquality

JetIDSelectionFunctor::Quality_t JetAnalyzer::jetidquality
private

Definition at line 149 of file JetAnalyzer.h.

◆ JetIDQuality_

std::string JetAnalyzer::JetIDQuality_
private

Definition at line 147 of file JetAnalyzer.h.

◆ jetidversion

JetIDSelectionFunctor::Version_t JetAnalyzer::jetidversion
private

Definition at line 150 of file JetAnalyzer.h.

◆ JetIDVersion_

std::string JetAnalyzer::JetIDVersion_
private

Definition at line 148 of file JetAnalyzer.h.

◆ jetLoPass_

int JetAnalyzer::jetLoPass_
private

Definition at line 193 of file JetAnalyzer.h.

◆ jetME

MonitorElement* JetAnalyzer::jetME
private

Definition at line 207 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 134 of file JetAnalyzer.h.

◆ leadJetFlag_

int JetAnalyzer::leadJetFlag_
private

Definition at line 195 of file JetAnalyzer.h.

◆ lowPtJetEventFlag_

GenericTriggerEventFlag* JetAnalyzer::lowPtJetEventFlag_
private

Definition at line 341 of file JetAnalyzer.h.

◆ lowPtJetExpr_

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

Definition at line 344 of file JetAnalyzer.h.

◆ m_bitAlgTechTrig_

int JetAnalyzer::m_bitAlgTechTrig_
private

Definition at line 204 of file JetAnalyzer.h.

◆ m_l1algoname_

std::string JetAnalyzer::m_l1algoname_
private

Definition at line 203 of file JetAnalyzer.h.

◆ map_of_MEs

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

Definition at line 786 of file JetAnalyzer.h.

◆ mAxis2_highPt_Barrel

MonitorElement* JetAnalyzer::mAxis2_highPt_Barrel
private

Definition at line 503 of file JetAnalyzer.h.

◆ mAxis2_highPt_EndCap

MonitorElement* JetAnalyzer::mAxis2_highPt_EndCap
private

Definition at line 516 of file JetAnalyzer.h.

◆ mAxis2_highPt_Forward

MonitorElement* JetAnalyzer::mAxis2_highPt_Forward
private

Definition at line 529 of file JetAnalyzer.h.

◆ mAxis2_lowPt_Barrel

MonitorElement* JetAnalyzer::mAxis2_lowPt_Barrel
private

Definition at line 495 of file JetAnalyzer.h.

◆ mAxis2_lowPt_EndCap

MonitorElement* JetAnalyzer::mAxis2_lowPt_EndCap
private

Definition at line 508 of file JetAnalyzer.h.

◆ mAxis2_lowPt_Forward

MonitorElement* JetAnalyzer::mAxis2_lowPt_Forward
private

Definition at line 521 of file JetAnalyzer.h.

◆ mAxis2_mediumPt_Barrel

MonitorElement* JetAnalyzer::mAxis2_mediumPt_Barrel
private

Definition at line 499 of file JetAnalyzer.h.

◆ mAxis2_mediumPt_EndCap

MonitorElement* JetAnalyzer::mAxis2_mediumPt_EndCap
private

Definition at line 512 of file JetAnalyzer.h.

◆ mAxis2_mediumPt_Forward

MonitorElement* JetAnalyzer::mAxis2_mediumPt_Forward
private

Definition at line 525 of file JetAnalyzer.h.

◆ mCATopTag_minMass

MonitorElement* JetAnalyzer::mCATopTag_minMass
private

Definition at line 658 of file JetAnalyzer.h.

◆ mCATopTag_minMass_boosted

MonitorElement* JetAnalyzer::mCATopTag_minMass_boosted
private

Definition at line 697 of file JetAnalyzer.h.

◆ mCATopTag_nSubJets

MonitorElement* JetAnalyzer::mCATopTag_nSubJets
private

Definition at line 659 of file JetAnalyzer.h.

◆ mCATopTag_nSubJets_boosted

MonitorElement* JetAnalyzer::mCATopTag_nSubJets_boosted
private

Definition at line 698 of file JetAnalyzer.h.

◆ mCATopTag_topMass

MonitorElement* JetAnalyzer::mCATopTag_topMass
private

Definition at line 657 of file JetAnalyzer.h.

◆ mCATopTag_topMass_boosted

MonitorElement* JetAnalyzer::mCATopTag_topMass_boosted
private

Definition at line 696 of file JetAnalyzer.h.

◆ mChargedEmEnergy

MonitorElement* JetAnalyzer::mChargedEmEnergy
private

Definition at line 487 of file JetAnalyzer.h.

◆ mChargedEmEnergy_profile

MonitorElement* JetAnalyzer::mChargedEmEnergy_profile
private

Definition at line 547 of file JetAnalyzer.h.

◆ mChargedHadronEnergy

MonitorElement* JetAnalyzer::mChargedHadronEnergy
private

Definition at line 485 of file JetAnalyzer.h.

◆ mChargedHadronEnergy_profile

MonitorElement* JetAnalyzer::mChargedHadronEnergy_profile
private

Definition at line 545 of file JetAnalyzer.h.

◆ mChargedMuEnergy

MonitorElement* JetAnalyzer::mChargedMuEnergy
private

Definition at line 488 of file JetAnalyzer.h.

◆ mChargedMuEnergy_profile

MonitorElement* JetAnalyzer::mChargedMuEnergy_profile
private

Definition at line 548 of file JetAnalyzer.h.

◆ mChargedMultiplicity

MonitorElement* JetAnalyzer::mChargedMultiplicity
private

Definition at line 490 of file JetAnalyzer.h.

◆ mChargedMultiplicity_profile

MonitorElement* JetAnalyzer::mChargedMultiplicity_profile
private

Definition at line 550 of file JetAnalyzer.h.

◆ mCHEn_highPt_Barrel

MonitorElement* JetAnalyzer::mCHEn_highPt_Barrel
private

Definition at line 390 of file JetAnalyzer.h.

◆ mCHEn_highPt_EndCap

MonitorElement* JetAnalyzer::mCHEn_highPt_EndCap
private

Definition at line 444 of file JetAnalyzer.h.

◆ mCHEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mCHEn_lowPt_Barrel
private

Definition at line 380 of file JetAnalyzer.h.

◆ mCHEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mCHEn_lowPt_EndCap
private

Definition at line 434 of file JetAnalyzer.h.

◆ mCHEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mCHEn_mediumPt_Barrel
private

Definition at line 385 of file JetAnalyzer.h.

◆ mCHEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mCHEn_mediumPt_EndCap
private

Definition at line 439 of file JetAnalyzer.h.

◆ mCHFrac

MonitorElement* JetAnalyzer::mCHFrac
private

Definition at line 556 of file JetAnalyzer.h.

◆ mCHFrac_highPt_Barrel

MonitorElement* JetAnalyzer::mCHFrac_highPt_Barrel
private

Definition at line 377 of file JetAnalyzer.h.

◆ mCHFrac_highPt_EndCap

MonitorElement* JetAnalyzer::mCHFrac_highPt_EndCap
private

Definition at line 430 of file JetAnalyzer.h.

◆ mCHFrac_lowPt_Barrel

MonitorElement* JetAnalyzer::mCHFrac_lowPt_Barrel
private

Definition at line 371 of file JetAnalyzer.h.

◆ mCHFrac_lowPt_EndCap

MonitorElement* JetAnalyzer::mCHFrac_lowPt_EndCap
private

Definition at line 424 of file JetAnalyzer.h.

◆ mCHFrac_mediumPt_Barrel

MonitorElement* JetAnalyzer::mCHFrac_mediumPt_Barrel
private

Definition at line 374 of file JetAnalyzer.h.

◆ mCHFrac_mediumPt_EndCap

MonitorElement* JetAnalyzer::mCHFrac_mediumPt_EndCap
private

Definition at line 427 of file JetAnalyzer.h.

◆ mCHFrac_profile

MonitorElement* JetAnalyzer::mCHFrac_profile
private

Definition at line 561 of file JetAnalyzer.h.

◆ mCHFracVSeta_highPt

MonitorElement* JetAnalyzer::mCHFracVSeta_highPt
private

Definition at line 420 of file JetAnalyzer.h.

◆ mCHFracVSeta_lowPt

MonitorElement* JetAnalyzer::mCHFracVSeta_lowPt
private

Definition at line 414 of file JetAnalyzer.h.

◆ mCHFracVSeta_mediumPt

MonitorElement* JetAnalyzer::mCHFracVSeta_mediumPt
private

Definition at line 417 of file JetAnalyzer.h.

◆ mCHFracVSpT_Barrel

MonitorElement* JetAnalyzer::mCHFracVSpT_Barrel
private

Definition at line 405 of file JetAnalyzer.h.

◆ mCHFracVSpT_EndCap

MonitorElement* JetAnalyzer::mCHFracVSpT_EndCap
private

Definition at line 408 of file JetAnalyzer.h.

◆ mChMultiplicity_highPt_Barrel

MonitorElement* JetAnalyzer::mChMultiplicity_highPt_Barrel
private

Definition at line 401 of file JetAnalyzer.h.

◆ mChMultiplicity_highPt_EndCap

MonitorElement* JetAnalyzer::mChMultiplicity_highPt_EndCap
private

Definition at line 465 of file JetAnalyzer.h.

◆ mChMultiplicity_lowPt_Barrel

MonitorElement* JetAnalyzer::mChMultiplicity_lowPt_Barrel
private

Definition at line 395 of file JetAnalyzer.h.

◆ mChMultiplicity_lowPt_EndCap

MonitorElement* JetAnalyzer::mChMultiplicity_lowPt_EndCap
private

Definition at line 459 of file JetAnalyzer.h.

◆ mChMultiplicity_mediumPt_Barrel

MonitorElement* JetAnalyzer::mChMultiplicity_mediumPt_Barrel
private

Definition at line 398 of file JetAnalyzer.h.

◆ mChMultiplicity_mediumPt_EndCap

MonitorElement* JetAnalyzer::mChMultiplicity_mediumPt_EndCap
private

Definition at line 462 of file JetAnalyzer.h.

◆ mConstituents

MonitorElement* JetAnalyzer::mConstituents
private

Definition at line 226 of file JetAnalyzer.h.

◆ mConstituents_Barrel

MonitorElement* JetAnalyzer::mConstituents_Barrel
private

Definition at line 233 of file JetAnalyzer.h.

◆ mConstituents_Barrel_Hi

MonitorElement* JetAnalyzer::mConstituents_Barrel_Hi
private

Definition at line 251 of file JetAnalyzer.h.

◆ mConstituents_EndCap

MonitorElement* JetAnalyzer::mConstituents_EndCap
private

Definition at line 239 of file JetAnalyzer.h.

◆ mConstituents_EndCap_Hi

MonitorElement* JetAnalyzer::mConstituents_EndCap_Hi
private

Definition at line 256 of file JetAnalyzer.h.

◆ mConstituents_Forward

MonitorElement* JetAnalyzer::mConstituents_Forward
private

Definition at line 245 of file JetAnalyzer.h.

◆ mConstituents_Forward_Hi

MonitorElement* JetAnalyzer::mConstituents_Forward_Hi
private

Definition at line 261 of file JetAnalyzer.h.

◆ mConstituents_profile

MonitorElement* JetAnalyzer::mConstituents_profile
private

Definition at line 326 of file JetAnalyzer.h.

◆ mConstituents_uncor

MonitorElement* JetAnalyzer::mConstituents_uncor
private

Definition at line 220 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_highPt_Barrel

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_Barrel
private

Definition at line 312 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_highPt_EndCap

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_EndCap
private

Definition at line 313 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_highPt_Forward

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_Forward
private

Definition at line 314 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_lowPt_Barrel

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_Barrel
private

Definition at line 306 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_lowPt_EndCap

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_EndCap
private

Definition at line 307 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_lowPt_Forward

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_Forward
private

Definition at line 308 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_mediumPt_Barrel

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_Barrel
private

Definition at line 309 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_mediumPt_EndCap

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_EndCap
private

Definition at line 310 of file JetAnalyzer.h.

◆ mCutPUJIDDiscriminant_mediumPt_Forward

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_Forward
private

Definition at line 311 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 784 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 775 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 780 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 776 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 781 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 772 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 777 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 782 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 783 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 773 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 778 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 774 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 779 of file JetAnalyzer.h.

◆ mDijetAsymmetry

MonitorElement* JetAnalyzer::mDijetAsymmetry
private

Definition at line 318 of file JetAnalyzer.h.

◆ mDijetBalance

MonitorElement* JetAnalyzer::mDijetBalance
private

Definition at line 317 of file JetAnalyzer.h.

◆ mDPhi

MonitorElement* JetAnalyzer::mDPhi
private

Definition at line 265 of file JetAnalyzer.h.

◆ mDPhiZJet

MonitorElement* JetAnalyzer::mDPhiZJet
private

Definition at line 736 of file JetAnalyzer.h.

◆ meCHFracBarrel_BXm1Empty

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm1Empty
private

Definition at line 592 of file JetAnalyzer.h.

◆ meCHFracBarrel_BXm1Filled

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm1Filled
private

Definition at line 632 of file JetAnalyzer.h.

◆ meCHFracEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm1Empty
private

Definition at line 596 of file JetAnalyzer.h.

◆ meCHFracEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm1Filled
private

Definition at line 636 of file JetAnalyzer.h.

◆ meCHFracEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm1Empty
private

Definition at line 600 of file JetAnalyzer.h.

◆ meCHFracEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm1Filled
private

Definition at line 640 of file JetAnalyzer.h.

◆ mEEffChargedFraction

MonitorElement* JetAnalyzer::mEEffChargedFraction
private

Definition at line 540 of file JetAnalyzer.h.

◆ mEEffNeutralFraction

MonitorElement* JetAnalyzer::mEEffNeutralFraction
private

Definition at line 539 of file JetAnalyzer.h.

◆ meEta_BXm1Empty

MonitorElement* JetAnalyzer::meEta_BXm1Empty
private

Definition at line 608 of file JetAnalyzer.h.

◆ meEta_BXm1Filled

MonitorElement* JetAnalyzer::meEta_BXm1Filled
private

Definition at line 648 of file JetAnalyzer.h.

◆ mEFrac

MonitorElement* JetAnalyzer::mEFrac
private

Definition at line 228 of file JetAnalyzer.h.

◆ mEFrac_Barrel

MonitorElement* JetAnalyzer::mEFrac_Barrel
private

Definition at line 235 of file JetAnalyzer.h.

◆ mEFrac_EndCap

MonitorElement* JetAnalyzer::mEFrac_EndCap
private

Definition at line 241 of file JetAnalyzer.h.

◆ mEFrac_Forward

MonitorElement* JetAnalyzer::mEFrac_Forward
private

Definition at line 247 of file JetAnalyzer.h.

◆ mEFrac_profile

MonitorElement* JetAnalyzer::mEFrac_profile
private

Definition at line 328 of file JetAnalyzer.h.

◆ meHFEMFracMinus_BXm1Empty

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm1Empty
private

Definition at line 603 of file JetAnalyzer.h.

◆ meHFEMFracMinus_BXm1Filled

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm1Filled
private

Definition at line 643 of file JetAnalyzer.h.

◆ meHFEMFracPlus_BXm1Empty

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm1Empty
private

Definition at line 606 of file JetAnalyzer.h.

◆ meHFEMFracPlus_BXm1Filled

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm1Filled
private

Definition at line 646 of file JetAnalyzer.h.

◆ meHFHFracMinus_BXm1Empty

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm1Empty
private

Definition at line 602 of file JetAnalyzer.h.

◆ meHFHFracMinus_BXm1Filled

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm1Filled
private

Definition at line 642 of file JetAnalyzer.h.

◆ meHFHFracPlus_BXm1Empty

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm1Empty
private

Definition at line 605 of file JetAnalyzer.h.

◆ meHFHFracPlus_BXm1Filled

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm1Filled
private

Definition at line 645 of file JetAnalyzer.h.

◆ mElEn_highPt_Barrel

MonitorElement* JetAnalyzer::mElEn_highPt_Barrel
private

Definition at line 393 of file JetAnalyzer.h.

◆ mElEn_highPt_EndCap

MonitorElement* JetAnalyzer::mElEn_highPt_EndCap
private

Definition at line 447 of file JetAnalyzer.h.

◆ mElEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mElEn_lowPt_Barrel
private

Definition at line 383 of file JetAnalyzer.h.

◆ mElEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mElEn_lowPt_EndCap
private

Definition at line 437 of file JetAnalyzer.h.

◆ mElEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mElEn_mediumPt_Barrel
private

Definition at line 388 of file JetAnalyzer.h.

◆ mElEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mElEn_mediumPt_EndCap
private

Definition at line 442 of file JetAnalyzer.h.

◆ mEmEnergyInEB

MonitorElement* JetAnalyzer::mEmEnergyInEB
private

Definition at line 361 of file JetAnalyzer.h.

◆ mEmEnergyInEE

MonitorElement* JetAnalyzer::mEmEnergyInEE
private

Definition at line 362 of file JetAnalyzer.h.

◆ mEmEnergyInHF

MonitorElement* JetAnalyzer::mEmEnergyInHF
private

Definition at line 363 of file JetAnalyzer.h.

◆ mEMF

MonitorElement* JetAnalyzer::mEMF
private

Definition at line 368 of file JetAnalyzer.h.

◆ mEMF_CaloJet

MonitorElement* JetAnalyzer::mEMF_CaloJet
private

Definition at line 730 of file JetAnalyzer.h.

◆ meNHFracBarrel_BXm1Empty

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm1Empty
private

Definition at line 591 of file JetAnalyzer.h.

◆ meNHFracBarrel_BXm1Filled

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm1Filled
private

Definition at line 631 of file JetAnalyzer.h.

◆ meNHFracEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm1Empty
private

Definition at line 595 of file JetAnalyzer.h.

◆ meNHFracEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm1Filled
private

Definition at line 635 of file JetAnalyzer.h.

◆ meNHFracEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm1Empty
private

Definition at line 599 of file JetAnalyzer.h.

◆ meNHFracEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm1Filled
private

Definition at line 639 of file JetAnalyzer.h.

◆ mePhFracBarrel_BXm1Empty

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm1Empty
private

Definition at line 590 of file JetAnalyzer.h.

◆ mePhFracBarrel_BXm1Filled

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm1Filled
private

Definition at line 630 of file JetAnalyzer.h.

◆ mePhFracEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm1Empty
private

Definition at line 594 of file JetAnalyzer.h.

◆ mePhFracEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm1Filled
private

Definition at line 634 of file JetAnalyzer.h.

◆ mePhFracEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm1Empty
private

Definition at line 598 of file JetAnalyzer.h.

◆ mePhFracEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm1Filled
private

Definition at line 638 of file JetAnalyzer.h.

◆ mePtBarrel_BXm1Empty

MonitorElement* JetAnalyzer::mePtBarrel_BXm1Empty
private

Definition at line 593 of file JetAnalyzer.h.

◆ mePtBarrel_BXm1Filled

MonitorElement* JetAnalyzer::mePtBarrel_BXm1Filled
private

Definition at line 633 of file JetAnalyzer.h.

◆ mePtEndCapMinus_BXm1Empty

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm1Empty
private

Definition at line 597 of file JetAnalyzer.h.

◆ mePtEndCapMinus_BXm1Filled

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm1Filled
private

Definition at line 637 of file JetAnalyzer.h.

◆ mePtEndCapPlus_BXm1Empty

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm1Empty
private

Definition at line 601 of file JetAnalyzer.h.

◆ mePtEndCapPlus_BXm1Filled

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm1Filled
private

Definition at line 641 of file JetAnalyzer.h.

◆ mePtForwardMinus_BXm1Empty

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm1Empty
private

Definition at line 604 of file JetAnalyzer.h.

◆ mePtForwardMinus_BXm1Filled

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm1Filled
private

Definition at line 644 of file JetAnalyzer.h.

◆ mePtForwardPlus_BXm1Empty

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm1Empty
private

Definition at line 607 of file JetAnalyzer.h.

◆ mePtForwardPlus_BXm1Filled

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm1Filled
private

Definition at line 647 of file JetAnalyzer.h.

◆ mEResChargedFraction

MonitorElement* JetAnalyzer::mEResChargedFraction
private

Definition at line 542 of file JetAnalyzer.h.

◆ mEResNeutralFraction

MonitorElement* JetAnalyzer::mEResNeutralFraction
private

Definition at line 541 of file JetAnalyzer.h.

◆ mEta

MonitorElement* JetAnalyzer::mEta
private

Definition at line 215 of file JetAnalyzer.h.

◆ mEta_Hi

MonitorElement* JetAnalyzer::mEta_Hi
private

Definition at line 276 of file JetAnalyzer.h.

◆ mEta_profile

MonitorElement* JetAnalyzer::mEta_profile
private

Definition at line 324 of file JetAnalyzer.h.

◆ mEta_uncor

MonitorElement* JetAnalyzer::mEta_uncor
private

Definition at line 218 of file JetAnalyzer.h.

◆ mEtaFirst

MonitorElement* JetAnalyzer::mEtaFirst
private

Definition at line 268 of file JetAnalyzer.h.

◆ mfHPD

MonitorElement* JetAnalyzer::mfHPD
private

Definition at line 365 of file JetAnalyzer.h.

◆ mFilteredMass

MonitorElement* JetAnalyzer::mFilteredMass
private

Definition at line 654 of file JetAnalyzer.h.

◆ mFilteredMass_boosted

MonitorElement* JetAnalyzer::mFilteredMass_boosted
private

Definition at line 693 of file JetAnalyzer.h.

◆ mfRBX

MonitorElement* JetAnalyzer::mfRBX
private

Definition at line 366 of file JetAnalyzer.h.

◆ mHadEnergyInHB

MonitorElement* JetAnalyzer::mHadEnergyInHB
private

Definition at line 358 of file JetAnalyzer.h.

◆ mHadEnergyInHE

MonitorElement* JetAnalyzer::mHadEnergyInHE
private

Definition at line 360 of file JetAnalyzer.h.

◆ mHadEnergyInHF

MonitorElement* JetAnalyzer::mHadEnergyInHF
private

Definition at line 359 of file JetAnalyzer.h.

◆ mHadEnergyInHO

MonitorElement* JetAnalyzer::mHadEnergyInHO
private

Definition at line 357 of file JetAnalyzer.h.

◆ mHFEEn_highPt_Forward

MonitorElement* JetAnalyzer::mHFEEn_highPt_Forward
private

Definition at line 479 of file JetAnalyzer.h.

◆ mHFEEn_lowPt_Forward

MonitorElement* JetAnalyzer::mHFEEn_lowPt_Forward
private

Definition at line 475 of file JetAnalyzer.h.

◆ mHFEEn_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFEEn_mediumPt_Forward
private

Definition at line 477 of file JetAnalyzer.h.

◆ mHFEFrac_highPt_Forward

MonitorElement* JetAnalyzer::mHFEFrac_highPt_Forward
private

Definition at line 473 of file JetAnalyzer.h.

◆ mHFEFrac_lowPt_Forward

MonitorElement* JetAnalyzer::mHFEFrac_lowPt_Forward
private

Definition at line 469 of file JetAnalyzer.h.

◆ mHFEFrac_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFEFrac_mediumPt_Forward
private

Definition at line 471 of file JetAnalyzer.h.

◆ mHFEFracVSpT_Forward

MonitorElement* JetAnalyzer::mHFEFracVSpT_Forward
private

Definition at line 412 of file JetAnalyzer.h.

◆ mHFEMFrac

MonitorElement* JetAnalyzer::mHFEMFrac
private

Definition at line 559 of file JetAnalyzer.h.

◆ mHFEMFrac_profile

MonitorElement* JetAnalyzer::mHFEMFrac_profile
private

Definition at line 564 of file JetAnalyzer.h.

◆ mHFHEn_highPt_Forward

MonitorElement* JetAnalyzer::mHFHEn_highPt_Forward
private

Definition at line 480 of file JetAnalyzer.h.

◆ mHFHEn_lowPt_Forward

MonitorElement* JetAnalyzer::mHFHEn_lowPt_Forward
private

Definition at line 476 of file JetAnalyzer.h.

◆ mHFHEn_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFHEn_mediumPt_Forward
private

Definition at line 478 of file JetAnalyzer.h.

◆ mHFHFrac

MonitorElement* JetAnalyzer::mHFHFrac
private

Definition at line 560 of file JetAnalyzer.h.

◆ mHFHFrac_highPt_Forward

MonitorElement* JetAnalyzer::mHFHFrac_highPt_Forward
private

Definition at line 474 of file JetAnalyzer.h.

◆ mHFHFrac_lowPt_Forward

MonitorElement* JetAnalyzer::mHFHFrac_lowPt_Forward
private

Definition at line 470 of file JetAnalyzer.h.

◆ mHFHFrac_mediumPt_Forward

MonitorElement* JetAnalyzer::mHFHFrac_mediumPt_Forward
private

Definition at line 472 of file JetAnalyzer.h.

◆ mHFHFrac_profile

MonitorElement* JetAnalyzer::mHFHFrac_profile
private

Definition at line 565 of file JetAnalyzer.h.

◆ mHFHFracVSpT_Forward

MonitorElement* JetAnalyzer::mHFHFracVSpT_Forward
private

Definition at line 411 of file JetAnalyzer.h.

◆ mHFrac

MonitorElement* JetAnalyzer::mHFrac
private

Definition at line 227 of file JetAnalyzer.h.

◆ mHFrac_Barrel

MonitorElement* JetAnalyzer::mHFrac_Barrel
private

Definition at line 234 of file JetAnalyzer.h.

◆ mHFrac_Barrel_Hi

MonitorElement* JetAnalyzer::mHFrac_Barrel_Hi
private

Definition at line 252 of file JetAnalyzer.h.

◆ mHFrac_EndCap

MonitorElement* JetAnalyzer::mHFrac_EndCap
private

Definition at line 240 of file JetAnalyzer.h.

◆ mHFrac_EndCap_Hi

MonitorElement* JetAnalyzer::mHFrac_EndCap_Hi
private

Definition at line 257 of file JetAnalyzer.h.

◆ mHFrac_Forward

MonitorElement* JetAnalyzer::mHFrac_Forward
private

Definition at line 246 of file JetAnalyzer.h.

◆ mHFrac_Forward_Hi

MonitorElement* JetAnalyzer::mHFrac_Forward_Hi
private

Definition at line 262 of file JetAnalyzer.h.

◆ mHFrac_profile

MonitorElement* JetAnalyzer::mHFrac_profile
private

Definition at line 327 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 756 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_highZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_highZPt_J_EndCap
private

Definition at line 759 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_highZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_highZPt_J_Forward
private

Definition at line 762 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_J_Barrel
private

Definition at line 748 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_J_EndCap
private

Definition at line 749 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_J_Forward
private

Definition at line 750 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_lowZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_lowZPt_J_Barrel
private

Definition at line 754 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_lowZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_lowZPt_J_EndCap
private

Definition at line 757 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_lowZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_lowZPt_J_Forward
private

Definition at line 760 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_mediumZPt_J_Barrel

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_mediumZPt_J_Barrel
private

Definition at line 755 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_mediumZPt_J_EndCap

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_mediumZPt_J_EndCap
private

Definition at line 758 of file JetAnalyzer.h.

◆ mJ1Pt_over_ZPt_mediumZPt_J_Forward

MonitorElement* JetAnalyzer::mJ1Pt_over_ZPt_mediumZPt_J_Forward
private

Definition at line 761 of file JetAnalyzer.h.

◆ mJetEnergyCorr

MonitorElement* JetAnalyzer::mJetEnergyCorr
private

Definition at line 222 of file JetAnalyzer.h.

◆ mJetEnergyCorrVSEta

MonitorElement* JetAnalyzer::mJetEnergyCorrVSEta
private

Definition at line 223 of file JetAnalyzer.h.

◆ mJetEnergyCorrVSPt

MonitorElement* JetAnalyzer::mJetEnergyCorrVSPt
private

Definition at line 224 of file JetAnalyzer.h.

◆ mJetZBalance_highZPt_J_Barrel

MonitorElement* JetAnalyzer::mJetZBalance_highZPt_J_Barrel
private

Definition at line 741 of file JetAnalyzer.h.

◆ mJetZBalance_highZPt_J_EndCap

MonitorElement* JetAnalyzer::mJetZBalance_highZPt_J_EndCap
private

Definition at line 744 of file JetAnalyzer.h.

◆ mJetZBalance_highZPt_J_Forward

MonitorElement* JetAnalyzer::mJetZBalance_highZPt_J_Forward
private

Definition at line 747 of file JetAnalyzer.h.

◆ mJetZBalance_lowZPt_J_Barrel

MonitorElement* JetAnalyzer::mJetZBalance_lowZPt_J_Barrel
private

Definition at line 739 of file JetAnalyzer.h.

◆ mJetZBalance_lowZPt_J_EndCap

MonitorElement* JetAnalyzer::mJetZBalance_lowZPt_J_EndCap
private

Definition at line 742 of file JetAnalyzer.h.

◆ mJetZBalance_lowZPt_J_Forward

MonitorElement* JetAnalyzer::mJetZBalance_lowZPt_J_Forward
private

Definition at line 745 of file JetAnalyzer.h.

◆ mJetZBalance_mediumZPt_J_Barrel

MonitorElement* JetAnalyzer::mJetZBalance_mediumZPt_J_Barrel
private

Definition at line 740 of file JetAnalyzer.h.

◆ mJetZBalance_mediumZPt_J_EndCap

MonitorElement* JetAnalyzer::mJetZBalance_mediumZPt_J_EndCap
private

Definition at line 743 of file JetAnalyzer.h.

◆ mJetZBalance_mediumZPt_J_Forward

MonitorElement* JetAnalyzer::mJetZBalance_mediumZPt_J_Forward
private

Definition at line 746 of file JetAnalyzer.h.

◆ mLooseCutPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mLooseCutPUJIDPassFractionVSeta
private

Definition at line 300 of file JetAnalyzer.h.

◆ mLooseCutPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mLooseCutPUJIDPassFractionVSpt
private

Definition at line 301 of file JetAnalyzer.h.

◆ mLooseJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSeta
private

Definition at line 280 of file JetAnalyzer.h.

◆ mLooseJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSpt
private

Definition at line 281 of file JetAnalyzer.h.

◆ mLooseJIDPassFractionVSptNoHF

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSptNoHF
private

Definition at line 282 of file JetAnalyzer.h.

◆ mLooseMVAPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mLooseMVAPUJIDPassFractionVSeta
private

Definition at line 284 of file JetAnalyzer.h.

◆ mLooseMVAPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mLooseMVAPUJIDPassFractionVSpt
private

Definition at line 285 of file JetAnalyzer.h.

◆ mMass_Barrel

MonitorElement* JetAnalyzer::mMass_Barrel
private

Definition at line 731 of file JetAnalyzer.h.

◆ mMass_EndCap

MonitorElement* JetAnalyzer::mMass_EndCap
private

Definition at line 732 of file JetAnalyzer.h.

◆ mMass_Forward

MonitorElement* JetAnalyzer::mMass_Forward
private

Definition at line 733 of file JetAnalyzer.h.

◆ mMass_highPt_Barrel

MonitorElement* JetAnalyzer::mMass_highPt_Barrel
private

Definition at line 455 of file JetAnalyzer.h.

◆ mMass_highPt_EndCap

MonitorElement* JetAnalyzer::mMass_highPt_EndCap
private

Definition at line 456 of file JetAnalyzer.h.

◆ mMass_highPt_Forward

MonitorElement* JetAnalyzer::mMass_highPt_Forward
private

Definition at line 457 of file JetAnalyzer.h.

◆ mMass_lowPt_Barrel

MonitorElement* JetAnalyzer::mMass_lowPt_Barrel
private

Definition at line 449 of file JetAnalyzer.h.

◆ mMass_lowPt_EndCap

MonitorElement* JetAnalyzer::mMass_lowPt_EndCap
private

Definition at line 450 of file JetAnalyzer.h.

◆ mMass_lowPt_Forward

MonitorElement* JetAnalyzer::mMass_lowPt_Forward
private

Definition at line 451 of file JetAnalyzer.h.

◆ mMass_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMass_mediumPt_Barrel
private

Definition at line 452 of file JetAnalyzer.h.

◆ mMass_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMass_mediumPt_EndCap
private

Definition at line 453 of file JetAnalyzer.h.

◆ mMass_mediumPt_Forward

MonitorElement* JetAnalyzer::mMass_mediumPt_Forward
private

Definition at line 454 of file JetAnalyzer.h.

◆ mMaxEInEmTowers

MonitorElement* JetAnalyzer::mMaxEInEmTowers
private

Definition at line 355 of file JetAnalyzer.h.

◆ mMaxEInHadTowers

MonitorElement* JetAnalyzer::mMaxEInHadTowers
private

Definition at line 356 of file JetAnalyzer.h.

◆ mMediumCutPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mMediumCutPUJIDPassFractionVSeta
private

Definition at line 302 of file JetAnalyzer.h.

◆ mMediumCutPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mMediumCutPUJIDPassFractionVSpt
private

Definition at line 303 of file JetAnalyzer.h.

◆ mMediumMVAPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mMediumMVAPUJIDPassFractionVSeta
private

Definition at line 286 of file JetAnalyzer.h.

◆ mMediumMVAPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mMediumMVAPUJIDPassFractionVSpt
private

Definition at line 287 of file JetAnalyzer.h.

◆ mMPF_highZPt_J_Barrel

MonitorElement* JetAnalyzer::mMPF_highZPt_J_Barrel
private

Definition at line 765 of file JetAnalyzer.h.

◆ mMPF_highZPt_J_EndCap

MonitorElement* JetAnalyzer::mMPF_highZPt_J_EndCap
private

Definition at line 768 of file JetAnalyzer.h.

◆ mMPF_highZPt_J_Forward

MonitorElement* JetAnalyzer::mMPF_highZPt_J_Forward
private

Definition at line 771 of file JetAnalyzer.h.

◆ mMPF_J_Barrel

MonitorElement* JetAnalyzer::mMPF_J_Barrel
private

Definition at line 751 of file JetAnalyzer.h.

◆ mMPF_J_EndCap

MonitorElement* JetAnalyzer::mMPF_J_EndCap
private

Definition at line 752 of file JetAnalyzer.h.

◆ mMPF_J_Forward

MonitorElement* JetAnalyzer::mMPF_J_Forward
private

Definition at line 753 of file JetAnalyzer.h.

◆ mMPF_lowZPt_J_Barrel

MonitorElement* JetAnalyzer::mMPF_lowZPt_J_Barrel
private

Definition at line 763 of file JetAnalyzer.h.

◆ mMPF_lowZPt_J_EndCap

MonitorElement* JetAnalyzer::mMPF_lowZPt_J_EndCap
private

Definition at line 766 of file JetAnalyzer.h.

◆ mMPF_lowZPt_J_Forward

MonitorElement* JetAnalyzer::mMPF_lowZPt_J_Forward
private

Definition at line 769 of file JetAnalyzer.h.

◆ mMPF_mediumZPt_J_Barrel

MonitorElement* JetAnalyzer::mMPF_mediumZPt_J_Barrel
private

Definition at line 764 of file JetAnalyzer.h.

◆ mMPF_mediumZPt_J_EndCap

MonitorElement* JetAnalyzer::mMPF_mediumZPt_J_EndCap
private

Definition at line 767 of file JetAnalyzer.h.

◆ mMPF_mediumZPt_J_Forward

MonitorElement* JetAnalyzer::mMPF_mediumZPt_J_Forward
private

Definition at line 770 of file JetAnalyzer.h.

◆ mMuEn_highPt_Barrel

MonitorElement* JetAnalyzer::mMuEn_highPt_Barrel
private

Definition at line 394 of file JetAnalyzer.h.

◆ mMuEn_highPt_EndCap

MonitorElement* JetAnalyzer::mMuEn_highPt_EndCap
private

Definition at line 448 of file JetAnalyzer.h.

◆ mMuEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mMuEn_lowPt_Barrel
private

Definition at line 384 of file JetAnalyzer.h.

◆ mMuEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mMuEn_lowPt_EndCap
private

Definition at line 438 of file JetAnalyzer.h.

◆ mMuEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMuEn_mediumPt_Barrel
private

Definition at line 389 of file JetAnalyzer.h.

◆ mMuEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMuEn_mediumPt_EndCap
private

Definition at line 443 of file JetAnalyzer.h.

◆ mMultiplicityQG_highPt_Barrel

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_Barrel
private

Definition at line 505 of file JetAnalyzer.h.

◆ mMultiplicityQG_highPt_EndCap

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_EndCap
private

Definition at line 518 of file JetAnalyzer.h.

◆ mMultiplicityQG_highPt_Forward

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_Forward
private

Definition at line 531 of file JetAnalyzer.h.

◆ mMultiplicityQG_lowPt_Barrel

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_Barrel
private

Definition at line 497 of file JetAnalyzer.h.

◆ mMultiplicityQG_lowPt_EndCap

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_EndCap
private

Definition at line 510 of file JetAnalyzer.h.

◆ mMultiplicityQG_lowPt_Forward

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_Forward
private

Definition at line 523 of file JetAnalyzer.h.

◆ mMultiplicityQG_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_Barrel
private

Definition at line 501 of file JetAnalyzer.h.

◆ mMultiplicityQG_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_EndCap
private

Definition at line 514 of file JetAnalyzer.h.

◆ mMultiplicityQG_mediumPt_Forward

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_Forward
private

Definition at line 527 of file JetAnalyzer.h.

◆ mMuMultiplicity_highPt_Barrel

MonitorElement* JetAnalyzer::mMuMultiplicity_highPt_Barrel
private

Definition at line 403 of file JetAnalyzer.h.

◆ mMuMultiplicity_highPt_EndCap

MonitorElement* JetAnalyzer::mMuMultiplicity_highPt_EndCap
private

Definition at line 467 of file JetAnalyzer.h.

◆ mMuMultiplicity_lowPt_Barrel

MonitorElement* JetAnalyzer::mMuMultiplicity_lowPt_Barrel
private

Definition at line 397 of file JetAnalyzer.h.

◆ mMuMultiplicity_lowPt_EndCap

MonitorElement* JetAnalyzer::mMuMultiplicity_lowPt_EndCap
private

Definition at line 461 of file JetAnalyzer.h.

◆ mMuMultiplicity_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMuMultiplicity_mediumPt_Barrel
private

Definition at line 400 of file JetAnalyzer.h.

◆ mMuMultiplicity_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMuMultiplicity_mediumPt_EndCap
private

Definition at line 464 of file JetAnalyzer.h.

◆ mMuonMultiplicity

MonitorElement* JetAnalyzer::mMuonMultiplicity
private

Definition at line 492 of file JetAnalyzer.h.

◆ mMuonMultiplicity_profile

MonitorElement* JetAnalyzer::mMuonMultiplicity_profile
private

Definition at line 552 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_highPt_Barrel

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_Barrel
private

Definition at line 296 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_highPt_EndCap

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_EndCap
private

Definition at line 297 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_highPt_Forward

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_Forward
private

Definition at line 298 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_lowPt_Barrel

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_Barrel
private

Definition at line 290 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_lowPt_EndCap

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_EndCap
private

Definition at line 291 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_lowPt_Forward

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_Forward
private

Definition at line 292 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_mediumPt_Barrel

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_Barrel
private

Definition at line 293 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_mediumPt_EndCap

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_EndCap
private

Definition at line 294 of file JetAnalyzer.h.

◆ mMVAPUJIDDiscriminant_mediumPt_Forward

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_Forward
private

Definition at line 295 of file JetAnalyzer.h.

◆ mN90Hits

MonitorElement* JetAnalyzer::mN90Hits
private

Definition at line 364 of file JetAnalyzer.h.

◆ mNeutMultiplicity_highPt_Barrel

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_Barrel
private

Definition at line 402 of file JetAnalyzer.h.

◆ mNeutMultiplicity_highPt_EndCap

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_EndCap
private

Definition at line 466 of file JetAnalyzer.h.

◆ mNeutMultiplicity_highPt_Forward

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_Forward
private

Definition at line 483 of file JetAnalyzer.h.

◆ mNeutMultiplicity_lowPt_Barrel

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_Barrel
private

Definition at line 396 of file JetAnalyzer.h.

◆ mNeutMultiplicity_lowPt_EndCap

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_EndCap
private

Definition at line 460 of file JetAnalyzer.h.

◆ mNeutMultiplicity_lowPt_Forward

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_Forward
private

Definition at line 481 of file JetAnalyzer.h.

◆ mNeutMultiplicity_mediumPt_Barrel

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_Barrel
private

Definition at line 399 of file JetAnalyzer.h.

◆ mNeutMultiplicity_mediumPt_EndCap

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_EndCap
private

Definition at line 463 of file JetAnalyzer.h.

◆ mNeutMultiplicity_mediumPt_Forward

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_Forward
private

Definition at line 482 of file JetAnalyzer.h.

◆ mNeutralEmEnergy

MonitorElement* JetAnalyzer::mNeutralEmEnergy
private

Definition at line 489 of file JetAnalyzer.h.

◆ mNeutralEmEnergy_profile

MonitorElement* JetAnalyzer::mNeutralEmEnergy_profile
private

Definition at line 549 of file JetAnalyzer.h.

◆ mNeutralFraction

MonitorElement* JetAnalyzer::mNeutralFraction
private

Definition at line 536 of file JetAnalyzer.h.

◆ mNeutralFraction2

MonitorElement* JetAnalyzer::mNeutralFraction2
private

Definition at line 537 of file JetAnalyzer.h.

◆ mNeutralHadronEnergy

MonitorElement* JetAnalyzer::mNeutralHadronEnergy
private

Definition at line 486 of file JetAnalyzer.h.

◆ mNeutralHadronEnergy_profile

MonitorElement* JetAnalyzer::mNeutralHadronEnergy_profile
private

Definition at line 546 of file JetAnalyzer.h.

◆ mNeutralMultiplicity

MonitorElement* JetAnalyzer::mNeutralMultiplicity
private

Definition at line 491 of file JetAnalyzer.h.

◆ mNeutralMultiplicity_profile

MonitorElement* JetAnalyzer::mNeutralMultiplicity_profile
private

Definition at line 551 of file JetAnalyzer.h.

◆ mNHEn_highPt_Barrel

MonitorElement* JetAnalyzer::mNHEn_highPt_Barrel
private

Definition at line 391 of file JetAnalyzer.h.

◆ mNHEn_highPt_EndCap

MonitorElement* JetAnalyzer::mNHEn_highPt_EndCap
private

Definition at line 445 of file JetAnalyzer.h.

◆ mNHEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mNHEn_lowPt_Barrel
private

Definition at line 381 of file JetAnalyzer.h.

◆ mNHEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mNHEn_lowPt_EndCap
private

Definition at line 435 of file JetAnalyzer.h.

◆ mNHEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mNHEn_mediumPt_Barrel
private

Definition at line 386 of file JetAnalyzer.h.

◆ mNHEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mNHEn_mediumPt_EndCap
private

Definition at line 440 of file JetAnalyzer.h.

◆ mNHFrac

MonitorElement* JetAnalyzer::mNHFrac
private

Definition at line 557 of file JetAnalyzer.h.

◆ mNHFrac_highPt_Barrel

MonitorElement* JetAnalyzer::mNHFrac_highPt_Barrel
private

Definition at line 378 of file JetAnalyzer.h.

◆ mNHFrac_highPt_EndCap

MonitorElement* JetAnalyzer::mNHFrac_highPt_EndCap
private

Definition at line 431 of file JetAnalyzer.h.

◆ mNHFrac_lowPt_Barrel

MonitorElement* JetAnalyzer::mNHFrac_lowPt_Barrel
private

Definition at line 372 of file JetAnalyzer.h.

◆ mNHFrac_lowPt_EndCap

MonitorElement* JetAnalyzer::mNHFrac_lowPt_EndCap
private

Definition at line 425 of file JetAnalyzer.h.

◆ mNHFrac_mediumPt_Barrel

MonitorElement* JetAnalyzer::mNHFrac_mediumPt_Barrel
private

Definition at line 375 of file JetAnalyzer.h.

◆ mNHFrac_mediumPt_EndCap

MonitorElement* JetAnalyzer::mNHFrac_mediumPt_EndCap
private

Definition at line 428 of file JetAnalyzer.h.

◆ mNHFrac_profile

MonitorElement* JetAnalyzer::mNHFrac_profile
private

Definition at line 562 of file JetAnalyzer.h.

◆ mNHFracVSeta_highPt

MonitorElement* JetAnalyzer::mNHFracVSeta_highPt
private

Definition at line 421 of file JetAnalyzer.h.

◆ mNHFracVSeta_lowPt

MonitorElement* JetAnalyzer::mNHFracVSeta_lowPt
private

Definition at line 415 of file JetAnalyzer.h.

◆ mNHFracVSeta_mediumPt

MonitorElement* JetAnalyzer::mNHFracVSeta_mediumPt
private

Definition at line 418 of file JetAnalyzer.h.

◆ mNHFracVSpT_Barrel

MonitorElement* JetAnalyzer::mNHFracVSpT_Barrel
private

Definition at line 406 of file JetAnalyzer.h.

◆ mNHFracVSpT_EndCap

MonitorElement* JetAnalyzer::mNHFracVSpT_EndCap
private

Definition at line 409 of file JetAnalyzer.h.

◆ mNJets

MonitorElement* JetAnalyzer::mNJets
private

Definition at line 264 of file JetAnalyzer.h.

◆ mNJets_profile

MonitorElement* JetAnalyzer::mNJets_profile
private

Definition at line 322 of file JetAnalyzer.h.

◆ mnSubJetsCMSTopTag

MonitorElement* JetAnalyzer::mnSubJetsCMSTopTag
private

Definition at line 661 of file JetAnalyzer.h.

◆ mnSubJetsCMSTopTag_boosted

MonitorElement* JetAnalyzer::mnSubJetsCMSTopTag_boosted
private

Definition at line 700 of file JetAnalyzer.h.

◆ mnSubJetsSoftDrop

MonitorElement* JetAnalyzer::mnSubJetsSoftDrop
private

Definition at line 679 of file JetAnalyzer.h.

◆ mnSubJetsSoftDrop_boosted

MonitorElement* JetAnalyzer::mnSubJetsSoftDrop_boosted
private

Definition at line 718 of file JetAnalyzer.h.

◆ mPhEn_highPt_Barrel

MonitorElement* JetAnalyzer::mPhEn_highPt_Barrel
private

Definition at line 392 of file JetAnalyzer.h.

◆ mPhEn_highPt_EndCap

MonitorElement* JetAnalyzer::mPhEn_highPt_EndCap
private

Definition at line 446 of file JetAnalyzer.h.

◆ mPhEn_lowPt_Barrel

MonitorElement* JetAnalyzer::mPhEn_lowPt_Barrel
private

Definition at line 382 of file JetAnalyzer.h.

◆ mPhEn_lowPt_EndCap

MonitorElement* JetAnalyzer::mPhEn_lowPt_EndCap
private

Definition at line 436 of file JetAnalyzer.h.

◆ mPhEn_mediumPt_Barrel

MonitorElement* JetAnalyzer::mPhEn_mediumPt_Barrel
private

Definition at line 387 of file JetAnalyzer.h.

◆ mPhEn_mediumPt_EndCap

MonitorElement* JetAnalyzer::mPhEn_mediumPt_EndCap
private

Definition at line 441 of file JetAnalyzer.h.

◆ mPhFrac

MonitorElement* JetAnalyzer::mPhFrac
private

Definition at line 558 of file JetAnalyzer.h.

◆ mPhFrac_highPt_Barrel

MonitorElement* JetAnalyzer::mPhFrac_highPt_Barrel
private

Definition at line 379 of file JetAnalyzer.h.

◆ mPhFrac_highPt_EndCap

MonitorElement* JetAnalyzer::mPhFrac_highPt_EndCap
private

Definition at line 432 of file JetAnalyzer.h.

◆ mPhFrac_lowPt_Barrel

MonitorElement* JetAnalyzer::mPhFrac_lowPt_Barrel
private

Definition at line 373 of file JetAnalyzer.h.

◆ mPhFrac_lowPt_EndCap

MonitorElement* JetAnalyzer::mPhFrac_lowPt_EndCap
private

Definition at line 426 of file JetAnalyzer.h.

◆ mPhFrac_mediumPt_Barrel

MonitorElement* JetAnalyzer::mPhFrac_mediumPt_Barrel
private

Definition at line 376 of file JetAnalyzer.h.

◆ mPhFrac_mediumPt_EndCap

MonitorElement* JetAnalyzer::mPhFrac_mediumPt_EndCap
private

Definition at line 429 of file JetAnalyzer.h.

◆ mPhFrac_profile

MonitorElement* JetAnalyzer::mPhFrac_profile
private

Definition at line 563 of file JetAnalyzer.h.

◆ mPhFracVSeta_highPt

MonitorElement* JetAnalyzer::mPhFracVSeta_highPt
private

Definition at line 422 of file JetAnalyzer.h.

◆ mPhFracVSeta_lowPt

MonitorElement* JetAnalyzer::mPhFracVSeta_lowPt
private

Definition at line 416 of file JetAnalyzer.h.

◆ mPhFracVSeta_mediumPt

MonitorElement* JetAnalyzer::mPhFracVSeta_mediumPt
private

Definition at line 419 of file JetAnalyzer.h.

◆ mPhFracVSpT_Barrel

MonitorElement* JetAnalyzer::mPhFracVSpT_Barrel
private

Definition at line 407 of file JetAnalyzer.h.

◆ mPhFracVSpT_EndCap

MonitorElement* JetAnalyzer::mPhFracVSpT_EndCap
private

Definition at line 410 of file JetAnalyzer.h.

◆ mPhi

MonitorElement* JetAnalyzer::mPhi
private

Definition at line 216 of file JetAnalyzer.h.

◆ mPhi_Barrel

MonitorElement* JetAnalyzer::mPhi_Barrel
private

Definition at line 232 of file JetAnalyzer.h.

◆ mPhi_Barrel_Hi

MonitorElement* JetAnalyzer::mPhi_Barrel_Hi
private

Definition at line 250 of file JetAnalyzer.h.

◆ mPhi_EndCap

MonitorElement* JetAnalyzer::mPhi_EndCap
private

Definition at line 238 of file JetAnalyzer.h.

◆ mPhi_EndCap_Hi

MonitorElement* JetAnalyzer::mPhi_EndCap_Hi
private

Definition at line 255 of file JetAnalyzer.h.

◆ mPhi_Forward

MonitorElement* JetAnalyzer::mPhi_Forward
private

Definition at line 244 of file JetAnalyzer.h.

◆ mPhi_Forward_Hi

MonitorElement* JetAnalyzer::mPhi_Forward_Hi
private

Definition at line 260 of file JetAnalyzer.h.

◆ mPhi_Hi

MonitorElement* JetAnalyzer::mPhi_Hi
private

Definition at line 277 of file JetAnalyzer.h.

◆ mPhi_Lo

MonitorElement* JetAnalyzer::mPhi_Lo
private

Definition at line 273 of file JetAnalyzer.h.

◆ mPhi_profile

MonitorElement* JetAnalyzer::mPhi_profile
private

Definition at line 325 of file JetAnalyzer.h.

◆ mPhi_uncor

MonitorElement* JetAnalyzer::mPhi_uncor
private

Definition at line 219 of file JetAnalyzer.h.

◆ mPhiFirst

MonitorElement* JetAnalyzer::mPhiFirst
private

Definition at line 269 of file JetAnalyzer.h.

◆ mPhiVSEta

MonitorElement* JetAnalyzer::mPhiVSEta
private

Definition at line 229 of file JetAnalyzer.h.

◆ mPrunedMass

MonitorElement* JetAnalyzer::mPrunedMass
private

Definition at line 652 of file JetAnalyzer.h.

◆ mPrunedMass_boosted

MonitorElement* JetAnalyzer::mPrunedMass_boosted
private

Definition at line 691 of file JetAnalyzer.h.

◆ mPt

MonitorElement* JetAnalyzer::mPt
private

Definition at line 210 of file JetAnalyzer.h.

◆ mPt_1

MonitorElement* JetAnalyzer::mPt_1
private

Definition at line 211 of file JetAnalyzer.h.

◆ mPt_2

MonitorElement* JetAnalyzer::mPt_2
private

Definition at line 212 of file JetAnalyzer.h.

◆ mPt_3

MonitorElement* JetAnalyzer::mPt_3
private

Definition at line 213 of file JetAnalyzer.h.

◆ mPt_Barrel

MonitorElement* JetAnalyzer::mPt_Barrel
private

Definition at line 231 of file JetAnalyzer.h.

◆ mPt_Barrel_Hi

MonitorElement* JetAnalyzer::mPt_Barrel_Hi
private

Definition at line 249 of file JetAnalyzer.h.

◆ mPt_CaloJet

MonitorElement* JetAnalyzer::mPt_CaloJet
private

Definition at line 729 of file JetAnalyzer.h.

◆ mPt_EndCap

MonitorElement* JetAnalyzer::mPt_EndCap
private

Definition at line 237 of file JetAnalyzer.h.

◆ mPt_EndCap_Hi

MonitorElement* JetAnalyzer::mPt_EndCap_Hi
private

Definition at line 254 of file JetAnalyzer.h.

◆ mPt_Forward

MonitorElement* JetAnalyzer::mPt_Forward
private

Definition at line 243 of file JetAnalyzer.h.

◆ mPt_Forward_Hi

MonitorElement* JetAnalyzer::mPt_Forward_Hi
private

Definition at line 259 of file JetAnalyzer.h.

◆ mPt_Hi

MonitorElement* JetAnalyzer::mPt_Hi
private

Definition at line 278 of file JetAnalyzer.h.

◆ mPt_Lo

MonitorElement* JetAnalyzer::mPt_Lo
private

Definition at line 274 of file JetAnalyzer.h.

◆ mPt_log

MonitorElement* JetAnalyzer::mPt_log
private

Definition at line 214 of file JetAnalyzer.h.

◆ mPt_profile

MonitorElement* JetAnalyzer::mPt_profile
private

Definition at line 323 of file JetAnalyzer.h.

◆ mPt_uncor

MonitorElement* JetAnalyzer::mPt_uncor
private

Definition at line 217 of file JetAnalyzer.h.

◆ mpTD_highPt_Barrel

MonitorElement* JetAnalyzer::mpTD_highPt_Barrel
private

Definition at line 504 of file JetAnalyzer.h.

◆ mpTD_highPt_EndCap

MonitorElement* JetAnalyzer::mpTD_highPt_EndCap
private

Definition at line 517 of file JetAnalyzer.h.

◆ mpTD_highPt_Forward

MonitorElement* JetAnalyzer::mpTD_highPt_Forward
private

Definition at line 530 of file JetAnalyzer.h.

◆ mpTD_lowPt_Barrel

MonitorElement* JetAnalyzer::mpTD_lowPt_Barrel
private

Definition at line 496 of file JetAnalyzer.h.

◆ mpTD_lowPt_EndCap

MonitorElement* JetAnalyzer::mpTD_lowPt_EndCap
private

Definition at line 509 of file JetAnalyzer.h.

◆ mpTD_lowPt_Forward

MonitorElement* JetAnalyzer::mpTD_lowPt_Forward
private

Definition at line 522 of file JetAnalyzer.h.

◆ mpTD_mediumPt_Barrel

MonitorElement* JetAnalyzer::mpTD_mediumPt_Barrel
private

Definition at line 500 of file JetAnalyzer.h.

◆ mpTD_mediumPt_EndCap

MonitorElement* JetAnalyzer::mpTD_mediumPt_EndCap
private

Definition at line 513 of file JetAnalyzer.h.

◆ mpTD_mediumPt_Forward

MonitorElement* JetAnalyzer::mpTD_mediumPt_Forward
private

Definition at line 526 of file JetAnalyzer.h.

◆ mPtFirst

MonitorElement* JetAnalyzer::mPtFirst
private

Definition at line 270 of file JetAnalyzer.h.

◆ mqgLikelihood_highPt_Barrel

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_Barrel
private

Definition at line 506 of file JetAnalyzer.h.

◆ mqgLikelihood_highPt_EndCap

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_EndCap
private

Definition at line 519 of file JetAnalyzer.h.

◆ mqgLikelihood_highPt_Forward

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_Forward
private

Definition at line 532 of file JetAnalyzer.h.

◆ mqgLikelihood_lowPt_Barrel

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_Barrel
private

Definition at line 498 of file JetAnalyzer.h.

◆ mqgLikelihood_lowPt_EndCap

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_EndCap
private

Definition at line 511 of file JetAnalyzer.h.

◆ mqgLikelihood_lowPt_Forward

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_Forward
private

Definition at line 524 of file JetAnalyzer.h.

◆ mqgLikelihood_mediumPt_Barrel

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_Barrel
private

Definition at line 502 of file JetAnalyzer.h.

◆ mqgLikelihood_mediumPt_EndCap

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_EndCap
private

Definition at line 515 of file JetAnalyzer.h.

◆ mqgLikelihood_mediumPt_Forward

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_Forward
private

Definition at line 528 of file JetAnalyzer.h.

◆ mresEMF

MonitorElement* JetAnalyzer::mresEMF
private

Definition at line 367 of file JetAnalyzer.h.

◆ mSoftDropMass

MonitorElement* JetAnalyzer::mSoftDropMass
private

Definition at line 651 of file JetAnalyzer.h.

◆ mSoftDropMass_boosted

MonitorElement* JetAnalyzer::mSoftDropMass_boosted
private

Definition at line 690 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_eta
private

Definition at line 663 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_eta_boosted
private

Definition at line 702 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_mass
private

Definition at line 665 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_mass_boosted
private

Definition at line 704 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_phi
private

Definition at line 664 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_phi_boosted
private

Definition at line 703 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_pt
private

Definition at line 662 of file JetAnalyzer.h.

◆ mSubJet1_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet1_CMSTopTag_pt_boosted
private

Definition at line 701 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_eta

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_eta
private

Definition at line 681 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_eta_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_eta_boosted
private

Definition at line 720 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_mass

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_mass
private

Definition at line 683 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_mass_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_mass_boosted
private

Definition at line 722 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_phi

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_phi
private

Definition at line 682 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_phi_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_phi_boosted
private

Definition at line 721 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_pt

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_pt
private

Definition at line 680 of file JetAnalyzer.h.

◆ mSubJet1_SoftDrop_pt_boosted

MonitorElement* JetAnalyzer::mSubJet1_SoftDrop_pt_boosted
private

Definition at line 719 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_eta
private

Definition at line 667 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_eta_boosted
private

Definition at line 706 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_mass
private

Definition at line 669 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_mass_boosted
private

Definition at line 708 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_phi
private

Definition at line 668 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_phi_boosted
private

Definition at line 707 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_pt
private

Definition at line 666 of file JetAnalyzer.h.

◆ mSubJet2_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet2_CMSTopTag_pt_boosted
private

Definition at line 705 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_eta

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_eta
private

Definition at line 685 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_eta_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_eta_boosted
private

Definition at line 724 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_mass

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_mass
private

Definition at line 687 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_mass_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_mass_boosted
private

Definition at line 726 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_phi

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_phi
private

Definition at line 686 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_phi_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_phi_boosted
private

Definition at line 725 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_pt

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_pt
private

Definition at line 684 of file JetAnalyzer.h.

◆ mSubJet2_SoftDrop_pt_boosted

MonitorElement* JetAnalyzer::mSubJet2_SoftDrop_pt_boosted
private

Definition at line 723 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_eta
private

Definition at line 671 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_eta_boosted
private

Definition at line 710 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_mass
private

Definition at line 673 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_mass_boosted
private

Definition at line 712 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_phi
private

Definition at line 672 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_phi_boosted
private

Definition at line 711 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_pt
private

Definition at line 670 of file JetAnalyzer.h.

◆ mSubJet3_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet3_CMSTopTag_pt_boosted
private

Definition at line 709 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_eta

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_eta
private

Definition at line 675 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_eta_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_eta_boosted
private

Definition at line 714 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_mass

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_mass
private

Definition at line 677 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_mass_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_mass_boosted
private

Definition at line 716 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_phi

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_phi
private

Definition at line 676 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_phi_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_phi_boosted
private

Definition at line 715 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_pt

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_pt
private

Definition at line 674 of file JetAnalyzer.h.

◆ mSubJet4_CMSTopTag_pt_boosted

MonitorElement* JetAnalyzer::mSubJet4_CMSTopTag_pt_boosted
private

Definition at line 713 of file JetAnalyzer.h.

◆ mtau2_over_tau1

MonitorElement* JetAnalyzer::mtau2_over_tau1
private

Definition at line 655 of file JetAnalyzer.h.

◆ mtau2_over_tau1_boosted

MonitorElement* JetAnalyzer::mtau2_over_tau1_boosted
private

Definition at line 694 of file JetAnalyzer.h.

◆ mtau3_over_tau2

MonitorElement* JetAnalyzer::mtau3_over_tau2
private

Definition at line 656 of file JetAnalyzer.h.

◆ mtau3_over_tau2_boosted

MonitorElement* JetAnalyzer::mtau3_over_tau2_boosted
private

Definition at line 695 of file JetAnalyzer.h.

◆ mTightCutPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mTightCutPUJIDPassFractionVSeta
private

Definition at line 304 of file JetAnalyzer.h.

◆ mTightCutPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mTightCutPUJIDPassFractionVSpt
private

Definition at line 305 of file JetAnalyzer.h.

◆ mTightMVAPUJIDPassFractionVSeta

MonitorElement* JetAnalyzer::mTightMVAPUJIDPassFractionVSeta
private

Definition at line 288 of file JetAnalyzer.h.

◆ mTightMVAPUJIDPassFractionVSpt

MonitorElement* JetAnalyzer::mTightMVAPUJIDPassFractionVSpt
private

Definition at line 289 of file JetAnalyzer.h.

◆ mTrimmedMass

MonitorElement* JetAnalyzer::mTrimmedMass
private

Definition at line 653 of file JetAnalyzer.h.

◆ mTrimmedMass_boosted

MonitorElement* JetAnalyzer::mTrimmedMass_boosted
private

Definition at line 692 of file JetAnalyzer.h.

◆ MuonsToken_

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

Definition at line 118 of file JetAnalyzer.h.

◆ mvaFullPUDiscriminantToken_

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

Definition at line 120 of file JetAnalyzer.h.

◆ mvaPUIDToken_

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

Definition at line 123 of file JetAnalyzer.h.

◆ mZJetAsymmetry

MonitorElement* JetAnalyzer::mZJetAsymmetry
private

Definition at line 738 of file JetAnalyzer.h.

◆ mZMass

MonitorElement* JetAnalyzer::mZMass
private

Definition at line 737 of file JetAnalyzer.h.

◆ nbinsPV_

int JetAnalyzer::nbinsPV_
private

Definition at line 188 of file JetAnalyzer.h.

◆ nEEff

MonitorElement* JetAnalyzer::nEEff
private

Definition at line 543 of file JetAnalyzer.h.

◆ nPVhigh_

double JetAnalyzer::nPVhigh_
private

Definition at line 190 of file JetAnalyzer.h.

◆ nPVlow_

double JetAnalyzer::nPVlow_
private

Definition at line 189 of file JetAnalyzer.h.

◆ parameters_

edm::ParameterSet JetAnalyzer::parameters_
private

◆ patJetsToken_

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

Definition at line 119 of file JetAnalyzer.h.

◆ patMetToken_

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

Definition at line 115 of file JetAnalyzer.h.

◆ pBin_

int JetAnalyzer::pBin_
private

Definition at line 184 of file JetAnalyzer.h.

◆ pfjetIDFunctor

PFJetIDSelectionFunctor JetAnalyzer::pfjetIDFunctor
private

Definition at line 156 of file JetAnalyzer.h.

◆ pfjetidquality

PFJetIDSelectionFunctor::Quality_t JetAnalyzer::pfjetidquality
private

Definition at line 153 of file JetAnalyzer.h.

◆ pfjetidversion

PFJetIDSelectionFunctor::Version_t JetAnalyzer::pfjetidversion
private

Definition at line 154 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 113 of file JetAnalyzer.h.

◆ phiBin_

int JetAnalyzer::phiBin_
private

Definition at line 172 of file JetAnalyzer.h.

◆ phiMax_

double JetAnalyzer::phiMax_
private

Definition at line 174 of file JetAnalyzer.h.

◆ phiMin_

double JetAnalyzer::phiMin_
private

Definition at line 173 of file JetAnalyzer.h.

◆ pMax_

double JetAnalyzer::pMax_
private

Definition at line 186 of file JetAnalyzer.h.

◆ pMin_

double JetAnalyzer::pMin_
private

Definition at line 185 of file JetAnalyzer.h.

◆ processname_

std::string JetAnalyzer::processname_
private

Definition at line 334 of file JetAnalyzer.h.

◆ pt_min_boosted_

double JetAnalyzer::pt_min_boosted_
private

Definition at line 348 of file JetAnalyzer.h.

◆ ptBin_

int JetAnalyzer::ptBin_
private

Definition at line 176 of file JetAnalyzer.h.

◆ ptMax_

double JetAnalyzer::ptMax_
private

Definition at line 178 of file JetAnalyzer.h.

◆ ptMin_

double JetAnalyzer::ptMin_
private

Definition at line 177 of file JetAnalyzer.h.

◆ ptThreshold_

double JetAnalyzer::ptThreshold_
private

Definition at line 196 of file JetAnalyzer.h.

◆ ptThresholdUnc_

double JetAnalyzer::ptThresholdUnc_
private

Definition at line 197 of file JetAnalyzer.h.

◆ puppiJetsToken_

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

Definition at line 111 of file JetAnalyzer.h.

◆ puppiMetToken_

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

Definition at line 116 of file JetAnalyzer.h.

◆ qgaxis2Token_

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

Definition at line 128 of file JetAnalyzer.h.

◆ qgLikelihoodToken_

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

Definition at line 126 of file JetAnalyzer.h.

◆ qgMultiplicityToken_

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

Definition at line 125 of file JetAnalyzer.h.

◆ qgptDToken_

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

Definition at line 127 of file JetAnalyzer.h.

◆ runcosmics_

bool JetAnalyzer::runcosmics_
private

Definition at line 350 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 166 of file JetAnalyzer.h.

◆ vertexLabel_

edm::InputTag JetAnalyzer::vertexLabel_
private

Definition at line 138 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 338 of file JetAnalyzer.h.