CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Classes

class  JetAnalyzer
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 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 &)
 Initialize run-based parameters. More...
 
void endRun (const edm::Run &, const edm::EventSetup &)
 Finish up a run. More...
 
 JetAnalyzer (const edm::ParameterSet &)
 Constructor. More...
 
virtual ~JetAnalyzer ()
 Destructor. More...
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

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::CaloJetCollection
caloJetsToken_
 
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
 
int fillJIDPassFrac_
 
std::vector< std::string > folderNames_
 
edm::InputTag gtLabel_
 
edm::EDGetTokenT
< L1GlobalTriggerReadoutRecord
gtToken_
 
GenericTriggerEventFlaghighPtJetEventFlag_
 
std::vector< std::string > highPtJetExpr_
 
HLTConfigProvider hltConfig_
 
bool hltInitialized_
 
edm::InputTag inputJetIDValueMap
 
bool isCaloJet_
 
bool isMiniAODJet_
 
bool isPFJet_
 
bool jetCleaningFlag_
 
edm::InputTag jetCorrectorTag_
 
edm::EDGetTokenT
< reco::JetCorrector
jetCorrectorToken_
 
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_
 
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
 
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
 
MonitorElementmDijetAsymmetry
 
MonitorElementmDijetBalance
 
MonitorElementmDPhi
 
MonitorElementmeCHFracBarrel_BXm1Empty
 
MonitorElementmeCHFracBarrel_BXm1Filled
 
MonitorElementmeCHFracBarrel_BXm2BXm1Empty
 
MonitorElementmeCHFracBarrel_BXm2BXm1Filled
 
MonitorElementmeCHFracEndCapMinus_BXm1Empty
 
MonitorElementmeCHFracEndCapMinus_BXm1Filled
 
MonitorElementmeCHFracEndCapMinus_BXm2BXm1Empty
 
MonitorElementmeCHFracEndCapMinus_BXm2BXm1Filled
 
MonitorElementmeCHFracEndCapPlus_BXm1Empty
 
MonitorElementmeCHFracEndCapPlus_BXm1Filled
 
MonitorElementmeCHFracEndCapPlus_BXm2BXm1Empty
 
MonitorElementmeCHFracEndCapPlus_BXm2BXm1Filled
 
MonitorElementmEEffChargedFraction
 
MonitorElementmEEffNeutralFraction
 
MonitorElementmeEta_BXm1Empty
 
MonitorElementmeEta_BXm1Filled
 
MonitorElementmeEta_BXm2BXm1Empty
 
MonitorElementmeEta_BXm2BXm1Filled
 
MonitorElementmEFrac
 
MonitorElementmEFrac_Barrel
 
MonitorElementmEFrac_EndCap
 
MonitorElementmEFrac_Forward
 
MonitorElementmEFrac_profile
 
MonitorElementmeHFEMFracMinus_BXm1Empty
 
MonitorElementmeHFEMFracMinus_BXm1Filled
 
MonitorElementmeHFEMFracMinus_BXm2BXm1Empty
 
MonitorElementmeHFEMFracMinus_BXm2BXm1Filled
 
MonitorElementmeHFEMFracPlus_BXm1Empty
 
MonitorElementmeHFEMFracPlus_BXm1Filled
 
MonitorElementmeHFEMFracPlus_BXm2BXm1Empty
 
MonitorElementmeHFEMFracPlus_BXm2BXm1Filled
 
MonitorElementmeHFHFracMinus_BXm1Empty
 
MonitorElementmeHFHFracMinus_BXm1Filled
 
MonitorElementmeHFHFracMinus_BXm2BXm1Empty
 
MonitorElementmeHFHFracMinus_BXm2BXm1Filled
 
MonitorElementmeHFHFracPlus_BXm1Empty
 
MonitorElementmeHFHFracPlus_BXm1Filled
 
MonitorElementmeHFHFracPlus_BXm2BXm1Empty
 
MonitorElementmeHFHFracPlus_BXm2BXm1Filled
 
MonitorElementmElEn_highPt_Barrel
 
MonitorElementmElEn_highPt_EndCap
 
MonitorElementmElEn_lowPt_Barrel
 
MonitorElementmElEn_lowPt_EndCap
 
MonitorElementmElEn_mediumPt_Barrel
 
MonitorElementmElEn_mediumPt_EndCap
 
MonitorElementmEmEnergyInEB
 
MonitorElementmEmEnergyInEE
 
MonitorElementmEmEnergyInHF
 
MonitorElementmEMF
 
MonitorElementmeNHFracBarrel_BXm1Empty
 
MonitorElementmeNHFracBarrel_BXm1Filled
 
MonitorElementmeNHFracBarrel_BXm2BXm1Empty
 
MonitorElementmeNHFracBarrel_BXm2BXm1Filled
 
MonitorElementmeNHFracEndCapMinus_BXm1Empty
 
MonitorElementmeNHFracEndCapMinus_BXm1Filled
 
MonitorElementmeNHFracEndCapMinus_BXm2BXm1Empty
 
MonitorElementmeNHFracEndCapMinus_BXm2BXm1Filled
 
MonitorElementmeNHFracEndCapPlus_BXm1Empty
 
MonitorElementmeNHFracEndCapPlus_BXm1Filled
 
MonitorElementmeNHFracEndCapPlus_BXm2BXm1Empty
 
MonitorElementmeNHFracEndCapPlus_BXm2BXm1Filled
 
MonitorElementmePhFracBarrel_BXm1Empty
 
MonitorElementmePhFracBarrel_BXm1Filled
 
MonitorElementmePhFracBarrel_BXm2BXm1Empty
 
MonitorElementmePhFracBarrel_BXm2BXm1Filled
 
MonitorElementmePhFracEndCapMinus_BXm1Empty
 
MonitorElementmePhFracEndCapMinus_BXm1Filled
 
MonitorElementmePhFracEndCapMinus_BXm2BXm1Empty
 
MonitorElementmePhFracEndCapMinus_BXm2BXm1Filled
 
MonitorElementmePhFracEndCapPlus_BXm1Empty
 
MonitorElementmePhFracEndCapPlus_BXm1Filled
 
MonitorElementmePhFracEndCapPlus_BXm2BXm1Empty
 
MonitorElementmePhFracEndCapPlus_BXm2BXm1Filled
 
MonitorElementmePtBarrel_BXm1Empty
 
MonitorElementmePtBarrel_BXm1Filled
 
MonitorElementmePtBarrel_BXm2BXm1Empty
 
MonitorElementmePtBarrel_BXm2BXm1Filled
 
MonitorElementmePtEndCapMinus_BXm1Empty
 
MonitorElementmePtEndCapMinus_BXm1Filled
 
MonitorElementmePtEndCapMinus_BXm2BXm1Empty
 
MonitorElementmePtEndCapMinus_BXm2BXm1Filled
 
MonitorElementmePtEndCapPlus_BXm1Empty
 
MonitorElementmePtEndCapPlus_BXm1Filled
 
MonitorElementmePtEndCapPlus_BXm2BXm1Empty
 
MonitorElementmePtEndCapPlus_BXm2BXm1Filled
 
MonitorElementmePtForwardMinus_BXm1Empty
 
MonitorElementmePtForwardMinus_BXm1Filled
 
MonitorElementmePtForwardMinus_BXm2BXm1Empty
 
MonitorElementmePtForwardMinus_BXm2BXm1Filled
 
MonitorElementmePtForwardPlus_BXm1Empty
 
MonitorElementmePtForwardPlus_BXm1Filled
 
MonitorElementmePtForwardPlus_BXm2BXm1Empty
 
MonitorElementmePtForwardPlus_BXm2BXm1Filled
 
MonitorElementmEResChargedFraction
 
MonitorElementmEResNeutralFraction
 
MonitorElementmEta
 
MonitorElementmEta_Hi
 
MonitorElementmEta_profile
 
MonitorElementmEta_uncor
 
MonitorElementmEtaFirst
 
MonitorElementmfHPD
 
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_
 
MonitorElementmJetEnergyCorr
 
MonitorElementmJetEnergyCorrVSEta
 
MonitorElementmJetEnergyCorrVSPt
 
MonitorElementmLooseCutPUJIDPassFractionVSeta
 
MonitorElementmLooseCutPUJIDPassFractionVSpt
 
MonitorElementmLooseJIDPassFractionVSeta
 
MonitorElementmLooseJIDPassFractionVSpt
 
MonitorElementmLooseJIDPassFractionVSptNoHF
 
MonitorElementmLooseMVAPUJIDPassFractionVSeta
 
MonitorElementmLooseMVAPUJIDPassFractionVSpt
 
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
 
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
 
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
 
MonitorElementmPt
 
MonitorElementmPt_1
 
MonitorElementmPt_2
 
MonitorElementmPt_3
 
MonitorElementmPt_Barrel
 
MonitorElementmPt_Barrel_Hi
 
MonitorElementmPt_EndCap
 
MonitorElementmPt_EndCap_Hi
 
MonitorElementmPt_Forward
 
MonitorElementmPt_Forward_Hi
 
MonitorElementmPt_Hi
 
MonitorElementmPt_Lo
 
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
 
MonitorElementmTightCutPUJIDPassFractionVSeta
 
MonitorElementmTightCutPUJIDPassFractionVSpt
 
MonitorElementmTightMVAPUJIDPassFractionVSeta
 
MonitorElementmTightMVAPUJIDPassFractionVSpt
 
edm::EDGetTokenT
< edm::ValueMap< float > > 
mvaFullPUDiscriminantToken_
 
edm::EDGetTokenT
< edm::ValueMap< int > > 
mvaPUIDToken_
 
int nbinsPV_
 
MonitorElementnEEff
 
double nPVhigh_
 
double nPVlow_
 
edm::ParameterSet parameters_
 
edm::EDGetTokenT
< pat::JetCollection
patJetsToken_
 
int pBin_
 
PFJetIDSelectionFunctor pfjetIDFunctor
 
PFJetIDSelectionFunctor::Quality_t pfjetidquality
 
PFJetIDSelectionFunctor::Version_t pfjetidversion
 
edm::EDGetTokenT
< reco::PFJetCollection
pfJetsToken_
 
int phiBin_
 
double phiMax_
 
double phiMin_
 
double pMax_
 
double pMin_
 
std::string processname_
 
int ptBin_
 
double ptMax_
 
double ptMin_
 
double ptThreshold_
 
double ptThresholdUnc_
 
edm::EDGetTokenT
< edm::ValueMap< float > > 
qgaxis2Token_
 
edm::EDGetTokenT
< edm::ValueMap< float > > 
qgLikelihoodToken_
 
edm::EDGetTokenT
< edm::ValueMap< int > > 
qgMultiplicityToken_
 
edm::EDGetTokenT
< edm::ValueMap< float > > 
qgptDToken_
 
bool runcosmics_
 
edm::InputTag theTriggerResultsLabel_
 
edm::EDGetTokenT
< edm::TriggerResults
triggerResultsToken_
 
int verbose_
 
edm::InputTag vertexLabel_
 
edm::EDGetTokenT< std::vector
< reco::Vertex > > 
vertexToken_
 
MonitorElementverticesME
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

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 73 of file JetAnalyzer.h.

Constructor & Destructor Documentation

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(), HLT_25ns14e33_v1_cff::InputTag, PFJetIDSelectionFunctor::LOOSE, JetIDSelectionFunctor::LOOSE, JetIDSelectionFunctor::LOOSE_AOD, JetIDSelectionFunctor::MINIMAL, JetIDSelectionFunctor::PURE09, AlCaHLTBitMon_QueryRunRegistry::string, PFJetIDSelectionFunctor::TIGHT, JetIDSelectionFunctor::TIGHT, and triggerResultsToken_().

66 {
67 
68  parameters_ = pSet.getParameter<edm::ParameterSet>("jetAnalysis");
69  mInputCollection_ = pSet.getParameter<edm::InputTag> ("jetsrc");
70  m_l1algoname_ = pSet.getParameter<std::string>("l1algoname");
72 
73  jetType_ = pSet.getParameter<std::string>("JetType");
74  m_l1algoname_ = pSet.getParameter<std::string>("l1algoname");
75  m_bitAlgTechTrig_=-1;
76 
77  fill_jet_high_level_histo=pSet.getParameter<bool>("filljetHighLevel"),
78 
79  isCaloJet_ = (std::string("calo")==jetType_);
80  //isJPTJet_ = (std::string("jpt") ==jetType_);
81  isPFJet_ = (std::string("pf") ==jetType_);
82  isMiniAODJet_ = (std::string("miniaod") ==jetType_);
83  jetCorrectorTag_=pSet.getParameter<edm::InputTag>("JetCorrections");
84  if(!isMiniAODJet_){//in MiniAOD jet is already corrected
85  jetCorrectorToken_ = consumes<reco::JetCorrector>(jetCorrectorTag_);
86  }
87 
88  if (isCaloJet_) caloJetsToken_ = consumes<reco::CaloJetCollection>(mInputCollection_);
89  //if (isJPTJet_) jptJetsToken_ = consumes<reco::JPTJetCollection>(mInputCollection_);
90  if (isPFJet_) pfJetsToken_ = consumes<reco::PFJetCollection>(mInputCollection_);
91  if (isMiniAODJet_) patJetsToken_ = consumes<pat::JetCollection>(mInputCollection_);
92 
93  cutBasedPUDiscriminantToken_ = consumes< edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputCutPUIDDiscriminant"));
94  cutBasedPUIDToken_ = consumes< edm::ValueMap<int> >(pSet.getParameter<edm::InputTag>("InputCutPUIDValue"));
95  mvaPUIDToken_ = consumes< edm::ValueMap<int> >(pSet.getParameter<edm::InputTag>("InputMVAPUIDValue"));
96  mvaFullPUDiscriminantToken_ = consumes< edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputMVAPUIDDiscriminant"));
97 
98  qgMultiplicityToken_= consumes< edm::ValueMap<int> >(pSet.getParameter<edm::InputTag>("InputQGMultiplicity"));
99  qgLikelihoodToken_= consumes< edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputQGLikelihood"));
100  qgptDToken_= consumes< edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputQGPtDToken"));
101  qgaxis2Token_= consumes< edm::ValueMap<float> >(pSet.getParameter<edm::InputTag>("InputQGAxis2"));
102 
103  fill_CHS_histos= pSet.getParameter<bool>("fillCHShistos");
104 
105  JetIDQuality_ = pSet.getParameter<string>("JetIDQuality");
106  JetIDVersion_ = pSet.getParameter<string>("JetIDVersion");
107 
108  // JetID definitions for Calo and JPT Jets
109  if(isCaloJet_){
110  inputJetIDValueMap = pSet.getParameter<edm::InputTag>("InputJetIDValueMap");
111  jetID_ValueMapToken_= consumes< edm::ValueMap<reco::JetID> >(inputJetIDValueMap);
112  if(JetIDVersion_== "PURE09"){
114  }else if (JetIDVersion_== "DQM09"){
116  }else if (JetIDVersion_=="CRAFT08"){
118  }else{
119  if (verbose_) std::cout<<"no Valid JetID version given"<<std::endl;
120  }
121  if(JetIDQuality_== "MINIMAL"){
123  }else if (JetIDQuality_== "LOOSE_AOD"){
125  }else if (JetIDQuality_=="LOOSE"){
127  }else if (JetIDQuality_=="TIGHT"){
129  }else{
130  if (verbose_) std::cout<<"no Valid JetID quality given"<<std::endl;
131  }
133 
134  }
135 
136  //Jet ID definitions for PFJets
137  if(isPFJet_ || isMiniAODJet_){
138  if(JetIDVersion_== "FIRSTDATA"){
140  }else{
141  if (verbose_) std::cout<<"no valid PF JetID version given"<<std::endl;
142  }
143  if (JetIDQuality_=="LOOSE"){
145  }else if (JetIDQuality_=="TIGHT"){
147  }else{
148  if (verbose_) std::cout<<"no Valid PFJetID quality given"<<std::endl;
149  }
151  }
152  //check later if some of those are also needed for PFJets
153  leadJetFlag_ = 0;
154  jetLoPass_ = 0;
155  jetHiPass_ = 0;
156  ptThreshold_ = 20.;
157  ptThresholdUnc_ = 20.;
159  balanceThirdJetCut_ = 0.2;
160 
161  theTriggerResultsLabel_ = pSet.getParameter<edm::InputTag>("TriggerResultsLabel");
162  triggerResultsToken_ = consumes<edm::TriggerResults>(edm::InputTag(theTriggerResultsLabel_));
163  //
164  runcosmics_ = pSet.getUntrackedParameter<bool>("runcosmics", false);
165  jetCleaningFlag_ = pSet.getUntrackedParameter<bool>("JetCleaningFlag", true);
166 
167  if(runcosmics_){
168  jetCleaningFlag_ =false;
169  }
170 
171 
172  // ==========================================================
173  //DCS information
174  // ==========================================================
176  DCSFilterForJetMonitoring_ = new JetMETDQMDCSFilter(pSet.getParameter<ParameterSet>("DCSFilterForJetMonitoring"), iC);
177  DCSFilterForDCSMonitoring_ = new JetMETDQMDCSFilter("ecal:hbhe:hf:ho:pixel:sistrip:es:muon", iC);
178 
179  //Trigger selectoin
180  edm::ParameterSet highptjetparms = pSet.getParameter<edm::ParameterSet>("highPtJetTrigger");
181  edm::ParameterSet lowptjetparms = pSet.getParameter<edm::ParameterSet>("lowPtJetTrigger" );
182 
185 
186  highPtJetExpr_ = highptjetparms.getParameter<std::vector<std::string> >("hltPaths");
187  lowPtJetExpr_ = lowptjetparms .getParameter<std::vector<std::string> >("hltPaths");
188 
189  processname_ = pSet.getParameter<std::string>("processname");
190 
191  //jet cleanup parameters
192  cleaningParameters_ = pSet.getParameter<ParameterSet>("CleaningParameters");
193 
194  bypassAllPVChecks_= cleaningParameters_.getParameter<bool>("bypassAllPVChecks");
195  vertexLabel_ = cleaningParameters_.getParameter<edm::InputTag>("vertexCollection");
196  vertexToken_ = consumes<std::vector<reco::Vertex> >(edm::InputTag(vertexLabel_));
197 
198  gtLabel_ = cleaningParameters_.getParameter<edm::InputTag>("gtLabel");
199  gtToken_ = consumes<L1GlobalTriggerReadoutRecord>(edm::InputTag(gtLabel_));
200 
201  std::string inputCollectionLabel(mInputCollection_.label());
202  verbose_= parameters_.getParameter<int>("verbose");
203  // monitoring of eta parameter
204  etaBin_ = parameters_.getParameter<int>("etaBin");
205  etaMin_ = parameters_.getParameter<double>("etaMin");
206  etaMax_ = parameters_.getParameter<double>("etaMax");
207  // monitoring of phi paramater
208  phiBin_ = parameters_.getParameter<int>("phiBin");
209  phiMin_ = parameters_.getParameter<double>("phiMin");
210  phiMax_ = parameters_.getParameter<double>("phiMax");
211  // monitoring of the transverse momentum
212  ptBin_ = parameters_.getParameter<int>("ptBin");
213  ptMin_ = parameters_.getParameter<double>("ptMin");
214  ptMax_ = parameters_.getParameter<double>("ptMax");
215  //
216  eBin_ = parameters_.getParameter<int>("eBin");
217  eMin_ = parameters_.getParameter<double>("eMin");
218  eMax_ = parameters_.getParameter<double>("eMax");
219  //
220  pBin_ = parameters_.getParameter<int>("pBin");
221  pMin_ = parameters_.getParameter<double>("pMin");
222  pMax_ = parameters_.getParameter<double>("pMax");
223  //
224  nbinsPV_ = parameters_.getParameter<int>("pVBin");
225  nPVlow_ = parameters_.getParameter<double>("pVMin");
226  nPVhigh_ = parameters_.getParameter<double>("pVMax");
227  //
228  ptThreshold_ = parameters_.getParameter<double>("ptThreshold");
229  ptThresholdUnc_=parameters_.getParameter<double>("ptThresholdUnc");
230  asymmetryThirdJetCut_ = parameters_.getParameter<double>("asymmetryThirdJetCut");
231  balanceThirdJetCut_ = parameters_.getParameter<double>("balanceThirdJetCut");
232 }
edm::EDGetTokenT< edm::ValueMap< float > > qgaxis2Token_
Definition: JetAnalyzer.h:122
JetIDSelectionFunctor::Version_t jetidversion
Definition: JetAnalyzer.h:144
T getParameter(std::string const &) const
PFJetIDSelectionFunctor::Quality_t pfjetidquality
Definition: JetAnalyzer.h:147
T getUntrackedParameter(std::string const &, T const &) const
bool bypassAllPVChecks_
Definition: JetAnalyzer.h:327
double ptMin_
Definition: JetAnalyzer.h:171
bool jetCleaningFlag_
Definition: JetAnalyzer.h:342
bool fill_jet_high_level_histo
Definition: JetAnalyzer.h:652
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken_
Definition: JetAnalyzer.h:139
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:340
edm::EDGetTokenT< edm::ValueMap< int > > cutBasedPUIDToken_
Definition: JetAnalyzer.h:116
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
Definition: JetAnalyzer.h:111
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:198
double balanceThirdJetCut_
Definition: JetAnalyzer.h:193
edm::EDGetTokenT< edm::ValueMap< float > > qgLikelihoodToken_
Definition: JetAnalyzer.h:120
JetIDSelectionFunctor jetIDFunctor
Definition: JetAnalyzer.h:145
PFJetIDSelectionFunctor pfjetIDFunctor
Definition: JetAnalyzer.h:150
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
Definition: JetAnalyzer.h:112
int leadJetFlag_
Definition: JetAnalyzer.h:189
edm::InputTag inputJetIDValueMap
Definition: JetAnalyzer.h:127
std::string jetType_
Definition: JetAnalyzer.h:106
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
edm::EDGetTokenT< edm::ValueMap< int > > mvaPUIDToken_
Definition: JetAnalyzer.h:117
bool isCaloJet_
Definition: JetAnalyzer.h:648
double pMin_
Definition: JetAnalyzer.h:179
edm::EDGetTokenT< edm::ValueMap< float > > mvaFullPUDiscriminantToken_
Definition: JetAnalyzer.h:114
std::string m_l1algoname_
Definition: JetAnalyzer.h:197
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
Definition: JetAnalyzer.h:109
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:564
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:563
double nPVhigh_
Definition: JetAnalyzer.h:184
bool runcosmics_
Definition: JetAnalyzer.h:344
edm::InputTag gtLabel_
Definition: JetAnalyzer.h:133
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtToken_
Definition: JetAnalyzer.h:110
double pMax_
Definition: JetAnalyzer.h:180
edm::EDGetTokenT< edm::ValueMap< float > > cutBasedPUDiscriminantToken_
Definition: JetAnalyzer.h:115
edm::EDGetTokenT< pat::JetCollection > patJetsToken_
Definition: JetAnalyzer.h:113
double ptMax_
Definition: JetAnalyzer.h:172
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
double ptThreshold_
Definition: JetAnalyzer.h:190
std::string JetIDVersion_
Definition: JetAnalyzer.h:142
std::string processname_
Definition: JetAnalyzer.h:330
bool fill_CHS_histos
Definition: JetAnalyzer.h:654
edm::EDGetTokenT< edm::ValueMap< float > > qgptDToken_
Definition: JetAnalyzer.h:121
edm::InputTag jetCorrectorTag_
Definition: JetAnalyzer.h:138
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: JetAnalyzer.h:108
double eMin_
Definition: JetAnalyzer.h:175
PF Jet selector for pat::Jets.
std::string JetIDQuality_
Definition: JetAnalyzer.h:141
double phiMin_
Definition: JetAnalyzer.h:167
double nPVlow_
Definition: JetAnalyzer.h:183
Jet selector for pat::Jets and for CaloJets.
JetIDSelectionFunctor::Quality_t jetidquality
Definition: JetAnalyzer.h:143
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
Definition: JetAnalyzer.h:128
edm::EDGetTokenT< edm::ValueMap< int > > qgMultiplicityToken_
Definition: JetAnalyzer.h:119
double asymmetryThirdJetCut_
Definition: JetAnalyzer.h:192
double etaMin_
Definition: JetAnalyzer.h:163
double ptThresholdUnc_
Definition: JetAnalyzer.h:191
double etaMax_
Definition: JetAnalyzer.h:164
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:336
bool isMiniAODJet_
Definition: JetAnalyzer.h:650
edm::ParameterSet cleaningParameters_
Definition: JetAnalyzer.h:131
std::string const & label() const
Definition: InputTag.h:42
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:337
edm::ParameterSet parameters_
Definition: JetAnalyzer.h:136
edm::InputTag theTriggerResultsLabel_
Definition: JetAnalyzer.h:102
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:339
tuple cout
Definition: gather_cfg.py:121
PFJetIDSelectionFunctor::Version_t pfjetidversion
Definition: JetAnalyzer.h:148
double eMax_
Definition: JetAnalyzer.h:176
double phiMax_
Definition: JetAnalyzer.h:168
edm::InputTag vertexLabel_
Definition: JetAnalyzer.h:132
edm::InputTag mInputCollection_
Definition: JetAnalyzer.h:101
JetAnalyzer::~JetAnalyzer ( )
virtual

Destructor.

Definition at line 236 of file JetAnalyzer.cc.

References LogTrace, and metname.

236  {
237 
238  delete highPtJetEventFlag_;
239  delete lowPtJetEventFlag_;
240 
243  LogTrace(metname)<<"[JetAnalyzer] Saving the histos";
244 }
const std::string metname
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:564
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:563
#define LogTrace(id)
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:336
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:337

Member Function Documentation

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

Get the analysis.

Implements edm::stream::EDAnalyzerBase.

Definition at line 1326 of file JetAnalyzer.cc.

References gather_cfg::cout, cmsPerfPublish::DirName, reco::LeafCandidate::eta(), eta(), edm::EventID::event(), reco::JetID::fHPD, HcalObjRepresent::Fill(), reco::JetID::fRBX, edm::Event::getByToken(), i, edm::EventBase::id(), edm::HandleBase::isValid(), PileupJetIdentifier::kLoose, PileupJetIdentifier::kMedium, PileupJetIdentifier::kTight, LogDebug, reco::btau::muonMultiplicity, reco::JetID::n90Hits, reco::Jet::nConstituents(), PileupJetIdentifier::passJetId(), jetProducer_cfi::patJets, pfJets_cff::pfJets, phi, reco::LeafCandidate::phi(), edm::Handle< T >::product(), EnergyCorrector::pt, reco::LeafCandidate::pt(), RecoJets_cff::recoJets, reco::JetID::restrictedEMF, pileupReCalc_HLTpaths::scale, reco::Jet::scaleEnergy(), edm::TriggerNames::size(), python.multivaluedict::sort(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), edm::triggerResults(), triggerResultsToken_(), and GoodVertex_cfg::vertexCollection.

1326  {
1327 
1328 
1329  //set general folders first --> change later on for different folders
1330  if(jetCleaningFlag_){
1331  //dbe_->setCurrentFolder("JetMET/Jet/Cleaned"+mInputCollection_.label());
1332  DirName = "JetMET/Jet/Cleaned"+mInputCollection_.label();
1333  }else{
1334  //dbe_->setCurrentFolder("JetMET/Jet/Uncleaned"+mInputCollection_.label());
1335  DirName = "JetMET/Jet/Uncleaned"+mInputCollection_.label();
1336  }
1337 
1338 
1339  Handle<ValueMap<float> > puJetIdMva;
1340  Handle<ValueMap<int> > puJetIdFlagMva;
1341  Handle<ValueMap<float> > puJetId;
1342  Handle<ValueMap<int> > puJetIdFlag;
1343 
1344  Handle<ValueMap<int> > qgMultiplicity;
1345  Handle<ValueMap<float> > qgLikelihood;
1346  Handle<ValueMap<float> > qgptD;
1347  Handle<ValueMap<float> > qgaxis2;
1348 
1349  //should insure we have a PFJet in with CHS
1350  if(fill_CHS_histos){
1351  iEvent.getByToken(qgMultiplicityToken_,qgMultiplicity);
1352  iEvent.getByToken(qgLikelihoodToken_,qgLikelihood);
1353  iEvent.getByToken(qgptDToken_,qgptD);
1354  iEvent.getByToken(qgaxis2Token_,qgaxis2);
1355  }
1356 
1357  if(!isMiniAODJet_){
1358  iEvent.getByToken(mvaPUIDToken_,puJetIdFlagMva);
1359  iEvent.getByToken(cutBasedPUDiscriminantToken_,puJetId);
1360  iEvent.getByToken(cutBasedPUIDToken_,puJetIdFlag);
1361  iEvent.getByToken(mvaFullPUDiscriminantToken_ ,puJetIdMva);
1362  }
1363 
1364  // **** Get the TriggerResults container
1366  iEvent.getByToken(triggerResultsToken_, triggerResults);
1367 
1368  Int_t JetLoPass = 0;
1369  Int_t JetHiPass = 0;
1370 
1371  if (triggerResults.isValid()){
1372  const edm::TriggerNames & triggerNames = iEvent.triggerNames(*triggerResults);
1373 
1374  const unsigned int nTrig(triggerNames.size());
1375  for (unsigned int i=0;i<nTrig;++i)
1376  {
1377  if (triggerNames.triggerName(i).find(highPtJetExpr_[0].substr(0,highPtJetExpr_[0].rfind("_v")+2))!=std::string::npos && triggerResults->accept(i))
1378  JetHiPass=1;
1379  else if (triggerNames.triggerName(i).find(lowPtJetExpr_[0].substr(0,lowPtJetExpr_[0].rfind("_v")+2))!=std::string::npos && triggerResults->accept(i))
1380  JetLoPass=1;
1381  }
1382 
1383  }
1384 
1385  if (verbose_) std::cout << "trigger label " << theTriggerResultsLabel_ << std::endl;
1386 
1387 
1388  if (verbose_) {
1389  std::cout << ">>> Trigger Lo = " << JetLoPass
1390  << " Hi = " << JetHiPass
1391  << std::endl;
1392  }
1393 
1394  // ==========================================================
1395  //Vertex information
1396  Handle<VertexCollection> vertexHandle;
1397  iEvent.getByToken(vertexToken_, vertexHandle);
1398 
1399  if (!vertexHandle.isValid()) {
1400  LogDebug("") << "CaloMETAnalyzer: Could not find vertex collection" << std::endl;
1401  if (verbose_) std::cout << "CaloMETAnalyzer: Could not find vertex collection" << std::endl;
1402  }
1403  int numPV = 0;
1404  if ( vertexHandle.isValid() ){
1405  VertexCollection vertexCollection = *(vertexHandle.product());
1406  numPV = vertexCollection.size();
1407  }
1408  bool bPrimaryVertex = (bypassAllPVChecks_ || (numPV>0));
1409  if(fill_jet_high_level_histo){//should be filled for all events, no selection up to this point
1410  verticesME = map_of_MEs["JetMET/vertices"]; if(verticesME && verticesME->getRootObject())verticesME->Fill(numPV);
1411  }
1412  // ==========================================================
1414  iEvent.getByToken(gtToken_, gtReadoutRecord);
1415 
1416  if (!gtReadoutRecord.isValid()) {
1417  LogInfo("JetAnalyzer") << "JetAnalyzer: Could not find GT readout record" << std::endl;
1418  if (verbose_) std::cout << "JetAnalyzer: Could not find GT readout record product" << std::endl;
1419  }
1420 
1421  bool techTriggerResultBxE = false;
1422  bool techTriggerResultBxF = false;
1423  bool techTriggerResultBx0 = false;
1424 
1425  if (!gtReadoutRecord.isValid()) {
1426  LogDebug("") << "CaloMETAnalyzer: Could not find GT readout record" << std::endl;
1427  if (verbose_) std::cout << "CaloMETAnalyzer: Could not find GT readout record product" << std::endl;
1428  }else{
1429  // trigger results before mask for BxInEvent -2 (E), -1 (F), 0 (L1A), 1, 2
1430  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxE = gtReadoutRecord->technicalTriggerWord(-2);
1431  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxF = gtReadoutRecord->technicalTriggerWord(-1);
1432  const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBx0 = gtReadoutRecord->technicalTriggerWord();
1433  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxG = gtReadoutRecord->technicalTriggerWord(1);
1434  //const TechnicalTriggerWord& technicalTriggerWordBeforeMaskBxH = gtReadoutRecord->technicalTriggerWord(2);
1435  if (m_bitAlgTechTrig_ > -1) {
1436  techTriggerResultBx0 = technicalTriggerWordBeforeMaskBx0.at(m_bitAlgTechTrig_);
1437  if(techTriggerResultBx0!=0){
1438  techTriggerResultBxE = technicalTriggerWordBeforeMaskBxE.at(m_bitAlgTechTrig_);
1439  techTriggerResultBxF = technicalTriggerWordBeforeMaskBxF.at(m_bitAlgTechTrig_);
1440  }
1441  }
1442  }
1443 
1444 
1445  DCSFilterForDCSMonitoring_->filter(iEvent, iSetup);
1446  if(fill_jet_high_level_histo){//should be filled only once
1447  cleanupME = map_of_MEs["JetMET/cleanup"]; if(cleanupME && cleanupME->getRootObject()){
1448  if (bPrimaryVertex) cleanupME->Fill(0.5);
1457  }
1458  }
1463 
1464  if (isCaloJet_) iEvent.getByToken(caloJetsToken_, caloJets);
1465  //if (isJPTJet_) iEvent.getByToken(jptJetsToken_, jptJets);
1466  if (isPFJet_) iEvent.getByToken(pfJetsToken_, pfJets);
1467  if(isMiniAODJet_) iEvent.getByToken(patJetsToken_,patJets);
1468 
1469  edm::Handle< edm::ValueMap<reco::JetID> >jetID_ValueMap_Handle;
1470  if(/*isJPTJet_ || */isCaloJet_){
1471  if(!runcosmics_){
1472  iEvent.getByToken(jetID_ValueMapToken_,jetID_ValueMap_Handle);
1473  }
1474  }
1475 
1476  //check for collections AND DCS filters
1477  bool dcsDecision = DCSFilterForJetMonitoring_->filter(iEvent, iSetup);
1478  bool jetCollectionIsValid = false;
1479  if (isCaloJet_) jetCollectionIsValid = caloJets.isValid();
1480  //if (isJPTJet_) jetCollectionIsValid = jptJets.isValid();
1481  if (isPFJet_) jetCollectionIsValid = pfJets.isValid();
1482  if (isMiniAODJet_) jetCollectionIsValid = patJets.isValid();
1483 
1484 
1485  if (jetCleaningFlag_ && (!jetCollectionIsValid || !bPrimaryVertex || !dcsDecision)) return;
1486 
1487  unsigned int collSize=-1;
1488  if (isCaloJet_) collSize = caloJets->size();
1489  //if (isJPTJet_) {
1490  //collSize=jptJets->size();
1491  //if(collSize>0){
1492  // //update the track propagator and strip noise calculator
1493  // trackPropagator_->update(iSetup);
1494  // //sOverNCalculator_->update(iSetup);
1495  //}
1496  //}
1497  if (isPFJet_) collSize=pfJets->size();
1498  if (isMiniAODJet_) collSize=patJets->size();
1499 
1500  double scale=-1;
1501  //now start changes for jets
1502  std::vector<Jet> corJets;
1503  corJets.clear();
1504 
1505  //maybe not most elegant solution, but works for sure
1506  unsigned int ind1=-1;
1507  double pt1=-1;
1508  unsigned int ind2=-1;
1509  double pt2=-1;
1510  unsigned int ind3=-1;
1511  double pt3=-1;
1512 
1513  bool cleaned_first_jet=false;
1514  bool cleaned_second_jet=false;
1515  bool cleaned_third_jet=false;
1516 
1517  //now start changes for jets
1518  std::vector<Jet> recoJets;
1519  recoJets.clear();
1520 
1521  int numofjets=0;
1522 
1524  bool pass_correction_flag=false;
1525  if(!isMiniAODJet_ && !jetCorrectorTag_.label().empty()){
1526  iEvent.getByToken(jetCorrectorToken_, jetCorr);
1527  if (jetCorr.isValid()){
1528  pass_correction_flag=true;
1529  }
1530  }
1531  if(isMiniAODJet_){
1532  pass_correction_flag=true;
1533  }
1534 
1535  for (unsigned int ijet=0; ijet<collSize; ijet++) {
1536  //bool thiscleaned=false;
1537  Jet correctedJet;
1538  bool pass_uncorrected=false;
1539  bool pass_corrected=false;
1540  if (isCaloJet_){
1541  correctedJet=(*caloJets)[ijet];
1542  }
1543  //if (isJPTJet_){
1544  //correctedJet=(*jptJets)[ijet];
1545  //}
1546  if (isPFJet_){
1547  correctedJet=(*pfJets)[ijet];
1548  }
1549  if (isMiniAODJet_){
1550  correctedJet=(*patJets)[ijet];
1551  }
1552  if(!isMiniAODJet_ && correctedJet.pt()>ptThresholdUnc_){
1553  pass_uncorrected=true;
1554  }
1555  if(isMiniAODJet_ && (correctedJet.pt()*(*patJets)[ijet].jecFactor("Uncorrected"))>ptThresholdUnc_){
1556  pass_uncorrected=true;
1557  }
1558  if (pass_correction_flag && !isMiniAODJet_) {
1559  if (isCaloJet_){
1560  scale = jetCorr->correction((*caloJets)[ijet]);
1561  }
1562  if (isPFJet_){
1563  scale = jetCorr->correction((*pfJets)[ijet]);
1564  }
1565  correctedJet.scaleEnergy(scale);
1566  }
1567  if(correctedJet.pt()> ptThreshold_){
1568  pass_corrected=true;
1569  }
1570 
1571  if (!pass_corrected && !pass_uncorrected) continue;
1572  //fill only corrected jets -> check ID for uncorrected jets
1573  if(pass_corrected){
1574  recoJets.push_back(correctedJet);
1575  }
1576  bool jetpassid=true;
1577  bool Thiscleaned=true;
1578  bool JetIDWPU=true;
1579  //jet ID for calojets
1580  if (isCaloJet_) {
1581  reco::CaloJetRef calojetref(caloJets, ijet);
1582  if(!runcosmics_){
1583  reco::JetID jetID = (*jetID_ValueMap_Handle)[calojetref];
1584  jetpassid = jetIDFunctor((*caloJets)[ijet], jetID);
1585  JetIDWPU=jetpassid;
1586  if(jetCleaningFlag_){
1587  Thiscleaned=jetpassid;
1588  }
1589  if(Thiscleaned && pass_corrected){//if cleaning requested->jet passes a loose ID
1590  mN90Hits = map_of_MEs[DirName+"/"+"N90Hits"]; if (mN90Hits && mN90Hits->getRootObject()) mN90Hits->Fill (jetID.n90Hits);
1591  mfHPD = map_of_MEs[DirName+"/"+"fHPD"]; if (mfHPD && mfHPD->getRootObject()) mfHPD->Fill (jetID.fHPD);
1592  mresEMF = map_of_MEs[DirName+"/"+"resEMF"]; if (mresEMF && mresEMF->getRootObject()) mresEMF->Fill (jetID.restrictedEMF);
1593  mfRBX = map_of_MEs[DirName+"/"+"fRBX"]; if (mfRBX && mfRBX->getRootObject()) mfRBX->Fill (jetID.fRBX);
1594  }
1595  }
1596  if(jetCleaningFlag_){
1597  Thiscleaned=jetpassid;
1598  }
1599  if(Thiscleaned && pass_uncorrected){
1600  mPt_uncor = map_of_MEs[DirName+"/"+"Pt_uncor"]; if (mPt_uncor && mPt_uncor->getRootObject()) mPt_uncor->Fill ((*caloJets)[ijet].pt());
1601  mEta_uncor = map_of_MEs[DirName+"/"+"Eta_uncor"]; if (mEta_uncor && mEta_uncor->getRootObject()) mEta_uncor->Fill ((*caloJets)[ijet].eta());
1602  mPhi_uncor = map_of_MEs[DirName+"/"+"Phi_uncor"]; if (mPhi_uncor && mPhi_uncor->getRootObject()) mPhi_uncor->Fill ((*caloJets)[ijet].phi());
1603  mConstituents_uncor = map_of_MEs[DirName+"/"+"Constituents_uncor"]; if (mConstituents_uncor && mConstituents_uncor->getRootObject()) mConstituents_uncor->Fill ((*caloJets)[ijet].nConstituents());
1604  }
1605  //now do calojet specific fractions and histograms ->H and E fracs
1606  if(Thiscleaned && pass_corrected){//if cleaning requested->jet passes a loose ID
1607  mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*caloJets)[ijet].energyFractionHadronic());
1608  mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill ((*caloJets)[ijet].emEnergyFraction());
1609  mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; if (mHFrac_profile && mHFrac_profile->getRootObject()) mHFrac_profile ->Fill(numPV, (*caloJets)[ijet].energyFractionHadronic());
1610  mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; if (mEFrac_profile && mEFrac_profile->getRootObject()) mEFrac_profile ->Fill(numPV, (*caloJets)[ijet].emEnergyFraction());
1611  if (fabs((*caloJets)[ijet].eta()) <= 1.3) {
1612  mHFrac_Barrel = map_of_MEs[DirName+"/"+"HFrac_Barrel"]; if (mHFrac_Barrel && mHFrac_Barrel->getRootObject()) mHFrac_Barrel->Fill((*caloJets)[ijet].energyFractionHadronic());
1613  mEFrac_Barrel = map_of_MEs[DirName+"/"+"EFrac_Barrel"]; if (mEFrac_Barrel && mEFrac_Barrel->getRootObject()) mEFrac_Barrel->Fill((*caloJets)[ijet].emEnergyFraction());
1614  }else if(fabs((*caloJets)[ijet].eta()) <3.0){
1615  mHFrac_EndCap = map_of_MEs[DirName+"/"+"HFrac_EndCap"]; if (mHFrac_EndCap && mHFrac_EndCap->getRootObject()) mHFrac_EndCap->Fill((*caloJets)[ijet].energyFractionHadronic());
1616  mEFrac_EndCap = map_of_MEs[DirName+"/"+"EFrac_EndCap"]; if (mEFrac_EndCap && mEFrac_EndCap->getRootObject()) mEFrac_EndCap->Fill((*caloJets)[ijet].emEnergyFraction());
1617  }else{
1618  mHFrac_Forward = map_of_MEs[DirName+"/"+"HFrac_Forward"]; if (mHFrac_Forward && mHFrac_Forward->getRootObject()) mHFrac_Forward->Fill((*caloJets)[ijet].energyFractionHadronic());
1619  mEFrac_Forward = map_of_MEs[DirName+"/"+"EFrac_Forward"]; if (mEFrac_Forward && mEFrac_Forward->getRootObject()) mEFrac_Forward->Fill((*caloJets)[ijet].emEnergyFraction());
1620  }
1621  mHadEnergyInHO = map_of_MEs[DirName+"/"+"HadEnergyInHO"]; if (mHadEnergyInHO && mHadEnergyInHO->getRootObject()) mHadEnergyInHO->Fill ((*caloJets)[ijet].hadEnergyInHO());
1622  mHadEnergyInHB = map_of_MEs[DirName+"/"+"HadEnergyInHB"]; if (mHadEnergyInHB && mHadEnergyInHB->getRootObject()) mHadEnergyInHB->Fill ((*caloJets)[ijet].hadEnergyInHB());
1623  mHadEnergyInHF = map_of_MEs[DirName+"/"+"HadEnergyInHF"]; if (mHadEnergyInHF && mHadEnergyInHF->getRootObject()) mHadEnergyInHF->Fill ((*caloJets)[ijet].hadEnergyInHF());
1624  mHadEnergyInHE = map_of_MEs[DirName+"/"+"HadEnergyInHE"]; if (mHadEnergyInHE && mHadEnergyInHE->getRootObject()) mHadEnergyInHE->Fill ((*caloJets)[ijet].hadEnergyInHE());
1625  mEmEnergyInEB = map_of_MEs[DirName+"/"+"EmEnergyInEB"]; if (mEmEnergyInEB && mEmEnergyInEB->getRootObject()) mEmEnergyInEB->Fill ((*caloJets)[ijet].emEnergyInEB());
1626  mEmEnergyInEE = map_of_MEs[DirName+"/"+"EmEnergyInEE"]; if (mEmEnergyInEE && mEmEnergyInEE->getRootObject()) mEmEnergyInEE->Fill ((*caloJets)[ijet].emEnergyInEE());
1627  mEmEnergyInHF = map_of_MEs[DirName+"/"+"EmEnergyInHF"]; if (mEmEnergyInHF && mEmEnergyInHF->getRootObject()) mEmEnergyInHF->Fill ((*caloJets)[ijet].emEnergyInHF());
1628 
1629  }
1630  }
1631  if(isMiniAODJet_ && (*patJets)[ijet].isPFJet()){
1633  jetpassid = pfjetIDFunctor((*patJets)[ijet],stringbitset);
1634  if(jetCleaningFlag_){
1635  Thiscleaned = jetpassid;
1636  JetIDWPU = jetpassid;
1637  }
1638  if(Thiscleaned && pass_uncorrected){
1639  mPt_uncor = map_of_MEs[DirName+"/"+"Pt_uncor"]; if (mPt_uncor && mPt_uncor->getRootObject()) if (mPt_uncor) mPt_uncor->Fill ((*patJets)[ijet].pt()*(*patJets)[ijet].jecFactor("Uncorrected"));
1640  mEta_uncor = map_of_MEs[DirName+"/"+"Eta_uncor"]; if (mEta_uncor && mEta_uncor->getRootObject()) if (mEta_uncor) mEta_uncor->Fill ((*patJets)[ijet].eta());
1641  mPhi_uncor = map_of_MEs[DirName+"/"+"Phi_uncor"]; if (mPhi_uncor && mPhi_uncor->getRootObject()) if (mPhi_uncor) mPhi_uncor->Fill ((*patJets)[ijet].phi());
1642  mConstituents_uncor = map_of_MEs[DirName+"/"+"Constituents_uncor"]; if (mConstituents_uncor && mConstituents_uncor->getRootObject()) if (mConstituents_uncor) mConstituents_uncor->Fill ((*patJets)[ijet].nConstituents());
1643  }
1644  if(Thiscleaned && pass_corrected){
1645  if(fabs(correctedJet.eta()) <= 1.3) {
1646  if(correctedJet.pt()<=50.){
1647  mMVAPUJIDDiscriminant_lowPt_Barrel=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_lowPt_Barrel"]; if(mMVAPUJIDDiscriminant_lowPt_Barrel && mMVAPUJIDDiscriminant_lowPt_Barrel->getRootObject()) mMVAPUJIDDiscriminant_lowPt_Barrel->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1648  }
1649  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1650  mMVAPUJIDDiscriminant_mediumPt_Barrel=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_mediumPt_Barrel"]; if(mMVAPUJIDDiscriminant_mediumPt_Barrel && mMVAPUJIDDiscriminant_mediumPt_Barrel->getRootObject()) mMVAPUJIDDiscriminant_mediumPt_Barrel->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1651  }
1652  if(correctedJet.pt()>140.){
1653  mMVAPUJIDDiscriminant_highPt_Barrel=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_highPt_Barrel"]; if(mMVAPUJIDDiscriminant_highPt_Barrel && mMVAPUJIDDiscriminant_highPt_Barrel->getRootObject()) mMVAPUJIDDiscriminant_highPt_Barrel->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1654  }
1655  mCHFracVSpT_Barrel = map_of_MEs[DirName+"/"+"CHFracVSpT_Barrel"]; if(mCHFracVSpT_Barrel && mCHFracVSpT_Barrel->getRootObject()) mCHFracVSpT_Barrel->Fill(correctedJet.pt(),(*patJets)[ijet].chargedHadronEnergyFraction());
1656  mNHFracVSpT_Barrel = map_of_MEs[DirName+"/"+"NHFracVSpT_Barrel"];if (mNHFracVSpT_Barrel && mNHFracVSpT_Barrel->getRootObject()) mNHFracVSpT_Barrel->Fill(correctedJet.pt(),(*patJets)[ijet].neutralHadronEnergyFraction());
1657  mPhFracVSpT_Barrel = map_of_MEs[DirName+"/"+"PhFracVSpT_Barrel"];if (mPhFracVSpT_Barrel && mPhFracVSpT_Barrel->getRootObject()) mPhFracVSpT_Barrel->Fill(correctedJet.pt(),(*patJets)[ijet].neutralEmEnergyFraction());
1658  }else if(fabs(correctedJet.eta()) <= 3) {
1659  if(correctedJet.pt()<=50.){
1660  mMVAPUJIDDiscriminant_lowPt_EndCap=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_lowPt_EndCap"]; if(mMVAPUJIDDiscriminant_lowPt_EndCap && mMVAPUJIDDiscriminant_lowPt_EndCap->getRootObject()) mMVAPUJIDDiscriminant_lowPt_EndCap->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1661  }
1662  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1663  mMVAPUJIDDiscriminant_mediumPt_EndCap=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_mediumPt_EndCap"]; if(mMVAPUJIDDiscriminant_mediumPt_EndCap && mMVAPUJIDDiscriminant_mediumPt_EndCap->getRootObject()) mMVAPUJIDDiscriminant_mediumPt_EndCap->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1664  }
1665  if(correctedJet.pt()>140.){
1666  mMVAPUJIDDiscriminant_highPt_EndCap=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_highPt_EndCap"]; if(mMVAPUJIDDiscriminant_highPt_EndCap && mMVAPUJIDDiscriminant_highPt_EndCap->getRootObject()) mMVAPUJIDDiscriminant_highPt_EndCap->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1667  }
1668  mCHFracVSpT_EndCap = map_of_MEs[DirName+"/"+"CHFracVSpT_EndCap"]; if(mCHFracVSpT_EndCap && mCHFracVSpT_EndCap->getRootObject()) mCHFracVSpT_EndCap->Fill(correctedJet.pt(),(*patJets)[ijet].chargedHadronEnergyFraction());
1669  mNHFracVSpT_EndCap = map_of_MEs[DirName+"/"+"NHFracVSpT_EndCap"];if (mNHFracVSpT_EndCap && mNHFracVSpT_EndCap->getRootObject()) mNHFracVSpT_EndCap->Fill(correctedJet.pt(),(*patJets)[ijet].neutralHadronEnergyFraction());
1670  mPhFracVSpT_EndCap = map_of_MEs[DirName+"/"+"PhFracVSpT_EndCap"];if (mPhFracVSpT_EndCap && mPhFracVSpT_EndCap->getRootObject()) mPhFracVSpT_EndCap->Fill(correctedJet.pt(),(*patJets)[ijet].neutralEmEnergyFraction());
1671  }else if(fabs(correctedJet.eta()) <= 5) {
1672  if(correctedJet.pt()<=50.){
1673  mMVAPUJIDDiscriminant_lowPt_Forward=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_lowPt_Forward"]; if(mMVAPUJIDDiscriminant_lowPt_Forward && mMVAPUJIDDiscriminant_lowPt_Forward->getRootObject()) mMVAPUJIDDiscriminant_lowPt_Forward->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1674  }
1675  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1676  mMVAPUJIDDiscriminant_mediumPt_Forward=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_mediumPt_Forward"]; if(mMVAPUJIDDiscriminant_mediumPt_Forward && mMVAPUJIDDiscriminant_mediumPt_Forward->getRootObject()) mMVAPUJIDDiscriminant_mediumPt_Forward->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1677  }
1678  if(correctedJet.pt()>140.){
1679  mMVAPUJIDDiscriminant_highPt_Forward=map_of_MEs[DirName+"/"+"MVAPUJIDDiscriminant_highPt_Forward"]; if(mMVAPUJIDDiscriminant_highPt_Forward && mMVAPUJIDDiscriminant_highPt_Forward->getRootObject()) mMVAPUJIDDiscriminant_highPt_Forward->Fill( (*patJets)[ijet].userFloat("pileupJetId:fullDiscriminant"));
1680  }
1681  mHFHFracVSpT_Forward = map_of_MEs[DirName+"/"+"HFHFracVSpT_Forward"]; if (mHFHFracVSpT_Forward && mHFHFracVSpT_Forward->getRootObject()) mHFHFracVSpT_Forward->Fill(correctedJet.pt(),(*patJets)[ijet].HFHadronEnergyFraction ());
1682  mHFEFracVSpT_Forward = map_of_MEs[DirName+"/"+"HFEFracVSpT_Forward"]; if (mHFEFracVSpT_Forward && mHFEFracVSpT_Forward->getRootObject()) mHFEFracVSpT_Forward->Fill (correctedJet.pt(),(*patJets)[ijet].HFEMEnergyFraction ());
1683  }
1684  }
1685  }
1686  if(isPFJet_){
1687  reco::PFJetRef pfjetref(pfJets, ijet);
1688  float puidmva=-1;
1689  float puidcut=-1;
1690  int puidmvaflag=-10;
1691  int puidcutflag=-10;
1692  puidmva=(*puJetIdMva)[pfjetref];
1693  puidcut=(*puJetId)[pfjetref];
1694  puidmvaflag=(*puJetIdFlagMva)[pfjetref];
1695  puidcutflag=(*puJetIdFlag)[pfjetref];
1696  jetpassid = pfjetIDFunctor((*pfJets)[ijet]);
1697 
1698  int QGmulti=-1;
1699  float QGLikelihood=-10;
1700  float QGptD=-10;
1701  float QGaxis2=-10;
1702  if(fill_CHS_histos){
1703  QGmulti=(*qgMultiplicity)[pfjetref];
1704  QGLikelihood=(*qgLikelihood)[pfjetref];
1705  QGptD=(*qgptD)[pfjetref];
1706  QGaxis2=(*qgaxis2)[pfjetref];
1707  }
1708  if(jetCleaningFlag_){
1709  Thiscleaned = jetpassid;
1710  JetIDWPU= (jetpassid && PileupJetIdentifier::passJetId( puidmvaflag, PileupJetIdentifier::kLoose ));
1711  }
1712  if(Thiscleaned && pass_uncorrected){
1713  mPt_uncor = map_of_MEs[DirName+"/"+"Pt_uncor"]; if (mPt_uncor && mPt_uncor->getRootObject()) mPt_uncor->Fill ((*pfJets)[ijet].pt());
1714  mEta_uncor = map_of_MEs[DirName+"/"+"Eta_uncor"]; if (mEta_uncor && mEta_uncor->getRootObject()) mEta_uncor->Fill ((*pfJets)[ijet].eta());
1715  mPhi_uncor = map_of_MEs[DirName+"/"+"Phi_uncor"]; if (mPhi_uncor && mPhi_uncor->getRootObject()) mPhi_uncor->Fill ((*pfJets)[ijet].phi());
1716  mConstituents_uncor = map_of_MEs[DirName+"/"+"Constituents_uncor"]; if (mConstituents_uncor && mConstituents_uncor->getRootObject()) mConstituents_uncor->Fill ((*pfJets)[ijet].nConstituents());
1717  }
1718  if(Thiscleaned && pass_corrected){
1722  }else{
1725  }
1729  }else{
1732  }
1736  }else{
1739  }
1743  }else{
1746  }
1750  }else{
1753  }
1757  }else{
1760  }
1761  if (correctedJet.pt()<= 50) {
1762  mCHFracVSeta_lowPt = map_of_MEs[DirName+"/"+"CHFracVSeta_lowPt"]; if (mCHFracVSeta_lowPt && mCHFracVSeta_lowPt->getRootObject()) mCHFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].chargedHadronEnergyFraction());
1763  mNHFracVSeta_lowPt = map_of_MEs[DirName+"/"+"NHFracVSeta_lowPt"]; if (mNHFracVSeta_lowPt && mNHFracVSeta_lowPt->getRootObject()) mNHFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].neutralHadronEnergyFraction());
1764  mPhFracVSeta_lowPt = map_of_MEs[DirName+"/"+"PhFracVSeta_lowPt"]; if (mPhFracVSeta_lowPt && mPhFracVSeta_lowPt->getRootObject()) mPhFracVSeta_lowPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].neutralEmEnergyFraction());
1765  }
1766  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1767  mCHFracVSeta_mediumPt = map_of_MEs[DirName+"/"+"CHFracVSeta_mediumPt"]; if (mCHFracVSeta_mediumPt && mCHFracVSeta_mediumPt->getRootObject()) mCHFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].chargedHadronEnergyFraction());
1768  mNHFracVSeta_mediumPt = map_of_MEs[DirName+"/"+"NHFracVSeta_mediumPt"]; if (mNHFracVSeta_mediumPt && mNHFracVSeta_mediumPt->getRootObject()) mNHFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].neutralHadronEnergyFraction());
1769  mPhFracVSeta_mediumPt = map_of_MEs[DirName+"/"+"PhFracVSeta_mediumPt"]; if (mPhFracVSeta_mediumPt && mPhFracVSeta_mediumPt->getRootObject()) mPhFracVSeta_mediumPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].neutralEmEnergyFraction());
1770  }
1771  if (correctedJet.pt()>140.) {
1772  mCHFracVSeta_highPt = map_of_MEs[DirName+"/"+"CHFracVSeta_highPt"]; if (mCHFracVSeta_highPt && mCHFracVSeta_highPt->getRootObject()) mCHFracVSeta_highPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].chargedHadronEnergyFraction());
1773  mNHFracVSeta_highPt = map_of_MEs[DirName+"/"+"NHFracVSeta_highPt"]; if (mNHFracVSeta_highPt && mNHFracVSeta_highPt->getRootObject()) mNHFracVSeta_highPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].neutralHadronEnergyFraction());
1774  mPhFracVSeta_highPt = map_of_MEs[DirName+"/"+"PhFracVSeta_highPt"]; if (mPhFracVSeta_highPt && mPhFracVSeta_highPt->getRootObject()) mPhFracVSeta_highPt->Fill((*pfJets)[ijet].eta(),(*pfJets)[ijet].neutralEmEnergyFraction());
1775  }
1776  if (fabs(correctedJet.eta()) <= 1.3) {
1777  //fractions for barrel
1778  if (correctedJet.pt()<=50.) {
1783  mMass_lowPt_Barrel=map_of_MEs[DirName+"/"+"JetMass_lowPt_Barrel"]; if(mMass_lowPt_Barrel && mMass_lowPt_Barrel->getRootObject())mMass_lowPt_Barrel->Fill((*pfJets)[ijet].mass());
1786  mCHFrac_lowPt_Barrel = map_of_MEs[DirName+"/"+"CHFrac_lowPt_Barrel"]; if (mCHFrac_lowPt_Barrel && mCHFrac_lowPt_Barrel->getRootObject()) mCHFrac_lowPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1787  mNHFrac_lowPt_Barrel = map_of_MEs[DirName+"/"+"NHFrac_lowPt_Barrel"]; if (mNHFrac_lowPt_Barrel && mNHFrac_lowPt_Barrel->getRootObject()) mNHFrac_lowPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1788  mPhFrac_lowPt_Barrel = map_of_MEs[DirName+"/"+"PhFrac_lowPt_Barrel"]; if (mPhFrac_lowPt_Barrel && mPhFrac_lowPt_Barrel->getRootObject()) mPhFrac_lowPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
1789  mCHEn_lowPt_Barrel = map_of_MEs[DirName+"/"+"CHEn_lowPt_Barrel"]; if (mCHEn_lowPt_Barrel && mCHEn_lowPt_Barrel->getRootObject()) mCHEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
1790  mNHEn_lowPt_Barrel = map_of_MEs[DirName+"/"+"NHEn_lowPt_Barrel"]; if (mNHEn_lowPt_Barrel && mNHEn_lowPt_Barrel->getRootObject()) mNHEn_lowPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
1791  mPhEn_lowPt_Barrel = map_of_MEs[DirName+"/"+"PhEn_lowPt_Barrel"]; if (mPhEn_lowPt_Barrel && mPhEn_lowPt_Barrel->getRootObject()) mPhEn_lowPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
1792  mElEn_lowPt_Barrel = map_of_MEs[DirName+"/"+"ElEn_lowPt_Barrel"]; if (mElEn_lowPt_Barrel && mElEn_lowPt_Barrel->getRootObject()) mElEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
1793  mMuEn_lowPt_Barrel = map_of_MEs[DirName+"/"+"MuEn_lowPt_Barrel"]; if (mMuEn_lowPt_Barrel && mMuEn_lowPt_Barrel->getRootObject()) mMuEn_lowPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
1794  mChMultiplicity_lowPt_Barrel = map_of_MEs[DirName+"/"+"ChMultiplicity_lowPt_Barrel"]; if(mChMultiplicity_lowPt_Barrel && mChMultiplicity_lowPt_Barrel->getRootObject()) mChMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
1795  mNeutMultiplicity_lowPt_Barrel = map_of_MEs[DirName+"/"+"NeutMultiplicity_lowPt_Barrel"]; if(mNeutMultiplicity_lowPt_Barrel && mNeutMultiplicity_lowPt_Barrel->getRootObject()) mNeutMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
1796  mMuMultiplicity_lowPt_Barrel = map_of_MEs[DirName+"/"+"MuMultiplicity_lowPt_Barrel"]; if(mMuMultiplicity_lowPt_Barrel && mMuMultiplicity_lowPt_Barrel->getRootObject()) mMuMultiplicity_lowPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
1797  }
1798  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1803  mMass_mediumPt_Barrel=map_of_MEs[DirName+"/"+"JetMass_mediumPt_Barrel"]; if(mMass_mediumPt_Barrel && mMass_mediumPt_Barrel->getRootObject())mMass_mediumPt_Barrel->Fill((*pfJets)[ijet].mass());
1806  mCHFrac_mediumPt_Barrel = map_of_MEs[DirName+"/"+"CHFrac_mediumPt_Barrel"]; if (mCHFrac_mediumPt_Barrel && mCHFrac_mediumPt_Barrel->getRootObject()) mCHFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1807  mNHFrac_mediumPt_Barrel = map_of_MEs[DirName+"/"+"NHFrac_mediumPt_Barrel"]; if (mNHFrac_mediumPt_Barrel && mNHFrac_mediumPt_Barrel->getRootObject()) mNHFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1808  mPhFrac_mediumPt_Barrel = map_of_MEs[DirName+"/"+"PhFrac_mediumPt_Barrel"]; if (mPhFrac_mediumPt_Barrel && mPhFrac_mediumPt_Barrel->getRootObject()) mPhFrac_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
1809  mCHEn_mediumPt_Barrel = map_of_MEs[DirName+"/"+"CHEn_mediumPt_Barrel"]; if (mCHEn_mediumPt_Barrel && mCHEn_mediumPt_Barrel->getRootObject()) mCHEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
1810  mNHEn_mediumPt_Barrel = map_of_MEs[DirName+"/"+"NHEn_mediumPt_Barrel"]; if (mNHEn_mediumPt_Barrel && mNHEn_mediumPt_Barrel->getRootObject()) mNHEn_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
1811  mPhEn_mediumPt_Barrel = map_of_MEs[DirName+"/"+"PhEn_mediumPt_Barrel"]; if (mPhEn_mediumPt_Barrel && mPhEn_mediumPt_Barrel->getRootObject()) mPhEn_mediumPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
1812  mElEn_mediumPt_Barrel = map_of_MEs[DirName+"/"+"ElEn_mediumPt_Barrel"]; if (mElEn_mediumPt_Barrel && mElEn_mediumPt_Barrel->getRootObject()) mElEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
1813  mMuEn_mediumPt_Barrel = map_of_MEs[DirName+"/"+"MuEn_mediumPt_Barrel"]; if (mMuEn_mediumPt_Barrel && mMuEn_mediumPt_Barrel->getRootObject()) mMuEn_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
1814  mChMultiplicity_mediumPt_Barrel = map_of_MEs[DirName+"/"+"ChMultiplicity_mediumPt_Barrel"]; if(mChMultiplicity_mediumPt_Barrel && mChMultiplicity_mediumPt_Barrel->getRootObject()) mChMultiplicity_mediumPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
1817  }
1818  if (correctedJet.pt()>140.) {
1823  mMass_highPt_Barrel=map_of_MEs[DirName+"/"+"JetMass_highPt_Barrel"]; if(mMass_highPt_Barrel && mMass_highPt_Barrel->getRootObject())mMass_highPt_Barrel->Fill((*pfJets)[ijet].mass());
1826  mCHFrac_highPt_Barrel = map_of_MEs[DirName+"/"+"CHFrac_highPt_Barrel"]; if (mCHFrac_highPt_Barrel && mCHFrac_highPt_Barrel->getRootObject()) mCHFrac_highPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1827  mNHFrac_highPt_Barrel = map_of_MEs[DirName+"/"+"NHFrac_highPt_Barrel"]; if (mNHFrac_highPt_Barrel && mNHFrac_highPt_Barrel->getRootObject()) mNHFrac_highPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1828  mPhFrac_highPt_Barrel = map_of_MEs[DirName+"/"+"PhFrac_highPt_Barrel"]; if (mPhFrac_highPt_Barrel && mPhFrac_highPt_Barrel->getRootObject()) mPhFrac_highPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
1829  mCHEn_highPt_Barrel = map_of_MEs[DirName+"/"+"CHEn_highPt_Barrel"]; if (mCHEn_highPt_Barrel && mCHEn_highPt_Barrel->getRootObject()) mCHEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedHadronEnergy());
1830  mNHEn_highPt_Barrel = map_of_MEs[DirName+"/"+"NHEn_highPt_Barrel"]; if (mNHEn_highPt_Barrel && mNHEn_highPt_Barrel->getRootObject()) mNHEn_highPt_Barrel->Fill((*pfJets)[ijet].neutralHadronEnergy());
1831  mPhEn_highPt_Barrel = map_of_MEs[DirName+"/"+"PhEn_highPt_Barrel"]; if (mPhEn_highPt_Barrel && mPhEn_highPt_Barrel->getRootObject()) mPhEn_highPt_Barrel->Fill((*pfJets)[ijet].neutralEmEnergy());
1832  mElEn_highPt_Barrel = map_of_MEs[DirName+"/"+"ElEn_highPt_Barrel"]; if (mElEn_highPt_Barrel && mElEn_highPt_Barrel->getRootObject()) mElEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedEmEnergy());
1833  mMuEn_highPt_Barrel = map_of_MEs[DirName+"/"+"MuEn_highPt_Barrel"]; if (mMuEn_highPt_Barrel && mMuEn_highPt_Barrel->getRootObject()) mMuEn_highPt_Barrel->Fill((*pfJets)[ijet].chargedMuEnergy());
1834  mChMultiplicity_highPt_Barrel = map_of_MEs[DirName+"/"+"ChMultiplicity_highPt_Barrel"]; if(mChMultiplicity_highPt_Barrel && mChMultiplicity_highPt_Barrel->getRootObject()) mChMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].chargedMultiplicity());
1835  mNeutMultiplicity_highPt_Barrel = map_of_MEs[DirName+"/"+"NeutMultiplicity_highPt_Barrel"]; if(mNeutMultiplicity_highPt_Barrel && mNeutMultiplicity_highPt_Barrel->getRootObject()) mNeutMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].neutralMultiplicity());
1836  mMuMultiplicity_highPt_Barrel = map_of_MEs[DirName+"/"+"MuMultiplicity_highPt_Barrel"]; if(mMuMultiplicity_highPt_Barrel && mMuMultiplicity_highPt_Barrel->getRootObject()) mMuMultiplicity_highPt_Barrel->Fill((*pfJets)[ijet].muonMultiplicity());
1837  }
1838  mCHFracVSpT_Barrel = map_of_MEs[DirName+"/"+"CHFracVSpT_Barrel"]; if(mCHFracVSpT_Barrel && mCHFracVSpT_Barrel->getRootObject()) mCHFracVSpT_Barrel->Fill(correctedJet.pt(),(*pfJets)[ijet].chargedHadronEnergyFraction());
1839  mNHFracVSpT_Barrel = map_of_MEs[DirName+"/"+"NHFracVSpT_Barrel"];if (mNHFracVSpT_Barrel && mNHFracVSpT_Barrel->getRootObject()) mNHFracVSpT_Barrel->Fill(correctedJet.pt(),(*pfJets)[ijet].neutralHadronEnergyFraction());
1840  mPhFracVSpT_Barrel = map_of_MEs[DirName+"/"+"PhFracVSpT_Barrel"];if (mPhFracVSpT_Barrel && mPhFracVSpT_Barrel->getRootObject()) mPhFracVSpT_Barrel->Fill(correctedJet.pt(),(*pfJets)[ijet].neutralEmEnergyFraction());
1841  }else if(fabs(correctedJet.eta()) <= 3) {
1842  //fractions for endcap
1843  if (correctedJet.pt()<=50.) {
1848  mMass_lowPt_EndCap=map_of_MEs[DirName+"/"+"JetMass_lowPt_EndCap"]; if(mMass_lowPt_EndCap && mMass_lowPt_EndCap->getRootObject())mMass_lowPt_EndCap->Fill((*pfJets)[ijet].mass());
1851  mCHFrac_lowPt_EndCap = map_of_MEs[DirName+"/"+"CHFrac_lowPt_EndCap"]; if (mCHFrac_lowPt_EndCap && mCHFrac_lowPt_EndCap->getRootObject()) mCHFrac_lowPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1852  mNHFrac_lowPt_EndCap = map_of_MEs[DirName+"/"+"NHFrac_lowPt_EndCap"]; if (mNHFrac_lowPt_EndCap && mNHFrac_lowPt_EndCap->getRootObject()) mNHFrac_lowPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1853  mPhFrac_lowPt_EndCap = map_of_MEs[DirName+"/"+"PhFrac_lowPt_EndCap"]; if (mPhFrac_lowPt_EndCap && mPhFrac_lowPt_EndCap->getRootObject()) mPhFrac_lowPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
1854  mCHEn_lowPt_EndCap = map_of_MEs[DirName+"/"+"CHEn_lowPt_EndCap"]; if (mCHEn_lowPt_EndCap && mCHEn_lowPt_EndCap->getRootObject()) mCHEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
1855  mNHEn_lowPt_EndCap = map_of_MEs[DirName+"/"+"NHEn_lowPt_EndCap"]; if (mNHEn_lowPt_EndCap && mNHEn_lowPt_EndCap->getRootObject()) mNHEn_lowPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
1856  mPhEn_lowPt_EndCap = map_of_MEs[DirName+"/"+"PhEn_lowPt_EndCap"]; if (mPhEn_lowPt_EndCap && mPhEn_lowPt_EndCap->getRootObject()) mPhEn_lowPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
1857  mElEn_lowPt_EndCap = map_of_MEs[DirName+"/"+"ElEn_lowPt_EndCap"]; if (mElEn_lowPt_EndCap && mElEn_lowPt_EndCap->getRootObject()) mElEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
1858  mMuEn_lowPt_EndCap = map_of_MEs[DirName+"/"+"MuEn_lowPt_EndCap"]; if (mMuEn_lowPt_EndCap && mMuEn_lowPt_EndCap->getRootObject()) mMuEn_lowPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
1859  mChMultiplicity_lowPt_EndCap = map_of_MEs[DirName+"/"+"ChMultiplicity_lowPt_EndCap"]; if(mChMultiplicity_lowPt_EndCap && mChMultiplicity_lowPt_EndCap->getRootObject()) mChMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
1860  mNeutMultiplicity_lowPt_EndCap = map_of_MEs[DirName+"/"+"NeutMultiplicity_lowPt_EndCap"]; if(mNeutMultiplicity_lowPt_EndCap && mNeutMultiplicity_lowPt_EndCap->getRootObject()) mNeutMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
1861  mMuMultiplicity_lowPt_EndCap = map_of_MEs[DirName+"/"+"MuMultiplicity_lowPt_EndCap"]; if(mMuMultiplicity_lowPt_EndCap && mMuMultiplicity_lowPt_EndCap->getRootObject()) mMuMultiplicity_lowPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
1862  }
1863  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1868  mMass_mediumPt_EndCap=map_of_MEs[DirName+"/"+"JetMass_mediumPt_EndCap"]; if(mMass_mediumPt_EndCap && mMass_mediumPt_EndCap->getRootObject())mMass_mediumPt_EndCap->Fill((*pfJets)[ijet].mass());
1871  mCHFrac_mediumPt_EndCap = map_of_MEs[DirName+"/"+"CHFrac_mediumPt_EndCap"]; if (mCHFrac_mediumPt_EndCap && mCHFrac_mediumPt_EndCap->getRootObject()) mCHFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1872  mNHFrac_mediumPt_EndCap = map_of_MEs[DirName+"/"+"NHFrac_mediumPt_EndCap"]; if (mNHFrac_mediumPt_EndCap && mNHFrac_mediumPt_EndCap->getRootObject()) mNHFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1873  mPhFrac_mediumPt_EndCap = map_of_MEs[DirName+"/"+"PhFrac_mediumPt_EndCap"]; if (mPhFrac_mediumPt_EndCap && mPhFrac_mediumPt_EndCap->getRootObject()) mPhFrac_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
1874  mCHEn_mediumPt_EndCap = map_of_MEs[DirName+"/"+"CHEn_mediumPt_EndCap"]; if (mCHEn_mediumPt_EndCap && mCHEn_mediumPt_EndCap->getRootObject()) mCHEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
1875  mNHEn_mediumPt_EndCap = map_of_MEs[DirName+"/"+"NHEn_mediumPt_EndCap"]; if (mNHEn_mediumPt_EndCap && mNHEn_mediumPt_EndCap->getRootObject()) mNHEn_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
1876  mPhEn_mediumPt_EndCap = map_of_MEs[DirName+"/"+"PhEn_mediumPt_EndCap"]; if (mPhEn_mediumPt_EndCap && mPhEn_mediumPt_EndCap->getRootObject()) mPhEn_mediumPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
1877  mElEn_mediumPt_EndCap = map_of_MEs[DirName+"/"+"ElEn_mediumPt_EndCap"]; if (mElEn_mediumPt_EndCap && mElEn_mediumPt_EndCap->getRootObject()) mElEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
1878  mMuEn_mediumPt_EndCap = map_of_MEs[DirName+"/"+"MuEn_mediumPt_EndCap"]; if (mMuEn_mediumPt_EndCap && mMuEn_mediumPt_EndCap->getRootObject()) mMuEn_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
1879  mChMultiplicity_mediumPt_EndCap = map_of_MEs[DirName+"/"+"ChMultiplicity_mediumPt_EndCap"]; if(mChMultiplicity_mediumPt_EndCap && mChMultiplicity_mediumPt_EndCap->getRootObject()) mChMultiplicity_mediumPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
1882  }
1883  if (correctedJet.pt()>140.) {
1888  mMass_highPt_EndCap=map_of_MEs[DirName+"/"+"JetMass_highPt_EndCap"]; if(mMass_highPt_EndCap && mMass_highPt_EndCap->getRootObject())mMass_highPt_EndCap->Fill((*pfJets)[ijet].mass());
1891  mCHFrac_highPt_EndCap = map_of_MEs[DirName+"/"+"CHFrac_highPt_EndCap"]; if (mCHFrac_highPt_EndCap && mCHFrac_highPt_EndCap->getRootObject()) mCHFrac_highPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1892  mNHFrac_highPt_EndCap = map_of_MEs[DirName+"/"+"NHFrac_highPt_EndCap"]; if (mNHFrac_highPt_EndCap && mNHFrac_highPt_EndCap->getRootObject()) mNHFrac_highPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1893  mPhFrac_highPt_EndCap = map_of_MEs[DirName+"/"+"PhFrac_highPt_EndCap"]; if (mPhFrac_highPt_EndCap && mPhFrac_highPt_EndCap->getRootObject()) mPhFrac_highPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergyFraction());
1894  mCHEn_highPt_EndCap = map_of_MEs[DirName+"/"+"CHEn_highPt_EndCap"]; if (mCHEn_highPt_EndCap && mCHEn_highPt_EndCap->getRootObject()) mCHEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedHadronEnergy());
1895  mNHEn_highPt_EndCap = map_of_MEs[DirName+"/"+"NHEn_highPt_EndCap"]; if (mNHEn_highPt_EndCap && mNHEn_highPt_EndCap->getRootObject()) mNHEn_highPt_EndCap->Fill((*pfJets)[ijet].neutralHadronEnergy());
1896  mPhEn_highPt_EndCap = map_of_MEs[DirName+"/"+"PhEn_highPt_EndCap"]; if (mPhEn_highPt_EndCap && mPhEn_highPt_EndCap->getRootObject()) mPhEn_highPt_EndCap->Fill((*pfJets)[ijet].neutralEmEnergy());
1897  mElEn_highPt_EndCap = map_of_MEs[DirName+"/"+"ElEn_highPt_EndCap"]; if (mElEn_highPt_EndCap && mElEn_highPt_EndCap->getRootObject()) mElEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedEmEnergy());
1898  mMuEn_highPt_EndCap = map_of_MEs[DirName+"/"+"MuEn_highPt_EndCap"]; if (mMuEn_highPt_EndCap && mMuEn_highPt_EndCap->getRootObject()) mMuEn_highPt_EndCap->Fill((*pfJets)[ijet].chargedMuEnergy());
1899  mChMultiplicity_highPt_EndCap = map_of_MEs[DirName+"/"+"ChMultiplicity_highPt_EndCap"]; if(mChMultiplicity_highPt_EndCap && mChMultiplicity_highPt_EndCap->getRootObject()) mChMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].chargedMultiplicity());
1900  mNeutMultiplicity_highPt_EndCap = map_of_MEs[DirName+"/"+"NeutMultiplicity_highPt_EndCap"]; if(mNeutMultiplicity_highPt_EndCap && mNeutMultiplicity_highPt_EndCap->getRootObject()) mNeutMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].neutralMultiplicity());
1901  mMuMultiplicity_highPt_EndCap = map_of_MEs[DirName+"/"+"MuMultiplicity_highPt_EndCap"]; if(mMuMultiplicity_highPt_EndCap && mMuMultiplicity_highPt_EndCap->getRootObject()) mMuMultiplicity_highPt_EndCap->Fill((*pfJets)[ijet].muonMultiplicity());
1902  }
1903  mCHFracVSpT_EndCap = map_of_MEs[DirName+"/"+"CHFracVSpT_EndCap"]; if(mCHFracVSpT_EndCap && mCHFracVSpT_EndCap->getRootObject()) mCHFracVSpT_EndCap->Fill(correctedJet.pt(),(*pfJets)[ijet].chargedHadronEnergyFraction());
1904  mNHFracVSpT_EndCap = map_of_MEs[DirName+"/"+"NHFracVSpT_EndCap"];if (mNHFracVSpT_EndCap && mNHFracVSpT_EndCap->getRootObject()) mNHFracVSpT_EndCap->Fill(correctedJet.pt(),(*pfJets)[ijet].neutralHadronEnergyFraction());
1905  mPhFracVSpT_EndCap = map_of_MEs[DirName+"/"+"PhFracVSpT_EndCap"];if (mPhFracVSpT_EndCap && mPhFracVSpT_EndCap->getRootObject()) mPhFracVSpT_EndCap->Fill(correctedJet.pt(),(*pfJets)[ijet].neutralEmEnergyFraction());
1906  }else{
1907  mHFHFracVSpT_Forward = map_of_MEs[DirName+"/"+"HFHFracVSpT_Forward"]; if (mHFHFracVSpT_Forward && mHFHFracVSpT_Forward->getRootObject()) mHFHFracVSpT_Forward->Fill(correctedJet.pt(),(*pfJets)[ijet].HFHadronEnergyFraction ());
1908  mHFEFracVSpT_Forward = map_of_MEs[DirName+"/"+"HFEFracVSpT_Forward"]; if (mHFEFracVSpT_Forward && mHFEFracVSpT_Forward->getRootObject()) mHFEFracVSpT_Forward->Fill (correctedJet.pt(),(*pfJets)[ijet].HFEMEnergyFraction ());
1909  //fractions
1910  if (correctedJet.pt()<=50.) {
1915  mMass_lowPt_Forward=map_of_MEs[DirName+"/"+"JetMass_lowPt_Forward"]; if(mMass_lowPt_Forward && mMass_lowPt_Forward->getRootObject())mMass_lowPt_Forward->Fill((*pfJets)[ijet].mass());
1918  mHFEFrac_lowPt_Forward = map_of_MEs[DirName+"/"+"HFEFrac_lowPt_Forward"]; if(mHFEFrac_lowPt_Forward && mHFEFrac_lowPt_Forward->getRootObject()) mHFEFrac_lowPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
1919  mHFEFrac_lowPt_Forward = map_of_MEs[DirName+"/"+"HFEFrac_lowPt_Forward"]; if(mHFHFrac_lowPt_Forward && mHFHFrac_lowPt_Forward->getRootObject()) mHFHFrac_lowPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
1920  mHFEEn_lowPt_Forward = map_of_MEs[DirName+"/"+"HFEEn_lowPt_Forward"]; if(mHFEEn_lowPt_Forward && mHFEEn_lowPt_Forward->getRootObject()) mHFEEn_lowPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
1921  mHFHEn_lowPt_Forward = map_of_MEs[DirName+"/"+"HFHEn_lowPt_Forward"]; if(mHFHEn_lowPt_Forward && mHFHEn_lowPt_Forward->getRootObject()) mHFHEn_lowPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
1922  mNeutMultiplicity_lowPt_Forward = map_of_MEs[DirName+"/"+"NeutMultiplicity_lowPt_Forward"]; if(mNeutMultiplicity_lowPt_Forward && mNeutMultiplicity_lowPt_Forward->getRootObject()) mNeutMultiplicity_lowPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
1923  }
1924  if (correctedJet.pt()>50. && correctedJet.pt()<=140.) {
1929  mMass_mediumPt_Forward=map_of_MEs[DirName+"/"+"JetMass_mediumPt_Forward"]; if(mMass_mediumPt_Forward && mMass_mediumPt_Forward->getRootObject())mMass_mediumPt_Forward->Fill((*pfJets)[ijet].mass());
1932  mHFEFrac_mediumPt_Forward = map_of_MEs[DirName+"/"+"HFEFrac_mediumPt_Forward"]; if(mHFEFrac_mediumPt_Forward && mHFEFrac_mediumPt_Forward->getRootObject()) mHFEFrac_mediumPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
1933  mHFEFrac_mediumPt_Forward = map_of_MEs[DirName+"/"+"HFEFrac_mediumPt_Forward"]; if(mHFHFrac_mediumPt_Forward && mHFHFrac_mediumPt_Forward->getRootObject()) mHFHFrac_mediumPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
1934  mHFEEn_mediumPt_Forward = map_of_MEs[DirName+"/"+"HFEEn_mediumPt_Forward"]; if(mHFEEn_mediumPt_Forward && mHFEEn_mediumPt_Forward->getRootObject()) mHFEEn_mediumPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
1935  mHFHEn_mediumPt_Forward = map_of_MEs[DirName+"/"+"HFHEn_mediumPt_Forward"]; if(mHFHEn_mediumPt_Forward && mHFHEn_mediumPt_Forward->getRootObject()) mHFHEn_mediumPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
1937  }
1938  if (correctedJet.pt()>140.) {
1943  mMass_highPt_Forward=map_of_MEs[DirName+"/"+"JetMass_highPt_Forward"]; if(mMass_highPt_Forward && mMass_highPt_Forward->getRootObject())mMass_highPt_Forward->Fill((*pfJets)[ijet].mass());
1946  mHFEFrac_highPt_Forward = map_of_MEs[DirName+"/"+"HFEFrac_highPt_Forward"]; if(mHFEFrac_highPt_Forward && mHFEFrac_highPt_Forward->getRootObject()) mHFEFrac_highPt_Forward->Fill((*pfJets)[ijet].HFEMEnergyFraction());
1947  mHFEFrac_highPt_Forward = map_of_MEs[DirName+"/"+"HFEFrac_highPt_Forward"]; if(mHFHFrac_highPt_Forward && mHFHFrac_highPt_Forward->getRootObject()) mHFHFrac_highPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
1948  mHFEEn_highPt_Forward = map_of_MEs[DirName+"/"+"HFEEn_highPt_Forward"]; if(mHFEEn_highPt_Forward && mHFEEn_highPt_Forward->getRootObject()) mHFEEn_highPt_Forward->Fill((*pfJets)[ijet].HFEMEnergy());
1949  mHFHEn_highPt_Forward = map_of_MEs[DirName+"/"+"HFHEn_highPt_Forward"]; if(mHFHEn_highPt_Forward && mHFHEn_highPt_Forward->getRootObject()) mHFHEn_highPt_Forward->Fill((*pfJets)[ijet].HFHadronEnergy());
1950  mNeutMultiplicity_highPt_Forward = map_of_MEs[DirName+"/"+"NeutMultiplicity_highPt_Forward"]; if(mNeutMultiplicity_highPt_Forward && mNeutMultiplicity_highPt_Forward->getRootObject()) mNeutMultiplicity_highPt_Forward->Fill((*pfJets)[ijet].neutralMultiplicity());
1951  }
1952  }
1953  //OOT plots
1954  if(techTriggerResultBx0 && techTriggerResultBxE && techTriggerResultBxF){
1955  meEta_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"Eta_BXm2BXm1Filled"]; if ( meEta_BXm2BXm1Filled && meEta_BXm2BXm1Filled ->getRootObject()) meEta_BXm2BXm1Filled ->Fill((*pfJets)[ijet].eta());
1956  if(fabs(correctedJet.eta()) <= 1.3) {
1957  mePhFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm2BXm1Filled"]; if ( mePhFracBarrel_BXm2BXm1Filled && mePhFracBarrel_BXm2BXm1Filled ->getRootObject()) mePhFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
1958  meNHFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm2BXm1Filled"]; if ( meNHFracBarrel_BXm2BXm1Filled && meNHFracBarrel_BXm2BXm1Filled ->getRootObject()) meNHFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1959  meCHFracBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm2BXm1Filled"]; if ( meCHFracBarrel_BXm2BXm1Filled && meCHFracBarrel_BXm2BXm1Filled ->getRootObject()) meCHFracBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1960  mePtBarrel_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtBarrel_BXm2BXm1Filled"]; if ( mePtBarrel_BXm2BXm1Filled && mePtBarrel_BXm2BXm1Filled ->getRootObject()) mePtBarrel_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
1961  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
1962  mePhFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Filled"]; if ( mePhFracEndCapMinus_BXm2BXm1Filled && mePhFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) mePhFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
1963  meNHFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Filled"]; if ( meNHFracEndCapMinus_BXm2BXm1Filled && meNHFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1964  meCHFracEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Filled"]; if ( meCHFracEndCapMinus_BXm2BXm1Filled && meCHFracEndCapMinus_BXm2BXm1Filled ->getRootObject()) meCHFracEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1965  mePtEndCapMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm2BXm1Filled"]; if ( mePtEndCapMinus_BXm2BXm1Filled && mePtEndCapMinus_BXm2BXm1Filled ->getRootObject()) mePtEndCapMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
1966  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
1967  mePhFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Filled"]; if ( mePhFracEndCapPlus_BXm2BXm1Filled && mePhFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) mePhFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
1968  meNHFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Filled"]; if ( meNHFracEndCapPlus_BXm2BXm1Filled && meNHFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) meNHFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1969  meCHFracEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Filled"]; if ( meCHFracEndCapPlus_BXm2BXm1Filled && meCHFracEndCapPlus_BXm2BXm1Filled ->getRootObject()) meCHFracEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1970  mePtEndCapPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm2BXm1Filled"]; if ( mePtEndCapPlus_BXm2BXm1Filled && mePtEndCapPlus_BXm2BXm1Filled ->getRootObject()) mePtEndCapPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
1971  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
1972  mePtForwardMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm2BXm1Filled"]; if ( mePtForwardMinus_BXm2BXm1Filled && mePtForwardMinus_BXm2BXm1Filled ->getRootObject()) mePtForwardMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
1973  meHFHFracMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm2BXm1Filled"]; if ( meHFHFracMinus_BXm2BXm1Filled && meHFHFracMinus_BXm2BXm1Filled ->getRootObject()) meHFHFracMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
1974  meHFEMFracMinus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm2BXm1Filled"]; if ( meHFEMFracMinus_BXm2BXm1Filled && meHFEMFracMinus_BXm2BXm1Filled ->getRootObject()) meHFEMFracMinus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
1975  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
1976  mePtForwardPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm2BXm1Filled"]; if ( mePtForwardPlus_BXm2BXm1Filled && mePtForwardPlus_BXm2BXm1Filled ->getRootObject()) mePtForwardPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].pt());
1977  meHFHFracPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm2BXm1Filled"]; if ( meHFHFracPlus_BXm2BXm1Filled && meHFHFracPlus_BXm2BXm1Filled ->getRootObject()) meHFHFracPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
1978  meHFEMFracPlus_BXm2BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm2BXm1Filled"]; if ( meHFEMFracPlus_BXm2BXm1Filled && meHFEMFracPlus_BXm2BXm1Filled ->getRootObject()) meHFEMFracPlus_BXm2BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
1979  }
1980  }
1981  if(techTriggerResultBx0 && techTriggerResultBxF){
1982  meEta_BXm1Filled = map_of_MEs[DirName+"/"+"Eta_BXm1Filled"]; if ( meEta_BXm1Filled && meEta_BXm1Filled ->getRootObject()) meEta_BXm1Filled ->Fill((*pfJets)[ijet].eta());
1983  if(fabs(correctedJet.eta()) <= 1.3) {
1984  mePhFracBarrel_BXm1Filled = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm1Filled"]; if ( mePhFracBarrel_BXm1Filled && mePhFracBarrel_BXm1Filled ->getRootObject()) mePhFracBarrel_BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
1985  meNHFracBarrel_BXm1Filled = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm1Filled"]; if ( meNHFracBarrel_BXm1Filled && meNHFracBarrel_BXm1Filled ->getRootObject()) meNHFracBarrel_BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1986  meCHFracBarrel_BXm1Filled = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm1Filled"]; if ( meCHFracBarrel_BXm1Filled && meCHFracBarrel_BXm1Filled ->getRootObject()) meCHFracBarrel_BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1987  mePtBarrel_BXm1Filled = map_of_MEs[DirName+"/"+"PtBarrel_BXm1Filled"]; if ( mePtBarrel_BXm1Filled && mePtBarrel_BXm1Filled ->getRootObject()) mePtBarrel_BXm1Filled ->Fill((*pfJets)[ijet].pt());
1988  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
1989  mePhFracEndCapMinus_BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm1Filled"]; if ( mePhFracEndCapMinus_BXm1Filled && mePhFracEndCapMinus_BXm1Filled ->getRootObject()) mePhFracEndCapMinus_BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
1990  meNHFracEndCapMinus_BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm1Filled"]; if ( meNHFracEndCapMinus_BXm1Filled && meNHFracEndCapMinus_BXm1Filled ->getRootObject()) meNHFracEndCapMinus_BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1991  meCHFracEndCapMinus_BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm1Filled"]; if ( meCHFracEndCapMinus_BXm1Filled && meCHFracEndCapMinus_BXm1Filled ->getRootObject()) meCHFracEndCapMinus_BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1992  mePtEndCapMinus_BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm1Filled"]; if ( mePtEndCapMinus_BXm1Filled && mePtEndCapMinus_BXm1Filled ->getRootObject()) mePtEndCapMinus_BXm1Filled ->Fill((*pfJets)[ijet].pt());
1993  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
1994  mePhFracEndCapPlus_BXm1Filled = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm1Filled"]; if ( mePhFracEndCapPlus_BXm1Filled && mePhFracEndCapPlus_BXm1Filled ->getRootObject()) mePhFracEndCapPlus_BXm1Filled ->Fill((*pfJets)[ijet].photonEnergyFraction());
1995  meNHFracEndCapPlus_BXm1Filled = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm1Filled"]; if ( meNHFracEndCapPlus_BXm1Filled && meNHFracEndCapPlus_BXm1Filled ->getRootObject()) meNHFracEndCapPlus_BXm1Filled ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
1996  meCHFracEndCapPlus_BXm1Filled = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm1Filled"]; if ( meCHFracEndCapPlus_BXm1Filled && meCHFracEndCapPlus_BXm1Filled ->getRootObject()) meCHFracEndCapPlus_BXm1Filled ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
1997  mePtEndCapPlus_BXm1Filled = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm1Filled"]; if ( mePtEndCapPlus_BXm1Filled && mePtEndCapPlus_BXm1Filled ->getRootObject()) mePtEndCapPlus_BXm1Filled ->Fill((*pfJets)[ijet].pt());
1998  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
1999  mePtForwardMinus_BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm1Filled"]; if ( mePtForwardMinus_BXm1Filled && mePtForwardMinus_BXm1Filled ->getRootObject()) mePtForwardMinus_BXm1Filled ->Fill((*pfJets)[ijet].pt());
2000  meHFHFracMinus_BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm1Filled"]; if ( meHFHFracMinus_BXm1Filled && meHFHFracMinus_BXm1Filled ->getRootObject()) meHFHFracMinus_BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
2001  meHFEMFracMinus_BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm1Filled"]; if ( meHFEMFracMinus_BXm1Filled && meHFEMFracMinus_BXm1Filled ->getRootObject()) meHFEMFracMinus_BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
2002  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
2003  mePtForwardPlus_BXm1Filled = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm1Filled"]; if ( mePtForwardPlus_BXm1Filled && mePtForwardPlus_BXm1Filled ->getRootObject()) mePtForwardPlus_BXm1Filled ->Fill((*pfJets)[ijet].pt());
2004  meHFHFracPlus_BXm1Filled = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm1Filled"]; if ( meHFHFracPlus_BXm1Filled && meHFHFracPlus_BXm1Filled ->getRootObject()) meHFHFracPlus_BXm1Filled ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
2005  meHFEMFracPlus_BXm1Filled = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm1Filled"]; if ( meHFEMFracPlus_BXm1Filled && meHFEMFracPlus_BXm1Filled ->getRootObject()) meHFEMFracPlus_BXm1Filled ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
2006  }
2007  }
2008  if(techTriggerResultBx0 && !techTriggerResultBxE && !techTriggerResultBxF){
2009  meEta_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"Eta_BXm2BXm1Empty"]; if ( meEta_BXm2BXm1Empty && meEta_BXm2BXm1Empty ->getRootObject()) meEta_BXm2BXm1Empty ->Fill((*pfJets)[ijet].eta());
2010  if(fabs(correctedJet.eta()) <= 1.3) {
2011  mePhFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm2BXm1Empty"]; if ( mePhFracBarrel_BXm2BXm1Empty && mePhFracBarrel_BXm2BXm1Empty ->getRootObject()) mePhFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
2012  meNHFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm2BXm1Empty"]; if ( meNHFracBarrel_BXm2BXm1Empty && meNHFracBarrel_BXm2BXm1Empty ->getRootObject()) meNHFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
2013  meCHFracBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm2BXm1Empty"]; if ( meCHFracBarrel_BXm2BXm1Empty && meCHFracBarrel_BXm2BXm1Empty ->getRootObject()) meCHFracBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
2014  mePtBarrel_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtBarrel_BXm2BXm1Empty"]; if ( mePtBarrel_BXm2BXm1Empty && mePtBarrel_BXm2BXm1Empty ->getRootObject()) mePtBarrel_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
2015  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
2016  mePhFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Empty"]; if ( mePhFracEndCapMinus_BXm2BXm1Empty && mePhFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) mePhFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
2017  meNHFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Empty"]; if ( meNHFracEndCapMinus_BXm2BXm1Empty && meNHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
2018  meCHFracEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Empty"]; if ( meCHFracEndCapMinus_BXm2BXm1Empty && meCHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meCHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
2019  mePtEndCapMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm2BXm1Empty"]; if ( mePtEndCapMinus_BXm2BXm1Empty && mePtEndCapMinus_BXm2BXm1Empty ->getRootObject()) mePtEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
2020  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
2021  mePhFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Empty"]; if ( mePhFracEndCapPlus_BXm2BXm1Empty && mePhFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) mePhFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
2022  meNHFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Empty"]; if ( meNHFracEndCapPlus_BXm2BXm1Empty && meNHFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
2023  meCHFracEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Empty"]; if ( meCHFracEndCapPlus_BXm2BXm1Empty && meCHFracEndCapPlus_BXm2BXm1Empty ->getRootObject()) meCHFracEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
2024  mePtEndCapPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm2BXm1Empty"]; if ( mePtEndCapPlus_BXm2BXm1Empty && mePtEndCapPlus_BXm2BXm1Empty ->getRootObject()) mePtEndCapPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
2025  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
2026  mePtForwardMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm2BXm1Empty"]; if ( mePtForwardMinus_BXm2BXm1Empty && mePtForwardMinus_BXm2BXm1Empty ->getRootObject()) mePtForwardMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
2027  meHFHFracMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm2BXm1Empty"]; if ( meHFHFracMinus_BXm2BXm1Empty && meHFHFracMinus_BXm2BXm1Empty ->getRootObject()) meHFHFracMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
2028  meHFEMFracMinus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm2BXm1Empty"]; if ( meHFEMFracMinus_BXm2BXm1Empty && meHFEMFracMinus_BXm2BXm1Empty ->getRootObject()) meHFEMFracMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
2029  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
2030  mePtForwardPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm2BXm1Empty"]; if ( mePtForwardPlus_BXm2BXm1Empty && mePtForwardPlus_BXm2BXm1Empty ->getRootObject()) mePtForwardPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].pt());
2031  meHFHFracPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm2BXm1Empty"]; if ( meHFHFracPlus_BXm2BXm1Empty && meHFHFracPlus_BXm2BXm1Empty ->getRootObject()) meHFHFracPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
2032  meHFEMFracPlus_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm2BXm1Empty"]; if ( meHFEMFracPlus_BXm2BXm1Empty && meHFEMFracPlus_BXm2BXm1Empty ->getRootObject()) meHFEMFracPlus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
2033  }
2034  }
2035  if(techTriggerResultBx0 && !techTriggerResultBxF){
2036  meEta_BXm1Empty = map_of_MEs[DirName+"/"+"Eta_BXm1Empty"]; if ( meEta_BXm1Empty && meEta_BXm1Empty ->getRootObject()) meEta_BXm1Empty ->Fill((*pfJets)[ijet].eta());
2037  if(fabs(correctedJet.eta()) <= 1.3) {
2038  mePhFracBarrel_BXm1Empty = map_of_MEs[DirName+"/"+"PhFracBarrel_BXm1Empty"]; if ( mePhFracBarrel_BXm1Empty && mePhFracBarrel_BXm1Empty ->getRootObject()) mePhFracBarrel_BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
2039  meNHFracBarrel_BXm1Empty = map_of_MEs[DirName+"/"+"NHFracBarrel_BXm1Empty"]; if ( meNHFracBarrel_BXm1Empty && meNHFracBarrel_BXm1Empty ->getRootObject()) meNHFracBarrel_BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
2040  meCHFracBarrel_BXm1Empty = map_of_MEs[DirName+"/"+"CHFracBarrel_BXm1Empty"]; if ( meCHFracBarrel_BXm1Empty && meCHFracBarrel_BXm1Empty ->getRootObject()) meCHFracBarrel_BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
2041  mePtBarrel_BXm1Empty = map_of_MEs[DirName+"/"+"PtBarrel_BXm1Empty"]; if ( mePtBarrel_BXm1Empty && mePtBarrel_BXm1Empty ->getRootObject()) mePtBarrel_BXm1Empty ->Fill((*pfJets)[ijet].pt());
2042  }else if (correctedJet.eta() > -3.0 && correctedJet.eta() <= -1.3) {
2043  mePhFracEndCapMinus_BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapMinus_BXm1Empty"]; if ( mePhFracEndCapMinus_BXm1Empty && mePhFracEndCapMinus_BXm1Empty ->getRootObject()) mePhFracEndCapMinus_BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
2044  meNHFracEndCapMinus_BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm1Empty"]; if ( meNHFracEndCapMinus_BXm1Empty && meNHFracEndCapMinus_BXm1Empty ->getRootObject()) meNHFracEndCapMinus_BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
2045  meCHFracEndCapMinus_BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapMinus_BXm1Empty"]; if ( meCHFracEndCapMinus_BXm1Empty && meCHFracEndCapMinus_BXm1Empty ->getRootObject()) meCHFracEndCapMinus_BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
2046  mePtEndCapMinus_BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapMinus_BXm1Empty"]; if ( mePtEndCapMinus_BXm1Empty && mePtEndCapMinus_BXm1Empty ->getRootObject()) mePtEndCapMinus_BXm1Empty ->Fill((*pfJets)[ijet].pt());
2047  }else if (correctedJet.eta() >= 1.3 && correctedJet.eta() < 3.0) {
2048  mePhFracEndCapPlus_BXm1Empty = map_of_MEs[DirName+"/"+"PhFracEndCapPlus_BXm1Empty"]; if ( mePhFracEndCapPlus_BXm1Empty && mePhFracEndCapPlus_BXm1Empty ->getRootObject()) mePhFracEndCapPlus_BXm1Empty ->Fill((*pfJets)[ijet].photonEnergyFraction());
2049  meNHFracEndCapPlus_BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapPlus_BXm1Empty"]; if ( meNHFracEndCapPlus_BXm1Empty && meNHFracEndCapPlus_BXm1Empty ->getRootObject()) meNHFracEndCapPlus_BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
2050  meCHFracEndCapPlus_BXm1Empty = map_of_MEs[DirName+"/"+"CHFracEndCapPlus_BXm1Empty"]; if ( meCHFracEndCapPlus_BXm1Empty && meCHFracEndCapPlus_BXm1Empty ->getRootObject()) meCHFracEndCapPlus_BXm1Empty ->Fill((*pfJets)[ijet].chargedHadronEnergyFraction());
2051  mePtEndCapPlus_BXm1Empty = map_of_MEs[DirName+"/"+"PtEndCapPlus_BXm1Empty"]; if ( mePtEndCapPlus_BXm1Empty && mePtEndCapPlus_BXm1Empty ->getRootObject()) mePtEndCapPlus_BXm1Empty ->Fill((*pfJets)[ijet].pt());
2052  }else if (correctedJet.eta() > -5.0 && correctedJet.eta() <= -3.0) {
2053  mePtForwardMinus_BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardMinus_BXm1Empty"]; if ( mePtForwardMinus_BXm1Empty && mePtForwardMinus_BXm1Empty ->getRootObject()) mePtForwardMinus_BXm1Empty ->Fill((*pfJets)[ijet].pt());
2054  meHFHFracMinus_BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracMinus_BXm1Empty"]; if ( meHFHFracMinus_BXm1Empty && meHFHFracMinus_BXm1Empty ->getRootObject()) meHFHFracMinus_BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
2055  meHFEMFracMinus_BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracMinus_BXm1Empty"]; if ( meHFEMFracMinus_BXm1Empty && meHFEMFracMinus_BXm1Empty ->getRootObject()) meHFEMFracMinus_BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
2056  }else if (correctedJet.eta() >= 3.0 && correctedJet.eta() < 5.0) {
2057  mePtForwardPlus_BXm1Empty = map_of_MEs[DirName+"/"+"PtForwardPlus_BXm1Empty"]; if ( mePtForwardPlus_BXm1Empty && mePtForwardPlus_BXm1Empty ->getRootObject()) mePtForwardPlus_BXm1Empty ->Fill((*pfJets)[ijet].pt());
2058  meHFHFracPlus_BXm1Empty = map_of_MEs[DirName+"/"+"HFHFracPlus_BXm1Empty"]; if ( meHFHFracPlus_BXm1Empty && meHFHFracPlus_BXm1Empty ->getRootObject()) meHFHFracPlus_BXm1Empty ->Fill((*pfJets)[ijet].HFHadronEnergyFraction());
2059  meHFEMFracPlus_BXm1Empty = map_of_MEs[DirName+"/"+"HFEMFracPlus_BXm1Empty"]; if ( meHFEMFracPlus_BXm1Empty && meHFEMFracPlus_BXm1Empty ->getRootObject()) meHFEMFracPlus_BXm1Empty ->Fill((*pfJets)[ijet].HFEMEnergyFraction());
2060  }
2061  }
2062  mChargedHadronEnergy = map_of_MEs[DirName+"/"+"ChargedHadronEnergy"]; if (mChargedHadronEnergy && mChargedHadronEnergy->getRootObject()) mChargedHadronEnergy->Fill ((*pfJets)[ijet].chargedHadronEnergy());
2063  mNeutralHadronEnergy = map_of_MEs[DirName+"/"+"NeutralHadronEnergy"]; if (mNeutralHadronEnergy && mNeutralHadronEnergy->getRootObject()) mNeutralHadronEnergy->Fill ((*pfJets)[ijet].neutralHadronEnergy());
2064  mChargedEmEnergy = map_of_MEs[DirName+"/"+"ChargedEmEnergy"]; if (mChargedEmEnergy && mChargedEmEnergy->getRootObject()) mChargedEmEnergy->Fill((*pfJets)[ijet].chargedEmEnergy());
2065  mChargedMuEnergy = map_of_MEs[DirName+"/"+"ChargedMuEnergy"]; if (mChargedMuEnergy && mChargedMuEnergy->getRootObject()) mChargedMuEnergy->Fill ((*pfJets)[ijet].chargedMuEnergy ());
2066  mNeutralEmEnergy = map_of_MEs[DirName+"/"+"NeutralEmEnergy"]; if (mNeutralEmEnergy && mNeutralEmEnergy->getRootObject()) mNeutralEmEnergy->Fill((*pfJets)[ijet].neutralEmEnergy());
2067  mChargedMultiplicity = map_of_MEs[DirName+"/"+"ChargedMultiplicity"]; if (mChargedMultiplicity && mChargedMultiplicity->getRootObject()) mChargedMultiplicity->Fill((*pfJets)[ijet].chargedMultiplicity());
2068  mNeutralMultiplicity = map_of_MEs[DirName+"/"+"NeutralMultiplicity"]; if (mNeutralMultiplicity && mNeutralMultiplicity->getRootObject()) mNeutralMultiplicity->Fill((*pfJets)[ijet].neutralMultiplicity());
2070  //_______________________________________________________
2071  mNeutralFraction = map_of_MEs[DirName+"/"+"NeutralConstituentsFraction"];if (mNeutralFraction && mNeutralFraction->getRootObject()) mNeutralFraction->Fill ((double)(*pfJets)[ijet].neutralMultiplicity()/(double)(*pfJets)[ijet].nConstituents());
2072  mChargedHadronEnergy_profile = map_of_MEs[DirName+"/"+"ChargedHadronEnergy_profile"]; if (mChargedHadronEnergy_profile && mChargedHadronEnergy_profile->getRootObject()) mChargedHadronEnergy_profile->Fill(numPV, (*pfJets)[ijet].chargedHadronEnergy());
2073  mNeutralHadronEnergy_profile = map_of_MEs[DirName+"/"+"NeutralHadronEnergy_profile"];if (mNeutralHadronEnergy_profile && mNeutralHadronEnergy_profile->getRootObject()) mNeutralHadronEnergy_profile->Fill(numPV, (*pfJets)[ijet].neutralHadronEnergy());
2074  mChargedEmEnergy_profile = map_of_MEs[DirName+"/"+"ChargedEmEnergy_profile"]; if (mChargedEmEnergy_profile && mChargedEmEnergy_profile->getRootObject()) mChargedEmEnergy_profile ->Fill(numPV, (*pfJets)[ijet].chargedEmEnergy());
2075  mChargedMuEnergy_profile = map_of_MEs[DirName+"/"+"ChargedMuEnergy_profile"];if (mChargedMuEnergy_profile && mChargedMuEnergy_profile->getRootObject()) mChargedMuEnergy_profile ->Fill(numPV, (*pfJets)[ijet].chargedMuEnergy ());
2076  mNeutralEmEnergy_profile = map_of_MEs[DirName+"/"+"NeutralEmEnergy_profile"];if (mNeutralEmEnergy_profile && mNeutralEmEnergy_profile->getRootObject()) mNeutralEmEnergy_profile ->Fill(numPV, (*pfJets)[ijet].neutralEmEnergy());
2077  mChargedMultiplicity_profile = map_of_MEs[DirName+"/"+"ChargedMultiplicity_profile"]; if (mChargedMultiplicity_profile && mChargedMultiplicity_profile->getRootObject()) mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].chargedMultiplicity());
2078  mNeutralMultiplicity_profile = map_of_MEs[DirName+"/"+"NeutralMultiplicity_profile"];if (mNeutralMultiplicity_profile && mNeutralMultiplicity_profile->getRootObject()) mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ijet].neutralMultiplicity());
2079  mMuonMultiplicity_profile = map_of_MEs[DirName+"/"+"MuonMultiplicity_profile"]; if (mMuonMultiplicity_profile && mMuonMultiplicity_profile->getRootObject()) mMuonMultiplicity_profile ->Fill(numPV, (*pfJets)[ijet].muonMultiplicity());
2080  }//cleaned PFJets
2081  }//PFJet specific loop
2082  //IDs have been defined by now
2083  //if only uncorrected jets but no corrected jets over threshold pass on
2084  if(!pass_corrected){
2085  continue;
2086  }
2087  if(correctedJet.pt()>pt1){
2088  pt3=pt2;
2089  ind3=ind2;
2090  cleaned_third_jet=cleaned_second_jet;
2091  pt2=pt1;
2092  ind2=ind1;
2093  cleaned_second_jet=cleaned_first_jet;
2094  pt1=correctedJet.pt();
2095  ind1=ijet;
2096  cleaned_first_jet=JetIDWPU;
2097  } else if(correctedJet.pt()>pt2){
2098  pt3=pt2;
2099  ind3=ind2;
2100  cleaned_third_jet=cleaned_second_jet;
2101  pt2=correctedJet.pt();
2102  ind2=ijet;
2103  cleaned_second_jet=JetIDWPU;
2104  } else if(correctedJet.pt()>pt3){
2105  pt3=correctedJet.pt();
2106  ind3=ijet;
2107  cleaned_third_jet=JetIDWPU;
2108  }
2109  if(cleaned_third_jet){
2110  }
2111  //after jettype specific variables are filled -> perform histograms for all jets
2112  //fill JetID efficiencies if uncleaned selection is chosen
2113  if(!runcosmics_){
2114  if(jetpassid) {
2117  if(fabs(correctedJet.eta())<3.0){
2119  }
2120  } else {
2123  if(fabs(correctedJet.eta())<3.0){
2125  }
2126  }
2127  }
2128  //here we so far consider calojets ->check for PFJets and JPT jets again
2129  if(Thiscleaned && pass_corrected){//might be softer than loose jet ID
2130  numofjets++;
2131  if(isCaloJet_){
2132  jetME = map_of_MEs[DirName+"/"+"jetReco"]; if(jetME && jetME->getRootObject()) jetME->Fill(1);
2133  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(correctedJet.pt()/(*caloJets)[ijet].pt());
2134  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(correctedJet.eta(),correctedJet.pt()/(*caloJets)[ijet].pt());
2135  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(correctedJet.pt(),correctedJet.pt()/(*caloJets)[ijet].pt());
2136  }
2137  if(isPFJet_){
2138  jetME = map_of_MEs[DirName+"/"+"jetReco"]; if(jetME && jetME->getRootObject()) jetME->Fill(2);
2139  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(correctedJet.pt()/(*pfJets)[ijet].pt());
2140  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject())mJetEnergyCorrVSEta->Fill(correctedJet.eta(),correctedJet.pt()/(*pfJets)[ijet].pt());
2141  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(correctedJet.pt(),correctedJet.pt()/(*pfJets)[ijet].pt());
2142  }
2143  if(isMiniAODJet_){
2144  jetME = map_of_MEs[DirName+"/"+"jetReco"]; if(jetME && jetME->getRootObject()) jetME->Fill(4);
2145  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(1./(*patJets)[ijet].jecFactor("Uncorrected"));
2146  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject())mJetEnergyCorrVSEta->Fill(correctedJet.eta(),1./(*patJets)[ijet].jecFactor("Uncorrected"));
2147  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(correctedJet.pt(),1./(*patJets)[ijet].jecFactor("Uncorrected"));
2148  }
2149  // --- Event passed the low pt jet trigger
2150  if (jetLoPass_ == 1) {
2151  mPhi_Lo = map_of_MEs[DirName+"/"+"Phi_Lo"]; if (mPhi_Lo && mPhi_Lo->getRootObject()) mPhi_Lo->Fill (correctedJet.phi());
2152  mPt_Lo = map_of_MEs[DirName+"/"+"Pt_Lo"]; if (mPt_Lo && mPt_Lo->getRootObject()) mPt_Lo->Fill (correctedJet.pt());
2153 
2154  }
2155  // --- Event passed the high pt jet trigger
2156  if (jetHiPass_ == 1&& correctedJet.pt()>100. ) {
2157  mEta_Hi = map_of_MEs[DirName+"/"+"Eta_Hi"]; if (mEta_Hi && mEta_Hi->getRootObject()) mEta_Hi->Fill (correctedJet.eta());
2158  mPhi_Hi = map_of_MEs[DirName+"/"+"Phi_Hi"]; if (mPhi_Hi && mPhi_Hi->getRootObject()) mPhi_Hi->Fill (correctedJet.phi());
2159  mPt_Hi = map_of_MEs[DirName+"/"+"Pt_Hi"]; if (mPt_Hi && mPt_Hi->getRootObject()) mPt_Hi->Fill (correctedJet.pt());
2160  }
2161  mPt = map_of_MEs[DirName+"/"+"Pt"]; if (mPt && mPt->getRootObject()) mPt->Fill (correctedJet.pt());
2162  mPt_1 = map_of_MEs[DirName+"/"+"Pt_1"]; if (mPt_1 && mPt_1->getRootObject()) mPt_1->Fill (correctedJet.pt());
2163  mPt_2 = map_of_MEs[DirName+"/"+"Pt_2"]; if (mPt_2 && mPt_2->getRootObject()) mPt_2->Fill (correctedJet.pt());
2164  mPt_3 = map_of_MEs[DirName+"/"+"Pt_3"]; if (mPt_3 && mPt_3->getRootObject()) mPt_3->Fill (correctedJet.pt());
2165  mEta = map_of_MEs[DirName+"/"+"Eta"]; if (mEta && mEta->getRootObject()) mEta->Fill (correctedJet.eta());
2166  mPhi = map_of_MEs[DirName+"/"+"Phi"]; if (mPhi && mPhi->getRootObject()) mPhi->Fill (correctedJet.phi());
2167 
2168  mPhiVSEta = map_of_MEs[DirName+"/"+"PhiVSEta"]; if (mPhiVSEta && mPhiVSEta->getRootObject()) mPhiVSEta->Fill(correctedJet.eta(),correctedJet.phi());
2169  //if(!isJPTJet_){
2170  mConstituents = map_of_MEs[DirName+"/"+"Constituents"]; if (mConstituents && mConstituents->getRootObject()) mConstituents->Fill (correctedJet.nConstituents());
2171  //}
2172  // Fill NPV profiles
2173  //--------------------------------------------------------------------
2174  mPt_profile = map_of_MEs[DirName+"/"+"Pt_profile"]; if (mPt_profile && mPt_profile->getRootObject()) mPt_profile ->Fill(numPV, correctedJet.pt());
2175  mEta_profile = map_of_MEs[DirName+"/"+"Eta_profile"]; if (mEta_profile && mEta_profile->getRootObject()) mEta_profile ->Fill(numPV, correctedJet.eta());
2176  mPhi_profile = map_of_MEs[DirName+"/"+"Phi_profile"]; if (mPhi_profile && mPhi_profile->getRootObject()) mPhi_profile ->Fill(numPV, correctedJet.phi());
2177  //if(!isJPTJet_){
2179  //}
2180  if (fabs(correctedJet.eta()) <= 1.3) {
2181  mPt_Barrel = map_of_MEs[DirName+"/"+"Pt_Barrel"]; if (mPt_Barrel && mPt_Barrel->getRootObject()) mPt_Barrel->Fill (correctedJet.pt());
2182  mPhi_Barrel = map_of_MEs[DirName+"/"+"Phi_Barrel"]; if (mPhi_Barrel && mPhi_Barrel->getRootObject()) mPhi_Barrel->Fill (correctedJet.phi());
2183  //if (mE_Barrel) mE_Barrel->Fill (correctedJet.energy());
2184  //if(!isJPTJet_){
2186  //}
2187  }else if (fabs(correctedJet.eta()) <= 3) {
2188  mPt_EndCap = map_of_MEs[DirName+"/"+"Pt_EndCap"]; if (mPt_EndCap && mPt_EndCap->getRootObject()) mPt_EndCap->Fill (correctedJet.pt());
2189  mPhi_EndCap = map_of_MEs[DirName+"/"+"Phi_EndCap"]; if (mPhi_EndCap && mPhi_EndCap->getRootObject()) mPhi_EndCap->Fill (correctedJet.phi());
2190  //if (mE_EndCap) mE_EndCap->Fill (correctedJet.energy());
2191  //if(!isJPTJet_){
2193  //}
2194  }else{
2195  mPt_Forward = map_of_MEs[DirName+"/"+"Pt_Forward"]; if (mPt_Forward && mPt_Forward->getRootObject()) mPt_Forward->Fill (correctedJet.pt());
2196  mPhi_Forward = map_of_MEs[DirName+"/"+"Phi_Forward"]; if (mPhi_Forward && mPhi_Forward->getRootObject()) mPhi_Forward->Fill (correctedJet.phi());
2197  //if (mE_Forward) mE_Forward->Fill (correctedJet.energy());
2198  //if(!isJPTJet_){
2200  //}
2201  }
2202  }// pass ID for corrected jets --> inclusive selection
2203  }//loop over uncorrected jets
2204 
2205 
2206  mNJets = map_of_MEs[DirName+"/"+"NJets"]; if (mNJets && mNJets->getRootObject()) mNJets->Fill (numofjets);
2207  mNJets_profile = map_of_MEs[DirName+"/"+"NJets_profile"]; if (mNJets_profile && mNJets_profile->getRootObject()) mNJets_profile->Fill(numPV, numofjets);
2208 
2209  sort(recoJets.begin(),recoJets.end(),jetSortingRule);
2210 
2211  //for non dijet selection, otherwise numofjets==0
2212  if(numofjets>0){
2213  //check ID of the leading jet
2214 
2215  if(cleaned_first_jet){
2216  mEtaFirst = map_of_MEs[DirName+"/"+"EtaFirst"]; if (mEtaFirst && mEtaFirst->getRootObject()) mEtaFirst->Fill ((recoJets)[0].eta());
2217  mPhiFirst = map_of_MEs[DirName+"/"+"PhiFirst"]; if (mPhiFirst && mPhiFirst->getRootObject()) mPhiFirst->Fill ((recoJets)[0].phi());
2218  mPtFirst = map_of_MEs[DirName+"/"+"PtFirst"]; if (mPtFirst && mPtFirst->getRootObject()) mPtFirst->Fill ((recoJets)[0].pt());
2219  //check ID of second check for DPhi plots
2220  if(numofjets>1 && cleaned_second_jet) {
2221  double dphi=fabs((recoJets)[0].phi()-(recoJets)[1].phi());
2222  if(dphi>acos(-1.)){
2223  dphi=2*acos(-1.)-dphi;
2224  }
2225  mDPhi = map_of_MEs[DirName+"/"+"DPhi"]; if (mDPhi && mDPhi->getRootObject()) mDPhi->Fill (dphi);
2226  }
2227  }
2228  //if(cleaned_second_jet && isJPTJet_){
2229  //mPtSecond = map_of_MEs[DirName+"/"+"PtSecond"]; if (mPtSecond && mPtSecond->getRootObject()) mPtSecond->Fill(recoJets[1].pt());
2230  //}
2231  //if(cleaned_third_jet && isJPTJet_){
2232  //mPtThird = map_of_MEs[DirName+"/"+"PtThird"]; if (mPtThird && mPtThird->getRootObject()) mPtThird->Fill(recoJets[2].pt());
2233  //}
2234  }
2235  //dijet selection -> recoJets are on corrected level, both jets cleaned, fill folder only for cleaned jet selection
2236  if(jetCleaningFlag_ && recoJets.size()>1 && cleaned_first_jet && cleaned_second_jet ){
2237  //pt threshold checked before filling
2238  if(jetCleaningFlag_){
2239  DirName = "JetMET/Jet/Cleaned"+mInputCollection_.label()+"/DiJet";
2240  }
2241  //if(fabs(recoJets[0].eta())<3. && fabs(recoJets[1].eta())<3. ){
2242  //calculate dphi
2243  double dphi=fabs((recoJets)[0].phi()-(recoJets)[1].phi());
2244  if(dphi>acos(-1.)){
2245  dphi=2*acos(-1.)-dphi;
2246  }
2247  mDPhi = map_of_MEs[DirName+"/"+"DPhi"]; if (mDPhi && mDPhi->getRootObject()) if (mDPhi) mDPhi->Fill (dphi);
2248  //dphi cut
2249  if(fabs(dphi)>2.1){
2250  if(isCaloJet_){
2251  if(!runcosmics_){
2252  reco::CaloJetRef calojetref1(caloJets, ind1);
2253  reco::JetID jetID1 = (*jetID_ValueMap_Handle)[calojetref1];
2254  reco::CaloJetRef calojetref2(caloJets, ind2);
2255  reco::JetID jetID2 = (*jetID_ValueMap_Handle)[calojetref2];
2256  mN90Hits = map_of_MEs[DirName+"/"+"N90Hits"]; if (mN90Hits && mN90Hits->getRootObject()) mN90Hits->Fill (jetID1.n90Hits);
2257  mfHPD = map_of_MEs[DirName+"/"+"fHPD"]; if (mfHPD && mfHPD->getRootObject()) mfHPD->Fill (jetID1.fHPD);
2258  mresEMF = map_of_MEs[DirName+"/"+"resEMF"]; if (mresEMF && mresEMF->getRootObject()) mresEMF->Fill (jetID1.restrictedEMF);
2259  mfRBX = map_of_MEs[DirName+"/"+"fRBX"]; if (mfRBX && mfRBX->getRootObject()) mfRBX->Fill (jetID1.fRBX);
2260  mN90Hits = map_of_MEs[DirName+"/"+"N90Hits"]; if (mN90Hits && mN90Hits->getRootObject()) mN90Hits->Fill (jetID2.n90Hits);
2261  mfHPD = map_of_MEs[DirName+"/"+"fHPD"]; if (mfHPD && mfHPD->getRootObject()) mfHPD->Fill (jetID2.fHPD);
2262  mresEMF = map_of_MEs[DirName+"/"+"resEMF"]; if (mresEMF && mresEMF->getRootObject()) mresEMF->Fill (jetID2.restrictedEMF);
2263  mfRBX = map_of_MEs[DirName+"/"+"fRBX"]; if (mfRBX && mfRBX->getRootObject()) mfRBX->Fill (jetID2.fRBX);
2264  }
2265  mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*caloJets)[ind1].energyFractionHadronic());
2266  mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill ((*caloJets)[ind1].emEnergyFraction());
2267  mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*caloJets)[ind2].energyFractionHadronic());
2268  mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill ((*caloJets)[ind2].emEnergyFraction());
2269  mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; if (mHFrac_profile && mHFrac_profile->getRootObject()) mHFrac_profile ->Fill(numPV, (*caloJets)[ind1].energyFractionHadronic());
2270  mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; if (mEFrac_profile && mEFrac_profile->getRootObject()) mEFrac_profile ->Fill(numPV, (*caloJets)[ind1].emEnergyFraction());
2271  mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; if (mHFrac_profile && mHFrac_profile->getRootObject()) mHFrac_profile ->Fill(numPV, (*caloJets)[ind2].energyFractionHadronic());
2272  mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; if (mEFrac_profile && mEFrac_profile->getRootObject()) mEFrac_profile ->Fill(numPV, (*caloJets)[ind2].emEnergyFraction());
2273 
2274  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[0].pt()/(*caloJets)[ind1].pt());
2275  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),recoJets[0].pt()/(*caloJets)[ind1].pt());
2276  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),recoJets[0].pt()/(*caloJets)[ind1].pt());
2277  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[1].pt()/(*caloJets)[ind2].pt());
2278  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[1].eta(),recoJets[1].pt()/(*caloJets)[ind2].pt());
2279  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[1].pt(),recoJets[1].pt()/(*caloJets)[ind2].pt());
2280  }
2281  //if(isJPTJet_){
2282  //mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*jptJets)[ind1].chargedHadronEnergyFraction()+(*jptJets)[ind1].neutralHadronEnergyFraction());
2283  //mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill (1.-(*jptJets)[ind1].chargedHadronEnergyFraction()-(*jptJets)[ind1].neutralHadronEnergyFraction());
2284  //mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; mHFrac_profile ->Fill(numPV, (*jptJets)[ind1].chargedHadronEnergyFraction()+(*jptJets)[ind1].neutralHadronEnergyFraction());
2285  //mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; mEFrac_profile ->Fill(numPV, 1.-(*jptJets)[ind1].chargedHadronEnergyFraction()-(*jptJets)[ind1].neutralHadronEnergyFraction());
2286  //mHFrac = map_of_MEs[DirName+"/"+"HFrac"]; if (mHFrac && mHFrac->getRootObject()) mHFrac->Fill ((*jptJets)[ind2].chargedHadronEnergyFraction()+(*jptJets)[ind2].neutralHadronEnergyFraction());
2287  //mEFrac = map_of_MEs[DirName+"/"+"EFrac"]; if (mEFrac && mHFrac->getRootObject()) mEFrac->Fill (1.-(*jptJets)[ind2].chargedHadronEnergyFraction()-(*jptJets)[ind2].neutralHadronEnergyFraction());
2288  //mHFrac_profile = map_of_MEs[DirName+"/"+"HFrac_profile"]; mHFrac_profile ->Fill(numPV, (*jptJets)[ind2].chargedHadronEnergyFraction()+(*jptJets)[ind2].neutralHadronEnergyFraction());
2289  //mEFrac_profile = map_of_MEs[DirName+"/"+"EFrac_profile"]; mEFrac_profile ->Fill(numPV, 1.-(*jptJets)[ind2].chargedHadronEnergyFraction()-(*jptJets)[ind2].neutralHadronEnergyFraction());
2290  //
2291  //mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[0].pt()/(*jptJets)[ind1].pt());
2292  //mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),recoJets[0].pt()/(*jptJets)[ind1].pt());
2293  //mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),recoJets[0].pt()/(*jptJets)[ind1].pt());
2294  //mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[1].pt()/(*jptJets)[ind2].pt());
2295  //mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[1].eta(),recoJets[1].pt()/(*jptJets)[ind2].pt());
2296  //mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[1].pt(),recoJets[1].pt()/(*jptJets)[ind2].pt());
2297  //}
2298  if(isPFJet_){
2299  mCHFrac = map_of_MEs[DirName+"/"+"CHFrac"]; if (mCHFrac && mCHFrac->getRootObject()) mCHFrac ->Fill((*pfJets)[ind1].chargedHadronEnergyFraction());
2300  mNHFrac = map_of_MEs[DirName+"/"+"NHFrac"]; if (mNHFrac && mNHFrac->getRootObject()) mNHFrac ->Fill((*pfJets)[ind1].neutralHadronEnergyFraction());
2301  mPhFrac = map_of_MEs[DirName+"/"+"PhFrac"]; if (mPhFrac && mPhFrac->getRootObject()) mPhFrac ->Fill((*pfJets)[ind1].neutralEmEnergyFraction());
2302  mHFEMFrac = map_of_MEs[DirName+"/"+"HFEMFrac"]; if (mHFEMFrac && mHFEMFrac->getRootObject()) mHFEMFrac ->Fill((*pfJets)[ind1].HFEMEnergyFraction());
2303  mHFHFrac = map_of_MEs[DirName+"/"+"HFHFrac"]; if (mHFHFrac && mHFHFrac->getRootObject()) mHFHFrac ->Fill((*pfJets)[ind1].HFHadronEnergyFraction());
2304 
2305  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[0].pt()/(*pfJets)[ind1].pt());
2306  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),recoJets[0].pt()/(*pfJets)[ind1].pt());
2307  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),recoJets[0].pt()/(*pfJets)[ind1].pt());
2308  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(recoJets[1].pt()/(*pfJets)[ind2].pt());
2309  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[1].eta(),recoJets[1].pt()/(*pfJets)[ind2].pt());
2310  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[1].pt(),recoJets[1].pt()/(*pfJets)[ind2].pt());
2311 
2312  mChargedMultiplicity = map_of_MEs[DirName+"/"+"ChargedMultiplicity"]; if(mChargedMultiplicity && mChargedMultiplicity->getRootObject()) mChargedMultiplicity->Fill((*pfJets)[ind1].chargedMultiplicity());
2313  mNeutralMultiplicity = map_of_MEs[DirName+"/"+"NeutralMultiplicity"]; if(mNeutralMultiplicity && mNeutralMultiplicity->getRootObject()) mNeutralMultiplicity->Fill((*pfJets)[ind1].neutralMultiplicity());
2314  mMuonMultiplicity = map_of_MEs[DirName+"/"+"MuonMultiplicity"]; if(mMuonMultiplicity && mMuonMultiplicity->getRootObject()) mMuonMultiplicity->Fill((*pfJets)[ind1].muonMultiplicity());
2315  //Filling variables for second jet
2316  mCHFrac = map_of_MEs[DirName+"/"+"CHFrac"]; if (mCHFrac && mCHFrac->getRootObject()) mCHFrac ->Fill((*pfJets)[ind2].chargedHadronEnergyFraction());
2317  mNHFrac = map_of_MEs[DirName+"/"+"NHFrac"]; if (mNHFrac && mNHFrac->getRootObject()) mNHFrac ->Fill((*pfJets)[ind2].neutralHadronEnergyFraction());
2318  mPhFrac = map_of_MEs[DirName+"/"+"PhFrac"]; if (mPhFrac && mPhFrac->getRootObject()) mPhFrac ->Fill((*pfJets)[ind2].neutralEmEnergyFraction());
2319  mHFEMFrac = map_of_MEs[DirName+"/"+"HFEMFrac"]; if (mHFEMFrac && mHFEMFrac->getRootObject()) mHFEMFrac ->Fill((*pfJets)[ind2].HFEMEnergyFraction());
2320  mHFHFrac = map_of_MEs[DirName+"/"+"HFHFrac"]; if (mHFHFrac && mHFHFrac->getRootObject()) mHFHFrac ->Fill((*pfJets)[ind2].HFHadronEnergyFraction());
2321 
2322  mNeutralFraction = map_of_MEs[DirName+"/"+"NeutralConstituentsFraction"];if (mNeutralFraction && mNeutralFraction->getRootObject()) mNeutralFraction->Fill ((double)(*pfJets)[ind1].neutralMultiplicity()/(double)(*pfJets)[ind1].nConstituents());
2323 
2324  mChargedMultiplicity = map_of_MEs[DirName+"/"+"ChargedMultiplicity"]; if(mChargedMultiplicity && mChargedMultiplicity->getRootObject()) mChargedMultiplicity->Fill((*pfJets)[ind2].chargedMultiplicity());
2325  mNeutralMultiplicity = map_of_MEs[DirName+"/"+"NeutralMultiplicity"]; if(mNeutralMultiplicity && mNeutralMultiplicity->getRootObject()) mNeutralMultiplicity->Fill((*pfJets)[ind2].neutralMultiplicity());
2326  mMuonMultiplicity = map_of_MEs[DirName+"/"+"MuonMultiplicity"]; if(mMuonMultiplicity && mMuonMultiplicity->getRootObject()) mMuonMultiplicity->Fill((*pfJets)[ind2].muonMultiplicity());
2327 
2328  //now fill PFJet profiles for leading jet
2329  mCHFrac_profile = map_of_MEs[DirName+"/"+"CHFrac_profile"]; if (mCHFrac_profile && mCHFrac_profile->getRootObject()) mCHFrac_profile ->Fill(numPV, (*pfJets)[ind1].chargedHadronEnergyFraction());
2330  mNHFrac_profile = map_of_MEs[DirName+"/"+"NHFrac_profile"]; if (mNHFrac_profile && mNHFrac_profile->getRootObject()) mNHFrac_profile ->Fill(numPV, (*pfJets)[ind1].neutralHadronEnergyFraction());
2331  mPhFrac_profile = map_of_MEs[DirName+"/"+"PhFrac_profile"]; if (mPhFrac_profile && mPhFrac_profile->getRootObject()) mPhFrac_profile ->Fill(numPV, (*pfJets)[ind1].neutralEmEnergyFraction());
2332  mHFEMFrac_profile = map_of_MEs[DirName+"/"+"HFEMFrac_profile"]; if (mHFEMFrac_profile && mHFEMFrac_profile->getRootObject()) mHFEMFrac_profile ->Fill(numPV, (*pfJets)[ind1].HFEMEnergyFraction());
2333  mHFHFrac_profile = map_of_MEs[DirName+"/"+"HFHFrac_profile"]; if (mHFHFrac_profile && mHFHFrac_profile->getRootObject()) mHFHFrac_profile ->Fill(numPV, (*pfJets)[ind1].HFHadronEnergyFraction());
2334 
2335  mNeutralFraction = map_of_MEs[DirName+"/"+"NeutralConstituentsFraction"];if (mNeutralFraction && mNeutralFraction->getRootObject()) mNeutralFraction->Fill ((double)(*pfJets)[ind2].neutralMultiplicity()/(double)(*pfJets)[ind2].nConstituents());
2336 
2337  mChargedMultiplicity_profile = map_of_MEs[DirName+"/"+"ChargedMultiplicity_profile"]; if(mChargedMultiplicity_profile && mChargedMultiplicity_profile->getRootObject()) mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ind1].chargedMultiplicity());
2338  mNeutralMultiplicity_profile = map_of_MEs[DirName+"/"+"NeutralMultiplicity_profile"]; if(mNeutralMultiplicity_profile && mNeutralMultiplicity_profile->getRootObject()) mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ind1].neutralMultiplicity());
2339  mMuonMultiplicity_profile = map_of_MEs[DirName+"/"+"MuonMultiplicity_profile"]; if(mMuonMultiplicity_profile && mMuonMultiplicity_profile->getRootObject()) mMuonMultiplicity->Fill(numPV, (*pfJets)[ind1].muonMultiplicity());
2340  //now fill PFJet profiles for second leading jet
2341  mCHFrac_profile = map_of_MEs[DirName+"/"+"CHFrac_profile"]; if (mCHFrac_profile && mCHFrac_profile->getRootObject()) mCHFrac_profile ->Fill(numPV, (*pfJets)[ind2].chargedHadronEnergyFraction());
2342  mNHFrac_profile = map_of_MEs[DirName+"/"+"NHFrac_profile"]; if (mNHFrac_profile && mNHFrac_profile->getRootObject()) mNHFrac_profile ->Fill(numPV, (*pfJets)[ind2].neutralHadronEnergyFraction());
2343  mPhFrac_profile = map_of_MEs[DirName+"/"+"PhFrac_profile"]; if (mPhFrac_profile && mPhFrac_profile->getRootObject()) mPhFrac_profile ->Fill(numPV, (*pfJets)[ind2].neutralEmEnergyFraction());
2344  mHFEMFrac_profile = map_of_MEs[DirName+"/"+"HFEMFrac_profile"]; if (mHFEMFrac_profile && mHFEMFrac_profile->getRootObject()) mHFEMFrac_profile ->Fill(numPV, (*pfJets)[ind2].HFEMEnergyFraction());
2345  mHFHFrac_profile = map_of_MEs[DirName+"/"+"HFHFrac_profile"]; if (mHFHFrac_profile && mHFHFrac_profile->getRootObject()) mHFHFrac_profile ->Fill(numPV, (*pfJets)[ind2].HFHadronEnergyFraction());
2346 
2347  mChargedMultiplicity_profile = map_of_MEs[DirName+"/"+"ChargedMultiplicity_profile"]; if(mChargedMultiplicity_profile && mChargedMultiplicity_profile->getRootObject()) mChargedMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].chargedMultiplicity());
2348  mNeutralMultiplicity_profile = map_of_MEs[DirName+"/"+"NeutralMultiplicity_profile"]; if(mNeutralMultiplicity_profile && mNeutralMultiplicity_profile->getRootObject()) mNeutralMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].neutralMultiplicity());
2349  mMuonMultiplicity_profile = map_of_MEs[DirName+"/"+"MuonMultiplicity_profile"]; if(mMuonMultiplicity_profile && mMuonMultiplicity_profile->getRootObject()) mMuonMultiplicity_profile->Fill(numPV, (*pfJets)[ind2].muonMultiplicity());
2350  }
2351 
2352  if(isMiniAODJet_){
2353  mCHFrac = map_of_MEs[DirName+"/"+"CHFrac"]; if (mCHFrac && mCHFrac->getRootObject()) mCHFrac ->Fill((*patJets)[ind1].chargedHadronEnergyFraction());
2354  mNHFrac = map_of_MEs[DirName+"/"+"NHFrac"]; if (mNHFrac && mNHFrac->getRootObject()) mNHFrac ->Fill((*patJets)[ind1].neutralHadronEnergyFraction());
2355  mPhFrac = map_of_MEs[DirName+"/"+"PhFrac"]; if (mPhFrac && mPhFrac->getRootObject()) mPhFrac ->Fill((*patJets)[ind1].neutralEmEnergyFraction());
2356  mHFEMFrac = map_of_MEs[DirName+"/"+"HFEMFrac"]; if (mHFEMFrac && mHFEMFrac->getRootObject()) mHFEMFrac ->Fill((*patJets)[ind1].HFEMEnergyFraction());
2357  mHFHFrac = map_of_MEs[DirName+"/"+"HFHFrac"]; if (mHFHFrac && mHFHFrac->getRootObject()) mHFHFrac ->Fill((*patJets)[ind1].HFHadronEnergyFraction());
2358 
2359  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(1./(*patJets)[ind1].jecFactor("Uncorrected"));
2360  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),1./(*patJets)[ind1].jecFactor("Uncorrected"));
2361  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),1./(*patJets)[ind1].jecFactor("Uncorrected"));
2362  mJetEnergyCorr = map_of_MEs[DirName+"/"+"JetEnergyCorr"]; if(mJetEnergyCorr && mJetEnergyCorr->getRootObject()) mJetEnergyCorr->Fill(1./(*patJets)[ind2].jecFactor("Uncorrected"));
2363  mJetEnergyCorrVSEta = map_of_MEs[DirName+"/"+"JetEnergyCorrVSEta"]; if(mJetEnergyCorrVSEta && mJetEnergyCorrVSEta->getRootObject()) mJetEnergyCorrVSEta->Fill(recoJets[0].eta(),1./(*patJets)[ind2].jecFactor("Uncorrected"));
2364  mJetEnergyCorrVSPt = map_of_MEs[DirName+"/"+"JetEnergyCorrVSPt"]; if(mJetEnergyCorrVSPt && mJetEnergyCorrVSPt->getRootObject()) mJetEnergyCorrVSPt->Fill(recoJets[0].pt(),1./(*patJets)[ind2].jecFactor("Uncorrected"));
2365 
2366  mChargedMultiplicity = map_of_MEs[DirName+"/"+"ChargedMultiplicity"]; if(mChargedMultiplicity && mChargedMultiplicity->getRootObject()) mChargedMultiplicity->Fill((*patJets)[ind1].chargedMultiplicity());
2367  mNeutralMultiplicity = map_of_MEs[DirName+"/"+"NeutralMultiplicity"]; if(mNeutralMultiplicity && mNeutralMultiplicity->getRootObject()) mNeutralMultiplicity->Fill((*patJets)[ind1].neutralMultiplicity());
2368  mMuonMultiplicity = map_of_MEs[DirName+"/"+"MuonMultiplicity"]; if(mMuonMultiplicity && mMuonMultiplicity->getRootObject()) mMuonMultiplicity->Fill((*patJets)[ind1].muonMultiplicity());
2369  //Filling variables for second jet
2370  mCHFrac = map_of_MEs[DirName+"/"+"CHFrac"]; if (mCHFrac && mCHFrac->getRootObject()) mCHFrac ->Fill((*patJets)[ind2].chargedHadronEnergyFraction());
2371  mNHFrac = map_of_MEs[DirName+"/"+"NHFrac"]; if (mNHFrac && mNHFrac->getRootObject()) mNHFrac ->Fill((*patJets)[ind2].neutralHadronEnergyFraction());
2372  mPhFrac = map_of_MEs[DirName+"/"+"PhFrac"]; if (mPhFrac && mPhFrac->getRootObject()) mPhFrac ->Fill((*patJets)[ind2].neutralEmEnergyFraction());
2373  mHFEMFrac = map_of_MEs[DirName+"/"+"HFEMFrac"]; if (mHFEMFrac && mHFEMFrac->getRootObject()) mHFEMFrac ->Fill((*patJets)[ind2].HFEMEnergyFraction());
2374  mHFHFrac = map_of_MEs[DirName+"/"+"HFHFrac"]; if (mHFHFrac && mHFHFrac->getRootObject()) mHFHFrac ->Fill((*patJets)[ind2].HFHadronEnergyFraction());
2375 
2376  mNeutralFraction = map_of_MEs[DirName+"/"+"NeutralConstituentsFraction"];if (mNeutralFraction && mNeutralFraction->getRootObject()) mNeutralFraction->Fill ((double)(*patJets)[ind1].neutralMultiplicity()/(double)(*patJets)[ind1].nConstituents());
2377 
2378  mChargedMultiplicity = map_of_MEs[DirName+"/"+"ChargedMultiplicity"]; if(mChargedMultiplicity && mChargedMultiplicity->getRootObject()) mChargedMultiplicity->Fill((*patJets)[ind2].chargedMultiplicity());
2379  mNeutralMultiplicity = map_of_MEs[DirName+"/"+"NeutralMultiplicity"]; if(mNeutralMultiplicity && mNeutralMultiplicity->getRootObject()) mNeutralMultiplicity->Fill((*patJets)[ind2].neutralMultiplicity());
2380  mMuonMultiplicity = map_of_MEs[DirName+"/"+"MuonMultiplicity"]; if(mMuonMultiplicity && mMuonMultiplicity->getRootObject()) mMuonMultiplicity->Fill((*patJets)[ind2].muonMultiplicity());
2381 
2382  //now fill PATJet profiles for leading jet
2383  mCHFrac_profile = map_of_MEs[DirName+"/"+"CHFrac_profile"]; if (mCHFrac_profile && mCHFrac_profile->getRootObject()) mCHFrac_profile ->Fill(numPV, (*patJets)[ind1].chargedHadronEnergyFraction());
2384  mNHFrac_profile = map_of_MEs[DirName+"/"+"NHFrac_profile"]; if (mNHFrac_profile && mNHFrac_profile->getRootObject()) mNHFrac_profile ->Fill(numPV, (*patJets)[ind1].neutralHadronEnergyFraction());
2385  mPhFrac_profile = map_of_MEs[DirName+"/"+"PhFrac_profile"]; if (mPhFrac_profile && mPhFrac_profile->getRootObject()) mPhFrac_profile ->Fill(numPV, (*patJets)[ind1].neutralEmEnergyFraction());
2386  mHFEMFrac_profile = map_of_MEs[DirName+"/"+"HFEMFrac_profile"]; if (mHFEMFrac_profile && mHFEMFrac_profile->getRootObject()) mHFEMFrac_profile ->Fill(numPV, (*patJets)[ind1].HFEMEnergyFraction());
2387  mHFHFrac_profile = map_of_MEs[DirName+"/"+"HFHFrac_profile"]; if (mHFHFrac_profile && mHFHFrac_profile->getRootObject()) mHFHFrac_profile ->Fill(numPV, (*patJets)[ind1].HFHadronEnergyFraction());
2388 
2389  mNeutralFraction = map_of_MEs[DirName+"/"+"NeutralConstituentsFraction"];if (mNeutralFraction && mNeutralFraction->getRootObject()) mNeutralFraction->Fill ((double)(*patJets)[ind2].neutralMultiplicity()/(double)(*patJets)[ind2].nConstituents());
2390 
2391  mChargedMultiplicity_profile = map_of_MEs[DirName+"/"+"ChargedMultiplicity_profile"]; if(mChargedMultiplicity_profile && mChargedMultiplicity_profile->getRootObject()) mChargedMultiplicity_profile->Fill(numPV, (*patJets)[ind1].chargedMultiplicity());
2392  mNeutralMultiplicity_profile = map_of_MEs[DirName+"/"+"NeutralMultiplicity_profile"]; if(mNeutralMultiplicity_profile && mNeutralMultiplicity_profile->getRootObject()) mNeutralMultiplicity_profile->Fill(numPV, (*patJets)[ind1].neutralMultiplicity());
2393  mMuonMultiplicity_profile = map_of_MEs[DirName+"/"+"MuonMultiplicity_profile"]; if(mMuonMultiplicity_profile && mMuonMultiplicity_profile->getRootObject()) mMuonMultiplicity->Fill(numPV, (*patJets)[ind1].muonMultiplicity());
2394  //now fill PATJet profiles for second leading jet
2395  mCHFrac_profile = map_of_MEs[DirName+"/"+"CHFrac_profile"]; if (mCHFrac_profile && mCHFrac_profile->getRootObject()) mCHFrac_profile ->Fill(numPV, (*patJets)[ind2].chargedHadronEnergyFraction());
2396  mNHFrac_profile = map_of_MEs[DirName+"/"+"NHFrac_profile"]; if (mNHFrac_profile && mNHFrac_profile->getRootObject()) mNHFrac_profile ->Fill(numPV, (*patJets)[ind2].neutralHadronEnergyFraction());
2397  mPhFrac_profile = map_of_MEs[DirName+"/"+"PhFrac_profile"]; if (mPhFrac_profile && mPhFrac_profile->getRootObject()) mPhFrac_profile ->Fill(numPV, (*patJets)[ind2].neutralEmEnergyFraction());
2398  mHFEMFrac_profile = map_of_MEs[DirName+"/"+"HFEMFrac_profile"]; if (mHFEMFrac_profile && mHFEMFrac_profile->getRootObject()) mHFEMFrac_profile ->Fill(numPV, (*patJets)[ind2].HFEMEnergyFraction());
2399  mHFHFrac_profile = map_of_MEs[DirName+"/"+"HFHFrac_profile"]; if (mHFHFrac_profile && mHFHFrac_profile->getRootObject()) mHFHFrac_profile ->Fill(numPV, (*patJets)[ind2].HFHadronEnergyFraction());
2400 
2401  mChargedMultiplicity_profile = map_of_MEs[DirName+"/"+"ChargedMultiplicity_profile"]; if(mChargedMultiplicity_profile && mChargedMultiplicity_profile->getRootObject()) mChargedMultiplicity_profile->Fill(numPV, (*patJets)[ind2].chargedMultiplicity());
2402  mNeutralMultiplicity_profile = map_of_MEs[DirName+"/"+"NeutralMultiplicity_profile"]; if(mNeutralMultiplicity_profile && mNeutralMultiplicity_profile->getRootObject()) mNeutralMultiplicity_profile->Fill(numPV, (*patJets)[ind2].neutralMultiplicity());
2403  mMuonMultiplicity_profile = map_of_MEs[DirName+"/"+"MuonMultiplicity_profile"]; if(mMuonMultiplicity_profile && mMuonMultiplicity_profile->getRootObject()) mMuonMultiplicity_profile->Fill(numPV, (*patJets)[ind2].muonMultiplicity());
2404  }
2405 
2406 
2407  //fill histos for first jet
2408  mPt = map_of_MEs[DirName+"/"+"Pt"]; if (mPt && mPt->getRootObject()) mPt->Fill (recoJets[0].pt());
2409  mEta = map_of_MEs[DirName+"/"+"Eta"]; if (mEta && mEta->getRootObject()) mEta->Fill (recoJets[0].eta());
2410  mPhi = map_of_MEs[DirName+"/"+"Phi"]; if (mPhi && mPhi->getRootObject()) mPhi->Fill (recoJets[0].phi());
2411  mPhiVSEta = map_of_MEs[DirName+"/"+"PhiVSEta"]; if (mPhiVSEta && mPhiVSEta->getRootObject()) mPhiVSEta->Fill(recoJets[0].eta(),recoJets[0].phi());
2412  //if(!isJPTJet_){
2413  mConstituents = map_of_MEs[DirName+"/"+"Constituents"]; if (mConstituents && mConstituents->getRootObject()) mConstituents->Fill (recoJets[0].nConstituents());
2414  //}
2415  mPt = map_of_MEs[DirName+"/"+"Pt"]; if (mPt && mPt->getRootObject()) mPt->Fill (recoJets[1].pt());
2416  mEta = map_of_MEs[DirName+"/"+"Eta"]; if (mEta && mEta->getRootObject()) mEta->Fill (recoJets[1].eta());
2417  mPhi = map_of_MEs[DirName+"/"+"Phi"]; if (mPhi && mPhi->getRootObject()) mPhi->Fill (recoJets[1].phi());
2418  mPhiVSEta = map_of_MEs[DirName+"/"+"PhiVSEta"]; if (mPhiVSEta && mPhiVSEta->getRootObject()) mPhiVSEta->Fill(recoJets[1].eta(),recoJets[1].phi());
2419  //if(!isJPTJet_){
2420  mConstituents = map_of_MEs[DirName+"/"+"Constituents"]; if (mConstituents && mConstituents->getRootObject()) mConstituents->Fill (recoJets[1].nConstituents());
2421  //}
2422  //PV profiles
2423  mPt_profile = map_of_MEs[DirName+"/"+"Pt_profile"]; if (mPt_profile && mPt_profile->getRootObject()) mPt_profile ->Fill(numPV, recoJets[0].pt());
2424  mEta_profile = map_of_MEs[DirName+"/"+"Eta_profile"]; if (mEta_profile && mEta_profile->getRootObject()) mEta_profile ->Fill(numPV, recoJets[0].eta());
2425  mPhi_profile = map_of_MEs[DirName+"/"+"Phi_profile"]; if (mPhi_profile && mPhi_profile->getRootObject()) mPhi_profile ->Fill(numPV, recoJets[0].phi());
2426  //if(!isJPTJet_){
2427  mConstituents_profile = map_of_MEs[DirName+"/"+"Constituents_profile"]; if (mConstituents_profile && mConstituents_profile->getRootObject()) mConstituents_profile->Fill(numPV, recoJets[0].nConstituents());
2428  //}
2429  mPt_profile = map_of_MEs[DirName+"/"+"Pt_profile"]; if (mPt_profile && mPt_profile->getRootObject()) mPt_profile ->Fill(numPV, recoJets[1].pt());
2430  mEta_profile = map_of_MEs[DirName+"/"+"Eta_profile"]; if (mEta_profile && mEta_profile->getRootObject()) mEta_profile ->Fill(numPV, recoJets[1].eta());
2431  mPhi_profile = map_of_MEs[DirName+"/"+"Phi_profile"]; if (mPhi_profile && mPhi_profile->getRootObject()) mPhi_profile ->Fill(numPV, recoJets[1].phi());
2432  //if(!isJPTJet_){
2433  mConstituents_profile = map_of_MEs[DirName+"/"+"Constituents_profile"]; if (mConstituents_profile && mConstituents_profile->getRootObject()) mConstituents_profile->Fill(numPV, recoJets[1].nConstituents());
2434  //}
2435  if (fabs(recoJets[0].eta() < 1.4)) {
2436  double pt_dijet = (recoJets[0].pt() + recoJets[1].pt())/2;
2437  if (dphi > 2.7) {//cut even toughter on dijet balance
2438  double pt_probe;
2439  double pt_barrel;
2440  int jet1, jet2;
2441  //int randJet = rand() % 2;
2442  int randJet =iEvent.id().event()%2;
2443  if (fabs(recoJets[1].eta() < 1.4)) {
2444  if (randJet) {
2445  jet1 = 0;
2446  jet2 = 1;
2447  }
2448  else {
2449  jet1 = 1;
2450  jet2 = 0;
2451  }
2452  // ***Di-Jet Asymmetry****
2453  // * leading jets eta < 1.4
2454  // * leading jets dphi > 2.7
2455  // * pt_third jet < threshold
2456  // * A = (pt_1 - pt_2)/(pt_1 + pt_2)
2457  // * jets 1 and two are randomly ordered
2458  // **
2459  bool thirdJetCut = true;
2460  //that doesn't make any sense -> imagine you have 5 jets,
2461  //jet 3 is quite hard (almost as hard as the second jet, i.e. 200/80/79/20/15, cutoff is 30
2462  //the 4th and 5th jet are soft enough -> then you would fill the asymmetry twice,
2463  //although jet 2 and 3 are basically identical
2464  //do third jet relative to second jet
2465  //JME-10-014 suggests pt3/pt_dijet<0.15
2466  if(ind3>0){
2467  if (pt3 > asymmetryThirdJetCut_){
2468  thirdJetCut=false;
2469  }
2470  }
2471  if(thirdJetCut){
2472  double dijetAsymmetry =(recoJets[jet1].pt() - recoJets[jet2].pt()) / (recoJets[jet1].pt() + recoJets[jet2].pt());
2473  mDijetAsymmetry = map_of_MEs[DirName+"/"+"DijetAsymmetry"]; if (mDijetAsymmetry && mDijetAsymmetry->getRootObject()) mDijetAsymmetry->Fill(dijetAsymmetry);
2474  }// end restriction on third jet pt in asymmetry calculation
2475 
2476  }
2477  else {
2478  jet1 = 0;
2479  jet2 = 1;
2480  }
2481 
2482  pt_barrel = recoJets[jet1].pt();
2483  pt_probe = recoJets[jet2].pt();
2484 
2485  //dijet balance cuts
2486  // ***Di-Jet Balance****
2487  // * pt_dijet = (pt_probe+pt_barrel)/2
2488  // * leading jets dphi > 2.7
2489  // * reject evnets where pt_third/pt_dijet > 0.2
2490  // * pv selection
2491  // * B = (pt_probe - pt_barrel)/pt_dijet
2492  // * select probe randomly from 2 jets if both leading jets are in the barrel
2493  bool thirdJetCut = true;
2494  if(ind3>0){
2495  if (pt3/pt_dijet > balanceThirdJetCut_){
2496  thirdJetCut = false;
2497  }
2498  }
2499  if (thirdJetCut) {
2500  double dijetBalance = (pt_probe - pt_barrel) / pt_dijet;
2501  mDijetBalance = map_of_MEs[DirName+"/"+"DijetBalance"]; if (mDijetBalance && mDijetBalance->getRootObject()) mDijetBalance->Fill(dijetBalance);
2502  }// end restriction on third jet pt ratio in balance calculation
2503 
2504  }// dPhi > 2.7 for dijetbalance and asymmetrie
2505  }//leading jet in barrel
2506  }//DPhi cut of 2.1
2507  }//dijet selection, check if both leading jets are IDed
2508 
2509 }
#define LogDebug(id)
MonitorElement * mqgLikelihood_lowPt_Barrel
Definition: JetAnalyzer.h:494
edm::EDGetTokenT< edm::ValueMap< float > > qgaxis2Token_
Definition: JetAnalyzer.h:122
MonitorElement * mCHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:380
MonitorElement * mEFrac_EndCap
Definition: JetAnalyzer.h:234
MonitorElement * mNJets
Definition: JetAnalyzer.h:258
MonitorElement * mNHEn_lowPt_Barrel
Definition: JetAnalyzer.h:376
MonitorElement * mMass_lowPt_Forward
Definition: JetAnalyzer.h:446
EventNumber_t event() const
Definition: EventID.h:41
MonitorElement * mMass_mediumPt_Forward
Definition: JetAnalyzer.h:449
MonitorElement * mePtForwardPlus_BXm1Empty
Definition: JetAnalyzer.h:603
MonitorElement * mMass_highPt_Forward
Definition: JetAnalyzer.h:452
MonitorElement * mHadEnergyInHB
Definition: JetAnalyzer.h:353
MonitorElement * mHFEEn_highPt_Forward
Definition: JetAnalyzer.h:475
int i
Definition: DBlmapReader.cc:9
bool bypassAllPVChecks_
Definition: JetAnalyzer.h:327
MonitorElement * mfRBX
Definition: JetAnalyzer.h:361
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
Definition: Event.cc:208
MonitorElement * mMultiplicityQG_highPt_Forward
Definition: JetAnalyzer.h:527
MonitorElement * mCHEn_highPt_Barrel
Definition: JetAnalyzer.h:385
MonitorElement * mPhi_Forward
Definition: JetAnalyzer.h:237
MonitorElement * mChMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:396
MonitorElement * mLooseCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:295
MonitorElement * mChMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:457
MonitorElement * mNeutralEmEnergy
Definition: JetAnalyzer.h:485
static bool jetSortingRule(reco::Jet x, reco::Jet y)
Definition: JetAnalyzer.h:98
MonitorElement * meCHFracBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:608
MonitorElement * mPhEn_mediumPt_EndCap
Definition: JetAnalyzer.h:436
virtual void scaleEnergy(double fScale)
scale energy of the jet
MonitorElement * mPt_Lo
Definition: JetAnalyzer.h:268
MonitorElement * mePhFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:634
MonitorElement * mEmEnergyInHF
Definition: JetAnalyzer.h:358
MonitorElement * mePtForwardPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:623
bool jetCleaningFlag_
Definition: JetAnalyzer.h:342
MonitorElement * mePtEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:577
MonitorElement * mPhiFirst
Definition: JetAnalyzer.h:263
MonitorElement * mCutPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:303
MonitorElement * mNeutralHadronEnergy
Definition: JetAnalyzer.h:482
MonitorElement * mHFEFrac_mediumPt_Forward
Definition: JetAnalyzer.h:467
MonitorElement * mPt_Forward
Definition: JetAnalyzer.h:236
MonitorElement * mCHFrac_highPt_EndCap
Definition: JetAnalyzer.h:425
MonitorElement * mNHFrac_highPt_EndCap
Definition: JetAnalyzer.h:426
bool fill_jet_high_level_histo
Definition: JetAnalyzer.h:652
MonitorElement * mqgLikelihood_highPt_EndCap
Definition: JetAnalyzer.h:515
MonitorElement * mChargedEmEnergy_profile
Definition: JetAnalyzer.h:543
float fHPD
Definition: JetID.h:45
edm::EDGetTokenT< reco::JetCorrector > jetCorrectorToken_
Definition: JetAnalyzer.h:139
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:340
MonitorElement * meHFEMFracMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:579
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:449
MonitorElement * mHFrac_Forward
Definition: JetAnalyzer.h:239
MonitorElement * mEmEnergyInEE
Definition: JetAnalyzer.h:357
MonitorElement * mHFHFrac_highPt_Forward
Definition: JetAnalyzer.h:470
MonitorElement * meNHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:627
MonitorElement * mHFHEn_lowPt_Forward
Definition: JetAnalyzer.h:472
MonitorElement * mMultiplicityQG_mediumPt_EndCap
Definition: JetAnalyzer.h:510
MonitorElement * mNHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:420
MonitorElement * mCHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:366
edm::EDGetTokenT< edm::ValueMap< int > > cutBasedPUIDToken_
Definition: JetAnalyzer.h:116
MonitorElement * meCHFracEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:572
MonitorElement * mElEn_highPt_Barrel
Definition: JetAnalyzer.h:388
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
Definition: JetAnalyzer.h:111
MonitorElement * mHFHFrac
Definition: JetAnalyzer.h:556
MonitorElement * jetME
Definition: JetAnalyzer.h:201
MonitorElement * mPhEn_lowPt_EndCap
Definition: JetAnalyzer.h:431
Base class for all types of Jets.
Definition: Jet.h:20
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:198
double balanceThirdJetCut_
Definition: JetAnalyzer.h:193
MonitorElement * mMediumCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:297
MonitorElement * mHFEEn_lowPt_Forward
Definition: JetAnalyzer.h:471
edm::EDGetTokenT< edm::ValueMap< float > > qgLikelihoodToken_
Definition: JetAnalyzer.h:120
MonitorElement * mePhFracEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:574
MonitorElement * meNHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:631
MonitorElement * mPhi_EndCap
Definition: JetAnalyzer.h:231
JetIDSelectionFunctor jetIDFunctor
Definition: JetAnalyzer.h:145
MonitorElement * mNHFrac
Definition: JetAnalyzer.h:553
float restrictedEMF
Definition: JetID.h:52
MonitorElement * meCHFracEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:612
MonitorElement * mqgLikelihood_mediumPt_Barrel
Definition: JetAnalyzer.h:498
MonitorElement * mPhFrac_lowPt_EndCap
Definition: JetAnalyzer.h:421
MonitorElement * mMass_highPt_EndCap
Definition: JetAnalyzer.h:451
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:288
MonitorElement * mNHFracVSeta_highPt
Definition: JetAnalyzer.h:416
MonitorElement * mCutPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:301
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:359
MonitorElement * mCHFrac
Definition: JetAnalyzer.h:552
PFJetIDSelectionFunctor pfjetIDFunctor
Definition: JetAnalyzer.h:150
float fRBX
Definition: JetID.h:46
MonitorElement * mCHEn_lowPt_EndCap
Definition: JetAnalyzer.h:429
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
Definition: JetAnalyzer.h:112
MonitorElement * meNHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:595
MonitorElement * mCutPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:302
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
MonitorElement * mCHFracVSeta_highPt
Definition: JetAnalyzer.h:415
MonitorElement * meCHFracEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:616
MonitorElement * mPhEn_highPt_Barrel
Definition: JetAnalyzer.h:387
MonitorElement * mCHFrac_profile
Definition: JetAnalyzer.h:557
MonitorElement * mNeutMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:455
MonitorElement * mNHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:435
MonitorElement * mEta_Hi
Definition: JetAnalyzer.h:270
edm::EDGetTokenT< edm::ValueMap< int > > mvaPUIDToken_
Definition: JetAnalyzer.h:117
MonitorElement * mpTD_mediumPt_EndCap
Definition: JetAnalyzer.h:509
bool isCaloJet_
Definition: JetAnalyzer.h:648
MonitorElement * meCHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:636
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:487
Strings::size_type size() const
Definition: TriggerNames.cc:39
edm::EDGetTokenT< edm::ValueMap< float > > mvaFullPUDiscriminantToken_
Definition: JetAnalyzer.h:114
MonitorElement * mePtForwardMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:620
MonitorElement * mMass_lowPt_Barrel
Definition: JetAnalyzer.h:444
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:324
MonitorElement * meCHFracBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:568
MonitorElement * mePhFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:626
MonitorElement * mPt_3
Definition: JetAnalyzer.h:207
T eta() const
Jet ID object.
Definition: JetID.h:16
MonitorElement * mHFEMFrac
Definition: JetAnalyzer.h:555
MonitorElement * mEta
Definition: JetAnalyzer.h:208
MonitorElement * mConstituents_Forward
Definition: JetAnalyzer.h:238
std::string DirName
Definition: JetAnalyzer.h:154
edm::EDGetTokenT< std::vector< reco::Vertex > > vertexToken_
Definition: JetAnalyzer.h:109
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:287
MonitorElement * mpTD_lowPt_Forward
Definition: JetAnalyzer.h:518
MonitorElement * mPt_Hi
Definition: JetAnalyzer.h:272
JetMETDQMDCSFilter * DCSFilterForDCSMonitoring_
Definition: JetAnalyzer.h:564
MonitorElement * mePhFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:594
MonitorElement * mMultiplicityQG_lowPt_EndCap
Definition: JetAnalyzer.h:506
MonitorElement * meHFHFracPlus_BXm1Filled
Definition: JetAnalyzer.h:641
tuple vertexCollection
MonitorElement * meNHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:635
MonitorElement * mCHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:419
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
MonitorElement * mMuMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:398
MonitorElement * mNHFracVSeta_mediumPt
Definition: JetAnalyzer.h:413
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:546
MonitorElement * mAxis2_mediumPt_Barrel
Definition: JetAnalyzer.h:495
MonitorElement * mHFEFrac_lowPt_Forward
Definition: JetAnalyzer.h:465
MonitorElement * meHFEMFracPlus_BXm1Filled
Definition: JetAnalyzer.h:642
MonitorElement * mNHFracVSeta_lowPt
Definition: JetAnalyzer.h:410
MonitorElement * mLooseJIDPassFractionVSpt
Definition: JetAnalyzer.h:275
MonitorElement * mAxis2_highPt_Forward
Definition: JetAnalyzer.h:525
JetMETDQMDCSFilter * DCSFilterForJetMonitoring_
Definition: JetAnalyzer.h:563
MonitorElement * mpTD_mediumPt_Barrel
Definition: JetAnalyzer.h:496
MonitorElement * mPt_uncor
Definition: JetAnalyzer.h:210
MonitorElement * mDPhi
Definition: JetAnalyzer.h:259
void Fill(long long x)
MonitorElement * mresEMF
Definition: JetAnalyzer.h:362
MonitorElement * meEta_BXm2BXm1Filled
Definition: JetAnalyzer.h:624
MonitorElement * mChargedMuEnergy
Definition: JetAnalyzer.h:484
MonitorElement * mLooseMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:280
MonitorElement * meHFHFracMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:618
MonitorElement * mMuMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:459
MonitorElement * mNHFrac_profile
Definition: JetAnalyzer.h:558
bool runcosmics_
Definition: JetAnalyzer.h:344
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:322
MonitorElement * mpTD_highPt_EndCap
Definition: JetAnalyzer.h:513
MonitorElement * mEmEnergyInEB
Definition: JetAnalyzer.h:356
MonitorElement * mDijetBalance
Definition: JetAnalyzer.h:313
MonitorElement * meNHFracEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:575
static bool passJetId(int flag, Id level)
MonitorElement * meHFEMFracPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:582
MonitorElement * mTightCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:299
MonitorElement * mMediumMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:281
MonitorElement * mePtEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:597
MonitorElement * mChargedHadronEnergy_profile
Definition: JetAnalyzer.h:541
MonitorElement * mPhi_Barrel
Definition: JetAnalyzer.h:225
MonitorElement * mPhFrac_lowPt_Barrel
Definition: JetAnalyzer.h:368
MonitorElement * mAxis2_highPt_Barrel
Definition: JetAnalyzer.h:499
MonitorElement * mMass_lowPt_EndCap
Definition: JetAnalyzer.h:445
MonitorElement * mePtForwardMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:580
MonitorElement * mConstituents_EndCap
Definition: JetAnalyzer.h:232
MonitorElement * meEta_BXm1Empty
Definition: JetAnalyzer.h:604
MonitorElement * mHFHFrac_mediumPt_Forward
Definition: JetAnalyzer.h:468
MonitorElement * mPhFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:371
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtToken_
Definition: JetAnalyzer.h:110
MonitorElement * mePhFracBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:606
MonitorElement * mePtEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:593
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:547
MonitorElement * mMultiplicityQG_highPt_EndCap
Definition: JetAnalyzer.h:514
MonitorElement * meHFHFracMinus_BXm1Filled
Definition: JetAnalyzer.h:638
MonitorElement * cleanupME
Definition: JetAnalyzer.h:333
MonitorElement * mPhEn_mediumPt_Barrel
Definition: JetAnalyzer.h:382
MonitorElement * mLooseMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:279
MonitorElement * mNeutMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:458
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:532
MonitorElement * mNHFracVSpT_EndCap
Definition: JetAnalyzer.h:404
MonitorElement * mNeutralEmEnergy_profile
Definition: JetAnalyzer.h:545
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * mNHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:370
MonitorElement * mPhEn_lowPt_Barrel
Definition: JetAnalyzer.h:377
edm::EDGetTokenT< edm::ValueMap< float > > cutBasedPUDiscriminantToken_
Definition: JetAnalyzer.h:115
edm::EDGetTokenT< pat::JetCollection > patJetsToken_
Definition: JetAnalyzer.h:113
MonitorElement * mPt_1
Definition: JetAnalyzer.h:205
MonitorElement * mConstituents_Barrel
Definition: JetAnalyzer.h:226
MonitorElement * meHFHFracMinus_BXm1Empty
Definition: JetAnalyzer.h:598
MonitorElement * meCHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:592
MonitorElement * mNHEn_lowPt_EndCap
Definition: JetAnalyzer.h:430
double ptThreshold_
Definition: JetAnalyzer.h:190
MonitorElement * mMuEn_lowPt_EndCap
Definition: JetAnalyzer.h:433
MonitorElement * mePhFracBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:566
MonitorElement * mPhi
Definition: JetAnalyzer.h:209
MonitorElement * meHFEMFracMinus_BXm1Filled
Definition: JetAnalyzer.h:639
MonitorElement * mNeutMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:391
MonitorElement * mpTD_highPt_Barrel
Definition: JetAnalyzer.h:500
MonitorElement * mPhFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:424
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:548
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:306
MonitorElement * mCutPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:308
MonitorElement * mChargedHadronEnergy
Definition: JetAnalyzer.h:481
MonitorElement * mePhFracEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:614
MonitorElement * mPhi_uncor
Definition: JetAnalyzer.h:212
MonitorElement * mePhFracEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:570
MonitorElement * mCutPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:307
MonitorElement * meHFEMFracPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:622
MonitorElement * meNHFracBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:607
bool fill_CHS_histos
Definition: JetAnalyzer.h:654
MonitorElement * mChargedEmEnergy
Definition: JetAnalyzer.h:483
MonitorElement * mNeutMultiplicity_mediumPt_Forward
Definition: JetAnalyzer.h:478
MonitorElement * mMass_mediumPt_EndCap
Definition: JetAnalyzer.h:448
std::vector< bool > TechnicalTriggerWord
technical trigger bits (64 bits)
MonitorElement * mPhFrac_profile
Definition: JetAnalyzer.h:559
MonitorElement * meNHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:587
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:319
edm::EDGetTokenT< edm::ValueMap< float > > qgptDToken_
Definition: JetAnalyzer.h:121
MonitorElement * mPhFracVSeta_lowPt
Definition: JetAnalyzer.h:411
MonitorElement * mChMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:390
edm::InputTag jetCorrectorTag_
Definition: JetAnalyzer.h:138
MonitorElement * mEtaFirst
Definition: JetAnalyzer.h:262
MonitorElement * mElEn_lowPt_EndCap
Definition: JetAnalyzer.h:432
MonitorElement * mTightMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:283
MonitorElement * mNHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:423
MonitorElement * mEFrac_Forward
Definition: JetAnalyzer.h:240
static std::string const triggerResults
Definition: EdmProvDump.cc:40
MonitorElement * mChMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:454
MonitorElement * mMuEn_mediumPt_Barrel
Definition: JetAnalyzer.h:384
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken_
Definition: JetAnalyzer.h:108
MonitorElement * mMuMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:462
bool isValid() const
Definition: HandleBase.h:75
MonitorElement * mePtEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:573
MonitorElement * mPt_2
Definition: JetAnalyzer.h:206
MonitorElement * mAxis2_highPt_EndCap
Definition: JetAnalyzer.h:512
MonitorElement * mMVAPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:291
MonitorElement * mNeutralHadronEnergy_profile
Definition: JetAnalyzer.h:542
MonitorElement * mHFrac_Barrel
Definition: JetAnalyzer.h:227
bool filter(const edm::Event &evt, const edm::EventSetup &es)
MonitorElement * mNJets_profile
Definition: JetAnalyzer.h:318
MonitorElement * mMultiplicityQG_highPt_Barrel
Definition: JetAnalyzer.h:501
MonitorElement * mHFEFracVSpT_Forward
Definition: JetAnalyzer.h:407
MonitorElement * mePhFracEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:610
MonitorElement * mePhFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:586
MonitorElement * mCHEn_lowPt_Barrel
Definition: JetAnalyzer.h:375
MonitorElement * mHFEFrac_highPt_Forward
Definition: JetAnalyzer.h:469
MonitorElement * mElEn_highPt_EndCap
Definition: JetAnalyzer.h:442
MonitorElement * mCutPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:305
MonitorElement * meNHFracEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:571
MonitorElement * mEFrac
Definition: JetAnalyzer.h:221
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:304
MonitorElement * mPhFrac_highPt_EndCap
Definition: JetAnalyzer.h:427
MonitorElement * mPhFracVSeta_mediumPt
Definition: JetAnalyzer.h:414
MonitorElement * meHFEMFracPlus_BXm1Empty
Definition: JetAnalyzer.h:602
MonitorElement * mePtBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:609
MonitorElement * meCHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:588
MonitorElement * mePtBarrel_BXm1Empty
Definition: JetAnalyzer.h:589
MonitorElement * mNHFracVSpT_Barrel
Definition: JetAnalyzer.h:401
MonitorElement * mHadEnergyInHF
Definition: JetAnalyzer.h:354
MonitorElement * mfHPD
Definition: JetAnalyzer.h:360
MonitorElement * mDijetAsymmetry
Definition: JetAnalyzer.h:314
MonitorElement * mNeutMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:461
MonitorElement * mpTD_lowPt_Barrel
Definition: JetAnalyzer.h:492
MonitorElement * mHFHEn_mediumPt_Forward
Definition: JetAnalyzer.h:474
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:215
MonitorElement * mAxis2_lowPt_EndCap
Definition: JetAnalyzer.h:504
MonitorElement * mElEn_mediumPt_Barrel
Definition: JetAnalyzer.h:383
MonitorElement * mMVAPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:293
MonitorElement * mePtEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:613
TObject * getRootObject(void) const
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > jetID_ValueMapToken_
Definition: JetAnalyzer.h:128
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:486
edm::EDGetTokenT< edm::ValueMap< int > > qgMultiplicityToken_
Definition: JetAnalyzer.h:119
MonitorElement * mNHEn_highPt_Barrel
Definition: JetAnalyzer.h:386
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:646
MonitorElement * mPt
Definition: JetAnalyzer.h:204
MonitorElement * mEFrac_Barrel
Definition: JetAnalyzer.h:228
double asymmetryThirdJetCut_
Definition: JetAnalyzer.h:192
MonitorElement * mCHFracVSeta_mediumPt
Definition: JetAnalyzer.h:412
T const * product() const
Definition: Handle.h:81
MonitorElement * mePtBarrel_BXm1Filled
Definition: JetAnalyzer.h:629
MonitorElement * mCHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:422
MonitorElement * mNHFrac_highPt_Barrel
Definition: JetAnalyzer.h:373
MonitorElement * mqgLikelihood_highPt_Forward
Definition: JetAnalyzer.h:528
MonitorElement * mMediumCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:298
MonitorElement * mePhFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:590
double ptThresholdUnc_
Definition: JetAnalyzer.h:191
MonitorElement * mMuMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:395
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:27
MonitorElement * mHFrac_EndCap
Definition: JetAnalyzer.h:233
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:217
MonitorElement * mElEn_mediumPt_EndCap
Definition: JetAnalyzer.h:437
MonitorElement * mAxis2_lowPt_Barrel
Definition: JetAnalyzer.h:491
MonitorElement * mPhiVSEta
Definition: JetAnalyzer.h:222
MonitorElement * mqgLikelihood_mediumPt_EndCap
Definition: JetAnalyzer.h:511
tuple recoJets
Definition: RecoJets_cff.py:56
MonitorElement * meHFHFracPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:621
MonitorElement * mePtEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:633
MonitorElement * mChargedMuEnergy_profile
Definition: JetAnalyzer.h:544
MonitorElement * mLooseJIDPassFractionVSptNoHF
Definition: JetAnalyzer.h:276
MonitorElement * mEta_uncor
Definition: JetAnalyzer.h:211
MonitorElement * mMediumMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:282
MonitorElement * mCHEn_highPt_EndCap
Definition: JetAnalyzer.h:439
MonitorElement * mMVAPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:292
MonitorElement * mCHFracVSpT_EndCap
Definition: JetAnalyzer.h:403
MonitorElement * mHFHFracVSpT_Forward
Definition: JetAnalyzer.h:406
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:285
MonitorElement * mpTD_lowPt_EndCap
Definition: JetAnalyzer.h:505
bool isMiniAODJet_
Definition: JetAnalyzer.h:650
MonitorElement * mNHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:381
MonitorElement * mMuMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:392
std::string const & label() const
Definition: InputTag.h:42
MonitorElement * mePtForwardPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:583
pat::strbitset getBitTemplate() const
Get an empty bitset with the proper names.
Definition: Selector.h:212
MonitorElement * mMuEn_highPt_EndCap
Definition: JetAnalyzer.h:443
MonitorElement * mLooseJIDPassFractionVSeta
Definition: JetAnalyzer.h:274
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:323
MonitorElement * mPhEn_highPt_EndCap
Definition: JetAnalyzer.h:441
MonitorElement * mMultiplicityQG_lowPt_Barrel
Definition: JetAnalyzer.h:493
edm::EventID id() const
Definition: EventBase.h:60
MonitorElement * mMVAPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:286
MonitorElement * meHFHFracMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:578
MonitorElement * mMuEn_mediumPt_EndCap
Definition: JetAnalyzer.h:438
MonitorElement * mqgLikelihood_lowPt_EndCap
Definition: JetAnalyzer.h:507
MonitorElement * mAxis2_mediumPt_Forward
Definition: JetAnalyzer.h:521
MonitorElement * mMuEn_lowPt_Barrel
Definition: JetAnalyzer.h:379
virtual int nConstituents() const
of constituents
Definition: Jet.h:65
MonitorElement * mTightMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:284
MonitorElement * mCHFrac_highPt_Barrel
Definition: JetAnalyzer.h:372
MonitorElement * mMuEn_highPt_Barrel
Definition: JetAnalyzer.h:389
MonitorElement * meCHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:596
MonitorElement * mePhFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:630
MonitorElement * mHFHEn_highPt_Forward
Definition: JetAnalyzer.h:476
MonitorElement * mePtEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:637
MonitorElement * mNHEn_highPt_EndCap
Definition: JetAnalyzer.h:440
MonitorElement * mePtForwardPlus_BXm1Filled
Definition: JetAnalyzer.h:643
MonitorElement * mCHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:369
MonitorElement * mAxis2_lowPt_Forward
Definition: JetAnalyzer.h:517
MonitorElement * mPhi_Hi
Definition: JetAnalyzer.h:271
MonitorElement * mMultiplicityQG_mediumPt_Barrel
Definition: JetAnalyzer.h:497
edm::InputTag theTriggerResultsLabel_
Definition: JetAnalyzer.h:102
MonitorElement * mPtFirst
Definition: JetAnalyzer.h:264
MonitorElement * meNHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:591
MonitorElement * mPhFrac
Definition: JetAnalyzer.h:554
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:321
MonitorElement * mPt_Barrel
Definition: JetAnalyzer.h:224
MonitorElement * meCHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:628
MonitorElement * mElEn_lowPt_Barrel
Definition: JetAnalyzer.h:378
MonitorElement * mMass_highPt_Barrel
Definition: JetAnalyzer.h:450
MonitorElement * meNHFracEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:611
MonitorElement * mHadEnergyInHE
Definition: JetAnalyzer.h:355
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:339
MonitorElement * mMass_mediumPt_Barrel
Definition: JetAnalyzer.h:447
MonitorElement * meHFEMFracMinus_BXm1Empty
Definition: JetAnalyzer.h:599
MonitorElement * mChMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:460
tuple cout
Definition: gather_cfg.py:121
MonitorElement * meHFHFracPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:581
MonitorElement * mConstituents
Definition: JetAnalyzer.h:219
MonitorElement * mNHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:367
MonitorElement * meEta_BXm1Filled
Definition: JetAnalyzer.h:644
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:216
MonitorElement * mPhFrac_highPt_Barrel
Definition: JetAnalyzer.h:374
MonitorElement * mCHFracVSpT_Barrel
Definition: JetAnalyzer.h:400
MonitorElement * mPhFracVSpT_EndCap
Definition: JetAnalyzer.h:405
MonitorElement * mChMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:393
MonitorElement * mMultiplicityQG_lowPt_Forward
Definition: JetAnalyzer.h:519
MonitorElement * meCHFracEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:576
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:320
MonitorElement * mPt_EndCap
Definition: JetAnalyzer.h:230
MonitorElement * mCHFracVSeta_lowPt
Definition: JetAnalyzer.h:409
MonitorElement * meEta_BXm2BXm1Empty
Definition: JetAnalyzer.h:584
MonitorElement * mpTD_mediumPt_Forward
Definition: JetAnalyzer.h:522
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:289
MonitorElement * mCHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:434
MonitorElement * mTightCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:300
MonitorElement * mNeutMultiplicity_highPt_Forward
Definition: JetAnalyzer.h:479
MonitorElement * mqgLikelihood_highPt_Barrel
Definition: JetAnalyzer.h:502
tuple pfJets
Definition: pfJets_cff.py:8
MonitorElement * mqgLikelihood_mediumPt_Forward
Definition: JetAnalyzer.h:524
virtual double phi() const
momentum azimuthal angle
MonitorElement * mePtForwardMinus_BXm1Filled
Definition: JetAnalyzer.h:640
MonitorElement * mLooseCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:296
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:488
MonitorElement * mPhFracVSpT_Barrel
Definition: JetAnalyzer.h:402
MonitorElement * mHFEMFrac_profile
Definition: JetAnalyzer.h:560
MonitorElement * mePtEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:617
MonitorElement * mMultiplicityQG_mediumPt_Forward
Definition: JetAnalyzer.h:523
MonitorElement * mqgLikelihood_lowPt_Forward
Definition: JetAnalyzer.h:520
MonitorElement * mHFHFrac_lowPt_Forward
Definition: JetAnalyzer.h:466
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:290
MonitorElement * mMuMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:456
MonitorElement * meHFHFracPlus_BXm1Empty
Definition: JetAnalyzer.h:601
MonitorElement * mConstituents_uncor
Definition: JetAnalyzer.h:213
MonitorElement * mNeutMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:394
MonitorElement * meCHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:632
MonitorElement * mPhi_Lo
Definition: JetAnalyzer.h:267
MonitorElement * mHFrac
Definition: JetAnalyzer.h:220
MonitorElement * mCutPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:309
short n90Hits
Definition: JetID.h:47
MonitorElement * mNeutMultiplicity_lowPt_Forward
Definition: JetAnalyzer.h:477
MonitorElement * mHFEEn_mediumPt_Forward
Definition: JetAnalyzer.h:473
MonitorElement * meHFEMFracMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:619
MonitorElement * mNeutMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:397
MonitorElement * verticesME
Definition: JetAnalyzer.h:334
MonitorElement * mPhFracVSeta_highPt
Definition: JetAnalyzer.h:417
MonitorElement * mAxis2_mediumPt_EndCap
Definition: JetAnalyzer.h:508
MonitorElement * mePtBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:569
MonitorElement * mpTD_highPt_Forward
Definition: JetAnalyzer.h:526
MonitorElement * mePtForwardMinus_BXm1Empty
Definition: JetAnalyzer.h:600
MonitorElement * meNHFracBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:567
MonitorElement * meNHFracEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:615
MonitorElement * mHFHFrac_profile
Definition: JetAnalyzer.h:561
Definition: DDAxes.h:10
MonitorElement * mHadEnergyInHO
Definition: JetAnalyzer.h:352
edm::InputTag mInputCollection_
Definition: JetAnalyzer.h:101
void JetAnalyzer::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &   
)
overridevirtual

Inizialize parameters for histo binning.

Implements DQMEDAnalyzer.

Definition at line 247 of file JetAnalyzer.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), cmsPerfPublish::DirName, MonitorElement::getTH2F(), MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), and DQMStore::IBooker::setCurrentFolder().

249  {
250 
251  // dbe_ = edm::Service<DQMStore>().operator->();
252  if(jetCleaningFlag_){
253  ibooker.setCurrentFolder("JetMET/Jet/Cleaned"+mInputCollection_.label());
254  DirName = "JetMET/Jet/Cleaned"+mInputCollection_.label();
255  }else{
256  ibooker.setCurrentFolder("JetMET/Jet/Uncleaned"+mInputCollection_.label());
257  DirName = "JetMET/Jet/Uncleaned"+mInputCollection_.label();
258  }
259 
260  jetME = ibooker.book1D("jetReco", "jetReco", 4, 1, 5);
261  jetME->setBinLabel(1,"CaloJets",1);
262  jetME->setBinLabel(2,"PFJets",1);
263  jetME->setBinLabel(3,"JPTJets",1);
264  jetME->setBinLabel(4,"MiniAODJets",1);
265 
266  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"jetReco",jetME));
267 
268 
269  mPt = ibooker.book1D("Pt", "pt", ptBin_, ptMin_, ptMax_);
270  mEta = ibooker.book1D("Eta", "eta", etaBin_, etaMin_, etaMax_);
271  mPhi = ibooker.book1D("Phi", "phi", phiBin_, phiMin_, phiMax_);
272  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt" ,mPt));
273  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta",mEta));
274  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi",mPhi));
275 
276  //if(!isJPTJet_){
277  mConstituents = ibooker.book1D("Constituents", "# of constituents", 50, 0, 100);
278  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents",mConstituents));
279  //}
280  mJetEnergyCorr= ibooker.book1D("JetEnergyCorr", "jet energy correction factor", 50, 0.0,3.0);
281  mJetEnergyCorrVSEta= ibooker.bookProfile("JetEnergyCorrVSEta", "jet energy correction factor VS eta", etaBin_, etaMin_,etaMax_, 0.0,3.0);
282  mJetEnergyCorrVSPt= ibooker.bookProfile("JetEnergyCorrVSPt", "jet energy correction factor VS pt", ptBin_, ptMin_,ptMax_, 0.0,3.0);
283  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetEnergyCorr" ,mJetEnergyCorr));
284  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetEnergyCorrVSEta" ,mJetEnergyCorrVSEta));
285  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetEnergyCorrVSPt" ,mJetEnergyCorrVSPt));
286 
287  mPt_uncor = ibooker.book1D("Pt_uncor", "pt for uncorrected jets", ptBin_, ptThresholdUnc_, ptMax_);
288  mEta_uncor = ibooker.book1D("Eta_uncor", "eta for uncorrected jets", etaBin_, etaMin_, etaMax_);
289  mPhi_uncor = ibooker.book1D("Phi_uncor", "phi for uncorrected jets", phiBin_, phiMin_, phiMax_);
290  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_uncor" ,mPt_uncor));
291  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_uncor",mEta_uncor));
292  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_uncor",mPhi_uncor));
293  //if(!isJPTJet_){
294  mConstituents_uncor = ibooker.book1D("Constituents_uncor", "# of constituents for uncorrected jets", 50, 0, 100);
295  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents_uncor",mConstituents_uncor));
296  //}
297 
298  mDPhi = ibooker.book1D("DPhi", "dPhi btw the two leading jets", 100, 0., acos(-1.));
299  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"DPhi",mDPhi));
300 
301  // Book NPV profiles
302  //----------------------------------------------------------------------------
303  mPt_profile = ibooker.bookProfile("Pt_profile", "pt", nbinsPV_, nPVlow_, nPVhigh_, ptBin_, ptMin_, ptMax_);
304  mEta_profile = ibooker.bookProfile("Eta_profile", "eta", nbinsPV_, nPVlow_, nPVhigh_, etaBin_, etaMin_, etaMax_);
305  mPhi_profile = ibooker.bookProfile("Phi_profile", "phi", nbinsPV_, nPVlow_, nPVhigh_, phiBin_, phiMin_, phiMax_);
306  //if(!isJPTJet_){
307  mConstituents_profile = ibooker.bookProfile("Constituents_profile", "# of constituents", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
308  //}
309  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_profile" ,mPt_profile));
310  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_profile",mEta_profile));
311  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_profile",mPhi_profile));
312 
313 
314 
315  if(!runcosmics_){//JIDPassFrac_ defines a collection of cleaned jets, for which we will want to fill the cleaning passing fraction
316  mLooseJIDPassFractionVSeta = ibooker.bookProfile("JetIDPassFractionVSeta","JetIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
317  mLooseJIDPassFractionVSpt = ibooker.bookProfile("JetIDPassFractionVSpt","JetIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
318  mLooseJIDPassFractionVSptNoHF = ibooker.bookProfile("JetIDPassFractionVSptNoHF","JetIDPassFractionVSptNoHF",ptBin_, ptMin_, ptMax_,0.,1.2);
319  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetIDPassFractionVSeta" ,mLooseJIDPassFractionVSeta));
320  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetIDPassFractionVSpt" ,mLooseJIDPassFractionVSpt));
321  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetIDPassFractionVSptNoHF",mLooseJIDPassFractionVSptNoHF));
322  }
323 
324  mNJets_profile = ibooker.bookProfile("NJets_profile", "number of jets", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
325 
326 
327  // Set NPV profiles x-axis title
328  //----------------------------------------------------------------------------
329  mPt_profile ->setAxisTitle("nvtx",1);
330  mEta_profile ->setAxisTitle("nvtx",1);
331  mPhi_profile ->setAxisTitle("nvtx",1);
332  //if(!isJPTJet_){
334  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents_profile",mConstituents_profile));
335  //}
336  mNJets_profile->setAxisTitle("nvtx",1);
337 
338  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_profile" ,mPt_profile));
339  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_profile",mEta_profile));
340  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_profile",mPhi_profile));
341  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NJets_profile" ,mNJets_profile));
342 
343 
344  mPhiVSEta = ibooker.book2D("PhiVSEta", "PhiVSEta", 50, etaMin_, etaMax_, 24, phiMin_, phiMax_);
345  mPhiVSEta->getTH2F()->SetOption("colz");
346  mPhiVSEta->setAxisTitle("#eta",1);
347  mPhiVSEta->setAxisTitle("#phi",2);
348  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhiVSEta" ,mPhiVSEta));
349 
350  mPt_1 = ibooker.book1D("Pt_1", "Pt spectrum of jets - range 1", 20, 0, 100);
351  mPt_2 = ibooker.book1D("Pt_2", "Pt spectrum of jets - range 2", 60, 0, 300);
352  mPt_3 = ibooker.book1D("Pt_3", "Pt spectrum of jets - range 3", 100, 0, 5000);
353  // Low and high pt trigger paths
354  mPt_Lo = ibooker.book1D("Pt_Lo", "Pt (Pass Low Pt Jet Trigger)", 20, 0, 100);
355  //mEta_Lo = ibooker.book1D("Eta_Lo", "Eta (Pass Low Pt Jet Trigger)", etaBin_, etaMin_, etaMax_);
356  mPhi_Lo = ibooker.book1D("Phi_Lo", "Phi (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
357 
358  mPt_Hi = ibooker.book1D("Pt_Hi", "Pt (Pass Hi Pt Jet Trigger)", 60, 0, 300);
359  mEta_Hi = ibooker.book1D("Eta_Hi", "Eta (Pass Hi Pt Jet Trigger)", etaBin_, etaMin_, etaMax_);
360  mPhi_Hi = ibooker.book1D("Phi_Hi", "Phi (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
361  mNJets = ibooker.book1D("NJets", "number of jets", 100, 0, 100);
362 
363  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_1" ,mPt_1));
364  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_2" ,mPt_2));
365  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_3" ,mPt_3));
366  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_Lo" ,mPt_Lo));
367  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_Lo" ,mPhi_Lo));
368  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_Hi" ,mPt_Hi));
369  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_Hi" ,mEta_Hi));
370  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_Hi" ,mPhi_Hi));
371  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NJets" ,mNJets));
372 
373  //mPt_Barrel_Lo = ibooker.book1D("Pt_Barrel_Lo", "Pt Barrel (Pass Low Pt Jet Trigger)", 20, 0, 100);
374  //mPhi_Barrel_Lo = ibooker.book1D("Phi_Barrel_Lo", "Phi Barrel (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
375  //if(!isJPTJet_){
376  mConstituents_Barrel = ibooker.book1D("Constituents_Barrel", "Constituents Barrel", 50, 0, 100);
377  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents_Barrel",mConstituents_Barrel));
378  //}
379 
380  //mPt_EndCap_Lo = ibooker.book1D("Pt_EndCap_Lo", "Pt EndCap (Pass Low Pt Jet Trigger)", 20, 0, 100);
381  //mPhi_EndCap_Lo = ibooker.book1D("Phi_EndCap_Lo", "Phi EndCap (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
382  //if(!isJPTJet_){
383  mConstituents_EndCap = ibooker.book1D("Constituents_EndCap", "Constituents EndCap", 50, 0, 100);
384  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents_EndCap",mConstituents_EndCap));
385  //}
386 
387 
388  //mPt_Forward_Lo = ibooker.book1D("Pt_Forward_Lo", "Pt Forward (Pass Low Pt Jet Trigger)", 20, 0, 100);
389  //mPhi_Forward_Lo = ibooker.book1D("Phi_Forward_Lo", "Phi Forward (Pass Low Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
390  //if(!isJPTJet_){
391  mConstituents_Forward = ibooker.book1D("Constituents_Forward", "Constituents Forward", 50, 0, 100);
392  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents_Forward",mConstituents_Forward));
393  //}
394 
395 
396 
397  mPt_Barrel_Hi = ibooker.book1D("Pt_Barrel_Hi", "Pt Barrel (Pass Hi Pt Jet Trigger)", 60, 0, 300);
398  mPhi_Barrel_Hi = ibooker.book1D("Phi_Barrel_Hi", "Phi Barrel (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
399 
400  mPt_EndCap_Hi = ibooker.book1D("Pt_EndCap_Hi", "Pt EndCap (Pass Hi Pt Jet Trigger)", 60, 0, 300);
401  mPhi_EndCap_Hi = ibooker.book1D("Phi_EndCap_Hi", "Phi EndCap (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
402 
403  mPt_Forward_Hi = ibooker.book1D("Pt_Forward_Hi", "Pt Forward (Pass Hi Pt Jet Trigger)", 60, 0, 300);
404  mPhi_Forward_Hi = ibooker.book1D("Phi_Forward_Hi", "Phi Forward (Pass Hi Pt Jet Trigger)", phiBin_, phiMin_, phiMax_);
405 
406  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_Barrel_Hi" ,mPt_Barrel_Hi));
407  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_Barrel_Hi",mPhi_Barrel_Hi));
408  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_EndCap_Hi" ,mPt_EndCap_Hi));
409  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_EndCap_Hi",mPhi_EndCap_Hi));
410  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_Forward_Hi" ,mPt_Forward_Hi));
411  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_Forward_Hi",mPhi_Forward_Hi));
412 
413  mPhi_Barrel = ibooker.book1D("Phi_Barrel", "Phi_Barrel", phiBin_, phiMin_, phiMax_);
414  mPt_Barrel = ibooker.book1D("Pt_Barrel", "Pt_Barrel", ptBin_, ptMin_, ptMax_);
415 
416  mPhi_EndCap = ibooker.book1D("Phi_EndCap", "Phi_EndCap", phiBin_, phiMin_, phiMax_);
417  mPt_EndCap = ibooker.book1D("Pt_EndCap", "Pt_EndCap", ptBin_, ptMin_, ptMax_);
418 
419  mPhi_Forward = ibooker.book1D("Phi_Forward", "Phi_Forward", phiBin_, phiMin_, phiMax_);
420  mPt_Forward = ibooker.book1D("Pt_Forward", "Pt_Forward", ptBin_, ptMin_, ptMax_);
421 
422  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_Barrel" ,mPt_Barrel));
423  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_Barrel",mPhi_Barrel));
424  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_EndCap" ,mPt_EndCap));
425  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_EndCap",mPhi_EndCap));
426  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_Forward" ,mPt_Forward));
427  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_Forward",mPhi_Forward));
428 
429  // Leading Jet Parameters
430  mEtaFirst = ibooker.book1D("EtaFirst", "EtaFirst", 100, -5, 5);
431  mPhiFirst = ibooker.book1D("PhiFirst", "PhiFirst", 70, phiMin_, phiMax_);
432  mPtFirst = ibooker.book1D("PtFirst", "PtFirst", ptBin_, ptMin_, ptMax_);
433 
434  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EtaFirst" ,mEtaFirst));
435  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtFirst" ,mPtFirst));
436  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhiFirst" ,mPhiFirst));
437 
438  //--- Calo jet selection only
439  if(isCaloJet_) {
440 
441  // CaloJet specific
442  mHadEnergyInHO = ibooker.book1D("HadEnergyInHO", "HadEnergyInHO", 100, 0, 20);
443  mHadEnergyInHB = ibooker.book1D("HadEnergy5InHB", "HadEnergyInHB", 100, 0, 100);
444  mHadEnergyInHF = ibooker.book1D("HadEnergyInHF", "HadEnergyInHF", 100, 0, 100);
445  mHadEnergyInHE = ibooker.book1D("HadEnergyInHE", "HadEnergyInHE", 100, 0, 200);
446  mEmEnergyInEB = ibooker.book1D("EmEnergyInEB", "EmEnergyInEB", 100, 0, 100);
447  mEmEnergyInEE = ibooker.book1D("EmEnergyInEE", "EmEnergyInEE", 100, 0, 100);
448  mEmEnergyInHF = ibooker.book1D("EmEnergyInHF", "EmEnergyInHF", 120, -20, 200);
449  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HadEnergyInHO" ,mHadEnergyInHO));
450  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HadEnergyInHB" ,mHadEnergyInHB));
451  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HadEnergyInHF" ,mHadEnergyInHF));
452  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HadEnergyInHE" ,mHadEnergyInHE));
453  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EmEnergyInEB" ,mEmEnergyInEB));
454  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EmEnergyInEE" ,mEmEnergyInEE));
455  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EmEnergyInHF" ,mEmEnergyInHF));
456 
457  //JetID variables
458  mresEMF = ibooker.book1D("resEMF", "resEMF", 50, 0., 1.);
459  mN90Hits = ibooker.book1D("N90Hits", "N90Hits", 100, 0., 100);
460  mfHPD = ibooker.book1D("fHPD", "fHPD", 50, 0., 1.);
461  mfRBX = ibooker.book1D("fRBX", "fRBX", 50, 0., 1.);
462  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"resEMF" ,mresEMF));
463  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"N90Hits" ,mN90Hits));
464  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"fHPD" ,mfHPD));
465  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"fRBX" ,mfRBX));
466 
467  mHFrac = ibooker.book1D("HFrac", "HFrac", 140, -0.2, 1.2);
468  mEFrac = ibooker.book1D("EFrac", "EFrac", 52, -0.02, 1.02);
469  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac" ,mHFrac));
470  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac" ,mEFrac));
471  mHFrac_profile = ibooker.bookProfile("HFrac_profile", "HFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
472  mEFrac_profile = ibooker.bookProfile("EFrac_profile", "EFrac", nbinsPV_, nPVlow_, nPVhigh_, 52, -0.02, 1.02);
473  mHFrac_profile ->setAxisTitle("nvtx",1);
474  mEFrac_profile ->setAxisTitle("nvtx",1);
475  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac_profile",mHFrac_profile));
476  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac_profile",mEFrac_profile));
477  mHFrac_Barrel = ibooker.book1D("HFrac_Barrel", "HFrac Barrel", 100, 0, 1);
478  mEFrac_Barrel = ibooker.book1D("EFrac_Barrel", "EFrac Barrel", 52, -0.02, 1.02);
479  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac_Barrel" ,mHFrac_Barrel));
480  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac_Barrel" ,mEFrac_Barrel));
481  mHFrac_EndCap = ibooker.book1D("HFrac_EndCap", "HFrac EndCap", 100, 0, 1);
482  mEFrac_EndCap = ibooker.book1D("EFrac_EndCap", "EFrac EndCap", 52, -0.02, 1.02);
483  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac_EndCap" ,mHFrac_EndCap));
484  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac_EndCap" ,mEFrac_EndCap));
485  mHFrac_Forward = ibooker.book1D("HFrac_Forward", "HFrac Forward", 140, -0.2, 1.2);
486  mEFrac_Forward = ibooker.book1D("EFrac_Forward", "EFrac Forward", 52, -0.02, 1.02);
487  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac_Forward" ,mHFrac_Forward));
488  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac_Forward" ,mEFrac_Forward));
489  }
490 
491  if(isPFJet_) {
492  if(jetCleaningFlag_){
493  //gluon quark separation axis
494  if(fill_CHS_histos){
495  mAxis2_lowPt_Barrel = ibooker.book1D("qg_Axis2_lowPt_Barrel","qg Axis2 #sigma_{2} lowPt Barrel",50,0.,0.20);
496  mpTD_lowPt_Barrel= ibooker.book1D("qg_pTD_lowPt_Barrel","qg fragmentation function p_{T}^{D} lowPt Barrel",50,0.15,1.05);
497  mMultiplicityQG_lowPt_Barrel= ibooker.book1D("qg_multiplicity_lowPt_Barrel","qg multiplicity lowPt Barrel",50,0,50);
498  mqgLikelihood_lowPt_Barrel= ibooker.book1D("qg_Likelihood_lowPt_Barrel","qg likelihood lowPt Barrel",50,-1.1,1.1);
499  mAxis2_lowPt_EndCap = ibooker.book1D("qg_Axis2_lowPt_EndCap","qg Axis2 #sigma_{2} lowPt EndCap",50,0.,0.20);
500  mpTD_lowPt_EndCap= ibooker.book1D("qg_pTD_lowPt_EndCap","qg fragmentation function p_{T}^{D} lowPt EndCap",50,0.15,1.05);
501  mMultiplicityQG_lowPt_EndCap= ibooker.book1D("qg_multiplicity_lowPt_EndCap","qg multiplicity lowPt EndCap",100,0,100);
502  mqgLikelihood_lowPt_EndCap= ibooker.book1D("qg_Likelihood_lowPt_EndCap","qg likelihood lowPt EndCap",50,-1.1,1.1);
503  mAxis2_lowPt_Forward = ibooker.book1D("qg_Axis2_lowPt_Forward","qg Axis2 #sigma_{2} lowPt Forward",50,0.,0.20);
504  mpTD_lowPt_Forward= ibooker.book1D("qg_pTD_lowPt_Forward","qg fragmentation function p_{T}^{D} lowPt Forward",50,0.15,1.05);
505  mMultiplicityQG_lowPt_Forward= ibooker.book1D("qg_multiplicity_lowPt_Forward","qg multiplicity lowPt Forward",100,0,100);
506  mqgLikelihood_lowPt_Forward= ibooker.book1D("qg_Likelihood_lowPt_Forward","qg likelihood lowPt Forward",50,-1.1,1.1);
507 
508  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_lowPt_Barrel" ,mAxis2_lowPt_Barrel));
509  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_lowPt_Barrel" ,mpTD_lowPt_Barrel));
510  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_lowPt_Barrel" ,mMultiplicityQG_lowPt_Barrel));
511  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_lowPt_Barrel" ,mqgLikelihood_lowPt_Barrel));
512  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_lowPt_EndCap" ,mAxis2_lowPt_EndCap));
513  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_lowPt_EndCap" ,mpTD_lowPt_EndCap));
514  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_lowPt_EndCap" ,mMultiplicityQG_lowPt_EndCap));
515  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_lowPt_EndCap" ,mqgLikelihood_lowPt_EndCap));
516  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_lowPt_Forward" ,mAxis2_lowPt_Forward));
517  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_lowPt_Forward" ,mpTD_lowPt_Forward));
518  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_lowPt_Forward" ,mMultiplicityQG_lowPt_Forward));
519  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_lowPt_Forward" ,mqgLikelihood_lowPt_Forward));
520 
521  mAxis2_mediumPt_Barrel = ibooker.book1D("qg_Axis2_mediumPt_Barrel","qg Axis2 #sigma_{2} mediumPt Barrel",50,0.,0.20);
522  mpTD_mediumPt_Barrel= ibooker.book1D("qg_pTD_mediumPt_Barrel","qg fragmentation function p_{T}^{D} mediumPt Barrel",50,0.15,1.05);
523  mMultiplicityQG_mediumPt_Barrel= ibooker.book1D("qg_multiplicity_mediumPt_Barrel","qg multiplicity mediumPt Barrel",100,0,100);
524  mqgLikelihood_mediumPt_Barrel= ibooker.book1D("qg_Likelihood_mediumPt_Barrel","qg likelihood mediumPt Barrel",50,-1.1,1.1);
525  mAxis2_mediumPt_EndCap = ibooker.book1D("qg_Axis2_mediumPt_EndCap","qg Axis2 #sigma_{2} mediumPt EndCap",50,0.,0.20);
526  mpTD_mediumPt_EndCap= ibooker.book1D("qg_pTD_mediumPt_EndCap","qg fragmentation function p_{T}^{D} mediumPt EndCap",50,0.15,1.05);
527  mMultiplicityQG_mediumPt_EndCap= ibooker.book1D("qg_multiplicity_mediumPt_EndCap","qg multiplicity mediumPt EndCap",100,0,100);
528  mqgLikelihood_mediumPt_EndCap= ibooker.book1D("qg_Likelihood_mediumPt_EndCap","qg likelihood mediumPt EndCap",50,-1.1,1.1);
529  mAxis2_mediumPt_Forward = ibooker.book1D("qg_Axis2_mediumPt_Forward","qg Axis2 #sigma_{2} mediumPt Forward",50,0.,0.20);
530  mpTD_mediumPt_Forward= ibooker.book1D("qg_pTD_mediumPt_Forward","qg fragmentation function p_{T}^{D} mediumPt Forward",50,0.15,1.05);
531  mMultiplicityQG_mediumPt_Forward= ibooker.book1D("qg_multiplicity_mediumPt_Forward","qg multiplicity mediumPt Forward",100,0,100);
532  mqgLikelihood_mediumPt_Forward= ibooker.book1D("qg_Likelihood_mediumPt_Forward","qg likelihood mediumPt Forward",50,-1.1,1.1);
533 
534  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_mediumPt_Barrel" ,mAxis2_mediumPt_Barrel));
535  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_mediumPt_Barrel" ,mpTD_mediumPt_Barrel));
536  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_mediumPt_Barrel" ,mMultiplicityQG_mediumPt_Barrel));
537  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_mediumPt_Barrel" ,mqgLikelihood_mediumPt_Barrel));
538  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_mediumPt_EndCap" ,mAxis2_mediumPt_EndCap));
539  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_mediumPt_EndCap" ,mpTD_mediumPt_EndCap));
540  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_mediumPt_EndCap" ,mMultiplicityQG_mediumPt_EndCap));
541  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_mediumPt_EndCap" ,mqgLikelihood_mediumPt_EndCap));
542  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_mediumPt_Forward" ,mAxis2_mediumPt_Forward));
543  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_mediumPt_Forward" ,mpTD_mediumPt_Forward));
544  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_mediumPt_Forward" ,mMultiplicityQG_mediumPt_Forward));
545  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_mediumPt_Forward" ,mqgLikelihood_mediumPt_Forward));
546 
547  mAxis2_highPt_Barrel = ibooker.book1D("qg_Axis2_highPt_Barrel","qg Axis2 #sigma_{2} highPt Barrel",50,0.,0.20);
548  mpTD_highPt_Barrel= ibooker.book1D("qg_pTD_highPt_Barrel","qg fragmentation function p_{T}^{D} highPt Barrel",50,0.15,1.05);
549  mMultiplicityQG_highPt_Barrel= ibooker.book1D("qg_multiplicity_highPt_Barrel","qg multiplicity highPt Barrel",100,0,100);
550  mqgLikelihood_highPt_Barrel= ibooker.book1D("qg_Likelihood_highPt_Barrel","qg likelihood highPt Barrel",50,-1.1,1.1);
551  mAxis2_highPt_EndCap = ibooker.book1D("qg_Axis2_highPt_EndCap","qg Axis2 #sigma_{2} highPt EndCap",50,0.,0.20);
552  mpTD_highPt_EndCap= ibooker.book1D("qg_pTD_highPt_EndCap","qg fragmentation function p_{T}^{D} highPt EndCap",50,0.15,1.05);
553  mMultiplicityQG_highPt_EndCap= ibooker.book1D("qg_multiplicity_highPt_EndCap","qg multiplicity highPt EndCap",100,0,100);
554  mqgLikelihood_highPt_EndCap= ibooker.book1D("qg_Likelihood_highPt_EndCap","qg likelihood highPt EndCap",50,-1.1,1.1);
555  mAxis2_highPt_Forward = ibooker.book1D("qg_Axis2_highPt_Forward","qg Axis2 #sigma_{2} highPt Forward",50,0.,0.20);
556  mpTD_highPt_Forward= ibooker.book1D("qg_pTD_highPt_Forward","qg fragmentation function p_{T}^{D} highPt Forward",50,0.15,1.05);
557  mMultiplicityQG_highPt_Forward= ibooker.book1D("qg_multiplicity_highPt_Forward","qg multiplicity highPt Forward",100,0,100);
558  mqgLikelihood_highPt_Forward= ibooker.book1D("qg_Likelihood_highPt_Forward","qg likelihood highPt Forward",50,-1.1,1.1);
559 
560  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_highPt_Barrel" ,mAxis2_highPt_Barrel));
561  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_highPt_Barrel" ,mpTD_highPt_Barrel));
562  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_highPt_Barrel" ,mMultiplicityQG_highPt_Barrel));
563  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_highPt_Barrel" ,mqgLikelihood_highPt_Barrel));
564  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_highPt_EndCap" ,mAxis2_highPt_EndCap));
565  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_highPt_EndCap" ,mpTD_highPt_EndCap));
566  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_highPt_EndCap" ,mMultiplicityQG_highPt_EndCap));
567  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_highPt_EndCap" ,mqgLikelihood_highPt_EndCap));
568  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Axis2_highPt_Forward" ,mAxis2_highPt_Forward));
569  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_pTD_highPt_Forward" ,mpTD_highPt_Forward));
570  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_multiplicity_highPt_Forward" ,mMultiplicityQG_highPt_Forward));
571  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"qg_Likelihood_highPt_Forward" ,mqgLikelihood_highPt_Forward));
572  }
573  }
574  //PFJet specific histograms
575  mCHFracVSeta_lowPt= ibooker.bookProfile("CHFracVSeta_lowPt","CHFracVSeta_lowPt",etaBin_, etaMin_, etaMax_,0.,1.2);
576  mNHFracVSeta_lowPt= ibooker.bookProfile("NHFacVSeta_lowPt","NHFracVSeta_lowPt",etaBin_, etaMin_, etaMax_,0.,1.2);
577  mPhFracVSeta_lowPt= ibooker.bookProfile("PhFracVSeta_lowPt","PhFracVSeta_lowPt",etaBin_, etaMin_, etaMax_,0.,1.2);
578  mCHFracVSeta_mediumPt= ibooker.bookProfile("CHFracVSeta_mediumPt","CHFracVSeta_mediumPt",etaBin_, etaMin_, etaMax_,0.,1.2);
579  mNHFracVSeta_mediumPt= ibooker.bookProfile("NHFracVSeta_mediumPt","NHFracVSeta_mediumPt",etaBin_, etaMin_, etaMax_,0.,1.2);
580  mPhFracVSeta_mediumPt= ibooker.bookProfile("PhFracVSeta_mediumPt","PhFracVSeta_mediumPt",etaBin_, etaMin_, etaMax_,0.,1.2);
581  mCHFracVSeta_highPt= ibooker.bookProfile("CHFracVSeta_highPt","CHFracVSeta_highPt",etaBin_, etaMin_, etaMax_,0.,1.2);
582  mNHFracVSeta_highPt= ibooker.bookProfile("NHFracVSeta_highPt","NHFracVSeta_highPt",etaBin_, etaMin_, etaMax_,0.,1.2);
583  mPhFracVSeta_highPt= ibooker.bookProfile("PhFracVSeta_highPt","PhFracVSeta_highPt",etaBin_, etaMin_, etaMax_,0.,1.2);
584 
585  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracVSeta_lowPt" ,mCHFracVSeta_lowPt));
586  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracVSeta_lowPt" ,mNHFracVSeta_lowPt));
587  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracVSeta_lowPt" ,mPhFracVSeta_lowPt));
588  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracVSeta_mediumPt" ,mCHFracVSeta_mediumPt));
589  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracVSeta_mediumPt" ,mNHFracVSeta_mediumPt));
590  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracVSeta_mediumPt" ,mPhFracVSeta_mediumPt));
591  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracVSeta_highPt" ,mCHFracVSeta_highPt));
592  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracVSeta_highPt" ,mNHFracVSeta_highPt));
593  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracVSeta_highPt" ,mPhFracVSeta_highPt));
594 
595  mLooseMVAPUJIDPassFractionVSeta = ibooker.bookProfile("LooseMVAPUIDPassFractionVSeta","LooseMVAPUIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
596  mLooseMVAPUJIDPassFractionVSpt = ibooker.bookProfile("LooseMVAPUIDPassFractionVSpt","LooseMVAPUIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
597  mMediumMVAPUJIDPassFractionVSeta = ibooker.bookProfile("MediumMVAPUIDPassFractionVSeta","MediumMVAPUIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
598  mMediumMVAPUJIDPassFractionVSpt = ibooker.bookProfile("MediumMVAPUIDPassFractionVSpt","MediumMVAPUIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
599  mTightMVAPUJIDPassFractionVSeta = ibooker.bookProfile("TightMVAPUIDPassFractionVSeta","TightMVAPUIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
600  mTightMVAPUJIDPassFractionVSpt = ibooker.bookProfile("TightMVAPUIDPassFractionVSpt","TightMVAPUIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
601 
602  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"LooseMVAPUIDPassFractionVSeta",mLooseMVAPUJIDPassFractionVSeta));
603  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"LooseMVAPUIDPassFractionVSpt",mLooseMVAPUJIDPassFractionVSpt));
604  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MediumMVAPUIDPassFractionVSeta",mMediumMVAPUJIDPassFractionVSeta));
605  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MediumMVAPUIDPassFractionVSpt",mMediumMVAPUJIDPassFractionVSpt));
606  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"TightMVAPUIDPassFractionVSeta",mTightMVAPUJIDPassFractionVSeta));
607  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"TightMVAPUIDPassFractionVSpt",mTightMVAPUJIDPassFractionVSpt));
608 
609  mLooseCutPUJIDPassFractionVSeta = ibooker.bookProfile("LooseCutPUIDPassFractionVSeta","LooseCutPUIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
610  mLooseCutPUJIDPassFractionVSpt = ibooker.bookProfile("LooseCutPUIDPassFractionVSpt","LooseCutPUIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
611  mMediumCutPUJIDPassFractionVSeta = ibooker.bookProfile("MediumCutPUIDPassFractionVSeta","MediumCutPUIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
612  mMediumCutPUJIDPassFractionVSpt = ibooker.bookProfile("MediumCutPUIDPassFractionVSpt","MediumCutPUIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
613  mTightCutPUJIDPassFractionVSeta = ibooker.bookProfile("TightCutPUIDPassFractionVSeta","TightCutPUIDPassFractionVSeta",etaBin_, etaMin_, etaMax_,0.,1.2);
614  mTightCutPUJIDPassFractionVSpt = ibooker.bookProfile("TightCutPUIDPassFractionVSpt","TightCutPUIDPassFractionVSpt",ptBin_, ptMin_, ptMax_,0.,1.2);
615  mCutPUJIDDiscriminant_lowPt_Barrel = ibooker.book1D("CutPUJIDDiscriminant_lowPt_Barrel","CutPUJIDDiscriminant_lowPt_Barrel",100, -1.00, 1.00);
616  mCutPUJIDDiscriminant_lowPt_EndCap = ibooker.book1D("CutPUJIDDiscriminant_lowPt_EndCap","CutPUJIDDiscriminant_lowPt_EndCap",100, -1.00, 1.00);
617  mCutPUJIDDiscriminant_lowPt_Forward = ibooker.book1D("CutPUJIDDiscriminant_lowPt_Forward","CutPUJIDDiscriminant_lowPt_Forward",100, -1.00, 1.00);
618  mCutPUJIDDiscriminant_mediumPt_Barrel = ibooker.book1D("CutPUJIDDiscriminant_mediumPt_Barrel","CutPUJIDDiscriminant_mediumPt_Barrel",100, -1.00, 1.00);
619  mCutPUJIDDiscriminant_mediumPt_EndCap = ibooker.book1D("CutPUJIDDiscriminant_mediumPt_EndCap","CutPUJIDDiscriminant_mediumPt_EndCap",100, -1.00, 1.00);
620  mCutPUJIDDiscriminant_mediumPt_Forward = ibooker.book1D("CutPUJIDDiscriminant_mediumPt_Forward","CutPUJIDDiscriminant_mediumPt_Forward",100, -1.00, 1.00);
621  mCutPUJIDDiscriminant_highPt_Barrel = ibooker.book1D("CutPUJIDDiscriminant_highPt_Barrel","CutPUJIDDiscriminant_highPt_Barrel",100, -1.00, 1.00);
622  mCutPUJIDDiscriminant_highPt_EndCap = ibooker.book1D("CutPUJIDDiscriminant_highPt_EndCap","CutPUJIDDiscriminant_highPt_EndCap",100, -1.00, 1.00);
623  mCutPUJIDDiscriminant_highPt_Forward = ibooker.book1D("CutPUJIDDiscriminant_highPt_Forward","CutPUJIDDiscriminant_highPt_Forward",100, -1.00, 1.00);
624 
625  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"LooseCutPUIDPassFractionVSeta",mLooseCutPUJIDPassFractionVSeta));
626  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"LooseCutPUIDPassFractionVSpt",mLooseCutPUJIDPassFractionVSpt));
627  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MediumCutPUIDPassFractionVSeta",mMediumCutPUJIDPassFractionVSeta));
628  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MediumCutPUIDPassFractionVSpt",mMediumCutPUJIDPassFractionVSpt));
629  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"TightCutPUIDPassFractionVSeta",mTightCutPUJIDPassFractionVSeta));
630  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"TightCutPUIDPassFractionVSpt",mTightCutPUJIDPassFractionVSpt));
631  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_lowPt_Barrel",mCutPUJIDDiscriminant_lowPt_Barrel));
632  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_lowPt_EndCap",mCutPUJIDDiscriminant_lowPt_EndCap));
633  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_lowPt_Forward",mCutPUJIDDiscriminant_lowPt_Forward));
634  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_mediumPt_Barrel",mCutPUJIDDiscriminant_mediumPt_Barrel));
635  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_mediumPt_EndCap",mCutPUJIDDiscriminant_mediumPt_EndCap));
636  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_mediumPt_Forward",mCutPUJIDDiscriminant_mediumPt_Forward));
637  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_highPt_Barrel",mCutPUJIDDiscriminant_highPt_Barrel));
638  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_highPt_EndCap",mCutPUJIDDiscriminant_highPt_EndCap));
639  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CutPUJIDDiscriminant_highPt_Forward",mCutPUJIDDiscriminant_highPt_Forward));
640  //barrel histograms for PFJets
641  // energy fractions
642  mCHFrac_lowPt_Barrel = ibooker.book1D("CHFrac_lowPt_Barrel", "CHFrac_lowPt_Barrel", 120, -0.1, 1.1);
643  mNHFrac_lowPt_Barrel = ibooker.book1D("NHFrac_lowPt_Barrel", "NHFrac_lowPt_Barrel", 120, -0.1, 1.1);
644  mPhFrac_lowPt_Barrel = ibooker.book1D("PhFrac_lowPt_Barrel", "PhFrac_lowPt_Barrel", 120, -0.1, 1.1);
645  mCHFrac_mediumPt_Barrel = ibooker.book1D("CHFrac_mediumPt_Barrel", "CHFrac_mediumPt_Barrel", 120, -0.1, 1.1);
646  mNHFrac_mediumPt_Barrel = ibooker.book1D("NHFrac_mediumPt_Barrel", "NHFrac_mediumPt_Barrel", 120, -0.1, 1.1);
647  mPhFrac_mediumPt_Barrel = ibooker.book1D("PhFrac_mediumPt_Barrel", "PhFrac_mediumPt_Barrel", 120, -0.1, 1.1);
648  mCHFrac_highPt_Barrel = ibooker.book1D("CHFrac_highPt_Barrel", "CHFrac_highPt_Barrel", 120, -0.1, 1.1);
649  mNHFrac_highPt_Barrel = ibooker.book1D("NHFrac_highPt_Barrel", "NHFrac_highPt_Barrel", 120, -0.1, 1.1);
650  mPhFrac_highPt_Barrel = ibooker.book1D("PhFrac_highPt_Barrel", "PhFrac_highPt_Barrel", 120, -0.1, 1.1);
651 
652  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_lowPt_Barrel" ,mCHFrac_lowPt_Barrel));
653  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_lowPt_Barrel" ,mNHFrac_lowPt_Barrel));
654  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_lowPt_Barrel" ,mPhFrac_lowPt_Barrel));
655  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_mediumPt_Barrel" ,mCHFrac_mediumPt_Barrel));
656  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_mediumPt_Barrel" ,mNHFrac_mediumPt_Barrel));
657  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_mediumPt_Barrel" ,mPhFrac_mediumPt_Barrel));
658  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_highPt_Barrel" ,mCHFrac_highPt_Barrel));
659  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_highPt_Barrel" ,mNHFrac_highPt_Barrel));
660  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_highPt_Barrel" ,mPhFrac_highPt_Barrel));
661 
662  mMass_lowPt_Barrel = ibooker.book1D("JetMass_lowPt_Barrel", "JetMass_lowPt_Barrel", 50, 0, 150);
663  mMass_lowPt_EndCap = ibooker.book1D("JetMass_lowPt_EndCap", "JetMass_lowPt_EndCap", 50, 0, 150);
664  mMass_lowPt_Forward = ibooker.book1D("JetMass_lowPt_Forward", "JetMass_lowPt_Forward", 50, 0, 150);
665  mMass_mediumPt_Barrel = ibooker.book1D("JetMass_mediumPt_Barrel", "JetMass_mediumPt_Barrel", 50, 0, 150);
666  mMass_mediumPt_EndCap = ibooker.book1D("JetMass_mediumPt_EndCap", "JetMass_mediumPt_EndCap", 50, 0, 150);
667  mMass_mediumPt_Forward = ibooker.book1D("JetMass_mediumPt_Forward", "JetMass_mediumPt_Forward", 75, 0, 150);
668  mMass_highPt_Barrel = ibooker.book1D("JetMass_highPt_Barrel", "JetMass_highPt_Barrel", 50, 0, 150);
669  mMass_highPt_EndCap = ibooker.book1D("JetMass_highPt_EndCap", "JetMass_highPt_EndCap", 50, 0, 150);
670  mMass_highPt_Forward = ibooker.book1D("JetMass_highPt_Forward", "JetMass_highPt_Forward", 50, 0, 150);
671 
672  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_lowPt_Barrel" , mMass_lowPt_Barrel ));
673  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_lowPt_EndCap" , mMass_lowPt_EndCap ));
674  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_lowPt_Forward" , mMass_lowPt_Forward ));
675  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_mediumPt_Barrel" , mMass_mediumPt_Barrel ));
676  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_mediumPt_EndCap" , mMass_mediumPt_EndCap ));
677  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_mediumPt_Forward" , mMass_mediumPt_Forward ));
678  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_highPt_Barrel" , mMass_highPt_Barrel ));
679  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_highPt_EndCap" , mMass_highPt_EndCap ));
680  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetMass_highPt_Forward" , mMass_highPt_Forward ));
681 
682 
683  //energies
684  mCHEn_lowPt_Barrel = ibooker.book1D("CHEn_lowPt_Barrel", "CHEn_lowPt_Barrel", ptBin_, 0., ptMax_);
685  mNHEn_lowPt_Barrel = ibooker.book1D("NHEn_lowPt_Barrel", "NHEn_lowPt_Barrel", ptBin_, 0., ptMax_);
686  mPhEn_lowPt_Barrel = ibooker.book1D("PhEn_lowPt_Barrel", "PhEn_lowPt_Barrel", ptBin_, 0., ptMax_);
687  mElEn_lowPt_Barrel = ibooker.book1D("ElEn_lowPt_Barrel", "ElEn_lowPt_Barrel", ptBin_, 0., 100);
688  mMuEn_lowPt_Barrel = ibooker.book1D("MuEn_lowPt_Barrel", "MuEn_lowPt_Barrel", ptBin_, 0., 100);
689  mCHEn_mediumPt_Barrel = ibooker.book1D("CHEn_mediumPt_Barrel", "CHEn_mediumPt_Barrel", ptBin_, 0., ptMax_);
690  mNHEn_mediumPt_Barrel = ibooker.book1D("NHEn_mediumPt_Barrel", "NHEn_mediumPt_Barrel", ptBin_, 0., ptMax_);
691  mPhEn_mediumPt_Barrel = ibooker.book1D("PhEn_mediumPt_Barrel", "PhEn_mediumPt_Barrel", ptBin_, 0., ptMax_);
692  mElEn_mediumPt_Barrel = ibooker.book1D("ElEn_mediumPt_Barrel", "ElEn_mediumPt_Barrel", ptBin_, 0., 100);
693  mMuEn_mediumPt_Barrel = ibooker.book1D("MuEn_mediumPt_Barrel", "MuEn_mediumPt_Barrel", ptBin_, 0., 100);
694  mCHEn_highPt_Barrel = ibooker.book1D("CHEn_highPt_Barrel", "CHEn_highPt_Barrel", ptBin_, 0., 1.1*ptMax_);
695  mNHEn_highPt_Barrel = ibooker.book1D("NHEn_highPt_Barrel", "NHEn_highPt_Barrel", ptBin_, 0., ptMax_);
696  mPhEn_highPt_Barrel = ibooker.book1D("PhEn_highPt_Barrel", "PhEn_highPt_Barrel", ptBin_, 0., ptMax_);
697  mElEn_highPt_Barrel = ibooker.book1D("ElEn_highPt_Barrel", "ElEn_highPt_Barrel", ptBin_, 0., 100);
698  mMuEn_highPt_Barrel = ibooker.book1D("MuEn_highPt_Barrel", "MuEn_highPt_Barrel", ptBin_, 0., 100);
699 
700  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHEn_lowPt_Barrel" ,mCHEn_lowPt_Barrel));
701  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHEn_lowPt_Barrel" ,mNHEn_lowPt_Barrel));
702  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhEn_lowPt_Barrel" ,mPhEn_lowPt_Barrel));
703  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ElEn_lowPt_Barrel" ,mElEn_lowPt_Barrel));
704  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuEn_lowPt_Barrel" ,mMuEn_lowPt_Barrel));
705  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHEn_mediumPt_Barrel" ,mCHEn_mediumPt_Barrel));
706  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHEn_mediumPt_Barrel" ,mNHEn_mediumPt_Barrel));
707  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhEn_mediumPt_Barrel" ,mPhEn_mediumPt_Barrel));
708  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ElEn_mediumPt_Barrel" ,mElEn_mediumPt_Barrel));
709  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuEn_mediumPt_Barrel" ,mMuEn_mediumPt_Barrel));
710  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHEn_highPt_Barrel" ,mCHEn_highPt_Barrel));
711  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHEn_highPt_Barrel" ,mNHEn_highPt_Barrel));
712  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhEn_highPt_Barrel" ,mPhEn_highPt_Barrel));
713  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ElEn_highPt_Barrel" ,mElEn_highPt_Barrel));
714  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuEn_highPt_Barrel" ,mMuEn_highPt_Barrel));
715 
716  //multiplicities
717  mChMultiplicity_lowPt_Barrel = ibooker.book1D("ChMultiplicity_lowPt_Barrel", "ChMultiplicity_lowPt_Barrel", 60,0,60);
718  mNeutMultiplicity_lowPt_Barrel = ibooker.book1D("NeutMultiplicity_lowPt_Barrel", "NeutMultiplicity_lowPt_Barrel", 60,0,60);
719  mMuMultiplicity_lowPt_Barrel = ibooker.book1D("MuMultiplicity_lowPt_Barrel", "MuMultiplicity_lowPt_Barrel", 10,0,10);
720  mChMultiplicity_mediumPt_Barrel = ibooker.book1D("ChMultiplicity_mediumPt_Barrel", "ChMultiplicity_mediumPt_Barrel", 60,0,60);
721  mNeutMultiplicity_mediumPt_Barrel = ibooker.book1D("NeutMultiplicity_mediumPt_Barrel", "NeutMultiplicity_mediumPt_Barrel", 60,0,60);
722  mMuMultiplicity_mediumPt_Barrel = ibooker.book1D("MuMultiplicity_mediumPt_Barrel", "MuMultiplicity_mediumPt_Barrel", 10,0,10);
723  mChMultiplicity_highPt_Barrel = ibooker.book1D("ChMultiplicity_highPt_Barrel", "ChMultiplicity_highPt_Barrel", 60,0,60);
724  mNeutMultiplicity_highPt_Barrel = ibooker.book1D("NeutMultiplicity_highPt_Barrel", "NeutMultiplicity_highPt_Barrel", 60,0,60);
725  mMuMultiplicity_highPt_Barrel = ibooker.book1D("MuMultiplicity_highPt_Barrel", "MuMultiplicity_highPt_Barrel", 10,0,10);
726 
727  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChMultiplicity_lowPt_Barrel" ,mChMultiplicity_lowPt_Barrel));
728  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_lowPt_Barrel" ,mNeutMultiplicity_lowPt_Barrel));
729  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuMultiplicity_lowPt_Barrel" ,mMuMultiplicity_lowPt_Barrel));
730  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChMultiplicity_mediumPt_Barrel" ,mChMultiplicity_mediumPt_Barrel));
731  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_mediumPt_Barrel" ,mNeutMultiplicity_mediumPt_Barrel));
732  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuMultiplicity_mediumPt_Barrel" ,mMuMultiplicity_mediumPt_Barrel));
733  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChMultiplicity_highPt_Barrel" ,mChMultiplicity_highPt_Barrel));
734  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_highPt_Barrel" ,mNeutMultiplicity_highPt_Barrel));
735  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuMultiplicity_highPt_Barrel" ,mMuMultiplicity_highPt_Barrel));
736  }
737  //
738  if(isMiniAODJet_ || isPFJet_){
739  mMVAPUJIDDiscriminant_lowPt_Barrel = ibooker.book1D("MVAPUJIDDiscriminant_lowPt_Barrel","MVAPUJIDDiscriminant_lowPt_Barrel",100, -1.00, 1.00);
740  mMVAPUJIDDiscriminant_lowPt_EndCap = ibooker.book1D("MVAPUJIDDiscriminant_lowPt_EndCap","MVAPUJIDDiscriminant_lowPt_EndCap",100, -1.00, 1.00);
741  mMVAPUJIDDiscriminant_lowPt_Forward = ibooker.book1D("MVAPUJIDDiscriminant_lowPt_Forward","MVAPUJIDDiscriminant_lowPt_Forward",100, -1.00, 1.00);
742  mMVAPUJIDDiscriminant_mediumPt_Barrel = ibooker.book1D("MVAPUJIDDiscriminant_mediumPt_Barrel","MVAPUJIDDiscriminant_mediumPt_Barrel",100, -1.00, 1.00);
743  mMVAPUJIDDiscriminant_mediumPt_EndCap = ibooker.book1D("MVAPUJIDDiscriminant_mediumPt_EndCap","MVAPUJIDDiscriminant_mediumPt_EndCap",100, -1.00, 1.00);
744  mMVAPUJIDDiscriminant_mediumPt_Forward = ibooker.book1D("MVAPUJIDDiscriminant_mediumPt_Forward","MVAPUJIDDiscriminant_mediumPt_Forward",100, -1.00, 1.00);
745  mMVAPUJIDDiscriminant_highPt_Barrel = ibooker.book1D("MVAPUJIDDiscriminant_highPt_Barrel","MVAPUJIDDiscriminant_highPt_Barrel",100, -1.00, 1.00);
746  mMVAPUJIDDiscriminant_highPt_EndCap = ibooker.book1D("MVAPUJIDDiscriminant_highPt_EndCap","MVAPUJIDDiscriminant_highPt_EndCap",100, -1.00, 1.00);
747  mMVAPUJIDDiscriminant_highPt_Forward = ibooker.book1D("MVAPUJIDDiscriminant_highPt_Forward","MVAPUJIDDiscriminant_highPt_Forward",100, -1.00, 1.00);
748 
749  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_lowPt_Barrel",mMVAPUJIDDiscriminant_lowPt_Barrel));
750  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_lowPt_EndCap",mMVAPUJIDDiscriminant_lowPt_EndCap));
751  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_lowPt_Forward",mMVAPUJIDDiscriminant_lowPt_Forward));
752  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_mediumPt_Barrel",mMVAPUJIDDiscriminant_mediumPt_Barrel));
753  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_mediumPt_EndCap",mMVAPUJIDDiscriminant_mediumPt_EndCap));
754  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_mediumPt_Forward",mMVAPUJIDDiscriminant_mediumPt_Forward));
755  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_highPt_Barrel",mMVAPUJIDDiscriminant_highPt_Barrel));
756  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_highPt_EndCap",mMVAPUJIDDiscriminant_highPt_EndCap));
757  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MVAPUJIDDiscriminant_highPt_Forward",mMVAPUJIDDiscriminant_highPt_Forward));
758 
759  mCHFracVSpT_Barrel= ibooker.bookProfile("CHFracVSpT_Barrel","CHFracVSpT_Barrel",ptBin_, ptMin_, ptMax_,0.,1.2);
760  mNHFracVSpT_Barrel= ibooker.bookProfile("NHFracVSpT_Barrel","NHFracVSpT_Barrel",ptBin_, ptMin_, ptMax_,0.,1.2);
761  mPhFracVSpT_Barrel= ibooker.bookProfile("PhFracVSpT_Barrel","PhFracVSpT_Barrel",ptBin_, ptMin_, ptMax_,0.,1.2);
762  mCHFracVSpT_EndCap= ibooker.bookProfile("CHFracVSpT_EndCap","CHFracVSpT_EndCap",ptBin_, ptMin_, ptMax_,0.,1.2);
763  mNHFracVSpT_EndCap= ibooker.bookProfile("NHFracVSpT_EndCap","NHFracVSpT_EndCap",ptBin_, ptMin_, ptMax_,0.,1.2);
764  mPhFracVSpT_EndCap= ibooker.bookProfile("PhFracVSpT_EndCap","PhFracVSpT_EndCap",ptBin_, ptMin_, ptMax_,0.,1.2);
765  mHFHFracVSpT_Forward= ibooker.bookProfile("HFHFracVSpT_Forward","HFHFracVSpT_Forward",ptBin_, ptMin_, ptMax_,-0.2,1.2);
766  mHFEFracVSpT_Forward= ibooker.bookProfile("HFEFracVSpT_Forward","HFEFracVSpT_Forward",ptBin_, ptMin_, ptMax_,-0.2,1.2);
767 
768  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracVSpT_Barrel" ,mCHFracVSpT_Barrel));
769  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracVSpT_Barrel" ,mNHFracVSpT_Barrel));
770  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracVSpT_Barrel" ,mPhFracVSpT_Barrel));
771  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracVSpT_EndCap" ,mCHFracVSpT_EndCap));
772  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracVSpT_EndCap" ,mNHFracVSpT_EndCap));
773  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracVSpT_EndCap" ,mPhFracVSpT_EndCap));
774  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracVSpT_Forward" ,mHFHFracVSpT_Forward));
775  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEFracVSpT_Forward" ,mHFEFracVSpT_Forward));
776  }
777  if(isPFJet_){
778  //endcap monitoring
779  //energy fractions
780  mCHFrac_lowPt_EndCap = ibooker.book1D("CHFrac_lowPt_EndCap", "CHFrac_lowPt_EndCap", 120, -0.1, 1.1);
781  mNHFrac_lowPt_EndCap = ibooker.book1D("NHFrac_lowPt_EndCap", "NHFrac_lowPt_EndCap", 120, -0.1, 1.1);
782  mPhFrac_lowPt_EndCap = ibooker.book1D("PhFrac_lowPt_EndCap", "PhFrac_lowPt_EndCap", 120, -0.1, 1.1);
783  mCHFrac_mediumPt_EndCap = ibooker.book1D("CHFrac_mediumPt_EndCap", "CHFrac_mediumPt_EndCap", 120, -0.1, 1.1);
784  mNHFrac_mediumPt_EndCap = ibooker.book1D("NHFrac_mediumPt_EndCap", "NHFrac_mediumPt_EndCap", 120, -0.1, 1.1);
785  mPhFrac_mediumPt_EndCap = ibooker.book1D("PhFrac_mediumPt_EndCap", "PhFrac_mediumPt_EndCap", 120, -0.1, 1.1);
786  mCHFrac_highPt_EndCap = ibooker.book1D("CHFrac_highPt_EndCap", "CHFrac_highPt_EndCap", 120, -0.1, 1.1);
787  mNHFrac_highPt_EndCap = ibooker.book1D("NHFrac_highPt_EndCap", "NHFrac_highPt_EndCap", 120, -0.1, 1.1);
788  mPhFrac_highPt_EndCap = ibooker.book1D("PhFrac_highPt_EndCap", "PhFrac_highPt_EndCap", 120, -0.1, 1.1);
789 
790  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_lowPt_EndCap" ,mCHFrac_lowPt_EndCap));
791  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_lowPt_EndCap" ,mNHFrac_lowPt_EndCap));
792  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_lowPt_EndCap" ,mPhFrac_lowPt_EndCap));
793  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_mediumPt_EndCap" ,mCHFrac_mediumPt_EndCap));
794  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_mediumPt_EndCap" ,mNHFrac_mediumPt_EndCap));
795  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_mediumPt_EndCap" ,mPhFrac_mediumPt_EndCap));
796  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_highPt_EndCap" ,mCHFrac_highPt_EndCap));
797  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_highPt_EndCap" ,mNHFrac_highPt_EndCap));
798  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_highPt_EndCap" ,mPhFrac_highPt_EndCap));
799 
800  //energies
801  mCHEn_lowPt_EndCap = ibooker.book1D("CHEn_lowPt_EndCap", "CHEn_lowPt_EndCap", ptBin_, 0., ptMax_);
802  mNHEn_lowPt_EndCap = ibooker.book1D("NHEn_lowPt_EndCap", "NHEn_lowPt_EndCap", ptBin_, 0., ptMax_);
803  mPhEn_lowPt_EndCap = ibooker.book1D("PhEn_lowPt_EndCap", "PhEn_lowPt_EndCap", ptBin_, 0., ptMax_);
804  mElEn_lowPt_EndCap = ibooker.book1D("ElEn_lowPt_EndCap", "ElEn_lowPt_EndCap", ptBin_, 0., 100);
805  mMuEn_lowPt_EndCap = ibooker.book1D("MuEn_lowPt_EndCap", "MuEn_lowPt_EndCap", ptBin_, 0., 100);
806  mCHEn_mediumPt_EndCap = ibooker.book1D("CHEn_mediumPt_EndCap", "CHEn_mediumPt_EndCap", ptBin_, 0., ptMax_);
807  mNHEn_mediumPt_EndCap = ibooker.book1D("NHEn_mediumPt_EndCap", "NHEn_mediumPt_EndCap", ptBin_, 0., ptMax_);
808  mPhEn_mediumPt_EndCap = ibooker.book1D("PhEn_mediumPt_EndCap", "PhEn_mediumPt_EndCap", ptBin_, 0., ptMax_);
809  mElEn_mediumPt_EndCap = ibooker.book1D("ElEn_mediumPt_EndCap", "ElEn_mediumPt_EndCap", ptBin_, 0., 100);
810  mMuEn_mediumPt_EndCap = ibooker.book1D("MuEn_mediumPt_EndCap", "MuEn_mediumPt_EndCap", ptBin_, 0., 100);
811  mCHEn_highPt_EndCap = ibooker.book1D("CHEn_highPt_EndCap", "CHEn_highPt_EndCap", ptBin_, 0., 1.5*ptMax_);
812  mNHEn_highPt_EndCap = ibooker.book1D("NHEn_highPt_EndCap", "NHEn_highPt_EndCap", ptBin_, 0., 1.5*ptMax_);
813  mPhEn_highPt_EndCap = ibooker.book1D("PhEn_highPt_EndCap", "PhEn_highPt_EndCap", ptBin_, 0., 1.5*ptMax_);
814  mElEn_highPt_EndCap = ibooker.book1D("ElEn_highPt_EndCap", "ElEn_highPt_EndCap", ptBin_, 0., 100);
815  mMuEn_highPt_EndCap = ibooker.book1D("MuEn_highPt_EndCap", "MuEn_highPt_EndCap", ptBin_, 0., 100);
816 
817  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHEn_lowPt_EndCap" ,mCHEn_lowPt_EndCap));
818  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHEn_lowPt_EndCap" ,mNHEn_lowPt_EndCap));
819  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhEn_lowPt_EndCap" ,mPhEn_lowPt_EndCap));
820  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ElEn_lowPt_EndCap" ,mElEn_lowPt_EndCap));
821  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuEn_lowPt_EndCap" ,mMuEn_lowPt_EndCap));
822  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHEn_mediumPt_EndCap" ,mCHEn_mediumPt_EndCap));
823  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHEn_mediumPt_EndCap" ,mNHEn_mediumPt_EndCap));
824  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhEn_mediumPt_EndCap" ,mPhEn_mediumPt_EndCap));
825  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ElEn_mediumPt_EndCap" ,mElEn_mediumPt_EndCap));
826  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuEn_mediumPt_EndCap" ,mMuEn_mediumPt_EndCap));
827  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHEn_highPt_EndCap" ,mCHEn_highPt_EndCap));
828  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHEn_highPt_EndCap" ,mNHEn_highPt_EndCap));
829  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhEn_highPt_EndCap" ,mPhEn_highPt_EndCap));
830  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ElEn_highPt_EndCap" ,mElEn_highPt_EndCap));
831  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuEn_highPt_EndCap" ,mMuEn_highPt_EndCap));
832 
833  //now get handle on OOT PU
834  mePhFracBarrel_BXm2BXm1Empty = ibooker.book1D("PhFracBarrel_BXm2BXm1Empty", "PHFrac prev empty 2 bunches (Barrel)", 50, 0, 1);
835  mePhFracBarrel_BXm2BXm1Filled = ibooker.book1D("PhFracBarrel_BXm2BXm1Filled", "PHFrac prev filled 2 bunches (Barrel)", 50, 0, 1);
836  meNHFracBarrel_BXm2BXm1Empty = ibooker.book1D("NHFracBarrel_BXm2BXm1Empty", "NHFrac prev empty 2 bunches (Barrel)", 50, 0, 1);
837  meNHFracBarrel_BXm2BXm1Filled = ibooker.book1D("NHFracBarrel_BXm2BXm1Filled", "NHFrac prev filled 2 bunches (Barrel)", 50, 0, 1);
838  meCHFracBarrel_BXm2BXm1Empty = ibooker.book1D("CHFracBarrel_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (Barrel)", 50, 0, 1);
839  meCHFracBarrel_BXm2BXm1Filled = ibooker.book1D("CHFracBarrel_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (Barrel)", 50, 0, 1);
840  mePtBarrel_BXm2BXm1Empty = ibooker.book1D("PtBarrel_BXm2BXm1Empty", "pT prev empty 2 bunches (Barrel)", ptBin_, ptMin_, ptMax_);
841  mePtBarrel_BXm2BXm1Filled = ibooker.book1D("PtBarrel_BXm2BXm1Filled", "pT prev filled 2 bunches (Barrel)", ptBin_, ptMin_, ptMax_);
842  mePhFracEndCapPlus_BXm2BXm1Empty = ibooker.book1D("PhFracEndCapPlus_BXm2BXm1Empty", "PHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
843  mePhFracEndCapPlus_BXm2BXm1Filled = ibooker.book1D("PhFracEndCapPlus_BXm2BXm1Filled", "PHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
844  meNHFracEndCapPlus_BXm2BXm1Empty = ibooker.book1D("NHFracEndCapPlus_BXm2BXm1Empty", "NHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
845  meNHFracEndCapPlus_BXm2BXm1Filled = ibooker.book1D("NHFracEndCapPlus_BXm2BXm1Filled", "NHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
846  meCHFracEndCapPlus_BXm2BXm1Empty = ibooker.book1D("CHFracEndCapPlus_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
847  meCHFracEndCapPlus_BXm2BXm1Filled = ibooker.book1D("CHFracEndCapPlus_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
848  mePtEndCapPlus_BXm2BXm1Empty = ibooker.book1D("PtEndCapPlus_BXm2BXm1Empty", "pT prev empty 2 bunches (EndCapPlus)", ptBin_, ptMin_, ptMax_);
849  mePtEndCapPlus_BXm2BXm1Filled = ibooker.book1D("PtEndCapPlus_BXm2BXm1Filled", "pT prev filled 2 bunches (EndCapPlus)", ptBin_, ptMin_, ptMax_);
850  meHFHFracPlus_BXm2BXm1Empty = ibooker.book1D("HFHFracPlus_BXm2BXm1Empty", "HFHFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
851  meHFHFracPlus_BXm2BXm1Filled = ibooker.book1D("HFHFracPlus_BXm2BXm1Filled", "HFHFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
852  meHFEMFracPlus_BXm2BXm1Empty = ibooker.book1D("HFEMFracPlus_BXm2BXm1Empty", "HFEMFrac prev empty 2 bunches (EndCapPlus)", 50, 0, 1);
853  meHFEMFracPlus_BXm2BXm1Filled = ibooker.book1D("HFEMFracPlus_BXm2BXm1Filled", "HFEMFrac prev filled 2 bunches (EndCapPlus)", 50, 0, 1);
854  mePtForwardPlus_BXm2BXm1Empty = ibooker.book1D("PtForwardPlus_BXm2BXm1Empty", "pT prev empty 2 bunches (ForwardPlus)", ptBin_, ptMin_, ptMax_);
855  mePtForwardPlus_BXm2BXm1Filled = ibooker.book1D("PtForwardPlus_BXm2BXm1Filled", "pT prev filled 2 bunches (ForwardPlus)", ptBin_, ptMin_, ptMax_);
856  mePhFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("PhFracEndCapMinus_BXm2BXm1Empty", "PHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
857  mePhFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("PhFracEndCapMinus_BXm2BXm1Filled", "PHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
858  meNHFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("NHFracEndCapMinus_BXm2BXm1Empty", "NHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
859  meNHFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("NHFracEndCapMinus_BXm2BXm1Filled", "NHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
860  meCHFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("CHFracEndCapMinus_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
861  meCHFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("CHFracEndCapMinus_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
862  mePtEndCapMinus_BXm2BXm1Empty = ibooker.book1D("PtEndCapMinus_BXm2BXm1Empty", "pT prev empty 2 bunches (EndCapMinus)", ptBin_, ptMin_, ptMax_);
863  mePtEndCapMinus_BXm2BXm1Filled = ibooker.book1D("PtEndCapMinus_BXm2BXm1Filled", "pT prev filled 2 bunches (EndCapMinus)", ptBin_, ptMin_, ptMax_);
864  meCHFracEndCapMinus_BXm2BXm1Empty = ibooker.book1D("CHFracEndCapMinus_BXm2BXm1Empty", "CHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
865  meCHFracEndCapMinus_BXm2BXm1Filled = ibooker.book1D("CHFracEndCapMinus_BXm2BXm1Filled", "CHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
866  mePtEndCapMinus_BXm2BXm1Empty = ibooker.book1D("PtEndCapMinus_BXm2BXm1Empty", "pT prev empty 2 bunches (EndCapMinus)", ptBin_, ptMin_, ptMax_);
867  mePtEndCapMinus_BXm2BXm1Filled = ibooker.book1D("PtEndCapMinus_BXm2BXm1Filled", "pT prev filled 2 bunches (EndCapMinus)", ptBin_, ptMin_, ptMax_);
868  meHFHFracMinus_BXm2BXm1Empty = ibooker.book1D("HFHFracMinus_BXm2BXm1Empty", "HFHFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
869  meHFHFracMinus_BXm2BXm1Filled = ibooker.book1D("HFHFracMinus_BXm2BXm1Filled", "HFHFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
870  meHFEMFracMinus_BXm2BXm1Empty = ibooker.book1D("HFEMFracMinus_BXm2BXm1Empty", "HFEMFrac prev empty 2 bunches (EndCapMinus)", 50, 0, 1);
871  meHFEMFracMinus_BXm2BXm1Filled = ibooker.book1D("HFEMFracMinus_BXm2BXm1Filled", "HFEMFrac prev filled 2 bunches (EndCapMinus)", 50, 0, 1);
872  mePtForwardMinus_BXm2BXm1Empty = ibooker.book1D("PtForwardMinus_BXm2BXm1Empty", "pT prev empty 2 bunches (ForwardMinus)", ptBin_, ptMin_, ptMax_);
873  mePtForwardMinus_BXm2BXm1Filled = ibooker.book1D("PtForwardMinus_BXm2BXm1Filled", "pT prev filled 2 bunches (ForwardMinus)", ptBin_, ptMin_, ptMax_);
874  meEta_BXm2BXm1Empty = ibooker.book1D("EtaBarrel_BXm2BXm1Empty", "eta prev empty 2 bunches", etaBin_, etaMin_, etaMax_);
875  meEta_BXm2BXm1Filled = ibooker.book1D("EtaBarrel_BXm2BXm1Filled", "eta prev filled 2 bunches", etaBin_, etaMin_, etaMax_);
876 
877  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracBarrel_BXm2BXm1Empty" ,mePhFracBarrel_BXm2BXm1Empty));
878  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracBarrel_BXm2BXm1Filled" ,mePhFracBarrel_BXm2BXm1Filled));
879  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracBarrel_BXm2BXm1Empty" ,meNHFracBarrel_BXm2BXm1Empty));
880  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracBarrel_BXm2BXm1Filled" ,meNHFracBarrel_BXm2BXm1Filled));
881  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracBarrel_BXm2BXm1Empty" ,meCHFracBarrel_BXm2BXm1Empty));
882  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracBarrel_BXm2BXm1Filled" ,meCHFracBarrel_BXm2BXm1Filled));
883  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtBarrel_BXm2BXm1Empty" ,mePtBarrel_BXm2BXm1Empty));
884  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtBarrel_BXm2BXm1Filled" ,mePtBarrel_BXm2BXm1Filled));
885  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Empty" ,mePhFracEndCapPlus_BXm2BXm1Empty));
886  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapPlus_BXm2BXm1Filled" ,mePhFracEndCapPlus_BXm2BXm1Filled));
887  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Empty" ,meNHFracEndCapPlus_BXm2BXm1Empty));
888  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapPlus_BXm2BXm1Filled" ,meNHFracEndCapPlus_BXm2BXm1Filled));
889  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Empty" ,meCHFracEndCapPlus_BXm2BXm1Empty));
890  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapPlus_BXm2BXm1Filled" ,meCHFracEndCapPlus_BXm2BXm1Filled));
891  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapPlus_BXm2BXm1Empty" ,mePtEndCapPlus_BXm2BXm1Empty));
892  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapPlus_BXm2BXm1Filled" ,mePtEndCapPlus_BXm2BXm1Filled));
893  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracPlus_BXm2BXm1Empty" ,meHFHFracPlus_BXm2BXm1Empty));
894  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracPlus_BXm2BXm1Filled" ,meHFHFracPlus_BXm2BXm1Filled));
895  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracPlus_BXm2BXm1Empty" ,meHFEMFracPlus_BXm2BXm1Empty));
896  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracPlus_BXm2BXm1Filled" ,meHFEMFracPlus_BXm2BXm1Filled));
897  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardPlus_BXm2BXm1Empty" ,mePtForwardPlus_BXm2BXm1Empty));
898  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardPlus_BXm2BXm1Filled" ,mePtForwardPlus_BXm2BXm1Filled));
899  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Empty" ,mePhFracEndCapMinus_BXm2BXm1Empty));
900  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapMinus_BXm2BXm1Filled" ,mePhFracEndCapMinus_BXm2BXm1Filled));
901  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Empty" ,meNHFracEndCapMinus_BXm2BXm1Empty));
902  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Filled" ,meNHFracEndCapMinus_BXm2BXm1Filled));
903  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Empty" ,meCHFracEndCapMinus_BXm2BXm1Empty));
904  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapMinus_BXm2BXm1Filled" ,meCHFracEndCapMinus_BXm2BXm1Filled));
905  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapMinus_BXm2BXm1Empty" ,mePtEndCapMinus_BXm2BXm1Empty));
906  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapMinus_BXm2BXm1Filled" ,mePtEndCapMinus_BXm2BXm1Filled));
907  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracMinus_BXm2BXm1Empty" ,meHFHFracMinus_BXm2BXm1Empty));
908  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracMinus_BXm2BXm1Filled" ,meHFHFracMinus_BXm2BXm1Filled));
909  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracMinus_BXm2BXm1Empty" ,meHFEMFracMinus_BXm2BXm1Empty));
910  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracMinus_BXm2BXm1Filled" ,meHFEMFracMinus_BXm2BXm1Filled));
911  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardMinus_BXm2BXm1Empty" ,mePtForwardMinus_BXm2BXm1Empty));
912  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardMinus_BXm2BXm1Filled" ,mePtForwardMinus_BXm2BXm1Filled));
913  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_BXm2BXm1Empty" ,meEta_BXm2BXm1Empty));
914  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_BXm2BXm1Filled",meEta_BXm2BXm1Filled));
915 
916  mePhFracBarrel_BXm1Empty = ibooker.book1D("PhFracBarrel_BXm1Empty", "PHFrac prev empty 1 bunch (Barrel)", 50, 0, 1);
917  mePhFracBarrel_BXm1Filled = ibooker.book1D("PhFracBarrel_BXm1Filled", "PHFrac prev filled 1 bunch (Barrel)", 50, 0, 1);
918  meNHFracBarrel_BXm1Empty = ibooker.book1D("NHFracBarrel_BXm1Empty", "NHFrac prev empty 1 bunch (Barrel)", 50, 0, 1);
919  meNHFracBarrel_BXm1Filled = ibooker.book1D("NHFracBarrel_BXm1Filled", "NHFrac prev filled 1 bunch (Barrel)", 50, 0, 1);
920  meCHFracBarrel_BXm1Empty = ibooker.book1D("CHFracBarrel_BXm1Empty", "CHFrac prev empty 1 bunch (Barrel)", 50, 0, 1);
921  meCHFracBarrel_BXm1Filled = ibooker.book1D("CHFracBarrel_BXm1Filled", "CHFrac prev filled 1 bunch (Barrel)", 50, 0, 1);
922  mePtBarrel_BXm1Empty = ibooker.book1D("PtBarrel_BXm1Empty", "pT prev empty 1 bunch (Barrel)", ptBin_, ptMin_, ptMax_);
923  mePtBarrel_BXm1Filled = ibooker.book1D("PtBarrel_BXm1Filled", "pT prev filled 1 bunch (Barrel)", ptBin_, ptMin_, ptMax_);
924  mePhFracEndCapPlus_BXm1Empty = ibooker.book1D("PhFracEndCapPlus_BXm1Empty", "PHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
925  mePhFracEndCapPlus_BXm1Filled = ibooker.book1D("PhFracEndCapPlus_BXm1Filled", "PHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
926  meNHFracEndCapPlus_BXm1Empty = ibooker.book1D("NHFracEndCapPlus_BXm1Empty", "NHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
927  meNHFracEndCapPlus_BXm1Filled = ibooker.book1D("NHFracEndCapPlus_BXm1Filled", "NHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
928  meCHFracEndCapPlus_BXm1Empty = ibooker.book1D("CHFracEndCapPlus_BXm1Empty", "CHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
929  meCHFracEndCapPlus_BXm1Filled = ibooker.book1D("CHFracEndCapPlus_BXm1Filled", "CHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
930  mePtEndCapPlus_BXm1Empty = ibooker.book1D("PtEndCapPlus_BXm1Empty", "pT prev empty 1 bunch (EndCapPlus)", ptBin_, ptMin_, ptMax_);
931  mePtEndCapPlus_BXm1Filled = ibooker.book1D("PtEndCapPlus_BXm1Filled", "pT prev filled 1 bunch (EndCapPlus)", ptBin_, ptMin_, ptMax_);
932  meHFHFracPlus_BXm1Empty = ibooker.book1D("HFHFracPlus_BXm1Empty", "HFHFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
933  meHFHFracPlus_BXm1Filled = ibooker.book1D("HFHFracPlus_BXm1Filled", "HFHFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
934  meHFEMFracPlus_BXm1Empty = ibooker.book1D("HFEMFracPlus_BXm1Empty", "HFEMFrac prev empty 1 bunch (EndCapPlus)", 50, 0, 1);
935  meHFEMFracPlus_BXm1Filled = ibooker.book1D("HFEMFracPlus_BXm1Filled", "HFEMFrac prev filled 1 bunch (EndCapPlus)", 50, 0, 1);
936  mePtForwardPlus_BXm1Empty = ibooker.book1D("PtForwardPlus_BXm1Empty", "pT prev empty 1 bunch (ForwardPlus)", ptBin_, ptMin_, ptMax_);
937  mePtForwardPlus_BXm1Filled = ibooker.book1D("PtForwardPlus_BXm1Filled", "pT prev filled 1 bunch (ForwardPlus)", ptBin_, ptMin_, ptMax_);
938  mePhFracEndCapMinus_BXm1Empty = ibooker.book1D("PhFracEndCapMinus_BXm1Empty", "PHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
939  mePhFracEndCapMinus_BXm1Filled = ibooker.book1D("PhFracEndCapMinus_BXm1Filled", "PHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
940  meNHFracEndCapMinus_BXm1Empty = ibooker.book1D("NHFracEndCapMinus_BXm1Empty", "NHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
941  meNHFracEndCapMinus_BXm1Filled = ibooker.book1D("NHFracEndCapMinus_BXm1Filled", "NHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
942  meCHFracEndCapMinus_BXm1Empty = ibooker.book1D("CHFracEndCapMinus_BXm1Empty", "CHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
943  meCHFracEndCapMinus_BXm1Filled = ibooker.book1D("CHFracEndCapMinus_BXm1Filled", "CHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
944  mePtEndCapMinus_BXm1Empty = ibooker.book1D("PtEndCapMinus_BXm1Empty", "pT prev empty 1 bunch (EndCapMinus)", ptBin_, ptMin_, ptMax_);
945  mePtEndCapMinus_BXm1Filled = ibooker.book1D("PtEndCapMinus_BXm1Filled", "pT prev filled 1 bunch (EndCapMinus)", ptBin_, ptMin_, ptMax_);
946  meCHFracEndCapMinus_BXm1Empty = ibooker.book1D("CHFracEndCapMinus_BXm1Empty", "CHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
947  meCHFracEndCapMinus_BXm1Filled = ibooker.book1D("CHFracEndCapMinus_BXm1Filled", "CHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
948  mePtEndCapMinus_BXm1Empty = ibooker.book1D("PtEndCapMinus_BXm1Empty", "pT prev empty 1 bunch (EndCapMinus)", ptBin_, ptMin_, ptMax_);
949  mePtEndCapMinus_BXm1Filled = ibooker.book1D("PtEndCapMinus_BXm1Filled", "pT prev filled 1 bunch (EndCapMinus)", ptBin_, ptMin_, ptMax_);
950  meHFHFracMinus_BXm1Empty = ibooker.book1D("HFHFracMinus_BXm1Empty", "HFHFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
951  meHFHFracMinus_BXm1Filled = ibooker.book1D("HFHFracMinus_BXm1Filled", "HFHFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
952  meHFEMFracMinus_BXm1Empty = ibooker.book1D("HFEMFracMinus_BXm1Empty", "HFEMFrac prev empty 1 bunch (EndCapMinus)", 50, 0, 1);
953  meHFEMFracMinus_BXm1Filled = ibooker.book1D("HFEMFracMinus_BXm1Filled", "HFEMFrac prev filled 1 bunch (EndCapMinus)", 50, 0, 1);
954  mePtForwardMinus_BXm1Empty = ibooker.book1D("PtForwardMinus_BXm1Empty", "pT prev empty 1 bunch (ForwardMinus)", ptBin_, ptMin_, ptMax_);
955  mePtForwardMinus_BXm1Filled = ibooker.book1D("PtForwardMinus_BXm1Filled", "pT prev filled 1 bunch (ForwardMinus)", ptBin_, ptMin_, ptMax_);
956  meEta_BXm1Empty = ibooker.book1D("EtaBarrel_BXm1Empty", "eta prev empty 1 bunch", etaBin_, etaMin_, etaMax_);
957  meEta_BXm1Filled = ibooker.book1D("EtaBarrel_BXm1Filled", "eta prev filled 1 bunch", etaBin_, etaMin_, etaMax_);
958 
959  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracBarrel_BXm1Empty" ,mePhFracBarrel_BXm1Empty));
960  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracBarrel_BXm1Filled" ,mePhFracBarrel_BXm1Filled));
961  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracBarrel_BXm1Empty" ,meNHFracBarrel_BXm1Empty));
962  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracBarrel_BXm1Filled" ,meNHFracBarrel_BXm1Filled));
963  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracBarrel_BXm1Empty" ,meCHFracBarrel_BXm1Empty));
964  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracBarrel_BXm1Filled" ,meCHFracBarrel_BXm1Filled));
965  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtBarrel_BXm1Empty" ,mePtBarrel_BXm1Empty));
966  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtBarrel_BXm1Filled" ,mePtBarrel_BXm1Filled));
967  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapPlus_BXm1Empty" ,mePhFracEndCapPlus_BXm1Empty));
968  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapPlus_BXm1Filled" ,mePhFracEndCapPlus_BXm1Filled));
969  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapPlus_BXm1Empty" ,meNHFracEndCapPlus_BXm1Empty));
970  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapPlus_BXm1Filled" ,meNHFracEndCapPlus_BXm1Filled));
971  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapPlus_BXm1Empty" ,meCHFracEndCapPlus_BXm1Empty));
972  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapPlus_BXm1Filled" ,meCHFracEndCapPlus_BXm1Filled));
973  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapPlus_BXm1Empty" ,mePtEndCapPlus_BXm1Empty));
974  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapPlus_BXm1Filled" ,mePtEndCapPlus_BXm1Filled));
975  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracPlus_BXm1Empty" ,meHFHFracPlus_BXm1Empty));
976  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracPlus_BXm1Filled" ,meHFHFracPlus_BXm1Filled));
977  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracPlus_BXm1Empty" ,meHFEMFracPlus_BXm1Empty));
978  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracPlus_BXm1Filled" ,meHFEMFracPlus_BXm1Filled));
979  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardPlus_BXm1Empty" ,mePtForwardPlus_BXm1Empty));
980  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardPlus_BXm1Filled" ,mePtForwardPlus_BXm1Filled));
981  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapMinus_BXm1Empty" ,mePhFracEndCapMinus_BXm1Empty));
982  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFracEndCapMinus_BXm1Filled" ,mePhFracEndCapMinus_BXm1Filled));
983  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapMinus_BXm1Empty" ,meNHFracEndCapMinus_BXm1Empty));
984  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFracEndCapMinus_BXm1Filled" ,meNHFracEndCapMinus_BXm1Filled));
985  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapMinus_BXm1Empty" ,meCHFracEndCapMinus_BXm1Empty));
986  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFracEndCapMinus_BXm1Filled" ,meCHFracEndCapMinus_BXm1Filled));
987  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapMinus_BXm1Empty" ,mePtEndCapMinus_BXm1Empty));
988  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtEndCapMinus_BXm1Filled" ,mePtEndCapMinus_BXm1Filled));
989  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracMinus_BXm1Empty" ,meHFHFracMinus_BXm1Empty));
990  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFracMinus_BXm1Filled" ,meHFHFracMinus_BXm1Filled));
991  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracMinus_BXm1Empty" ,meHFEMFracMinus_BXm1Empty));
992  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFracMinus_BXm1Filled" ,meHFEMFracMinus_BXm1Filled));
993  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardMinus_BXm1Empty" ,mePtForwardMinus_BXm1Empty));
994  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PtForwardMinus_BXm1Filled" ,mePtForwardMinus_BXm1Filled));
995  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_BXm1Empty" ,meEta_BXm1Empty));
996  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_BXm1Filled",meEta_BXm1Filled));
997 
998  //multiplicities
999  mChMultiplicity_lowPt_EndCap = ibooker.book1D("ChMultiplicity_lowPt_EndCap", "ChMultiplicity_lowPt_EndCap", 60,0,60);
1000  mNeutMultiplicity_lowPt_EndCap = ibooker.book1D("NeutMultiplicity_lowPt_EndCap", "NeutMultiplicity_lowPt_EndCap", 60,0,60);
1001  mMuMultiplicity_lowPt_EndCap = ibooker.book1D("MuMultiplicity_lowPt_EndCap", "MuMultiplicity_lowPt_EndCap", 10,0,10);
1002  mChMultiplicity_mediumPt_EndCap = ibooker.book1D("ChMultiplicity_mediumPt_EndCap", "ChMultiplicity_mediumPt_EndCap", 60,0,60);
1003  mNeutMultiplicity_mediumPt_EndCap = ibooker.book1D("NeutMultiplicity_mediumPt_EndCap", "NeutMultiplicity_mediumPt_EndCap", 60,0,60);
1004  mMuMultiplicity_mediumPt_EndCap = ibooker.book1D("MuMultiplicity_mediumPt_EndCap", "MuMultiplicity_mediumPt_EndCap", 10,0,10);
1005  mChMultiplicity_highPt_EndCap = ibooker.book1D("ChMultiplicity_highPt_EndCap", "ChMultiplicity_highPt_EndCap", 60,0,60);
1006  mNeutMultiplicity_highPt_EndCap = ibooker.book1D("NeutMultiplicity_highPt_EndCap", "NeutMultiplicity_highPt_EndCap", 60,0,60);
1007  mMuMultiplicity_highPt_EndCap = ibooker.book1D("MuMultiplicity_highPt_EndCap", "MuMultiplicity_highPt_EndCap", 10,0,10);
1008 
1009  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChMultiplicity_lowPt_EndCap" ,mChMultiplicity_lowPt_EndCap));
1010  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_lowPt_EndCap" ,mNeutMultiplicity_lowPt_EndCap));
1011  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuMultiplicity_lowPt_EndCap" ,mMuMultiplicity_lowPt_EndCap));
1012  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChMultiplicity_mediumPt_EndCap" ,mChMultiplicity_mediumPt_EndCap));
1013  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_mediumPt_EndCap" ,mNeutMultiplicity_mediumPt_EndCap));
1014  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuMultiplicity_mediumPt_EndCap" ,mMuMultiplicity_mediumPt_EndCap));
1015  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChMultiplicity_highPt_EndCap" ,mChMultiplicity_highPt_EndCap));
1016  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_highPt_EndCap" ,mNeutMultiplicity_highPt_EndCap));
1017  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuMultiplicity_highPt_EndCap" ,mMuMultiplicity_highPt_EndCap));
1018 
1019  //forward monitoring
1020  //energy fraction
1021  mHFEFrac_lowPt_Forward = ibooker.book1D("HFEFrac_lowPt_Forward", "HFEFrac_lowPt_Forward", 140, -0.2, 1.2);
1022  mHFHFrac_lowPt_Forward = ibooker.book1D("HFHFrac_lowPt_Forward", "HFHFrac_lowPt_Forward", 140, -0.2, 1.2);
1023  mHFEFrac_mediumPt_Forward = ibooker.book1D("HFEFrac_mediumPt_Forward", "HFEFrac_mediumPt_Forward", 140, -0.2, 1.2);
1024  mHFHFrac_mediumPt_Forward = ibooker.book1D("HFHFrac_mediumPt_Forward", "HFHFrac_mediumPt_Forward", 140, -0.2, 1.2);
1025  mHFEFrac_highPt_Forward = ibooker.book1D("HFEFrac_highPt_Forward", "HFEFrac_highPt_Forward", 140, -0.2, 1.2);
1026  mHFHFrac_highPt_Forward = ibooker.book1D("HFHFrac_highPt_Forward", "HFHFrac_highPt_Forward", 140, -0.2, 1.2);
1027  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFrac_lowPt_Forward" ,mHFHFrac_lowPt_Forward));
1028  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEFrac_lowPt_Forward" ,mHFEFrac_lowPt_Forward));
1029  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFrac_mediumPt_Forward" ,mHFHFrac_mediumPt_Forward));
1030  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEFrac_mediumPt_Forward" ,mHFEFrac_mediumPt_Forward));
1031  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFrac_highPt_Forward" ,mHFHFrac_highPt_Forward));
1032  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEFrac_highPt_Forward" ,mHFEFrac_highPt_Forward));
1033 
1034  //energies
1035  mHFEEn_lowPt_Forward = ibooker.book1D("HFEEn_lowPt_Forward", "HFEEn_lowPt_Forward", ptBin_, 0., ptMax_);
1036  mHFHEn_lowPt_Forward = ibooker.book1D("HFHEn_lowPt_Forward", "HFHEn_lowPt_Forward", ptBin_, 0., 2.0*ptMax_);
1037  mHFEEn_mediumPt_Forward = ibooker.book1D("HFEEn_mediumPt_Forward", "HFEEn_mediumPt_Forward", ptBin_, 0., 1.5*ptMax_);
1038  mHFHEn_mediumPt_Forward = ibooker.book1D("HFHEn_mediumPt_Forward", "HFHEn_mediumPt_Forward", ptBin_, 0., 2.5*ptMax_);
1039  mHFEEn_highPt_Forward = ibooker.book1D("HFEEn_highPt_Forward", "HFEEn_highPt_Forward", ptBin_, 0., 1.5*ptMax_);
1040  mHFHEn_highPt_Forward = ibooker.book1D("HFHEn_highPt_Forward", "HFHEn_highPt_Forward", ptBin_, 0., 5.0*ptMax_);
1041  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHEn_lowPt_Forward" ,mHFHEn_lowPt_Forward));
1042  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEEn_lowPt_Forward" ,mHFEEn_lowPt_Forward));
1043  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHEn_mediumPt_Forward" ,mHFHEn_mediumPt_Forward));
1044  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEEn_mediumPt_Forward" ,mHFEEn_mediumPt_Forward));
1045  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHEn_highPt_Forward" ,mHFHEn_highPt_Forward));
1046  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEEn_highPt_Forward" ,mHFEEn_highPt_Forward));
1047  //multiplicities
1048  mNeutMultiplicity_lowPt_Forward = ibooker.book1D("NeutMultiplicity_lowPt_Forward", "NeutMultiplicity_lowPt_Forward", 60,0,60);
1049  mNeutMultiplicity_mediumPt_Forward = ibooker.book1D("NeutMultiplicity_mediumPt_Forward", "NeutMultiplicity_mediumPt_Forward", 60,0,60);
1050  mNeutMultiplicity_highPt_Forward = ibooker.book1D("NeutMultiplicity_highPt_Forward", "NeutMultiplicity_highPt_Forward", 60,0,60);
1051 
1052  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_lowPt_Forward" ,mNeutMultiplicity_lowPt_Forward));
1053  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_mediumPt_Forward" ,mNeutMultiplicity_mediumPt_Forward));
1054  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutMultiplicity_highPt_Forward" ,mNeutMultiplicity_highPt_Forward));
1055 
1056  mChargedHadronEnergy = ibooker.book1D("ChargedHadronEnergy", "charged HAD energy", 100, 0, 100);
1057  mNeutralHadronEnergy = ibooker.book1D("NeutralHadronEnergy", "neutral HAD energy", 100, 0, 100);
1058  mChargedEmEnergy = ibooker.book1D("ChargedEmEnergy", "charged EM energy ", 100, 0, 100);
1059  mChargedMuEnergy = ibooker.book1D("ChargedMuEnergy", "charged Mu energy", 100, 0, 100);
1060  mNeutralEmEnergy = ibooker.book1D("NeutralEmEnergy", "neutral EM energy", 100, 0, 100);
1061  mChargedMultiplicity = ibooker.book1D("ChargedMultiplicity", "charged multiplicity ", 100, 0, 100);
1062  mNeutralMultiplicity = ibooker.book1D("NeutralMultiplicity", "neutral multiplicity", 100, 0, 100);
1063  mMuonMultiplicity = ibooker.book1D("MuonMultiplicity", "muon multiplicity", 100, 0, 100);
1064  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedHadronEnergy" ,mChargedHadronEnergy));
1065  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralHadronEnergy" ,mNeutralHadronEnergy));
1066  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedEmEnergy" ,mChargedEmEnergy));
1067  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedMuEnergy" ,mChargedMuEnergy));
1068  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralEmEnergy" ,mNeutralEmEnergy));
1069  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedMultiplicity" ,mChargedMultiplicity));
1070  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralMultiplicity" ,mNeutralMultiplicity));
1071  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuonMultiplicity" ,mMuonMultiplicity));
1072 
1073  // Book NPV profiles
1074  //----------------------------------------------------------------------------
1075  mChargedHadronEnergy_profile = ibooker.bookProfile("ChargedHadronEnergy_profile", "charged HAD energy", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1076  mNeutralHadronEnergy_profile = ibooker.bookProfile("NeutralHadronEnergy_profile", "neutral HAD energy", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1077  mChargedEmEnergy_profile = ibooker.bookProfile("ChargedEmEnergy_profile", "charged EM energy", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1078  mChargedMuEnergy_profile = ibooker.bookProfile("ChargedMuEnergy_profile", "charged Mu energy", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1079  mNeutralEmEnergy_profile = ibooker.bookProfile("NeutralEmEnergy_profile", "neutral EM energy", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1080  mChargedMultiplicity_profile = ibooker.bookProfile("ChargedMultiplicity_profile", "charged multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1081  mNeutralMultiplicity_profile = ibooker.bookProfile("NeutralMultiplicity_profile", "neutral multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1082  mMuonMultiplicity_profile = ibooker.bookProfile("MuonMultiplicity_profile", "muon multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1083 
1084  // Set NPV profiles x-axis title
1085  //----------------------------------------------------------------------------
1094 
1095  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedHadronEnergy_profile" ,mChargedHadronEnergy_profile));
1096  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralHadronEnergy_profile" ,mNeutralHadronEnergy_profile));
1097  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedEmEnergy_profile" ,mChargedEmEnergy_profile));
1098  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedMuEnergy_profile" ,mChargedMuEnergy_profile));
1099  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralEmEnergy_profile" ,mNeutralEmEnergy_profile));
1100  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedMultiplicity_profile" ,mChargedMultiplicity_profile));
1101  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralMultiplicity_profile" ,mNeutralMultiplicity_profile));
1102  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuonMultiplicity_profile" ,mMuonMultiplicity_profile));
1103 
1104  mNeutralFraction = ibooker.book1D("NeutralConstituentsFraction","Neutral Constituents Fraction",100,0,1);
1105  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralConstituentsFraction" ,mNeutralFraction));
1106 
1107  }
1108 
1109  if(jetCleaningFlag_){
1110  //so far we have only one additional selection -> implement to make it expandable
1111  folderNames_.push_back("DiJet");
1112  //book for each of these selection default histograms
1113  for (std::vector<std::string>::const_iterator ic = folderNames_.begin();
1114  ic != folderNames_.end(); ic++){
1115  bookMESetSelection(DirName+"/"+*ic, ibooker);
1116  }
1117  }
1118 
1119  ibooker.setCurrentFolder("JetMET");
1120  cleanupME = ibooker.book1D("cleanup", "cleanup", 10, 0., 10.);
1121  cleanupME->setBinLabel(1,"Primary Vertex");
1122  cleanupME->setBinLabel(2,"DCS::Pixel");
1123  cleanupME->setBinLabel(3,"DCS::SiStrip");
1124  cleanupME->setBinLabel(4,"DCS::ECAL");
1125  cleanupME->setBinLabel(5,"DCS::ES");
1126  cleanupME->setBinLabel(6,"DCS::HBHE");
1127  cleanupME->setBinLabel(7,"DCS::HF");
1128  cleanupME->setBinLabel(8,"DCS::HO");
1129  cleanupME->setBinLabel(9,"DCS::Muon");
1130  map_of_MEs.insert(std::pair<std::string,MonitorElement*>("JetMET/cleanup" ,cleanupME));
1131 
1132  verticesME = ibooker.book1D("vertices", "vertices", 100, 0, 100);
1133  map_of_MEs.insert(std::pair<std::string,MonitorElement*>("JetMET/vertices" ,verticesME));
1134 
1135 
1136 
1137 }
MonitorElement * mqgLikelihood_lowPt_Barrel
Definition: JetAnalyzer.h:494
MonitorElement * mCHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:380
MonitorElement * mEFrac_EndCap
Definition: JetAnalyzer.h:234
MonitorElement * mNJets
Definition: JetAnalyzer.h:258
MonitorElement * mNHEn_lowPt_Barrel
Definition: JetAnalyzer.h:376
MonitorElement * mMass_lowPt_Forward
Definition: JetAnalyzer.h:446
MonitorElement * mPt_Forward_Hi
Definition: JetAnalyzer.h:253
MonitorElement * mMass_mediumPt_Forward
Definition: JetAnalyzer.h:449
MonitorElement * mePtForwardPlus_BXm1Empty
Definition: JetAnalyzer.h:603
MonitorElement * mMass_highPt_Forward
Definition: JetAnalyzer.h:452
MonitorElement * mHadEnergyInHB
Definition: JetAnalyzer.h:353
MonitorElement * mHFEEn_highPt_Forward
Definition: JetAnalyzer.h:475
MonitorElement * mfRBX
Definition: JetAnalyzer.h:361
MonitorElement * mMultiplicityQG_highPt_Forward
Definition: JetAnalyzer.h:527
MonitorElement * mCHEn_highPt_Barrel
Definition: JetAnalyzer.h:385
MonitorElement * mPhi_Forward
Definition: JetAnalyzer.h:237
MonitorElement * mChMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:396
MonitorElement * mLooseCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:295
MonitorElement * mChMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:457
MonitorElement * mNeutralEmEnergy
Definition: JetAnalyzer.h:485
double ptMin_
Definition: JetAnalyzer.h:171
MonitorElement * meCHFracBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:608
MonitorElement * mPhEn_mediumPt_EndCap
Definition: JetAnalyzer.h:436
MonitorElement * mPt_Lo
Definition: JetAnalyzer.h:268
MonitorElement * mePhFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:634
MonitorElement * mEmEnergyInHF
Definition: JetAnalyzer.h:358
MonitorElement * mePtForwardPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:623
bool jetCleaningFlag_
Definition: JetAnalyzer.h:342
MonitorElement * mePtEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:577
MonitorElement * mPhiFirst
Definition: JetAnalyzer.h:263
MonitorElement * mCutPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:303
MonitorElement * mNeutralHadronEnergy
Definition: JetAnalyzer.h:482
MonitorElement * mHFEFrac_mediumPt_Forward
Definition: JetAnalyzer.h:467
MonitorElement * mPt_Forward
Definition: JetAnalyzer.h:236
MonitorElement * mCHFrac_highPt_EndCap
Definition: JetAnalyzer.h:425
MonitorElement * mNHFrac_highPt_EndCap
Definition: JetAnalyzer.h:426
MonitorElement * mqgLikelihood_highPt_EndCap
Definition: JetAnalyzer.h:515
MonitorElement * mChargedEmEnergy_profile
Definition: JetAnalyzer.h:543
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * meHFEMFracMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:579
MonitorElement * mHFrac_Forward
Definition: JetAnalyzer.h:239
MonitorElement * mEmEnergyInEE
Definition: JetAnalyzer.h:357
MonitorElement * mHFHFrac_highPt_Forward
Definition: JetAnalyzer.h:470
MonitorElement * meNHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:627
MonitorElement * mHFHEn_lowPt_Forward
Definition: JetAnalyzer.h:472
MonitorElement * mMultiplicityQG_mediumPt_EndCap
Definition: JetAnalyzer.h:510
MonitorElement * mNHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:420
MonitorElement * mCHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:366
MonitorElement * meCHFracEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:572
MonitorElement * mElEn_highPt_Barrel
Definition: JetAnalyzer.h:388
MonitorElement * jetME
Definition: JetAnalyzer.h:201
MonitorElement * mPhEn_lowPt_EndCap
Definition: JetAnalyzer.h:431
MonitorElement * mMediumCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:297
MonitorElement * mHFEEn_lowPt_Forward
Definition: JetAnalyzer.h:471
MonitorElement * mePhFracEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:574
MonitorElement * meNHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:631
MonitorElement * mPhi_EndCap
Definition: JetAnalyzer.h:231
MonitorElement * meCHFracEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:612
MonitorElement * mqgLikelihood_mediumPt_Barrel
Definition: JetAnalyzer.h:498
MonitorElement * mPhFrac_lowPt_EndCap
Definition: JetAnalyzer.h:421
MonitorElement * mMass_highPt_EndCap
Definition: JetAnalyzer.h:451
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:288
MonitorElement * mNHFracVSeta_highPt
Definition: JetAnalyzer.h:416
MonitorElement * mCutPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:301
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:359
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 * mCHEn_lowPt_EndCap
Definition: JetAnalyzer.h:429
MonitorElement * meNHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:595
MonitorElement * mCutPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:302
MonitorElement * mCHFracVSeta_highPt
Definition: JetAnalyzer.h:415
MonitorElement * meCHFracEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:616
MonitorElement * mPhEn_highPt_Barrel
Definition: JetAnalyzer.h:387
MonitorElement * mNeutMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:455
MonitorElement * mNHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:435
MonitorElement * mEta_Hi
Definition: JetAnalyzer.h:270
MonitorElement * mpTD_mediumPt_EndCap
Definition: JetAnalyzer.h:509
bool isCaloJet_
Definition: JetAnalyzer.h:648
MonitorElement * meCHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:636
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:487
MonitorElement * mePtForwardMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:620
MonitorElement * mMass_lowPt_Barrel
Definition: JetAnalyzer.h:444
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:324
MonitorElement * meCHFracBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:568
MonitorElement * mePhFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:626
MonitorElement * mPt_3
Definition: JetAnalyzer.h:207
MonitorElement * mEta
Definition: JetAnalyzer.h:208
MonitorElement * mConstituents_Forward
Definition: JetAnalyzer.h:238
std::string DirName
Definition: JetAnalyzer.h:154
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Forward
Definition: JetAnalyzer.h:287
MonitorElement * mpTD_lowPt_Forward
Definition: JetAnalyzer.h:518
MonitorElement * mPt_Hi
Definition: JetAnalyzer.h:272
MonitorElement * mePhFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:594
MonitorElement * mMultiplicityQG_lowPt_EndCap
Definition: JetAnalyzer.h:506
MonitorElement * meHFHFracPlus_BXm1Filled
Definition: JetAnalyzer.h:641
MonitorElement * meNHFracEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:635
MonitorElement * mCHFrac_lowPt_EndCap
Definition: JetAnalyzer.h:419
MonitorElement * mMuMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:398
MonitorElement * mNHFracVSeta_mediumPt
Definition: JetAnalyzer.h:413
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:546
MonitorElement * mAxis2_mediumPt_Barrel
Definition: JetAnalyzer.h:495
MonitorElement * mHFEFrac_lowPt_Forward
Definition: JetAnalyzer.h:465
MonitorElement * meHFEMFracPlus_BXm1Filled
Definition: JetAnalyzer.h:642
MonitorElement * mNHFracVSeta_lowPt
Definition: JetAnalyzer.h:410
MonitorElement * mLooseJIDPassFractionVSpt
Definition: JetAnalyzer.h:275
MonitorElement * mAxis2_highPt_Forward
Definition: JetAnalyzer.h:525
MonitorElement * mpTD_mediumPt_Barrel
Definition: JetAnalyzer.h:496
MonitorElement * mPt_uncor
Definition: JetAnalyzer.h:210
MonitorElement * mDPhi
Definition: JetAnalyzer.h:259
MonitorElement * mresEMF
Definition: JetAnalyzer.h:362
MonitorElement * meEta_BXm2BXm1Filled
Definition: JetAnalyzer.h:624
MonitorElement * mChargedMuEnergy
Definition: JetAnalyzer.h:484
MonitorElement * mLooseMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:280
MonitorElement * meHFHFracMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:618
double nPVhigh_
Definition: JetAnalyzer.h:184
MonitorElement * mMuMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:459
bool runcosmics_
Definition: JetAnalyzer.h:344
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:322
MonitorElement * mpTD_highPt_EndCap
Definition: JetAnalyzer.h:513
MonitorElement * mPt_Barrel_Hi
Definition: JetAnalyzer.h:243
MonitorElement * mEmEnergyInEB
Definition: JetAnalyzer.h:356
MonitorElement * meNHFracEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:575
MonitorElement * meHFEMFracPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:582
MonitorElement * mTightCutPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:299
MonitorElement * mMediumMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:281
MonitorElement * mePtEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:597
MonitorElement * mChargedHadronEnergy_profile
Definition: JetAnalyzer.h:541
MonitorElement * mPhi_Barrel
Definition: JetAnalyzer.h:225
MonitorElement * mPhFrac_lowPt_Barrel
Definition: JetAnalyzer.h:368
MonitorElement * mAxis2_highPt_Barrel
Definition: JetAnalyzer.h:499
MonitorElement * mMass_lowPt_EndCap
Definition: JetAnalyzer.h:445
MonitorElement * mePtForwardMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:580
MonitorElement * mConstituents_EndCap
Definition: JetAnalyzer.h:232
MonitorElement * mPhi_EndCap_Hi
Definition: JetAnalyzer.h:249
MonitorElement * meEta_BXm1Empty
Definition: JetAnalyzer.h:604
MonitorElement * mHFHFrac_mediumPt_Forward
Definition: JetAnalyzer.h:468
MonitorElement * mPhFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:371
MonitorElement * mePhFracBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:606
MonitorElement * mePtEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:593
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:547
MonitorElement * mMultiplicityQG_highPt_EndCap
Definition: JetAnalyzer.h:514
MonitorElement * meHFHFracMinus_BXm1Filled
Definition: JetAnalyzer.h:638
MonitorElement * cleanupME
Definition: JetAnalyzer.h:333
MonitorElement * mPhEn_mediumPt_Barrel
Definition: JetAnalyzer.h:382
MonitorElement * mLooseMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:279
MonitorElement * mNeutMultiplicity_mediumPt_EndCap
Definition: JetAnalyzer.h:458
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:532
MonitorElement * mNHFracVSpT_EndCap
Definition: JetAnalyzer.h:404
MonitorElement * mNeutralEmEnergy_profile
Definition: JetAnalyzer.h:545
MonitorElement * mNHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:370
MonitorElement * mPhEn_lowPt_Barrel
Definition: JetAnalyzer.h:377
double ptMax_
Definition: JetAnalyzer.h:172
MonitorElement * mPt_1
Definition: JetAnalyzer.h:205
MonitorElement * mConstituents_Barrel
Definition: JetAnalyzer.h:226
MonitorElement * meHFHFracMinus_BXm1Empty
Definition: JetAnalyzer.h:598
MonitorElement * meCHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:592
MonitorElement * mNHEn_lowPt_EndCap
Definition: JetAnalyzer.h:430
MonitorElement * mMuEn_lowPt_EndCap
Definition: JetAnalyzer.h:433
MonitorElement * mePhFracBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:566
MonitorElement * mPhi
Definition: JetAnalyzer.h:209
MonitorElement * meHFEMFracMinus_BXm1Filled
Definition: JetAnalyzer.h:639
MonitorElement * mNeutMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:391
MonitorElement * mpTD_highPt_Barrel
Definition: JetAnalyzer.h:500
MonitorElement * mPhFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:424
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:548
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:306
MonitorElement * mCutPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:308
MonitorElement * mChargedHadronEnergy
Definition: JetAnalyzer.h:481
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * mePhFracEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:614
MonitorElement * mPhi_uncor
Definition: JetAnalyzer.h:212
MonitorElement * mePhFracEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:570
MonitorElement * mCutPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:307
MonitorElement * meHFEMFracPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:622
MonitorElement * meNHFracBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:607
bool fill_CHS_histos
Definition: JetAnalyzer.h:654
MonitorElement * mChargedEmEnergy
Definition: JetAnalyzer.h:483
MonitorElement * mNeutMultiplicity_mediumPt_Forward
Definition: JetAnalyzer.h:478
MonitorElement * mMass_mediumPt_EndCap
Definition: JetAnalyzer.h:448
MonitorElement * meNHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:587
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:319
MonitorElement * mPhFracVSeta_lowPt
Definition: JetAnalyzer.h:411
MonitorElement * mChMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:390
MonitorElement * mEtaFirst
Definition: JetAnalyzer.h:262
MonitorElement * mElEn_lowPt_EndCap
Definition: JetAnalyzer.h:432
MonitorElement * mTightMVAPUJIDPassFractionVSeta
Definition: JetAnalyzer.h:283
MonitorElement * mNHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:423
MonitorElement * mEFrac_Forward
Definition: JetAnalyzer.h:240
MonitorElement * mChMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:454
MonitorElement * mMuEn_mediumPt_Barrel
Definition: JetAnalyzer.h:384
MonitorElement * mMuMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:462
MonitorElement * mePtEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:573
MonitorElement * mPt_2
Definition: JetAnalyzer.h:206
MonitorElement * mMVAPUJIDDiscriminant_highPt_Barrel
Definition: JetAnalyzer.h:291
MonitorElement * mAxis2_highPt_EndCap
Definition: JetAnalyzer.h:512
MonitorElement * mNeutralHadronEnergy_profile
Definition: JetAnalyzer.h:542
MonitorElement * mHFrac_Barrel
Definition: JetAnalyzer.h:227
MonitorElement * mNJets_profile
Definition: JetAnalyzer.h:318
MonitorElement * mMultiplicityQG_highPt_Barrel
Definition: JetAnalyzer.h:501
MonitorElement * mHFEFracVSpT_Forward
Definition: JetAnalyzer.h:407
MonitorElement * mePhFracEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:610
MonitorElement * mePhFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:586
MonitorElement * mCHEn_lowPt_Barrel
Definition: JetAnalyzer.h:375
MonitorElement * mHFEFrac_highPt_Forward
Definition: JetAnalyzer.h:469
MonitorElement * mElEn_highPt_EndCap
Definition: JetAnalyzer.h:442
MonitorElement * mCutPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:305
MonitorElement * meNHFracEndCapMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:571
MonitorElement * mEFrac
Definition: JetAnalyzer.h:221
double phiMin_
Definition: JetAnalyzer.h:167
MonitorElement * mCutPUJIDDiscriminant_mediumPt_Barrel
Definition: JetAnalyzer.h:304
MonitorElement * mPhFrac_highPt_EndCap
Definition: JetAnalyzer.h:427
MonitorElement * mPhFracVSeta_mediumPt
Definition: JetAnalyzer.h:414
MonitorElement * meHFEMFracPlus_BXm1Empty
Definition: JetAnalyzer.h:602
MonitorElement * mePtBarrel_BXm2BXm1Filled
Definition: JetAnalyzer.h:609
MonitorElement * meCHFracBarrel_BXm1Empty
Definition: JetAnalyzer.h:588
MonitorElement * mePtBarrel_BXm1Empty
Definition: JetAnalyzer.h:589
MonitorElement * mNHFracVSpT_Barrel
Definition: JetAnalyzer.h:401
MonitorElement * mHadEnergyInHF
Definition: JetAnalyzer.h:354
double nPVlow_
Definition: JetAnalyzer.h:183
MonitorElement * mfHPD
Definition: JetAnalyzer.h:360
MonitorElement * mNeutMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:461
MonitorElement * mpTD_lowPt_Barrel
Definition: JetAnalyzer.h:492
MonitorElement * mHFHEn_mediumPt_Forward
Definition: JetAnalyzer.h:474
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:215
MonitorElement * mAxis2_lowPt_EndCap
Definition: JetAnalyzer.h:504
MonitorElement * mElEn_mediumPt_Barrel
Definition: JetAnalyzer.h:383
MonitorElement * mMVAPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:293
MonitorElement * mePtEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:613
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:486
MonitorElement * mNHEn_highPt_Barrel
Definition: JetAnalyzer.h:386
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:646
MonitorElement * mPt
Definition: JetAnalyzer.h:204
MonitorElement * mEFrac_Barrel
Definition: JetAnalyzer.h:228
MonitorElement * mCHFracVSeta_mediumPt
Definition: JetAnalyzer.h:412
MonitorElement * mePtBarrel_BXm1Filled
Definition: JetAnalyzer.h:629
MonitorElement * mCHFrac_mediumPt_EndCap
Definition: JetAnalyzer.h:422
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * mNHFrac_highPt_Barrel
Definition: JetAnalyzer.h:373
MonitorElement * mqgLikelihood_highPt_Forward
Definition: JetAnalyzer.h:528
MonitorElement * mMediumCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:298
MonitorElement * mPhi_Barrel_Hi
Definition: JetAnalyzer.h:244
MonitorElement * mePhFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:590
double etaMin_
Definition: JetAnalyzer.h:163
double ptThresholdUnc_
Definition: JetAnalyzer.h:191
MonitorElement * mMuMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:395
MonitorElement * mHFrac_EndCap
Definition: JetAnalyzer.h:233
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:217
double etaMax_
Definition: JetAnalyzer.h:164
MonitorElement * mElEn_mediumPt_EndCap
Definition: JetAnalyzer.h:437
MonitorElement * mAxis2_lowPt_Barrel
Definition: JetAnalyzer.h:491
MonitorElement * mPhiVSEta
Definition: JetAnalyzer.h:222
MonitorElement * mqgLikelihood_mediumPt_EndCap
Definition: JetAnalyzer.h:511
MonitorElement * meHFHFracPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:621
MonitorElement * mePtEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:633
MonitorElement * mChargedMuEnergy_profile
Definition: JetAnalyzer.h:544
MonitorElement * mLooseJIDPassFractionVSptNoHF
Definition: JetAnalyzer.h:276
MonitorElement * mEta_uncor
Definition: JetAnalyzer.h:211
MonitorElement * mMediumMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:282
MonitorElement * mCHEn_highPt_EndCap
Definition: JetAnalyzer.h:439
MonitorElement * mMVAPUJIDDiscriminant_highPt_EndCap
Definition: JetAnalyzer.h:292
MonitorElement * mCHFracVSpT_EndCap
Definition: JetAnalyzer.h:403
MonitorElement * mHFHFracVSpT_Forward
Definition: JetAnalyzer.h:406
MonitorElement * mMVAPUJIDDiscriminant_lowPt_Barrel
Definition: JetAnalyzer.h:285
MonitorElement * mpTD_lowPt_EndCap
Definition: JetAnalyzer.h:505
bool isMiniAODJet_
Definition: JetAnalyzer.h:650
MonitorElement * mNHEn_mediumPt_Barrel
Definition: JetAnalyzer.h:381
MonitorElement * mMuMultiplicity_lowPt_Barrel
Definition: JetAnalyzer.h:392
std::string const & label() const
Definition: InputTag.h:42
MonitorElement * mePtForwardPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:583
MonitorElement * mMuEn_highPt_EndCap
Definition: JetAnalyzer.h:443
MonitorElement * mLooseJIDPassFractionVSeta
Definition: JetAnalyzer.h:274
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:323
MonitorElement * mPhEn_highPt_EndCap
Definition: JetAnalyzer.h:441
MonitorElement * mMultiplicityQG_lowPt_Barrel
Definition: JetAnalyzer.h:493
MonitorElement * mMVAPUJIDDiscriminant_lowPt_EndCap
Definition: JetAnalyzer.h:286
MonitorElement * meHFHFracMinus_BXm2BXm1Empty
Definition: JetAnalyzer.h:578
MonitorElement * mMuEn_mediumPt_EndCap
Definition: JetAnalyzer.h:438
MonitorElement * mqgLikelihood_lowPt_EndCap
Definition: JetAnalyzer.h:507
MonitorElement * mAxis2_mediumPt_Forward
Definition: JetAnalyzer.h:521
MonitorElement * mPt_EndCap_Hi
Definition: JetAnalyzer.h:248
MonitorElement * mMuEn_lowPt_Barrel
Definition: JetAnalyzer.h:379
MonitorElement * mTightMVAPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:284
MonitorElement * mCHFrac_highPt_Barrel
Definition: JetAnalyzer.h:372
MonitorElement * mMuEn_highPt_Barrel
Definition: JetAnalyzer.h:389
MonitorElement * meCHFracEndCapPlus_BXm1Empty
Definition: JetAnalyzer.h:596
MonitorElement * mePhFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:630
MonitorElement * mHFHEn_highPt_Forward
Definition: JetAnalyzer.h:476
MonitorElement * mePtEndCapPlus_BXm1Filled
Definition: JetAnalyzer.h:637
MonitorElement * mNHEn_highPt_EndCap
Definition: JetAnalyzer.h:440
MonitorElement * mePtForwardPlus_BXm1Filled
Definition: JetAnalyzer.h:643
MonitorElement * mCHFrac_mediumPt_Barrel
Definition: JetAnalyzer.h:369
MonitorElement * mAxis2_lowPt_Forward
Definition: JetAnalyzer.h:517
MonitorElement * mPhi_Hi
Definition: JetAnalyzer.h:271
void bookMESetSelection(std::string, DQMStore::IBooker &)
MonitorElement * mMultiplicityQG_mediumPt_Barrel
Definition: JetAnalyzer.h:497
MonitorElement * mPtFirst
Definition: JetAnalyzer.h:264
MonitorElement * meNHFracEndCapMinus_BXm1Empty
Definition: JetAnalyzer.h:591
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:321
MonitorElement * mPt_Barrel
Definition: JetAnalyzer.h:224
MonitorElement * meCHFracBarrel_BXm1Filled
Definition: JetAnalyzer.h:628
MonitorElement * mElEn_lowPt_Barrel
Definition: JetAnalyzer.h:378
MonitorElement * mMass_highPt_Barrel
Definition: JetAnalyzer.h:450
MonitorElement * meNHFracEndCapMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:611
MonitorElement * mHadEnergyInHE
Definition: JetAnalyzer.h:355
MonitorElement * mMass_mediumPt_Barrel
Definition: JetAnalyzer.h:447
MonitorElement * meHFEMFracMinus_BXm1Empty
Definition: JetAnalyzer.h:599
MonitorElement * mChMultiplicity_highPt_EndCap
Definition: JetAnalyzer.h:460
MonitorElement * meHFHFracPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:581
MonitorElement * mConstituents
Definition: JetAnalyzer.h:219
MonitorElement * mNHFrac_lowPt_Barrel
Definition: JetAnalyzer.h:367
MonitorElement * meEta_BXm1Filled
Definition: JetAnalyzer.h:644
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:216
MonitorElement * mPhFrac_highPt_Barrel
Definition: JetAnalyzer.h:374
MonitorElement * mCHFracVSpT_Barrel
Definition: JetAnalyzer.h:400
MonitorElement * mPhFracVSpT_EndCap
Definition: JetAnalyzer.h:405
MonitorElement * mChMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:393
MonitorElement * mPhi_Forward_Hi
Definition: JetAnalyzer.h:254
MonitorElement * mMultiplicityQG_lowPt_Forward
Definition: JetAnalyzer.h:519
MonitorElement * meCHFracEndCapPlus_BXm2BXm1Empty
Definition: JetAnalyzer.h:576
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:320
MonitorElement * mCHFracVSeta_lowPt
Definition: JetAnalyzer.h:409
MonitorElement * mPt_EndCap
Definition: JetAnalyzer.h:230
MonitorElement * meEta_BXm2BXm1Empty
Definition: JetAnalyzer.h:584
MonitorElement * mpTD_mediumPt_Forward
Definition: JetAnalyzer.h:522
TH2F * getTH2F(void) const
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_EndCap
Definition: JetAnalyzer.h:289
MonitorElement * mCHEn_mediumPt_EndCap
Definition: JetAnalyzer.h:434
MonitorElement * mTightCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:300
double phiMax_
Definition: JetAnalyzer.h:168
MonitorElement * mNeutMultiplicity_highPt_Forward
Definition: JetAnalyzer.h:479
MonitorElement * mqgLikelihood_highPt_Barrel
Definition: JetAnalyzer.h:502
MonitorElement * mqgLikelihood_mediumPt_Forward
Definition: JetAnalyzer.h:524
MonitorElement * mePtForwardMinus_BXm1Filled
Definition: JetAnalyzer.h:640
MonitorElement * mLooseCutPUJIDPassFractionVSpt
Definition: JetAnalyzer.h:296
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:488
MonitorElement * mPhFracVSpT_Barrel
Definition: JetAnalyzer.h:402
MonitorElement * mePtEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:617
MonitorElement * mMultiplicityQG_mediumPt_Forward
Definition: JetAnalyzer.h:523
MonitorElement * mqgLikelihood_lowPt_Forward
Definition: JetAnalyzer.h:520
MonitorElement * mHFHFrac_lowPt_Forward
Definition: JetAnalyzer.h:466
MonitorElement * mMVAPUJIDDiscriminant_mediumPt_Forward
Definition: JetAnalyzer.h:290
MonitorElement * mMuMultiplicity_lowPt_EndCap
Definition: JetAnalyzer.h:456
MonitorElement * meHFHFracPlus_BXm1Empty
Definition: JetAnalyzer.h:601
MonitorElement * mConstituents_uncor
Definition: JetAnalyzer.h:213
MonitorElement * mNeutMultiplicity_mediumPt_Barrel
Definition: JetAnalyzer.h:394
MonitorElement * meCHFracEndCapMinus_BXm1Filled
Definition: JetAnalyzer.h:632
MonitorElement * mPhi_Lo
Definition: JetAnalyzer.h:267
MonitorElement * mHFrac
Definition: JetAnalyzer.h:220
MonitorElement * mCutPUJIDDiscriminant_highPt_Forward
Definition: JetAnalyzer.h:309
MonitorElement * mNeutMultiplicity_lowPt_Forward
Definition: JetAnalyzer.h:477
MonitorElement * mHFEEn_mediumPt_Forward
Definition: JetAnalyzer.h:473
MonitorElement * meHFEMFracMinus_BXm2BXm1Filled
Definition: JetAnalyzer.h:619
MonitorElement * mNeutMultiplicity_highPt_Barrel
Definition: JetAnalyzer.h:397
MonitorElement * verticesME
Definition: JetAnalyzer.h:334
MonitorElement * mPhFracVSeta_highPt
Definition: JetAnalyzer.h:417
MonitorElement * mAxis2_mediumPt_EndCap
Definition: JetAnalyzer.h:508
MonitorElement * mePtBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:569
MonitorElement * mpTD_highPt_Forward
Definition: JetAnalyzer.h:526
MonitorElement * mePtForwardMinus_BXm1Empty
Definition: JetAnalyzer.h:600
MonitorElement * meNHFracBarrel_BXm2BXm1Empty
Definition: JetAnalyzer.h:567
MonitorElement * meNHFracEndCapPlus_BXm2BXm1Filled
Definition: JetAnalyzer.h:615
std::vector< std::string > folderNames_
Definition: JetAnalyzer.h:152
MonitorElement * mHadEnergyInHO
Definition: JetAnalyzer.h:352
edm::InputTag mInputCollection_
Definition: JetAnalyzer.h:101
void JetAnalyzer::bookMESetSelection ( std::string  DirName,
DQMStore::IBooker ibooker 
)
private

Definition at line 1139 of file JetAnalyzer.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::bookProfile(), MonitorElement::setAxisTitle(), and DQMStore::IBooker::setCurrentFolder().

1140 {
1141  ibooker.setCurrentFolder(DirName);
1142  // Generic jet parameters
1143  mPt = ibooker.book1D("Pt", "pt", ptBin_, ptMin_, ptMax_);
1144  mEta = ibooker.book1D("Eta", "eta", etaBin_, etaMin_, etaMax_);
1145  mPhi = ibooker.book1D("Phi", "phi", phiBin_, phiMin_, phiMax_);
1146  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt" ,mPt));
1147  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta" ,mEta));
1148  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi" ,mPhi));
1149  //if(!isJPTJet_){
1150  mConstituents = ibooker.book1D("Constituents", "# of constituents", 50, 0, 100);
1151  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents" ,mConstituents));
1152  //}
1153  mJetEnergyCorr= ibooker.book1D("JetEnergyCorr", "jet energy correction factor", 50, 0.0,3.0);
1154  mJetEnergyCorrVSEta= ibooker.bookProfile("JetEnergyCorrVSEta", "jet energy correction factor VS eta", etaBin_, etaMin_,etaMax_, 0.0,3.0);
1155  mJetEnergyCorrVSPt= ibooker.bookProfile("JetEnergyCorrVSPt", "jet energy correction factor VS pt", ptBin_, ptMin_,ptMax_, 0.0,3.0);
1156 
1157  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetEnergyCorr" ,mJetEnergyCorr));
1158  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetEnergyCorrVSEta" ,mJetEnergyCorrVSEta));
1159  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"JetEnergyCorrVSPt" ,mJetEnergyCorrVSPt));
1160 
1161  mDPhi = ibooker.book1D("DPhi", "dPhi btw the two leading jets", 100, 0., acos(-1.));
1162  mDijetAsymmetry = ibooker.book1D("DijetAsymmetry", "DijetAsymmetry", 100, -1., 1.);
1163  mDijetBalance = ibooker.book1D("DijetBalance", "DijetBalance", 100, -2., 2.);
1164  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"DPhi" ,mDPhi));
1165  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"DijetAsymmetry" ,mDijetAsymmetry));
1166  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"DijetBalance" ,mDijetBalance));
1167 
1168  // Book NPV profiles
1169  //----------------------------------------------------------------------------
1170  mPt_profile = ibooker.bookProfile("Pt_profile", "pt", nbinsPV_, nPVlow_, nPVhigh_, ptBin_, ptMin_, ptMax_);
1171  mEta_profile = ibooker.bookProfile("Eta_profile", "eta", nbinsPV_, nPVlow_, nPVhigh_, etaBin_, etaMin_, etaMax_);
1172  mPhi_profile = ibooker.bookProfile("Phi_profile", "phi", nbinsPV_, nPVlow_, nPVhigh_, phiBin_, phiMin_, phiMax_);
1173  //if(!isJPTJet_){
1174  mConstituents_profile = ibooker.bookProfile("Constituents_profile", "# of constituents", nbinsPV_, nPVlow_, nPVhigh_, 50, 0, 100);
1175  //}
1176  // met NPV profiles x-axis title
1177  //----------------------------------------------------------------------------
1178  mPt_profile ->setAxisTitle("nvtx",1);
1179  mEta_profile ->setAxisTitle("nvtx",1);
1180  mPhi_profile ->setAxisTitle("nvtx",1);
1181  //if(!isJPTJet_){
1183  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Constituents_profile",mConstituents_profile));
1184  //}
1185 
1186  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Pt_profile" ,mPt_profile));
1187  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Eta_profile",mEta_profile));
1188  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"Phi_profile",mPhi_profile));
1189  //
1190  //--- Calo jet melection only
1191  if(isCaloJet_) {
1192  mHFrac = ibooker.book1D("HFrac", "HFrac", 140, -0.2, 1.2);
1193  mEFrac = ibooker.book1D("EFrac", "EFrac", 140, -0.2, 1.2);
1194  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac" ,mHFrac));
1195  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac" ,mEFrac));
1196 
1197  mHFrac_profile = ibooker.bookProfile("HFrac_profile", "HFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
1198  mEFrac_profile = ibooker.bookProfile("EFrac_profile", "EFrac", nbinsPV_, nPVlow_, nPVhigh_, 140, -0.2, 1.2);
1199  mHFrac_profile ->setAxisTitle("nvtx",1);
1200  mEFrac_profile ->setAxisTitle("nvtx",1);
1201  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFrac_profile",mHFrac_profile));
1202  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"EFrac_profile",mEFrac_profile));
1203 
1204  // CaloJet specific
1205  //JetID variables
1206  mresEMF = ibooker.book1D("resEMF", "resEMF", 50, 0., 1.);
1207  mN90Hits = ibooker.book1D("N90Hits", "N90Hits", 100, 0., 100);
1208  mfHPD = ibooker.book1D("fHPD", "fHPD", 50, 0., 1.);
1209  mfRBX = ibooker.book1D("fRBX", "fRBX", 50, 0., 1.);
1210 
1211  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"resEMF" ,mresEMF));
1212  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"N90Hits",mN90Hits));
1213  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"fHPD" ,mfHPD));
1214  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"fRBX" ,mfRBX));
1215 
1216  }
1217 
1218  if(isPFJet_|| isMiniAODJet_){
1219  //barrel histograms for PFJets
1220  // energy fractions
1221  mCHFrac = ibooker.book1D("CHFrac", "CHFrac", 120, -0.1, 1.1);
1222  mNHFrac = ibooker.book1D("NHFrac", "NHFrac", 120, -0.1, 1.1);
1223  mPhFrac = ibooker.book1D("PhFrac", "PhFrac", 120, -0.1, 1.1);
1224  mHFEMFrac = ibooker.book1D("HFEMFrac","HFEMFrac", 120, -0.1, 1.1);
1225  mHFHFrac = ibooker.book1D("HFHFrac", "HFHFrac", 120, -0.1, 1.1);
1226 
1227  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac" ,mCHFrac));
1228  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac" ,mNHFrac));
1229  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac" ,mPhFrac));
1230  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFrac",mHFEMFrac));
1231  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFrac" ,mHFHFrac));
1232 
1233  mChargedMultiplicity = ibooker.book1D("ChargedMultiplicity", "charged multiplicity ", 100, 0, 100);
1234  mNeutralMultiplicity = ibooker.book1D("NeutralMultiplicity", "neutral multiplicity", 100, 0, 100);
1235  mMuonMultiplicity = ibooker.book1D("MuonMultiplicity", "muon multiplicity", 100, 0, 100);
1236 
1237  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedMultiplicity" ,mChargedMultiplicity));
1238  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralMultiplicity" ,mNeutralMultiplicity));
1239  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuonMultiplicity" ,mMuonMultiplicity));
1240 
1241  // Book NPV profiles
1242  //----------------------------------------------------------------------------
1243  mCHFrac_profile = ibooker.bookProfile("CHFrac_profile", "charged HAD fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 1);
1244  mNHFrac_profile = ibooker.bookProfile("NHFrac_profile", "neutral HAD fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 1);
1245  mPhFrac_profile = ibooker.bookProfile("PhFrac_profile", "Photon Fraction Profile", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 1);
1246  mHFEMFrac_profile = ibooker.bookProfile("HFEMFrac_profile","HF electomagnetic fraction Profile", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 1);
1247  mHFHFrac_profile = ibooker.bookProfile("HFHFrac_profile", "HF hadronic fraction profile", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 1);
1248  mChargedMultiplicity_profile = ibooker.bookProfile("ChargedMultiplicity_profile", "charged multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1249  mNeutralMultiplicity_profile = ibooker.bookProfile("NeutralMultiplicity_profile", "neutral multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1250  mMuonMultiplicity_profile = ibooker.bookProfile("MuonMultiplicity_profile", "muon multiplicity", nbinsPV_, nPVlow_, nPVhigh_, 100, 0, 100);
1251 
1252  // met NPV profiles x-axis title
1253  //----------------------------------------------------------------------------
1254  mCHFrac_profile ->setAxisTitle("nvtx",1);
1255  mNHFrac_profile ->setAxisTitle("nvtx",1);
1256  mPhFrac_profile ->setAxisTitle("nvtx",1);
1257  mHFEMFrac_profile ->setAxisTitle("nvtx",1);
1258  mHFHFrac_profile ->setAxisTitle("nvtx",1);
1262 
1263  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"CHFrac_profile" ,mCHFrac_profile));
1264  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NHFrac_profile" ,mNHFrac_profile));
1265  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"PhFrac_profile" ,mPhFrac_profile));
1266  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFEMFrac_profile",mHFEMFrac_profile));
1267  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"HFHFrac_profile" ,mHFHFrac_profile));
1268  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"ChargedMultiplicity_profile" ,mChargedMultiplicity_profile));
1269  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralMultiplicity_profile" ,mNeutralMultiplicity_profile));
1270  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"MuonMultiplicity_profile" ,mMuonMultiplicity_profile));
1271 
1272  mNeutralFraction = ibooker.book1D("NeutralConstituentsFraction","Neutral Constituents Fraction",100,0,1);
1273  map_of_MEs.insert(std::pair<std::string,MonitorElement*>(DirName+"/"+"NeutralConstituentsFraction" ,mNeutralFraction));
1274  }
1275 
1276 }
MonitorElement * mfRBX
Definition: JetAnalyzer.h:361
double ptMin_
Definition: JetAnalyzer.h:171
MonitorElement * bookProfile(Args &&...args)
Definition: DQMStore.h:157
MonitorElement * mHFHFrac
Definition: JetAnalyzer.h:556
MonitorElement * mNHFrac
Definition: JetAnalyzer.h:553
MonitorElement * mN90Hits
Definition: JetAnalyzer.h:359
MonitorElement * mCHFrac
Definition: JetAnalyzer.h:552
MonitorElement * mCHFrac_profile
Definition: JetAnalyzer.h:557
bool isCaloJet_
Definition: JetAnalyzer.h:648
MonitorElement * mNeutralMultiplicity
Definition: JetAnalyzer.h:487
MonitorElement * mEFrac_profile
Definition: JetAnalyzer.h:324
MonitorElement * mHFEMFrac
Definition: JetAnalyzer.h:555
MonitorElement * mEta
Definition: JetAnalyzer.h:208
std::string DirName
Definition: JetAnalyzer.h:154
MonitorElement * mChargedMultiplicity_profile
Definition: JetAnalyzer.h:546
MonitorElement * mDPhi
Definition: JetAnalyzer.h:259
MonitorElement * mresEMF
Definition: JetAnalyzer.h:362
double nPVhigh_
Definition: JetAnalyzer.h:184
MonitorElement * mNHFrac_profile
Definition: JetAnalyzer.h:558
MonitorElement * mConstituents_profile
Definition: JetAnalyzer.h:322
MonitorElement * mDijetBalance
Definition: JetAnalyzer.h:313
MonitorElement * mNeutralMultiplicity_profile
Definition: JetAnalyzer.h:547
MonitorElement * mNeutralFraction
Definition: JetAnalyzer.h:532
double ptMax_
Definition: JetAnalyzer.h:172
MonitorElement * mPhi
Definition: JetAnalyzer.h:209
MonitorElement * mMuonMultiplicity_profile
Definition: JetAnalyzer.h:548
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * mPhFrac_profile
Definition: JetAnalyzer.h:559
MonitorElement * mPt_profile
Definition: JetAnalyzer.h:319
MonitorElement * mEFrac
Definition: JetAnalyzer.h:221
double phiMin_
Definition: JetAnalyzer.h:167
double nPVlow_
Definition: JetAnalyzer.h:183
MonitorElement * mfHPD
Definition: JetAnalyzer.h:360
MonitorElement * mDijetAsymmetry
Definition: JetAnalyzer.h:314
MonitorElement * mJetEnergyCorr
Definition: JetAnalyzer.h:215
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * mChargedMultiplicity
Definition: JetAnalyzer.h:486
std::map< std::string, MonitorElement * > map_of_MEs
Definition: JetAnalyzer.h:646
MonitorElement * mPt
Definition: JetAnalyzer.h:204
double etaMin_
Definition: JetAnalyzer.h:163
MonitorElement * mJetEnergyCorrVSPt
Definition: JetAnalyzer.h:217
double etaMax_
Definition: JetAnalyzer.h:164
bool isMiniAODJet_
Definition: JetAnalyzer.h:650
MonitorElement * mHFrac_profile
Definition: JetAnalyzer.h:323
MonitorElement * mPhFrac
Definition: JetAnalyzer.h:554
MonitorElement * mPhi_profile
Definition: JetAnalyzer.h:321
MonitorElement * mConstituents
Definition: JetAnalyzer.h:219
MonitorElement * mJetEnergyCorrVSEta
Definition: JetAnalyzer.h:216
MonitorElement * mEta_profile
Definition: JetAnalyzer.h:320
double phiMax_
Definition: JetAnalyzer.h:168
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * mMuonMultiplicity
Definition: JetAnalyzer.h:488
MonitorElement * mHFEMFrac_profile
Definition: JetAnalyzer.h:560
MonitorElement * mHFrac
Definition: JetAnalyzer.h:220
MonitorElement * mHFHFrac_profile
Definition: JetAnalyzer.h:561
void JetAnalyzer::dqmBeginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
virtual

Initialize run-based parameters.

Reimplemented from DQMEDAnalyzer.

Definition at line 1279 of file JetAnalyzer.cc.

References edm::EventSetup::get(), L1GtTriggerMenu::gtTechnicalTriggerMap(), LogDebug, relval_steps::menu, and edm::ESHandle< class >::product().

1280 {
1281  //LogDebug("JetAnalyzer") << "beginRun, run " << run.id();
1282  //
1283 
1284  if ( highPtJetEventFlag_->on() ) highPtJetEventFlag_->initRun( iRun, iSetup );
1285  if ( lowPtJetEventFlag_ ->on() ) lowPtJetEventFlag_ ->initRun( iRun, iSetup );
1286 
1287  if (highPtJetEventFlag_->on() && highPtJetEventFlag_->expressionsFromDB(highPtJetEventFlag_->hltDBKey(), iSetup)[0] != "CONFIG_ERROR")
1289  if (lowPtJetEventFlag_->on() && lowPtJetEventFlag_->expressionsFromDB(lowPtJetEventFlag_->hltDBKey(), iSetup)[0] != "CONFIG_ERROR")
1291 // if (!jetCorrectionService_.empty()){
1292 // energycorrected=true;
1293 // }
1294  //--- htlConfig_
1295  //processname_="HLT";
1296  bool changed(true);
1297  hltInitialized_ = hltConfig_.init(iRun,iSetup,processname_,changed);
1298  if (!hltInitialized_) {
1299  //if (!hltConfig_.init(iRun,iSetup,processname_,changed)) {
1300  processname_ = "FU";
1301  hltInitialized_ = hltConfig_.init(iRun,iSetup,processname_,changed);
1302  if(!hltInitialized_){
1303  //if (!hltConfig_.init(iRun,iSetup,processname_,changed)){
1304  LogDebug("JetAnalyzer") << "HLTConfigProvider failed to initialize.";
1305  }
1306  }
1307 
1309  iSetup.get<L1GtTriggerMenuRcd>().get(menuRcd) ;
1310  const L1GtTriggerMenu* menu = menuRcd.product();
1311  for (CItAlgo techTrig = menu->gtTechnicalTriggerMap().begin(); techTrig != menu->gtTechnicalTriggerMap().end(); ++techTrig) {
1312  if ((techTrig->second).algoName() == m_l1algoname_) {
1313  m_bitAlgTechTrig_=(techTrig->second).algoBitNumber();
1314  break;
1315  }
1316  }
1317 
1318 }
#define LogDebug(id)
std::vector< std::string > lowPtJetExpr_
Definition: JetAnalyzer.h:340
int m_bitAlgTechTrig_
Definition: JetAnalyzer.h:198
std::string m_l1algoname_
Definition: JetAnalyzer.h:197
HLTConfigProvider hltConfig_
Definition: JetAnalyzer.h:329
bool hltInitialized_
Definition: JetAnalyzer.h:326
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:330
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
const T & get() const
Definition: EventSetup.h:55
GenericTriggerEventFlag * highPtJetEventFlag_
Definition: JetAnalyzer.h:336
T const * product() const
Definition: ESHandle.h:86
GenericTriggerEventFlag * lowPtJetEventFlag_
Definition: JetAnalyzer.h:337
std::vector< std::string > highPtJetExpr_
Definition: JetAnalyzer.h:339
const AlgorithmMap & gtTechnicalTriggerMap() const
get / set the technical trigger map
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
void JetAnalyzer::endRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
virtual

Finish up a run.

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 1321 of file JetAnalyzer.cc.

1322 {
1323 }
static bool JetAnalyzer::jetSortingRule ( reco::Jet  x,
reco::Jet  y 
)
inlinestaticprivate

Definition at line 98 of file JetAnalyzer.h.

References reco::LeafCandidate::pt().

98 {return x.pt() > y.pt();}
virtual double pt() const
transverse momentum

Member Data Documentation

double JetAnalyzer::asymmetryThirdJetCut_
private

Definition at line 192 of file JetAnalyzer.h.

double JetAnalyzer::balanceThirdJetCut_
private

Definition at line 193 of file JetAnalyzer.h.

bool JetAnalyzer::bypassAllPVChecks_
private

Definition at line 327 of file JetAnalyzer.h.

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

Definition at line 111 of file JetAnalyzer.h.

edm::ParameterSet JetAnalyzer::cleaningParameters_
private

Definition at line 131 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::cleanupME
private

Definition at line 333 of file JetAnalyzer.h.

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

Definition at line 115 of file JetAnalyzer.h.

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

Definition at line 116 of file JetAnalyzer.h.

JetMETDQMDCSFilter* JetAnalyzer::DCSFilterForDCSMonitoring_
private

Definition at line 564 of file JetAnalyzer.h.

JetMETDQMDCSFilter* JetAnalyzer::DCSFilterForJetMonitoring_
private

Definition at line 563 of file JetAnalyzer.h.

std::string JetAnalyzer::DirName
private

Definition at line 154 of file JetAnalyzer.h.

int JetAnalyzer::eBin_
private

Definition at line 174 of file JetAnalyzer.h.

double JetAnalyzer::eMax_
private

Definition at line 176 of file JetAnalyzer.h.

double JetAnalyzer::eMin_
private

Definition at line 175 of file JetAnalyzer.h.

int JetAnalyzer::etaBin_
private

Definition at line 162 of file JetAnalyzer.h.

double JetAnalyzer::etaMax_
private

Definition at line 164 of file JetAnalyzer.h.

double JetAnalyzer::etaMin_
private

Definition at line 163 of file JetAnalyzer.h.

bool JetAnalyzer::fill_CHS_histos
private

Definition at line 654 of file JetAnalyzer.h.

bool JetAnalyzer::fill_jet_high_level_histo
private

Definition at line 652 of file JetAnalyzer.h.

int JetAnalyzer::fillJIDPassFrac_
private

Definition at line 196 of file JetAnalyzer.h.

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

Definition at line 152 of file JetAnalyzer.h.

edm::InputTag JetAnalyzer::gtLabel_
private

Definition at line 133 of file JetAnalyzer.h.

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

Definition at line 110 of file JetAnalyzer.h.

GenericTriggerEventFlag* JetAnalyzer::highPtJetEventFlag_
private

Definition at line 336 of file JetAnalyzer.h.

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

Definition at line 339 of file JetAnalyzer.h.

HLTConfigProvider JetAnalyzer::hltConfig_
private

Definition at line 329 of file JetAnalyzer.h.

bool JetAnalyzer::hltInitialized_
private

Definition at line 326 of file JetAnalyzer.h.

edm::InputTag JetAnalyzer::inputJetIDValueMap
private

Definition at line 127 of file JetAnalyzer.h.

bool JetAnalyzer::isCaloJet_
private

Definition at line 648 of file JetAnalyzer.h.

bool JetAnalyzer::isMiniAODJet_
private

Definition at line 650 of file JetAnalyzer.h.

bool JetAnalyzer::isPFJet_
private

Definition at line 649 of file JetAnalyzer.h.

bool JetAnalyzer::jetCleaningFlag_
private

Definition at line 342 of file JetAnalyzer.h.

edm::InputTag JetAnalyzer::jetCorrectorTag_
private

Definition at line 138 of file JetAnalyzer.h.

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

Definition at line 139 of file JetAnalyzer.h.

int JetAnalyzer::jetHiPass_
private

Definition at line 188 of file JetAnalyzer.h.

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

Definition at line 128 of file JetAnalyzer.h.

JetIDSelectionFunctor JetAnalyzer::jetIDFunctor
private

Definition at line 145 of file JetAnalyzer.h.

JetIDSelectionFunctor::Quality_t JetAnalyzer::jetidquality
private

Definition at line 143 of file JetAnalyzer.h.

std::string JetAnalyzer::JetIDQuality_
private

Definition at line 141 of file JetAnalyzer.h.

JetIDSelectionFunctor::Version_t JetAnalyzer::jetidversion
private

Definition at line 144 of file JetAnalyzer.h.

std::string JetAnalyzer::JetIDVersion_
private

Definition at line 142 of file JetAnalyzer.h.

int JetAnalyzer::jetLoPass_
private

Definition at line 187 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::jetME
private

Definition at line 201 of file JetAnalyzer.h.

std::string JetAnalyzer::jetType_
private

Definition at line 106 of file JetAnalyzer.h.

int JetAnalyzer::leadJetFlag_
private

Definition at line 189 of file JetAnalyzer.h.

GenericTriggerEventFlag* JetAnalyzer::lowPtJetEventFlag_
private

Definition at line 337 of file JetAnalyzer.h.

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

Definition at line 340 of file JetAnalyzer.h.

int JetAnalyzer::m_bitAlgTechTrig_
private

Definition at line 198 of file JetAnalyzer.h.

std::string JetAnalyzer::m_l1algoname_
private

Definition at line 197 of file JetAnalyzer.h.

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

Definition at line 646 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_highPt_Barrel
private

Definition at line 499 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_highPt_EndCap
private

Definition at line 512 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_highPt_Forward
private

Definition at line 525 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_lowPt_Barrel
private

Definition at line 491 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_lowPt_EndCap
private

Definition at line 504 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_lowPt_Forward
private

Definition at line 517 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_mediumPt_Barrel
private

Definition at line 495 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_mediumPt_EndCap
private

Definition at line 508 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mAxis2_mediumPt_Forward
private

Definition at line 521 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedEmEnergy
private

Definition at line 483 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedEmEnergy_profile
private

Definition at line 543 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedHadronEnergy
private

Definition at line 481 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedHadronEnergy_profile
private

Definition at line 541 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedMuEnergy
private

Definition at line 484 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedMuEnergy_profile
private

Definition at line 544 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedMultiplicity
private

Definition at line 486 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChargedMultiplicity_profile
private

Definition at line 546 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHEn_highPt_Barrel
private

Definition at line 385 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHEn_highPt_EndCap
private

Definition at line 439 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHEn_lowPt_Barrel
private

Definition at line 375 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHEn_lowPt_EndCap
private

Definition at line 429 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHEn_mediumPt_Barrel
private

Definition at line 380 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHEn_mediumPt_EndCap
private

Definition at line 434 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac
private

Definition at line 552 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_highPt_Barrel
private

Definition at line 372 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_highPt_EndCap
private

Definition at line 425 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_lowPt_Barrel
private

Definition at line 366 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_lowPt_EndCap
private

Definition at line 419 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_mediumPt_Barrel
private

Definition at line 369 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_mediumPt_EndCap
private

Definition at line 422 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFrac_profile
private

Definition at line 557 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFracVSeta_highPt
private

Definition at line 415 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFracVSeta_lowPt
private

Definition at line 409 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFracVSeta_mediumPt
private

Definition at line 412 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFracVSpT_Barrel
private

Definition at line 400 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCHFracVSpT_EndCap
private

Definition at line 403 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChMultiplicity_highPt_Barrel
private

Definition at line 396 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChMultiplicity_highPt_EndCap
private

Definition at line 460 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChMultiplicity_lowPt_Barrel
private

Definition at line 390 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChMultiplicity_lowPt_EndCap
private

Definition at line 454 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChMultiplicity_mediumPt_Barrel
private

Definition at line 393 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mChMultiplicity_mediumPt_EndCap
private

Definition at line 457 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents
private

Definition at line 219 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_Barrel
private

Definition at line 226 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_Barrel_Hi
private

Definition at line 245 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_EndCap
private

Definition at line 232 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_EndCap_Hi
private

Definition at line 250 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_Forward
private

Definition at line 238 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_Forward_Hi
private

Definition at line 255 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_profile
private

Definition at line 322 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mConstituents_uncor
private

Definition at line 213 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_Barrel
private

Definition at line 307 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_EndCap
private

Definition at line 308 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_highPt_Forward
private

Definition at line 309 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_Barrel
private

Definition at line 301 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_EndCap
private

Definition at line 302 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_lowPt_Forward
private

Definition at line 303 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_Barrel
private

Definition at line 304 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_EndCap
private

Definition at line 305 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mCutPUJIDDiscriminant_mediumPt_Forward
private

Definition at line 306 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mDijetAsymmetry
private

Definition at line 314 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mDijetBalance
private

Definition at line 313 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mDPhi
private

Definition at line 259 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm1Empty
private

Definition at line 588 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm1Filled
private

Definition at line 628 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm2BXm1Empty
private

Definition at line 568 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracBarrel_BXm2BXm1Filled
private

Definition at line 608 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm1Empty
private

Definition at line 592 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm1Filled
private

Definition at line 632 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm2BXm1Empty
private

Definition at line 572 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapMinus_BXm2BXm1Filled
private

Definition at line 612 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm1Empty
private

Definition at line 596 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm1Filled
private

Definition at line 636 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm2BXm1Empty
private

Definition at line 576 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meCHFracEndCapPlus_BXm2BXm1Filled
private

Definition at line 616 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEEffChargedFraction
private

Definition at line 536 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEEffNeutralFraction
private

Definition at line 535 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meEta_BXm1Empty
private

Definition at line 604 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meEta_BXm1Filled
private

Definition at line 644 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meEta_BXm2BXm1Empty
private

Definition at line 584 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meEta_BXm2BXm1Filled
private

Definition at line 624 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEFrac
private

Definition at line 221 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEFrac_Barrel
private

Definition at line 228 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEFrac_EndCap
private

Definition at line 234 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEFrac_Forward
private

Definition at line 240 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEFrac_profile
private

Definition at line 324 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm1Empty
private

Definition at line 599 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm1Filled
private

Definition at line 639 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm2BXm1Empty
private

Definition at line 579 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracMinus_BXm2BXm1Filled
private

Definition at line 619 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm1Empty
private

Definition at line 602 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm1Filled
private

Definition at line 642 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm2BXm1Empty
private

Definition at line 582 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFEMFracPlus_BXm2BXm1Filled
private

Definition at line 622 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm1Empty
private

Definition at line 598 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm1Filled
private

Definition at line 638 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm2BXm1Empty
private

Definition at line 578 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracMinus_BXm2BXm1Filled
private

Definition at line 618 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm1Empty
private

Definition at line 601 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm1Filled
private

Definition at line 641 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm2BXm1Empty
private

Definition at line 581 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meHFHFracPlus_BXm2BXm1Filled
private

Definition at line 621 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mElEn_highPt_Barrel
private

Definition at line 388 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mElEn_highPt_EndCap
private

Definition at line 442 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mElEn_lowPt_Barrel
private

Definition at line 378 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mElEn_lowPt_EndCap
private

Definition at line 432 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mElEn_mediumPt_Barrel
private

Definition at line 383 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mElEn_mediumPt_EndCap
private

Definition at line 437 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEmEnergyInEB
private

Definition at line 356 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEmEnergyInEE
private

Definition at line 357 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEmEnergyInHF
private

Definition at line 358 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEMF
private

Definition at line 363 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm1Empty
private

Definition at line 587 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm1Filled
private

Definition at line 627 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm2BXm1Empty
private

Definition at line 567 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracBarrel_BXm2BXm1Filled
private

Definition at line 607 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm1Empty
private

Definition at line 591 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm1Filled
private

Definition at line 631 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm2BXm1Empty
private

Definition at line 571 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapMinus_BXm2BXm1Filled
private

Definition at line 611 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm1Empty
private

Definition at line 595 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm1Filled
private

Definition at line 635 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm2BXm1Empty
private

Definition at line 575 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::meNHFracEndCapPlus_BXm2BXm1Filled
private

Definition at line 615 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm1Empty
private

Definition at line 586 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm1Filled
private

Definition at line 626 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm2BXm1Empty
private

Definition at line 566 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracBarrel_BXm2BXm1Filled
private

Definition at line 606 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm1Empty
private

Definition at line 590 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm1Filled
private

Definition at line 630 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm2BXm1Empty
private

Definition at line 570 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapMinus_BXm2BXm1Filled
private

Definition at line 610 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm1Empty
private

Definition at line 594 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm1Filled
private

Definition at line 634 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm2BXm1Empty
private

Definition at line 574 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePhFracEndCapPlus_BXm2BXm1Filled
private

Definition at line 614 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtBarrel_BXm1Empty
private

Definition at line 589 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtBarrel_BXm1Filled
private

Definition at line 629 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtBarrel_BXm2BXm1Empty
private

Definition at line 569 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtBarrel_BXm2BXm1Filled
private

Definition at line 609 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm1Empty
private

Definition at line 593 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm1Filled
private

Definition at line 633 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm2BXm1Empty
private

Definition at line 573 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapMinus_BXm2BXm1Filled
private

Definition at line 613 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm1Empty
private

Definition at line 597 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm1Filled
private

Definition at line 637 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm2BXm1Empty
private

Definition at line 577 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtEndCapPlus_BXm2BXm1Filled
private

Definition at line 617 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm1Empty
private

Definition at line 600 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm1Filled
private

Definition at line 640 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm2BXm1Empty
private

Definition at line 580 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardMinus_BXm2BXm1Filled
private

Definition at line 620 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm1Empty
private

Definition at line 603 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm1Filled
private

Definition at line 643 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm2BXm1Empty
private

Definition at line 583 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mePtForwardPlus_BXm2BXm1Filled
private

Definition at line 623 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEResChargedFraction
private

Definition at line 538 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEResNeutralFraction
private

Definition at line 537 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEta
private

Definition at line 208 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEta_Hi
private

Definition at line 270 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEta_profile
private

Definition at line 320 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEta_uncor
private

Definition at line 211 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mEtaFirst
private

Definition at line 262 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mfHPD
private

Definition at line 360 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mfRBX
private

Definition at line 361 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHadEnergyInHB
private

Definition at line 353 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHadEnergyInHE
private

Definition at line 355 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHadEnergyInHF
private

Definition at line 354 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHadEnergyInHO
private

Definition at line 352 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEEn_highPt_Forward
private

Definition at line 475 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEEn_lowPt_Forward
private

Definition at line 471 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEEn_mediumPt_Forward
private

Definition at line 473 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEFrac_highPt_Forward
private

Definition at line 469 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEFrac_lowPt_Forward
private

Definition at line 465 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEFrac_mediumPt_Forward
private

Definition at line 467 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEFracVSpT_Forward
private

Definition at line 407 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEMFrac
private

Definition at line 555 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFEMFrac_profile
private

Definition at line 560 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHEn_highPt_Forward
private

Definition at line 476 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHEn_lowPt_Forward
private

Definition at line 472 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHEn_mediumPt_Forward
private

Definition at line 474 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHFrac
private

Definition at line 556 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHFrac_highPt_Forward
private

Definition at line 470 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHFrac_lowPt_Forward
private

Definition at line 466 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHFrac_mediumPt_Forward
private

Definition at line 468 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHFrac_profile
private

Definition at line 561 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFHFracVSpT_Forward
private

Definition at line 406 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac
private

Definition at line 220 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_Barrel
private

Definition at line 227 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_Barrel_Hi
private

Definition at line 246 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_EndCap
private

Definition at line 233 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_EndCap_Hi
private

Definition at line 251 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_Forward
private

Definition at line 239 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_Forward_Hi
private

Definition at line 256 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mHFrac_profile
private

Definition at line 323 of file JetAnalyzer.h.

edm::InputTag JetAnalyzer::mInputCollection_
private

Definition at line 101 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mJetEnergyCorr
private

Definition at line 215 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mJetEnergyCorrVSEta
private

Definition at line 216 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mJetEnergyCorrVSPt
private

Definition at line 217 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseCutPUJIDPassFractionVSeta
private

Definition at line 295 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseCutPUJIDPassFractionVSpt
private

Definition at line 296 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSeta
private

Definition at line 274 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSpt
private

Definition at line 275 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseJIDPassFractionVSptNoHF
private

Definition at line 276 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseMVAPUJIDPassFractionVSeta
private

Definition at line 279 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mLooseMVAPUJIDPassFractionVSpt
private

Definition at line 280 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_highPt_Barrel
private

Definition at line 450 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_highPt_EndCap
private

Definition at line 451 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_highPt_Forward
private

Definition at line 452 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_lowPt_Barrel
private

Definition at line 444 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_lowPt_EndCap
private

Definition at line 445 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_lowPt_Forward
private

Definition at line 446 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_mediumPt_Barrel
private

Definition at line 447 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_mediumPt_EndCap
private

Definition at line 448 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMass_mediumPt_Forward
private

Definition at line 449 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMaxEInEmTowers
private

Definition at line 350 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMaxEInHadTowers
private

Definition at line 351 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMediumCutPUJIDPassFractionVSeta
private

Definition at line 297 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMediumCutPUJIDPassFractionVSpt
private

Definition at line 298 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMediumMVAPUJIDPassFractionVSeta
private

Definition at line 281 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMediumMVAPUJIDPassFractionVSpt
private

Definition at line 282 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuEn_highPt_Barrel
private

Definition at line 389 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuEn_highPt_EndCap
private

Definition at line 443 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuEn_lowPt_Barrel
private

Definition at line 379 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuEn_lowPt_EndCap
private

Definition at line 433 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuEn_mediumPt_Barrel
private

Definition at line 384 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuEn_mediumPt_EndCap
private

Definition at line 438 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_Barrel
private

Definition at line 501 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_EndCap
private

Definition at line 514 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_highPt_Forward
private

Definition at line 527 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_Barrel
private

Definition at line 493 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_EndCap
private

Definition at line 506 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_lowPt_Forward
private

Definition at line 519 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_Barrel
private

Definition at line 497 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_EndCap
private

Definition at line 510 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMultiplicityQG_mediumPt_Forward
private

Definition at line 523 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuMultiplicity_highPt_Barrel
private

Definition at line 398 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuMultiplicity_highPt_EndCap
private

Definition at line 462 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuMultiplicity_lowPt_Barrel
private

Definition at line 392 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuMultiplicity_lowPt_EndCap
private

Definition at line 456 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuMultiplicity_mediumPt_Barrel
private

Definition at line 395 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuMultiplicity_mediumPt_EndCap
private

Definition at line 459 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuonMultiplicity
private

Definition at line 488 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMuonMultiplicity_profile
private

Definition at line 548 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_Barrel
private

Definition at line 291 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_EndCap
private

Definition at line 292 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_highPt_Forward
private

Definition at line 293 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_Barrel
private

Definition at line 285 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_EndCap
private

Definition at line 286 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_lowPt_Forward
private

Definition at line 287 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_Barrel
private

Definition at line 288 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_EndCap
private

Definition at line 289 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mMVAPUJIDDiscriminant_mediumPt_Forward
private

Definition at line 290 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mN90Hits
private

Definition at line 359 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_Barrel
private

Definition at line 397 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_EndCap
private

Definition at line 461 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_highPt_Forward
private

Definition at line 479 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_Barrel
private

Definition at line 391 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_EndCap
private

Definition at line 455 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_lowPt_Forward
private

Definition at line 477 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_Barrel
private

Definition at line 394 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_EndCap
private

Definition at line 458 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutMultiplicity_mediumPt_Forward
private

Definition at line 478 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralEmEnergy
private

Definition at line 485 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralEmEnergy_profile
private

Definition at line 545 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralFraction
private

Definition at line 532 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralFraction2
private

Definition at line 533 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralHadronEnergy
private

Definition at line 482 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralHadronEnergy_profile
private

Definition at line 542 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralMultiplicity
private

Definition at line 487 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNeutralMultiplicity_profile
private

Definition at line 547 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHEn_highPt_Barrel
private

Definition at line 386 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHEn_highPt_EndCap
private

Definition at line 440 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHEn_lowPt_Barrel
private

Definition at line 376 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHEn_lowPt_EndCap
private

Definition at line 430 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHEn_mediumPt_Barrel
private

Definition at line 381 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHEn_mediumPt_EndCap
private

Definition at line 435 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac
private

Definition at line 553 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_highPt_Barrel
private

Definition at line 373 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_highPt_EndCap
private

Definition at line 426 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_lowPt_Barrel
private

Definition at line 367 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_lowPt_EndCap
private

Definition at line 420 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_mediumPt_Barrel
private

Definition at line 370 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_mediumPt_EndCap
private

Definition at line 423 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFrac_profile
private

Definition at line 558 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFracVSeta_highPt
private

Definition at line 416 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFracVSeta_lowPt
private

Definition at line 410 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFracVSeta_mediumPt
private

Definition at line 413 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFracVSpT_Barrel
private

Definition at line 401 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNHFracVSpT_EndCap
private

Definition at line 404 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNJets
private

Definition at line 258 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mNJets_profile
private

Definition at line 318 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhEn_highPt_Barrel
private

Definition at line 387 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhEn_highPt_EndCap
private

Definition at line 441 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhEn_lowPt_Barrel
private

Definition at line 377 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhEn_lowPt_EndCap
private

Definition at line 431 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhEn_mediumPt_Barrel
private

Definition at line 382 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhEn_mediumPt_EndCap
private

Definition at line 436 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac
private

Definition at line 554 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_highPt_Barrel
private

Definition at line 374 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_highPt_EndCap
private

Definition at line 427 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_lowPt_Barrel
private

Definition at line 368 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_lowPt_EndCap
private

Definition at line 421 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_mediumPt_Barrel
private

Definition at line 371 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_mediumPt_EndCap
private

Definition at line 424 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFrac_profile
private

Definition at line 559 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFracVSeta_highPt
private

Definition at line 417 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFracVSeta_lowPt
private

Definition at line 411 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFracVSeta_mediumPt
private

Definition at line 414 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFracVSpT_Barrel
private

Definition at line 402 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhFracVSpT_EndCap
private

Definition at line 405 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi
private

Definition at line 209 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_Barrel
private

Definition at line 225 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_Barrel_Hi
private

Definition at line 244 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_EndCap
private

Definition at line 231 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_EndCap_Hi
private

Definition at line 249 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_Forward
private

Definition at line 237 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_Forward_Hi
private

Definition at line 254 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_Hi
private

Definition at line 271 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_Lo
private

Definition at line 267 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_profile
private

Definition at line 321 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhi_uncor
private

Definition at line 212 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhiFirst
private

Definition at line 263 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPhiVSEta
private

Definition at line 222 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt
private

Definition at line 204 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_1
private

Definition at line 205 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_2
private

Definition at line 206 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_3
private

Definition at line 207 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_Barrel
private

Definition at line 224 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_Barrel_Hi
private

Definition at line 243 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_EndCap
private

Definition at line 230 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_EndCap_Hi
private

Definition at line 248 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_Forward
private

Definition at line 236 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_Forward_Hi
private

Definition at line 253 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_Hi
private

Definition at line 272 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_Lo
private

Definition at line 268 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_profile
private

Definition at line 319 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPt_uncor
private

Definition at line 210 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_highPt_Barrel
private

Definition at line 500 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_highPt_EndCap
private

Definition at line 513 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_highPt_Forward
private

Definition at line 526 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_lowPt_Barrel
private

Definition at line 492 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_lowPt_EndCap
private

Definition at line 505 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_lowPt_Forward
private

Definition at line 518 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_mediumPt_Barrel
private

Definition at line 496 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_mediumPt_EndCap
private

Definition at line 509 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mpTD_mediumPt_Forward
private

Definition at line 522 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mPtFirst
private

Definition at line 264 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_Barrel
private

Definition at line 502 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_EndCap
private

Definition at line 515 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_highPt_Forward
private

Definition at line 528 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_Barrel
private

Definition at line 494 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_EndCap
private

Definition at line 507 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_lowPt_Forward
private

Definition at line 520 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_Barrel
private

Definition at line 498 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_EndCap
private

Definition at line 511 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mqgLikelihood_mediumPt_Forward
private

Definition at line 524 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mresEMF
private

Definition at line 362 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mTightCutPUJIDPassFractionVSeta
private

Definition at line 299 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mTightCutPUJIDPassFractionVSpt
private

Definition at line 300 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mTightMVAPUJIDPassFractionVSeta
private

Definition at line 283 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::mTightMVAPUJIDPassFractionVSpt
private

Definition at line 284 of file JetAnalyzer.h.

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

Definition at line 114 of file JetAnalyzer.h.

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

Definition at line 117 of file JetAnalyzer.h.

int JetAnalyzer::nbinsPV_
private

Definition at line 182 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::nEEff
private

Definition at line 539 of file JetAnalyzer.h.

double JetAnalyzer::nPVhigh_
private

Definition at line 184 of file JetAnalyzer.h.

double JetAnalyzer::nPVlow_
private

Definition at line 183 of file JetAnalyzer.h.

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

Definition at line 113 of file JetAnalyzer.h.

int JetAnalyzer::pBin_
private

Definition at line 178 of file JetAnalyzer.h.

PFJetIDSelectionFunctor JetAnalyzer::pfjetIDFunctor
private

Definition at line 150 of file JetAnalyzer.h.

PFJetIDSelectionFunctor::Quality_t JetAnalyzer::pfjetidquality
private

Definition at line 147 of file JetAnalyzer.h.

PFJetIDSelectionFunctor::Version_t JetAnalyzer::pfjetidversion
private

Definition at line 148 of file JetAnalyzer.h.

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

Definition at line 112 of file JetAnalyzer.h.

int JetAnalyzer::phiBin_
private

Definition at line 166 of file JetAnalyzer.h.

double JetAnalyzer::phiMax_
private

Definition at line 168 of file JetAnalyzer.h.

double JetAnalyzer::phiMin_
private

Definition at line 167 of file JetAnalyzer.h.

double JetAnalyzer::pMax_
private

Definition at line 180 of file JetAnalyzer.h.

double JetAnalyzer::pMin_
private

Definition at line 179 of file JetAnalyzer.h.

std::string JetAnalyzer::processname_
private

Definition at line 330 of file JetAnalyzer.h.

int JetAnalyzer::ptBin_
private

Definition at line 170 of file JetAnalyzer.h.

double JetAnalyzer::ptMax_
private

Definition at line 172 of file JetAnalyzer.h.

double JetAnalyzer::ptMin_
private

Definition at line 171 of file JetAnalyzer.h.

double JetAnalyzer::ptThreshold_
private

Definition at line 190 of file JetAnalyzer.h.

double JetAnalyzer::ptThresholdUnc_
private

Definition at line 191 of file JetAnalyzer.h.

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

Definition at line 122 of file JetAnalyzer.h.

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

Definition at line 120 of file JetAnalyzer.h.

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

Definition at line 119 of file JetAnalyzer.h.

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

Definition at line 121 of file JetAnalyzer.h.

bool JetAnalyzer::runcosmics_
private

Definition at line 344 of file JetAnalyzer.h.

edm::InputTag JetAnalyzer::theTriggerResultsLabel_
private

Definition at line 102 of file JetAnalyzer.h.

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

Definition at line 108 of file JetAnalyzer.h.

int JetAnalyzer::verbose_
private

Definition at line 160 of file JetAnalyzer.h.

edm::InputTag JetAnalyzer::vertexLabel_
private

Definition at line 132 of file JetAnalyzer.h.

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

Definition at line 109 of file JetAnalyzer.h.

MonitorElement* JetAnalyzer::verticesME
private

Definition at line 334 of file JetAnalyzer.h.