CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Attributes
TopMonitor Class Reference

#include <TopMonitor.h>

Inheritance diagram for TopMonitor:
DQMEDAnalyzer TriggerDQMBase edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Classes

struct  JetRefCompare
 
struct  PVcut
 

Public Member Functions

 TopMonitor (const edm::ParameterSet &)
 
 ~TopMonitor () override throw ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 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
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 
- Public Member Functions inherited from TriggerDQMBase
 TriggerDQMBase ()=default
 
virtual ~TriggerDQMBase ()=default
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (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)
 
- Static Public Member Functions inherited from TriggerDQMBase
static void fillHistoLSPSetDescription (edm::ParameterSetDescription &pset)
 
static void fillHistoPSetDescription (edm::ParameterSetDescription &pset)
 
static MEbinning getHistoLSPSet (const edm::ParameterSet &pset)
 
static MEbinning getHistoPSet (const edm::ParameterSet &pset)
 

Protected Types

typedef std::map< edm::RefToBase< reco::Jet >, float, JetRefCompareJetTagMap
 

Protected Member Functions

void analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- 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)
 
- Protected Member Functions inherited from TriggerDQMBase
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbinsX, double xmin, double xmax, double ymin, double ymax)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbinsX, double xmin, double xmax, unsigned nbinsY, double ymin, double ymax)
 
void bookME (DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const std::vector< double > &binningX, const std::vector< double > &binningY)
 
void setMETitle (ObjME &me, const std::string &titleX, const std::string &titleY)
 

Private Attributes

bool applyMETcut_ = false
 
std::vector< ObjMEbjetCSV_
 
std::vector< ObjMEbjetCSVHT_
 
double bJetDeltaEtaMax_
 
std::vector< ObjMEbjetEta_
 
std::vector< ObjMEbjetEta_variableBinning_
 
std::vector< ObjMEbjetEtaPhi_
 
double bJetMuDeltaRmax_
 
ObjME bjetMulti_
 
std::vector< ObjMEbjetPhi_
 
std::vector< ObjMEbjetPt_
 
std::vector< ObjMEbjetPt_variableBinning_
 
std::vector< ObjMEbjetPtEta_
 
StringCutObjectSelector< reco::Jet, true > bjetSelection_
 
ObjME bjetVsLS_
 
MEbinning csv_binning_
 
ObjME DeltaR_jet_Mu_
 
std::unique_ptr< GenericTriggerEventFlagden_genTriggerEventFlag_
 
MEbinning DR_binning_
 
ObjME ele1Eta_ele2Eta_
 
ObjME ele1Pt_ele2Pt_
 
std::vector< ObjMEeleEta_
 
ObjME eleEta_muEta_
 
std::vector< double > eleEta_variable_binning_
 
std::vector< double > eleEta_variable_binning_2D_
 
std::vector< ObjMEeleEta_variableBinning_
 
std::vector< ObjMEeleEtaPhi_
 
ObjME eleMulti_
 
std::vector< ObjMEelePhi_
 
std::vector< ObjMEelePt_
 
ObjME elePt_eventHT_
 
ObjME elePt_jetPt_
 
ObjME elePt_muPt_
 
std::vector< double > elePt_variable_binning_
 
std::vector< double > elePt_variable_binning_2D_
 
std::vector< ObjMEelePt_variableBinning_
 
std::vector< ObjMEelePtEta_
 
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
 
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
 
ObjME eleVsLS_
 
bool enablePhotonPlot_
 
MEbinning eta_binning_
 
ObjME eventHT_
 
ObjME eventHT_variableBinning_
 
ObjME eventMHT_
 
ObjME eventMHT_variableBinning_
 
std::string folderName_
 
std::string histoSuffix_
 
MEbinning HT_binning_
 
std::vector< double > HT_variable_binning_
 
std::vector< double > HT_variable_binning_2D_
 
double HTcut_
 
StringCutObjectSelector< reco::PFJet, true > HTdefinition_
 
ObjME htVsLS_
 
ObjME invMass_mumu_
 
MEbinning invMass_mumu_binning_
 
std::vector< double > invMass_mumu_variable_binning_
 
ObjME invMass_mumu_variableBinning_
 
double invMassLowercut_
 
double invMassUppercut_
 
std::vector< ObjMEjetEta_
 
std::vector< double > jetEta_variable_binning_
 
std::vector< double > jetEta_variable_binning_2D_
 
std::vector< ObjMEjetEta_variableBinning_
 
std::vector< ObjMEjetEtaPhi_
 
ObjME jetEtaPhi_HEP17_
 
ObjME jetMulti_
 
std::vector< ObjMEjetPhi_
 
std::vector< ObjMEjetPt_
 
std::vector< double > jetPt_variable_binning_
 
std::vector< double > jetPt_variable_binning_2D_
 
std::vector< ObjMEjetPt_variableBinning_
 
std::vector< ObjMEjetPtEta_
 
StringCutObjectSelector< reco::PFJet, true > jetSelection_
 
edm::EDGetTokenT< reco::JetTagCollectionjetTagToken_
 
edm::EDGetTokenT< reco::PFJetCollectionjetToken_
 
ObjME jetVsLS_
 
PVcut lepPVcuts_
 
double leptJetDeltaRmin_
 
MEbinning ls_binning_
 
MEbinning met_binning_
 
std::vector< double > met_variable_binning_
 
ObjME metME_
 
ObjME metME_variableBinning_
 
ObjME metPhiME_
 
StringCutObjectSelector< reco::MET, true > metSelection_
 
edm::EDGetTokenT< reco::PFMETCollectionmetToken_
 
ObjME metVsLS_
 
MEbinning MHT_binning_
 
std::vector< double > MHT_variable_binning_
 
double MHTcut_
 
StringCutObjectSelector< reco::PFJet, true > MHTdefinition_
 
double mll
 
ObjME mu1Eta_mu2Eta_
 
ObjME mu1Pt_mu2Pt_
 
std::vector< ObjMEmuEta_
 
ObjME muEta_phoEta_
 
std::vector< double > muEta_variable_binning_
 
std::vector< double > muEta_variable_binning_2D_
 
std::vector< ObjMEmuEta_variableBinning_
 
std::vector< ObjMEmuEtaPhi_
 
ObjME muMulti_
 
StringCutObjectSelector< reco::Muon, true > muoSelection_
 
edm::EDGetTokenT< reco::MuonCollectionmuoToken_
 
std::vector< ObjMEmuPhi_
 
std::vector< ObjMEmuPt_
 
ObjME muPt_phoPt_
 
std::vector< double > muPt_variable_binning_
 
std::vector< double > muPt_variable_binning_2D_
 
std::vector< ObjMEmuPt_variableBinning_
 
std::vector< ObjMEmuPtEta_
 
ObjME muVsLS_
 
unsigned int nbjets_
 
unsigned int nelectrons_
 
unsigned int njets_
 
unsigned int nmuons_
 
unsigned int nphotons_
 
std::unique_ptr< GenericTriggerEventFlagnum_genTriggerEventFlag_
 
bool opsign_
 
MEbinning phi_binning_
 
std::vector< double > phi_variable_binning_2D_
 
std::vector< ObjMEphoEta_
 
std::vector< double > phoEta_variable_binning_2D_
 
std::vector< ObjMEphoEtaPhi_
 
ObjME phoMulti_
 
std::vector< ObjMEphoPhi_
 
std::vector< ObjMEphoPt_
 
std::vector< double > phoPt_variable_binning_2D_
 
std::vector< ObjMEphoPtEta_
 
StringCutObjectSelector< reco::Photon, true > phoSelection_
 
edm::EDGetTokenT< reco::PhotonCollectionphoToken_
 
ObjME phoVsLS_
 
MEbinning pt_binning_
 
int sign
 
bool usePVcuts_
 
StringCutObjectSelector< reco::Vertex, true > vtxSelection_
 
edm::EDGetTokenT< reco::VertexCollectionvtxToken_
 
double workingpoint_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Detailed Description

Definition at line 53 of file TopMonitor.h.

Member Typedef Documentation

typedef std::map<edm::RefToBase<reco::Jet>, float, JetRefCompare> TopMonitor::JetTagMap
protected

Definition at line 72 of file TopMonitor.h.

Constructor & Destructor Documentation

TopMonitor::TopMonitor ( const edm::ParameterSet iConfig)

Definition at line 17 of file TopMonitor.cc.

References applyMETcut_, bjetCSV_, bjetCSVHT_, bjetEta_, bjetEta_variableBinning_, bjetEtaPhi_, bjetPhi_, bjetPt_, bjetPt_variableBinning_, bjetPtEta_, TopMonitor::PVcut::dxy, TopMonitor::PVcut::dz, eleEta_, eleEta_variableBinning_, eleEtaPhi_, elePhi_, elePt_, elePt_variableBinning_, elePtEta_, relativeConstraints::empty, edm::ParameterSet::getParameter(), jetEta_, jetEta_variableBinning_, jetEtaPhi_, jetPhi_, jetPt_, jetPt_variableBinning_, jetPtEta_, lepPVcuts_, muEta_, muEta_variableBinning_, muEtaPhi_, muPhi_, muPt_, muPt_variableBinning_, muPtEta_, nbjets_, nelectrons_, njets_, nmuons_, nphotons_, phoEta_, phoEtaPhi_, phoPhi_, phoPt_, phoPtEta_, MatrixUtil::remove(), and AlCaHLTBitMon_QueryRunRegistry::string.

17  :
18  folderName_ ( iConfig.getParameter<std::string>("FolderName") )
19  , metToken_ ( consumes<reco::PFMETCollection> (iConfig.getParameter<edm::InputTag>("met") ) )
20  , jetToken_ ( mayConsume<reco::PFJetCollection> (iConfig.getParameter<edm::InputTag>("jets") ) )
22  , muoToken_ ( mayConsume<reco::MuonCollection> (iConfig.getParameter<edm::InputTag>("muons") ) )
23  // Menglei
24  , phoToken_ ( mayConsume<reco::PhotonCollection> (iConfig.getParameter<edm::InputTag>("photons") ) )
25  // Marina
26  , jetTagToken_ ( mayConsume<reco::JetTagCollection> (iConfig.getParameter<edm::InputTag>("btagalgo") ))
27  //Suvankar
28  , vtxToken_ ( mayConsume<reco::VertexCollection> (iConfig.getParameter<edm::InputTag>("vertices") ) )
29  , met_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("metPSet") ) )
30  , ls_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("lsPSet") ) )
31  , phi_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("phiPSet") ) )
32  , pt_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("ptPSet") ) )
33  , eta_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("etaPSet") ) )
34  , HT_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("htPSet") ) )
35  , DR_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("DRPSet") ) )
36  // Marina
38  //george
40  , MHT_binning_ ( getHistoPSet (iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<edm::ParameterSet> ("MHTPSet") ) )
41 
42  , met_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("metBinning") )
43  , HT_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("HTBinning") )
44  , jetPt_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetPtBinning") )
45  , muPt_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muPtBinning") )
46  , elePt_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("elePtBinning") )
47  , jetEta_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetEtaBinning") )
48  , muEta_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muEtaBinning") )
49  , eleEta_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("eleEtaBinning") )
50 
51  //george
52  , invMass_mumu_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("invMassVariableBinning") )
53  , MHT_variable_binning_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("MHTVariableBinning") )
54  , HT_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("HTBinning2D") )
55  , jetPt_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetPtBinning2D") )
56  , muPt_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muPtBinning2D") )
57  , elePt_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("elePtBinning2D") )
58  , phoPt_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("phoPtBinning2D") )
59  , jetEta_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("jetEtaBinning2D") )
60  , muEta_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("muEtaBinning2D") )
61  , eleEta_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("eleEtaBinning2D") )
62  , phoEta_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("phoEtaBinning2D") )
63  , phi_variable_binning_2D_ ( iConfig.getParameter<edm::ParameterSet>("histoPSet").getParameter<std::vector<double> >("phiBinning2D") )
64  , num_genTriggerEventFlag_(new GenericTriggerEventFlag(iConfig.getParameter<edm::ParameterSet>("numGenericTriggerEventPSet"),consumesCollector(), *this))
65  , den_genTriggerEventFlag_(new GenericTriggerEventFlag(iConfig.getParameter<edm::ParameterSet>("denGenericTriggerEventPSet"),consumesCollector(), *this))
66  , metSelection_ ( iConfig.getParameter<std::string>("metSelection") )
67  , jetSelection_ ( iConfig.getParameter<std::string>("jetSelection") )
68  , eleSelection_ ( iConfig.getParameter<std::string>("eleSelection") )
69  , muoSelection_ ( iConfig.getParameter<std::string>("muoSelection") )
70  , phoSelection_ ( iConfig.getParameter<std::string>("phoSelection") )
71  , HTdefinition_ ( iConfig.getParameter<std::string>("HTdefinition") )
72  , vtxSelection_ ( iConfig.getParameter<std::string>("vertexSelection") )
73  , bjetSelection_( iConfig.getParameter<std::string>("bjetSelection"))
74  , njets_ ( iConfig.getParameter<unsigned int>("njets" ) )
75  , nelectrons_ ( iConfig.getParameter<unsigned int>("nelectrons" ) )
76  , nmuons_ ( iConfig.getParameter<unsigned int>("nmuons" ) )
77  , nphotons_ ( iConfig.getParameter<unsigned int>("nphotons" ) )
78  , leptJetDeltaRmin_ ( iConfig.getParameter<double>("leptJetDeltaRmin" ) )
79  , bJetMuDeltaRmax_ ( iConfig.getParameter<double>("bJetMuDeltaRmax" ) )
80  , bJetDeltaEtaMax_ ( iConfig.getParameter<double>("bJetDeltaEtaMax" ) )
81  , HTcut_ ( iConfig.getParameter<double>("HTcut" ) )
82  // Marina
83  , nbjets_ ( iConfig.getParameter<unsigned int>("nbjets"))
84  , workingpoint_(iConfig.getParameter<double>("workingpoint"))
85  //Suvankar
86  , usePVcuts_ ( iConfig.getParameter<bool>("applyleptonPVcuts") )
87  //george
88  , invMassUppercut_ (iConfig.getParameter<double>("invMassUppercut"))
89  , invMassLowercut_ (iConfig.getParameter<double>("invMassLowercut"))
90  , opsign_ (iConfig.getParameter<bool>("oppositeSignMuons"))
91  , MHTdefinition_ ( iConfig.getParameter<std::string>("MHTdefinition") )
92  , MHTcut_ ( iConfig.getParameter<double>("MHTcut" ) )
93  //Menglei
94  , enablePhotonPlot_ ( iConfig.getParameter<bool>("enablePhotonPlot") )
95 {
96 
97  std::string metcut_str = iConfig.getParameter<std::string>("metSelection");
98  metcut_str.erase(std::remove(metcut_str.begin(), metcut_str.end(), ' '), metcut_str.end());
99  if(metcut_str != "pt>0") applyMETcut_ = true;
100 
101  ObjME empty;
102 
103  muPhi_= std::vector<ObjME> (nmuons_,empty);
104  muEta_= std::vector<ObjME> (nmuons_,empty);
105  muPt_= std::vector<ObjME> (nmuons_,empty);
106  muEta_variableBinning_= std::vector<ObjME> (nmuons_,empty);
107  muPt_variableBinning_= std::vector<ObjME> (nmuons_,empty);
108  muPtEta_= std::vector<ObjME> (nmuons_,empty);
109  muEtaPhi_= std::vector<ObjME> (nmuons_,empty);
110 
111  elePhi_= std::vector<ObjME> (nelectrons_,empty);
112  eleEta_= std::vector<ObjME> (nelectrons_,empty);
113  elePt_= std::vector<ObjME> (nelectrons_,empty);
114  eleEta_variableBinning_= std::vector<ObjME> (nelectrons_,empty);
115  elePt_variableBinning_= std::vector<ObjME> (nelectrons_,empty);
116  elePtEta_= std::vector<ObjME> (nelectrons_,empty);
117  eleEtaPhi_= std::vector<ObjME> (nelectrons_,empty);
118 
119  jetPhi_= std::vector<ObjME> (njets_,empty);
120  jetEta_= std::vector<ObjME> (njets_,empty);
121  jetPt_= std::vector<ObjME> (njets_,empty);
122  jetEta_variableBinning_= std::vector<ObjME> (njets_,empty);
123  jetPt_variableBinning_= std::vector<ObjME> (njets_,empty);
124  jetPtEta_= std::vector<ObjME> (njets_,empty);
125  jetEtaPhi_= std::vector<ObjME> (njets_,empty);
126 
127  //Menglei Sun
128  phoPhi_ = std::vector<ObjME> (nphotons_,empty);
129  phoEta_ = std::vector<ObjME> (nphotons_,empty);
130  phoPt_ = std::vector<ObjME> (nphotons_,empty);
131  phoPtEta_ = std::vector<ObjME> (nphotons_,empty);
132  phoEtaPhi_ = std::vector<ObjME> (nphotons_,empty);
133 
134  // Marina
135  bjetPhi_= std::vector<ObjME> (nbjets_,empty);
136  bjetEta_= std::vector<ObjME> (nbjets_,empty);
137  bjetPt_= std::vector<ObjME> (nbjets_,empty);
138  bjetCSV_= std::vector<ObjME> (nbjets_,empty);
139  bjetEta_variableBinning_= std::vector<ObjME> (nbjets_,empty);
140  bjetPt_variableBinning_= std::vector<ObjME> (nbjets_,empty);
141  bjetPtEta_= std::vector<ObjME> (nbjets_,empty);
142  bjetEtaPhi_= std::vector<ObjME> (nbjets_,empty);
143  bjetCSVHT_= std::vector<ObjME> (nbjets_,empty);
144 
145  //Suvankar
146  lepPVcuts_.dxy = (iConfig.getParameter<edm::ParameterSet>("leptonPVcuts")).getParameter<double>("dxy");
147  lepPVcuts_.dz = (iConfig.getParameter<edm::ParameterSet>("leptonPVcuts")).getParameter<double>("dz");
148 }
StringCutObjectSelector< reco::Jet, true > bjetSelection_
Definition: TopMonitor.h:246
std::vector< double > elePt_variable_binning_2D_
Definition: TopMonitor.h:126
std::vector< ObjME > jetEta_variableBinning_
Definition: TopMonitor.h:213
T getParameter(std::string const &) const
std::vector< double > jetEta_variable_binning_
Definition: TopMonitor.h:116
StringCutObjectSelector< reco::PFJet, true > jetSelection_
Definition: TopMonitor.h:237
std::vector< ObjME > jetEtaPhi_
Definition: TopMonitor.h:220
std::vector< ObjME > bjetPtEta_
Definition: TopMonitor.h:229
double bJetMuDeltaRmax_
Definition: TopMonitor.h:253
std::vector< double > muEta_variable_binning_
Definition: TopMonitor.h:117
std::vector< ObjME > muPt_
Definition: TopMonitor.h:184
std::vector< ObjME > jetPtEta_
Definition: TopMonitor.h:219
MEbinning invMass_mumu_binning_
Definition: TopMonitor.h:107
std::vector< ObjME > bjetCSVHT_
Definition: TopMonitor.h:231
std::vector< ObjME > bjetPt_variableBinning_
Definition: TopMonitor.h:209
std::vector< ObjME > muEta_
Definition: TopMonitor.h:183
MEbinning HT_binning_
Definition: TopMonitor.h:102
std::vector< ObjME > elePt_variableBinning_
Definition: TopMonitor.h:206
std::vector< double > jetPt_variable_binning_
Definition: TopMonitor.h:113
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
Definition: TopMonitor.h:89
std::vector< ObjME > bjetCSV_
Definition: TopMonitor.h:203
std::vector< ObjME > phoEta_
Definition: TopMonitor.h:195
std::vector< ObjME > eleEtaPhi_
Definition: TopMonitor.h:222
std::vector< double > muPt_variable_binning_
Definition: TopMonitor.h:114
StringCutObjectSelector< reco::Vertex, true > vtxSelection_
Definition: TopMonitor.h:244
MEbinning met_binning_
Definition: TopMonitor.h:97
edm::EDGetTokenT< reco::PFMETCollection > metToken_
Definition: TopMonitor.h:81
double bJetDeltaEtaMax_
Definition: TopMonitor.h:254
std::string folderName_
Definition: TopMonitor.h:78
edm::EDGetTokenT< reco::MuonCollection > muoToken_
Definition: TopMonitor.h:84
PVcut lepPVcuts_
Definition: TopMonitor.h:261
std::vector< ObjME > jetPt_variableBinning_
Definition: TopMonitor.h:207
bool enablePhotonPlot_
Definition: TopMonitor.h:277
unsigned int nphotons_
Definition: TopMonitor.h:251
std::vector< ObjME > muPhi_
Definition: TopMonitor.h:182
std::vector< double > HT_variable_binning_
Definition: TopMonitor.h:112
edm::EDGetTokenT< reco::JetTagCollection > jetTagToken_
Definition: TopMonitor.h:87
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
std::vector< ObjME > muPt_variableBinning_
Definition: TopMonitor.h:205
unsigned int njets_
Definition: TopMonitor.h:248
std::vector< ObjME > bjetPt_
Definition: TopMonitor.h:202
StringCutObjectSelector< reco::PFJet, true > HTdefinition_
Definition: TopMonitor.h:241
std::vector< double > invMass_mumu_variable_binning_
Definition: TopMonitor.h:120
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
std::vector< double > MHT_variable_binning_
Definition: TopMonitor.h:121
bool usePVcuts_
Definition: TopMonitor.h:262
std::vector< ObjME > muEtaPhi_
Definition: TopMonitor.h:224
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
Definition: TopMonitor.h:83
std::vector< ObjME > jetEta_
Definition: TopMonitor.h:191
unsigned int nelectrons_
Definition: TopMonitor.h:249
std::vector< ObjME > phoEtaPhi_
Definition: TopMonitor.h:227
edm::EDGetTokenT< reco::PhotonCollection > phoToken_
Definition: TopMonitor.h:85
unsigned int nmuons_
Definition: TopMonitor.h:250
std::vector< double > met_variable_binning_
Definition: TopMonitor.h:111
std::vector< ObjME > jetPhi_
Definition: TopMonitor.h:190
std::vector< ObjME > eleEta_
Definition: TopMonitor.h:187
std::vector< ObjME > muPtEta_
Definition: TopMonitor.h:223
StringCutObjectSelector< reco::Muon, true > muoSelection_
Definition: TopMonitor.h:239
bool applyMETcut_
Definition: TopMonitor.h:264
std::vector< double > jetPt_variable_binning_2D_
Definition: TopMonitor.h:124
double MHTcut_
Definition: TopMonitor.h:271
std::vector< double > HT_variable_binning_2D_
Definition: TopMonitor.h:123
MEbinning MHT_binning_
Definition: TopMonitor.h:108
std::vector< double > phi_variable_binning_2D_
Definition: TopMonitor.h:132
std::vector< ObjME > jetPt_
Definition: TopMonitor.h:192
double HTcut_
Definition: TopMonitor.h:255
std::vector< ObjME > eleEta_variableBinning_
Definition: TopMonitor.h:212
std::vector< ObjME > elePhi_
Definition: TopMonitor.h:186
std::vector< double > jetEta_variable_binning_2D_
Definition: TopMonitor.h:128
std::vector< ObjME > bjetEta_variableBinning_
Definition: TopMonitor.h:215
std::vector< double > muPt_variable_binning_2D_
Definition: TopMonitor.h:125
StringCutObjectSelector< reco::MET, true > metSelection_
Definition: TopMonitor.h:236
StringCutObjectSelector< reco::PFJet, true > MHTdefinition_
Definition: TopMonitor.h:270
StringCutObjectSelector< reco::Photon, true > phoSelection_
Definition: TopMonitor.h:240
unsigned int nbjets_
Definition: TopMonitor.h:257
std::vector< ObjME > elePt_
Definition: TopMonitor.h:188
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
Definition: TopMonitor.h:238
std::vector< ObjME > bjetEtaPhi_
Definition: TopMonitor.h:230
std::vector< ObjME > phoPt_
Definition: TopMonitor.h:196
std::vector< double > elePt_variable_binning_
Definition: TopMonitor.h:115
def remove(d, key, TELL=False)
Definition: MatrixUtil.py:209
MEbinning csv_binning_
Definition: TopMonitor.h:105
double workingpoint_
Definition: TopMonitor.h:258
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: TopMonitor.h:234
double invMassUppercut_
Definition: TopMonitor.h:267
std::vector< ObjME > bjetEta_
Definition: TopMonitor.h:201
MEbinning DR_binning_
Definition: TopMonitor.h:103
std::vector< ObjME > phoPtEta_
Definition: TopMonitor.h:226
std::vector< ObjME > elePtEta_
Definition: TopMonitor.h:221
bool opsign_
Definition: TopMonitor.h:269
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
Definition: TopMonitor.h:82
MEbinning phi_binning_
Definition: TopMonitor.h:99
MEbinning eta_binning_
Definition: TopMonitor.h:101
std::vector< double > phoEta_variable_binning_2D_
Definition: TopMonitor.h:131
double leptJetDeltaRmin_
Definition: TopMonitor.h:252
std::vector< double > muEta_variable_binning_2D_
Definition: TopMonitor.h:129
MEbinning ls_binning_
Definition: TopMonitor.h:98
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
std::vector< double > eleEta_variable_binning_2D_
Definition: TopMonitor.h:130
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: TopMonitor.h:233
std::vector< ObjME > phoPhi_
Definition: TopMonitor.h:194
double invMassLowercut_
Definition: TopMonitor.h:268
MEbinning pt_binning_
Definition: TopMonitor.h:100
std::vector< double > phoPt_variable_binning_2D_
Definition: TopMonitor.h:127
std::vector< ObjME > muEta_variableBinning_
Definition: TopMonitor.h:211
std::vector< ObjME > bjetPhi_
Definition: TopMonitor.h:200
std::vector< double > eleEta_variable_binning_
Definition: TopMonitor.h:118
TopMonitor::~TopMonitor ( )
throw (
)
override

Definition at line 150 of file TopMonitor.cc.

References den_genTriggerEventFlag_, and num_genTriggerEventFlag_.

151 {
154 }
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: TopMonitor.h:234
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: TopMonitor.h:233

Member Function Documentation

void TopMonitor::analyze ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 535 of file TopMonitor.cc.

References funct::abs(), applyMETcut_, bjetCSV_, bjetCSVHT_, bJetDeltaEtaMax_, bjetEta_, bjetEta_variableBinning_, bjetEtaPhi_, bJetMuDeltaRmax_, bjetMulti_, bjetPhi_, bjetPt_, bjetPt_variableBinning_, bjetPtEta_, bjetSelection_, bjetVsLS_, TtFullHadKinFitProducer_cfi::bTags, spr::deltaEta, deltaR(), DeltaR_jet_Mu_, den_genTriggerEventFlag_, TriggerDQMBase::ObjME::denominator, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, TopMonitor::PVcut::dxy, TopMonitor::PVcut::dz, MillePedeFileConverter_cfg::e, ele1Eta_ele2Eta_, ele1Pt_ele2Pt_, genericTrackCleaner_cfi::electrons, eleEta_, eleEta_muEta_, eleEta_variableBinning_, eleEtaPhi_, eleMulti_, elePhi_, elePt_, elePt_eventHT_, elePt_jetPt_, elePt_muPt_, elePt_variableBinning_, elePtEta_, eleSelection_, eleToken_, eleVsLS_, enablePhotonPlot_, PVValHelper::eta, eventHT_, eventHT_variableBinning_, eventMHT_, eventMHT_variableBinning_, MonitorElement::Fill(), HcalObjRepresent::Fill(), plotBeamSpotDB::first, edm::Event::getByToken(), HTcut_, HTdefinition_, htVsLS_, mps_fire::i, edm::EventBase::id(), invMass_mumu_, invMass_mumu_variableBinning_, invMassLowercut_, invMassUppercut_, edm::HandleBase::isValid(), jetEta_, jetEta_variableBinning_, jetEtaPhi_, jetEtaPhi_HEP17_, jetMulti_, jetPhi_, jetPt_, jetPt_variableBinning_, jetPtEta_, fwrapper::jets, jetSelection_, jetTagToken_, jetToken_, jetVsLS_, lepPVcuts_, leptJetDeltaRmin_, eostools::ls(), edm::EventID::luminosityBlock(), funct::m, RazorAnalyzer::met, metME_, metME_variableBinning_, metPhiME_, metSelection_, metToken_, metVsLS_, MHTcut_, MHTdefinition_, mll, RPCpg::mu, mu1Eta_mu2Eta_, mu1Pt_mu2Pt_, muEta_, muEta_phoEta_, muEta_variableBinning_, muEtaPhi_, muMulti_, electronCleaner_cfi::muons, muoSelection_, muoToken_, muPhi_, muPt_, muPt_phoPt_, muPt_variableBinning_, muPtEta_, muVsLS_, nbjets_, nelectrons_, njets_, nmuons_, nphotons_, num_genTriggerEventFlag_, TriggerDQMBase::ObjME::numerator, opsign_, AlCaHLTBitMon_ParallelJobs::p, phi, reco::LeafCandidate::phi(), phoEta_, phoEtaPhi_, phoMulti_, phoPhi_, phoPt_, phoPtEta_, phoSelection_, phoToken_, jetCleaner_cfi::photons, phoVsLS_, reco::Vertex::position(), jetUpdater_cff::primaryVertices, edm::Handle< T >::product(), EnergyCorrector::pt, reco::LeafCandidate::pt(), MetAnalyzer::pv(), edm::second(), sign, edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >::size(), usePVcuts_, findQualityFiles::v, vtxSelection_, vtxToken_, and workingpoint_.

535  {
536  mll=-2;
537  sign=0;
538  // Filter out events if Trigger Filtering is requested
539  if (den_genTriggerEventFlag_->on() && ! den_genTriggerEventFlag_->accept( iEvent, iSetup) ) return;
540 
541  //Suvankar
543  iEvent.getByToken(vtxToken_, primaryVertices);
544  //Primary Vertex selection
545  const reco::Vertex* pv = nullptr;
546  for(auto const& v: *primaryVertices) {
547  if ( !vtxSelection_( v ) ) continue;
548  pv = &v;
549  break;
550  }
551  if(usePVcuts_ && pv == nullptr) return;
552 
554  iEvent.getByToken( metToken_, metHandle );
555  if (!metHandle.isValid() && applyMETcut_){
556  edm::LogWarning("TopMonitor") << "MET handle not valid \n";
557  return;
558  }
559 
560  float met = 0;
561  float phi = 0;
562 
563  if (applyMETcut_){
564  reco::PFMET pfmet = metHandle->front();
565  if ( ! metSelection_( pfmet ) ) return;
566  met = pfmet.pt();
567  phi = pfmet.phi();
568  }
569 
570 
572  iEvent.getByToken( eleToken_, eleHandle );
573  if (!eleHandle.isValid() && nelectrons_>0){
574  edm::LogWarning("TopMonitor") << "Electron handle not valid \n";
575  return;
576  }
577  std::vector<reco::GsfElectron> electrons;
578  if (nelectrons_>0){
579  if ( eleHandle->size() < nelectrons_ ) return;
580  for ( auto const & e : *eleHandle ) {
581  if (eleSelection_(e)) electrons.push_back(e);
582  //Suvankar
583  if ( usePVcuts_ &&
584  (std::fabs(e.gsfTrack()->dxy(pv->position())) >= lepPVcuts_.dxy || std::fabs(e.gsfTrack()->dz(pv->position())) >= lepPVcuts_.dz) ) continue;
585  }
586  if ( electrons.size() < nelectrons_ ) return;
587  }
589  iEvent.getByToken( muoToken_, muoHandle );
590  if (!muoHandle.isValid() && nmuons_>0){
591  edm::LogWarning("TopMonitor") << "Muon handle not valid \n";
592  return;
593  }
594  if ( muoHandle->size() < nmuons_ ) return;
595  std::vector<reco::Muon> muons;
596  if (nmuons_>0){
597  for ( auto const & m : *muoHandle ) {
598  if ( muoSelection_( m ) ) muons.push_back(m);
599  //Suvankar
600  if ( usePVcuts_ &&
601  (std::fabs(m.muonBestTrack()->dxy(pv->position())) >= lepPVcuts_.dxy || std::fabs(m.muonBestTrack()->dz(pv->position())) >= lepPVcuts_.dz) ) continue;
602  }
603  if ( muons.size() < nmuons_ ) return;
604  }
605  //george
606 
607  if (nmuons_>1){
608  mll = (muons[0].p4() + muons[1].p4()).M();
609  sign = muons[0].charge() * muons[1].charge();
610  }
612  if (nmuons_>1 && opsign_ && sign==1) return;
613 
614  //cout<<" mll="<<mll<<" invMasscut_="<<invMasscut_<<endl;
615  //Menglei
617  iEvent.getByToken( phoToken_, phoHandle );
618  if (!phoHandle.isValid()){
619  edm::LogWarning("TopMonitor") << "Photon handle not valid \n";
620  return;
621  }
622  if ( phoHandle->size() < nphotons_ ) return;
623  std::vector<reco::Photon> photons;
624  for ( auto const & p : *phoHandle ) {
625  if ( phoSelection_( p ) ) photons.push_back(p);
626  }
627  if ( photons.size() < nphotons_ ) return;
628 
629  double eventHT = 0.;
630  math::XYZTLorentzVector eventMHT(0., 0., 0., 0.);
631 
633  iEvent.getByToken( jetToken_, jetHandle );
634  if (!jetHandle.isValid() && njets_>0) {
635  edm::LogWarning("TopMonitor") << "Jet handle not valid \n";
636  return;
637  }
638  std::vector<reco::PFJet> jets;
639  if (njets_>0){
640  if (jetHandle->size() < njets_) return;
641  for (auto const & j : *jetHandle) {
642  if (HTdefinition_(j)) {
643  eventHT += j.pt();
644  }
645  if (MHTdefinition_(j)) {
646  eventMHT += j.p4();
647  }
648  if (jetSelection_(j)) {
649  bool isJetOverlappedWithLepton = false;
650  if(nmuons_>0) {
651  for (auto const& m : muons) {
652  if (deltaR(j, m)<leptJetDeltaRmin_) {
653  isJetOverlappedWithLepton=true;
654  break;
655  }
656  }
657  }
658  if (isJetOverlappedWithLepton) continue;
659  if(nelectrons_>0) {
660  for (auto const & e: electrons) {
661  if (deltaR(j, e)<leptJetDeltaRmin_) {
662  isJetOverlappedWithLepton=true;
663  break;
664  }
665  }
666  }
667  if (isJetOverlappedWithLepton) continue;
668  jets.push_back(j);
669  }
670 
671  }
672  if (jets.size() < njets_) return;
673  }
674 
675  if (eventHT < HTcut_) return;
676  if (MHTcut_>0 && eventMHT.pt()<MHTcut_) return;
677 
678  // Marina
680  iEvent.getByToken( jetTagToken_, bjetHandle );
681  if (!bjetHandle.isValid() && nbjets_>0){
682  edm::LogWarning("TopMonitor") << "B-Jet handle not valid \n";
683  return;
684  }
685 
686  JetTagMap bjets;
687 
688  if (nbjets_>0){
689  const reco::JetTagCollection& bTags = *(bjetHandle.product());
690  if (bTags.size() < nbjets_ ) return;
691  for (unsigned int i=0; i!=bTags.size(); ++i){
692  // Apply Selections
693  if (!bjetSelection_(*dynamic_cast<const reco::Jet*>(bTags[i].first.get())) ) continue;
694  if (bTags[i].second < workingpoint_ ) continue;
695 
696  // Fill JetTag Map
697  bjets.insert(JetTagMap::value_type(bTags[i].first, bTags[i].second));
698  }
699  if (bjets.size() < nbjets_ ) return;
700  }
701 
702  if (nbjets_ > 1){
703  double deltaEta = std::abs(bjets.begin()->first->eta()-(++bjets.begin())->first->eta());
704  if (deltaEta > bJetDeltaEtaMax_) return;
705  }
706 
707  if ((nbjets_>0) && (nmuons_>0)){
708  bool foundMuonInsideJet = false;
709  for (auto const & bjet : bjets){
710  for (auto const & mu : muons){
711  double dR = deltaR(*bjet.first,mu);
712  if (dR < bJetMuDeltaRmax_){
713  foundMuonInsideJet = true;
714  break;
715  }
716  }
717  if(foundMuonInsideJet) break;
718  }
719 
720  if (!foundMuonInsideJet) return;
721  }
722 
723  int ls = iEvent.id().luminosityBlock();
724 
725  // filling histograms (denominator)
726  if (applyMETcut_){
727  metME_.denominator -> Fill(met);
729  metPhiME_.denominator -> Fill(phi);
730  metVsLS_.denominator -> Fill(ls, met);
731  }
732  if (HTcut_>0){
733  eventHT_.denominator -> Fill(eventHT);
735  htVsLS_.denominator -> Fill(ls, eventHT);
736  }
737 //george
738  if (MHTcut_>0){
739  eventMHT_.denominator -> Fill(eventMHT.pt());
740  eventMHT_variableBinning_.denominator -> Fill(eventMHT.pt());
741  }
742 
743  if (njets_>0) {
744  jetMulti_.denominator -> Fill(jets.size());
745  jetEtaPhi_HEP17_.denominator -> Fill (jets.at(0).eta(), jets.at(0).phi()); // for HEP17 monitorning
746  jetVsLS_.denominator -> Fill(ls, jets.at(0).pt());
747  }
748 
749  if(enablePhotonPlot_){
750  phoMulti_.denominator -> Fill(photons.size());
751  }
752 
753  // Marina
754  if (nbjets_>0) {
755  bjetMulti_.denominator -> Fill(bjets.size());
756  bjetVsLS_.denominator -> Fill(ls, bjets.begin()->first->pt());
757  }
758 
759  if (nmuons_ > 0){
760  muMulti_.denominator -> Fill(muons.size());
761  muVsLS_.denominator -> Fill(ls, muons.at(0).pt());
762  if (nmuons_>1) {
763  mu1Pt_mu2Pt_.denominator->Fill(muons.at(0).pt(),muons.at(1).pt());
764  mu1Eta_mu2Eta_.denominator->Fill(muons.at(0).eta(),muons.at(1).eta());
767  }
768  if(njets_>0){
769  DeltaR_jet_Mu_.denominator -> Fill (deltaR(jets.at(0),muons.at(0)));
770  }
771  }
772 
773 
774  if (nelectrons_ > 0) {
775  eleMulti_.denominator -> Fill(electrons.size());
776  eleVsLS_.denominator -> Fill(ls, electrons.at(0).pt());
777  if (HTcut_>0) elePt_eventHT_.denominator -> Fill (electrons.at(0).pt(), eventHT);
778  if (njets_>0) elePt_jetPt_.denominator -> Fill (electrons.at(0).pt(), jets.at(0).pt());
779  if (nmuons_>0) {
780  elePt_muPt_.denominator->Fill(electrons.at(0).pt(),muons.at(0).pt());
781  eleEta_muEta_.denominator->Fill(electrons.at(0).eta(),muons.at(0).eta());
782  }
783  if (nelectrons_>1) {
784  ele1Pt_ele2Pt_.denominator->Fill(electrons.at(0).pt(),electrons.at(1).pt());
785  ele1Eta_ele2Eta_.denominator->Fill(electrons.at(0).eta(),electrons.at(1).eta());
786  }
787  }
788 
789  if(enablePhotonPlot_){
790  if (nphotons_ > 0){
791  phoVsLS_.denominator -> Fill(ls, photons.at(0).pt());
792  if (nmuons_>0) {
793  muPt_phoPt_.denominator->Fill(muons.at(0).pt(), photons.at(0).pt());
794  muEta_phoEta_.denominator->Fill(muons.at(0).eta(), photons.at(0).eta());
795  }
796  }
797  }
798 
799 
800  for (unsigned int iMu=0; iMu<muons.size(); ++iMu){
801  if (iMu>=nmuons_) break;
802  muPhi_.at(iMu).denominator -> Fill(muons.at(iMu).phi());
803  muEta_.at(iMu).denominator -> Fill(muons.at(iMu).eta());
804  muPt_.at(iMu).denominator -> Fill(muons.at(iMu).pt() );
805  muEta_variableBinning_.at(iMu).denominator -> Fill(muons.at(iMu).eta());
806  muPt_variableBinning_.at(iMu).denominator -> Fill(muons.at(iMu).pt() );
807  muPtEta_.at(iMu).denominator -> Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
808  muEtaPhi_.at(iMu).denominator -> Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
809  }
810  for (unsigned int iEle=0; iEle<electrons.size(); ++iEle){
811  if (iEle>=nelectrons_) break;
812  elePhi_.at(iEle).denominator -> Fill(electrons.at(iEle).phi());
813  eleEta_.at(iEle).denominator -> Fill(electrons.at(iEle).eta());
814  elePt_.at(iEle).denominator -> Fill(electrons.at(iEle).pt() );
815  eleEta_variableBinning_.at(iEle).denominator -> Fill(electrons.at(iEle).eta());
816  elePt_variableBinning_.at(iEle).denominator -> Fill(electrons.at(iEle).pt() );
817  elePtEta_.at(iEle).denominator -> Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
818  eleEtaPhi_.at(iEle).denominator -> Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
819  }
820  //Menglei
821  if(enablePhotonPlot_){
822  for (unsigned int iPho=0; iPho<photons.size(); ++iPho){
823  if (iPho>=nphotons_) break;
824  phoPhi_[iPho].denominator -> Fill(photons[iPho].phi());
825  phoEta_[iPho].denominator -> Fill(photons[iPho].eta());
826  phoPt_[iPho].denominator -> Fill(photons[iPho].pt() );
827  phoPtEta_[iPho].denominator -> Fill(photons[iPho].pt(), photons[iPho].eta() );
828  phoEtaPhi_[iPho].denominator -> Fill(photons[iPho].eta(), photons[iPho].phi() );
829  }
830  }
831 
832  for (unsigned int iJet=0; iJet<jets.size(); ++iJet){
833  if (iJet>=njets_) break;
834  jetPhi_.at(iJet).denominator -> Fill(jets.at(iJet).phi());
835  jetEta_.at(iJet).denominator -> Fill(jets.at(iJet).eta());
836  jetPt_.at(iJet).denominator -> Fill(jets.at(iJet).pt() );
837  jetEta_variableBinning_.at(iJet).denominator -> Fill(jets.at(iJet).eta());
838  jetPt_variableBinning_.at(iJet).denominator -> Fill(jets.at(iJet).pt() );
839  jetPtEta_.at(iJet).denominator -> Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
840  jetEtaPhi_.at(iJet).denominator -> Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
841  }
842 
843  // Marina
844  unsigned int iBJet = 0;
845  for (auto & bjet: bjets){
846  if (iBJet >=nbjets_) break;
847 
848  bjetPhi_.at(iBJet).denominator -> Fill(bjet.first->phi());
849  bjetEta_.at(iBJet).denominator -> Fill(bjet.first->eta());
850  bjetPt_.at(iBJet).denominator -> Fill(bjet.first->pt());
851  bjetCSV_.at(iBJet).denominator -> Fill(std::fmax(0.0, bjet.second));
852  bjetEta_variableBinning_.at(iBJet).denominator -> Fill(bjet.first->eta());
853  bjetPt_variableBinning_.at(iBJet).denominator -> Fill(bjet.first->pt());
854  bjetPtEta_.at(iBJet).denominator -> Fill(bjet.first->pt(), bjet.first->eta());
855  bjetEtaPhi_.at(iBJet).denominator -> Fill(bjet.first->eta(), bjet.first->phi());
856  bjetCSVHT_.at(iBJet).denominator -> Fill(std::fmax(0.0, bjet.second), eventHT);
857 
858  iBJet++;
859  }
860 
861 
862 
863 
864  // applying selection for numerator
865  if (num_genTriggerEventFlag_->on() && ! num_genTriggerEventFlag_->accept( iEvent, iSetup) ) return;
866 
867  // filling histograms (num_genTriggerEventFlag_)
868 
869  if (applyMETcut_>0){
870  metME_.numerator -> Fill(met);
872  metPhiME_.numerator -> Fill(phi);
873  metVsLS_.numerator -> Fill(ls, met);
874  }
875 
876  if (HTcut_>0){
877  htVsLS_.numerator -> Fill(ls, eventHT);
878  eventHT_.numerator -> Fill(eventHT);
880  }
881 
882  if (MHTcut_>0){
883  eventMHT_.numerator -> Fill(eventMHT.pt());
884  eventMHT_variableBinning_.numerator -> Fill(eventMHT.pt());
885  }
886 
887  if (nmuons_ > 0){
888  muMulti_.numerator -> Fill(muons.size());
889  muVsLS_.numerator -> Fill(ls, muons.at(0).pt());
890  if (nmuons_>1) {
891  mu1Pt_mu2Pt_.numerator->Fill(muons.at(0).pt(),muons.at(1).pt());
892  mu1Eta_mu2Eta_.numerator->Fill(muons.at(0).eta(),muons.at(1).eta());
895  }
896  if(njets_>0){
897  DeltaR_jet_Mu_.numerator -> Fill (deltaR(jets.at(0),muons.at(0)));
898  }
899 
900  }
901  if (njets_ > 0){
902  jetMulti_.numerator -> Fill(jets.size());
903  jetVsLS_.numerator -> Fill(ls, jets.at(0).pt());
904  jetEtaPhi_HEP17_.numerator -> Fill (jets.at(0).eta(), jets.at(0).phi()); // for HEP17 monitorning
905  }
906 
907  if (nelectrons_ > 0) {
908  eleMulti_.numerator -> Fill(electrons.size());
909  eleVsLS_.numerator -> Fill(ls, electrons.at(0).pt());
910  if (HTcut_>0) elePt_eventHT_.numerator -> Fill (electrons.at(0).pt(), eventHT);
911  if (njets_>0) elePt_jetPt_.numerator -> Fill (electrons.at(0).pt(), jets.at(0).pt());
912  if (nmuons_>0) {
913  elePt_muPt_.numerator->Fill(electrons.at(0).pt(),muons.at(0).pt());
914  eleEta_muEta_.numerator->Fill(electrons.at(0).eta(),muons.at(0).eta());
915  }
916  if (nelectrons_>1) {
917  ele1Pt_ele2Pt_.numerator->Fill(electrons.at(0).pt(),electrons.at(1).pt());
918  ele1Eta_ele2Eta_.numerator->Fill(electrons.at(0).eta(),electrons.at(1).eta());
919  }
920  }
921 
922  //Menglei
923  if(enablePhotonPlot_){
924  if (nphotons_ > 0){
925  phoVsLS_.numerator -> Fill(ls, photons.at(0).pt());
926  if (nmuons_>0) {
927  muPt_phoPt_.numerator->Fill(muons.at(0).pt(), photons.at(0).pt());
928  muEta_phoEta_.numerator->Fill(muons.at(0).eta(), photons.at(0).eta());
929  }
930  }
931  }
932 
933  // Marina
934  if (nbjets_ > 0){
935  bjetMulti_.numerator -> Fill(bjets.size());
936  bjetVsLS_.numerator-> Fill(ls, bjets.begin()->first->pt());
937  }
938 
939  //Menglei
940  if(enablePhotonPlot_){
941  phoMulti_.numerator -> Fill(photons.size());
942  }
943 
944  for (unsigned int iMu=0; iMu<muons.size(); ++iMu){
945  if (iMu>=nmuons_) break;
946 
947  muPhi_.at(iMu).numerator -> Fill(muons.at(iMu).phi());
948  muEta_.at(iMu).numerator -> Fill(muons.at(iMu).eta());
949  muPt_.at(iMu).numerator -> Fill(muons.at(iMu).pt() );
950  muEta_variableBinning_.at(iMu).numerator -> Fill(muons.at(iMu).eta());
951  muPt_variableBinning_.at(iMu).numerator -> Fill(muons.at(iMu).pt() );
952  muPtEta_.at(iMu).numerator -> Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
953  muEtaPhi_.at(iMu).numerator -> Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
954  }
955  for (unsigned int iEle=0; iEle<electrons.size(); ++iEle){
956  if (iEle>=nelectrons_) break;
957  elePhi_.at(iEle).numerator -> Fill(electrons.at(iEle).phi());
958  eleEta_.at(iEle).numerator -> Fill(electrons.at(iEle).eta());
959  elePt_.at(iEle).numerator -> Fill(electrons.at(iEle).pt() );
960  eleEta_variableBinning_.at(iEle).numerator -> Fill(electrons.at(iEle).eta());
961  elePt_variableBinning_.at(iEle).numerator -> Fill(electrons.at(iEle).pt() );
962  elePtEta_.at(iEle).numerator -> Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
963  eleEtaPhi_.at(iEle).numerator -> Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
964  }
965  //Menglei
966  if(enablePhotonPlot_){
967  for (unsigned int iPho=0; iPho<photons.size(); ++iPho){
968  if (iPho>=nphotons_) break;
969  phoPhi_[iPho].numerator -> Fill(photons[iPho].phi());
970  phoEta_[iPho].numerator -> Fill(photons[iPho].eta());
971  phoPt_[iPho].numerator -> Fill(photons[iPho].pt() );
972  phoPtEta_[iPho].numerator -> Fill(photons[iPho].pt(), photons[iPho].eta() );
973  phoEtaPhi_[iPho].numerator -> Fill(photons[iPho].eta(), photons[iPho].phi() );
974  }
975  }
976 
977  for (unsigned int iJet=0; iJet<jets.size(); ++iJet){
978  if (iJet>=njets_) break;
979  jetPhi_.at(iJet).numerator -> Fill(jets.at(iJet).phi());
980  jetEta_.at(iJet).numerator -> Fill(jets.at(iJet).eta());
981  jetPt_.at(iJet).numerator -> Fill(jets.at(iJet).pt() );
982  jetEta_variableBinning_.at(iJet).numerator -> Fill(jets.at(iJet).eta());
983  jetPt_variableBinning_.at(iJet).numerator -> Fill(jets.at(iJet).pt() );
984  jetPtEta_.at(iJet).numerator -> Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
985  jetEtaPhi_.at(iJet).numerator -> Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
986  }
987 
988  // Marina
989  unsigned int j = 0;
990  for (auto & bjet: bjets){
991  if (j >=nbjets_) break;
992  bjetPhi_.at(j).numerator -> Fill(bjet.first->pt());
993  bjetEta_.at(j).numerator -> Fill(bjet.first->eta());
994  bjetPt_.at(j).numerator -> Fill(bjet.first->pt());
995  bjetCSV_.at(j).numerator -> Fill(std::fmax(0.0,bjet.second));
996  bjetEta_variableBinning_.at(j).numerator -> Fill(bjet.first->eta());
997  bjetPt_variableBinning_.at(j).numerator -> Fill(bjet.first->pt());
998  bjetPtEta_.at(j).numerator -> Fill(bjet.first->pt(), bjet.first->eta());
999  bjetEtaPhi_.at(j).numerator -> Fill(bjet.first->eta(), bjet.first->phi());
1000  bjetCSVHT_.at(j).numerator -> Fill(std::fmax(0.0,bjet.second), eventHT);
1001 
1002  j++;
1003  }
1004 
1005 }
StringCutObjectSelector< reco::Jet, true > bjetSelection_
Definition: TopMonitor.h:246
ObjME mu1Pt_mu2Pt_
Definition: TopMonitor.h:163
std::vector< ObjME > jetEta_variableBinning_
Definition: TopMonitor.h:213
virtual double pt() const final
transverse momentum
ObjME jetVsLS_
Definition: TopMonitor.h:139
MonitorElement * numerator
StringCutObjectSelector< reco::PFJet, true > jetSelection_
Definition: TopMonitor.h:237
std::vector< ObjME > jetEtaPhi_
Definition: TopMonitor.h:220
std::vector< ObjME > bjetPtEta_
Definition: TopMonitor.h:229
ObjME jetEtaPhi_HEP17_
Definition: TopMonitor.h:148
double bJetMuDeltaRmax_
Definition: TopMonitor.h:253
ObjME DeltaR_jet_Mu_
Definition: TopMonitor.h:177
ObjME muEta_phoEta_
Definition: TopMonitor.h:174
std::vector< ObjME > muPt_
Definition: TopMonitor.h:184
std::vector< ObjME > jetPtEta_
Definition: TopMonitor.h:219
std::vector< ObjME > bjetCSVHT_
Definition: TopMonitor.h:231
std::vector< ObjME > bjetPt_variableBinning_
Definition: TopMonitor.h:209
ObjME muVsLS_
Definition: TopMonitor.h:140
std::vector< ObjME > muEta_
Definition: TopMonitor.h:183
ObjME eleEta_muEta_
Definition: TopMonitor.h:166
ObjME eventMHT_variableBinning_
Definition: TopMonitor.h:171
std::vector< ObjME > elePt_variableBinning_
Definition: TopMonitor.h:206
ObjME phoVsLS_
Definition: TopMonitor.h:143
ObjME ele1Pt_ele2Pt_
Definition: TopMonitor.h:161
ObjME ele1Eta_ele2Eta_
Definition: TopMonitor.h:162
ObjME elePt_eventHT_
Definition: TopMonitor.h:159
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
Definition: TopMonitor.h:89
std::vector< ObjME > bjetCSV_
Definition: TopMonitor.h:203
std::vector< ObjME > phoEta_
Definition: TopMonitor.h:195
ObjME muMulti_
Definition: TopMonitor.h:152
std::vector< ObjME > eleEtaPhi_
Definition: TopMonitor.h:222
const Point & position() const
position
Definition: Vertex.h:109
ObjME metME_variableBinning_
Definition: TopMonitor.h:135
StringCutObjectSelector< reco::Vertex, true > vtxSelection_
Definition: TopMonitor.h:244
ObjME metME_
Definition: TopMonitor.h:134
static const double deltaEta
Definition: CaloConstants.h:8
edm::EDGetTokenT< reco::PFMETCollection > metToken_
Definition: TopMonitor.h:81
void Fill(long long x)
ObjME eventMHT_
Definition: TopMonitor.h:169
double bJetDeltaEtaMax_
Definition: TopMonitor.h:254
ObjME bjetVsLS_
Definition: TopMonitor.h:145
ObjME metVsLS_
Definition: TopMonitor.h:136
edm::EDGetTokenT< reco::MuonCollection > muoToken_
Definition: TopMonitor.h:84
virtual double phi() const final
momentum azimuthal angle
PVcut lepPVcuts_
Definition: TopMonitor.h:261
U second(std::pair< T, U > const &p)
std::vector< ObjME > jetPt_variableBinning_
Definition: TopMonitor.h:207
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
bool enablePhotonPlot_
Definition: TopMonitor.h:277
unsigned int nphotons_
Definition: TopMonitor.h:251
ObjME elePt_jetPt_
Definition: TopMonitor.h:158
std::vector< ObjME > muPhi_
Definition: TopMonitor.h:182
edm::EDGetTokenT< reco::JetTagCollection > jetTagToken_
Definition: TopMonitor.h:87
std::vector< ObjME > muPt_variableBinning_
Definition: TopMonitor.h:205
int iEvent
Definition: GenABIO.cc:230
ObjME metPhiME_
Definition: TopMonitor.h:137
unsigned int njets_
Definition: TopMonitor.h:248
MonitorElement * denominator
std::vector< ObjME > bjetPt_
Definition: TopMonitor.h:202
ObjME jetMulti_
Definition: TopMonitor.h:150
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
StringCutObjectSelector< reco::PFJet, true > HTdefinition_
Definition: TopMonitor.h:241
vector< PseudoJet > jets
bool usePVcuts_
Definition: TopMonitor.h:262
ObjME invMass_mumu_variableBinning_
Definition: TopMonitor.h:170
std::vector< ObjME > muEtaPhi_
Definition: TopMonitor.h:224
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
Definition: TopMonitor.h:83
std::vector< ObjME > jetEta_
Definition: TopMonitor.h:191
unsigned int nelectrons_
Definition: TopMonitor.h:249
def pv(vc)
Definition: MetAnalyzer.py:6
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
std::vector< ObjME > phoEtaPhi_
Definition: TopMonitor.h:227
edm::EDGetTokenT< reco::PhotonCollection > phoToken_
Definition: TopMonitor.h:85
unsigned int nmuons_
Definition: TopMonitor.h:250
ObjME bjetMulti_
Definition: TopMonitor.h:156
ObjME eleVsLS_
Definition: TopMonitor.h:141
std::vector< ObjME > jetPhi_
Definition: TopMonitor.h:190
std::vector< ObjME > eleEta_
Definition: TopMonitor.h:187
std::vector< ObjME > muPtEta_
Definition: TopMonitor.h:223
const int mu
Definition: Constants.h:22
bool isValid() const
Definition: HandleBase.h:74
StringCutObjectSelector< reco::Muon, true > muoSelection_
Definition: TopMonitor.h:239
bool applyMETcut_
Definition: TopMonitor.h:264
double MHTcut_
Definition: TopMonitor.h:271
std::vector< ObjME > jetPt_
Definition: TopMonitor.h:192
double HTcut_
Definition: TopMonitor.h:255
std::vector< ObjME > eleEta_variableBinning_
Definition: TopMonitor.h:212
ObjME elePt_muPt_
Definition: TopMonitor.h:165
double deltaR(double eta1, double eta2, double phi1, double phi2)
Definition: TreeUtility.cc:17
std::vector< ObjME > elePhi_
Definition: TopMonitor.h:186
ObjME invMass_mumu_
Definition: TopMonitor.h:168
std::vector< ObjME > bjetEta_variableBinning_
Definition: TopMonitor.h:215
StringCutObjectSelector< reco::MET, true > metSelection_
Definition: TopMonitor.h:236
StringCutObjectSelector< reco::PFJet, true > MHTdefinition_
Definition: TopMonitor.h:270
def ls(path, rec=False)
Definition: eostools.py:348
StringCutObjectSelector< reco::Photon, true > phoSelection_
Definition: TopMonitor.h:240
unsigned int nbjets_
Definition: TopMonitor.h:257
std::map< edm::RefToBase< reco::Jet >, float, JetRefCompare > JetTagMap
Definition: TopMonitor.h:72
ObjME phoMulti_
Definition: TopMonitor.h:154
T const * product() const
Definition: Handle.h:81
met
===> hadronic RAZOR
std::vector< ObjME > elePt_
Definition: TopMonitor.h:188
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
Definition: TopMonitor.h:238
std::vector< ObjME > bjetEtaPhi_
Definition: TopMonitor.h:230
ObjME htVsLS_
Definition: TopMonitor.h:146
std::vector< ObjME > phoPt_
Definition: TopMonitor.h:196
double workingpoint_
Definition: TopMonitor.h:258
ObjME mu1Eta_mu2Eta_
Definition: TopMonitor.h:164
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: TopMonitor.h:234
double invMassUppercut_
Definition: TopMonitor.h:267
std::vector< ObjME > bjetEta_
Definition: TopMonitor.h:201
std::vector< ObjME > phoPtEta_
Definition: TopMonitor.h:226
ObjME muPt_phoPt_
Definition: TopMonitor.h:173
std::vector< ObjME > elePtEta_
Definition: TopMonitor.h:221
bool opsign_
Definition: TopMonitor.h:269
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
Definition: TopMonitor.h:82
ObjME eleMulti_
Definition: TopMonitor.h:151
double mll
Definition: TopMonitor.h:272
double leptJetDeltaRmin_
Definition: TopMonitor.h:252
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: TopMonitor.h:233
std::vector< ObjME > phoPhi_
Definition: TopMonitor.h:194
double invMassLowercut_
Definition: TopMonitor.h:268
size_type size() const
ObjME eventHT_variableBinning_
Definition: TopMonitor.h:180
std::vector< ObjME > muEta_variableBinning_
Definition: TopMonitor.h:211
std::vector< ObjME > bjetPhi_
Definition: TopMonitor.h:200
ObjME eventHT_
Definition: TopMonitor.h:179
void TopMonitor::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 156 of file TopMonitor.cc.

References applyMETcut_, bjetCSV_, bjetCSVHT_, bjetEta_, bjetEta_variableBinning_, bjetEtaPhi_, bjetMulti_, bjetPhi_, bjetPt_, bjetPt_variableBinning_, bjetPtEta_, bjetVsLS_, TriggerDQMBase::bookME(), csv_binning_, DeltaR_jet_Mu_, den_genTriggerEventFlag_, DR_binning_, ele1Eta_ele2Eta_, ele1Pt_ele2Pt_, eleEta_, eleEta_muEta_, eleEta_variable_binning_, eleEta_variable_binning_2D_, eleEta_variableBinning_, eleEtaPhi_, eleMulti_, elePhi_, elePt_, elePt_eventHT_, elePt_jetPt_, elePt_muPt_, elePt_variable_binning_, elePt_variable_binning_2D_, elePt_variableBinning_, elePtEta_, eleVsLS_, enablePhotonPlot_, eta_binning_, eventHT_, eventHT_variableBinning_, eventMHT_, eventMHT_variableBinning_, folderName_, HT_binning_, HT_variable_binning_, HT_variable_binning_2D_, HTcut_, htVsLS_, diffTreeTool::index, invMass_mumu_, invMass_mumu_binning_, invMass_mumu_variable_binning_, invMass_mumu_variableBinning_, jetEta_, jetEta_variable_binning_, jetEta_variable_binning_2D_, jetEta_variableBinning_, jetEtaPhi_, jetEtaPhi_HEP17_, jetMulti_, jetPhi_, jetPt_, jetPt_variable_binning_, jetPt_variable_binning_2D_, jetPt_variableBinning_, jetPtEta_, jetVsLS_, ls_binning_, met_binning_, met_variable_binning_, metME_, metME_variableBinning_, metPhiME_, metVsLS_, MHT_binning_, MHT_variable_binning_, MHTcut_, mu1Eta_mu2Eta_, mu1Pt_mu2Pt_, muEta_, muEta_phoEta_, muEta_variable_binning_, muEta_variable_binning_2D_, muEta_variableBinning_, muEtaPhi_, muMulti_, muPhi_, muPt_, muPt_phoPt_, muPt_variable_binning_, muPt_variable_binning_2D_, muPt_variableBinning_, muPtEta_, muVsLS_, TriggerDQMBase::MEbinning::nbins, nbjets_, nelectrons_, njets_, nmuons_, nphotons_, num_genTriggerEventFlag_, phi_binning_, phi_variable_binning_2D_, phoEta_, phoEta_variable_binning_2D_, phoEtaPhi_, phoPhi_, phoPt_, phoPt_variable_binning_2D_, phoPtEta_, phoVsLS_, pt_binning_, DQMStore::IBooker::setCurrentFolder(), TriggerDQMBase::setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerDQMBase::MEbinning::xmax, and TriggerDQMBase::MEbinning::xmin.

159 {
160  std::string histname, histtitle;
161 
162  std::string currentFolder = folderName_ ;
163  ibooker.setCurrentFolder(currentFolder);
164 
165  if (applyMETcut_){
166 
167  histname = "met"; histtitle = "PFMET";
168  bookME(ibooker,metME_,histname,histtitle,met_binning_.nbins,met_binning_.xmin, met_binning_.xmax);
169  setMETitle(metME_,"PF MET [GeV]","events / [GeV]");
170 
171  histname = "metPhi"; histtitle = "PFMET phi";
172  bookME(ibooker,metPhiME_,histname,histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
173  setMETitle(metPhiME_,"PF MET #phi","events / 0.1 rad");
174 
175  histname = "met_variable"; histtitle = "PFMET";
176  bookME(ibooker,metME_variableBinning_,histname,histtitle,met_variable_binning_);
177  setMETitle(metME_variableBinning_,"PF MET [GeV]","events / [GeV]");
178 
179  histname = "metVsLS"; histtitle = "PFMET vs LS";
181  setMETitle(metVsLS_,"LS","PF MET [GeV]");
182  }
183 
184  if (njets_ > 0){
185  histname = "jetVsLS"; histtitle = "jet pt vs LS";
187  setMETitle(jetVsLS_,"LS","jet pt [GeV]");
188 
189  histname = "jetEtaPhi_HEP17"; histtitle = "jet #eta-#phi for HEP17";
190  bookME(ibooker,jetEtaPhi_HEP17_,histname,histtitle,10,-2.5,2.5,18,-3.1415,3.1415); // for HEP17 monitoring
191  setMETitle(jetEtaPhi_HEP17_,"jet #eta","jet #phi");
192 
193  histname = "jetMulti"; histtitle = "jet multiplicity";
194  bookME(ibooker,jetMulti_,histname,histtitle, 11,-.5, 10.5);
195  setMETitle(jetMulti_,"jet multiplicity","events");
196  }
197 
198  if (nmuons_ > 0){
199  histname = "muVsLS"; histtitle = "muon pt vs LS";
201  setMETitle(muVsLS_,"LS","muon pt [GeV]");
202 
203  histname = "muMulti"; histtitle = "muon multiplicity";
204  bookME(ibooker,muMulti_,histname,histtitle, 6,-.5, 5.5);
205  setMETitle(muMulti_,"muon multiplicity","events");
206 
207  if (njets_ > 0){
208  histname = "DeltaR_jet_Mu"; histtitle = "#DeltaR(jet,mu)";
209  bookME(ibooker,DeltaR_jet_Mu_,histname,histtitle, DR_binning_.nbins, DR_binning_.xmin, DR_binning_.xmax );
210  setMETitle(DeltaR_jet_Mu_,"#DeltaR(jet,mu)","events");
211  }
212 
213  }
214 
215  if (nelectrons_ > 0){
216  histname = "eleVsLS"; histtitle = "electron pt vs LS";
218  setMETitle(eleVsLS_,"LS","electron pt [GeV]");
219 
220  histname = "eleMulti"; histtitle = "electron multiplicity";
221  bookME(ibooker,eleMulti_,histname,histtitle, 6,-.5, 5.5);
222  setMETitle(eleMulti_,"electron multiplicity","events");
223 
224  if (njets_>0){
225  histname = "elePt_jetPt"; histtitle = "electron pt vs jet pt";
227  setMETitle(elePt_jetPt_,"leading electron pt","leading jet pt");
228  }
229 
230  if (nmuons_>0){
231  histname = "elePt_muPt"; histtitle = "electron pt vs muon pt";
233  setMETitle(elePt_muPt_,"electron pt [GeV]","muon pt [GeV]");
234 
235  histname = "eleEta_muEta"; histtitle = "electron #eta vs muon #eta";
237  setMETitle(eleEta_muEta_,"electron #eta","muon #eta");
238  }
239 
240  }
241 
242  //Menglei
243  if(enablePhotonPlot_){
244  if (nphotons_ > 0){
245  histname = "photonVsLS"; histtitle = "photon pt vs LS";
247  setMETitle(phoVsLS_, "LS","photon pt [GeV]");
248  }
249  }
250 
251  // Marina
252  if (nbjets_ > 0){
253  histname = "bjetVsLS"; histtitle = "b-jet pt vs LS";
255  setMETitle(bjetVsLS_,"LS","b-jet pt [GeV]");
256 
257  histname = "bjetMulti"; histtitle = "b-jet multiplicity";
258  bookME(ibooker,bjetMulti_,histname,histtitle, 6,-.5, 5.5);
259  setMETitle(bjetMulti_,"b-jet multiplicity","events");
260 
261  }
262 
263  if ( nelectrons_ > 1 ){
264  histname = "ele1Pt_ele2Pt"; histtitle = "electron-1 pt vs electron-2 pt";
266  setMETitle(ele1Pt_ele2Pt_,"electron-1 pt [GeV]","electron-2 pt [GeV]");
267 
268  histname = "ele1Eta_ele2Eta"; histtitle = "electron-1 #eta vs electron-2 #eta";
270  setMETitle(ele1Eta_ele2Eta_,"electron-1 #eta","electron-2 #eta");
271  }
272 
273  if ( nmuons_ > 1 ) {
274  histname = "mu1Pt_mu2Pt"; histtitle = "muon-1 pt vs muon-2 pt";
276  setMETitle(mu1Pt_mu2Pt_,"muon-1 pt [GeV]","muon-2 pt [GeV]");
277 
278  histname = "mu1Eta_mu2Eta"; histtitle = "muon-1 #eta vs muon-2 #eta";
280  setMETitle(mu1Eta_mu2Eta_,"muon-1 #eta","muon-2 #eta");
281  //george
282  histname = "invMass"; histtitle = "M mu1 mu2";
284  setMETitle(invMass_mumu_,"M(mu1,mu2) [GeV]","events");
285  histname = "invMass_variable"; histtitle = "M mu1 mu2 variable";
287  setMETitle(invMass_mumu_variableBinning_,"M(mu1,mu2) [GeV]","events / [GeV]");
288  }
289 
290  if (HTcut_ > 0){
291  histname = "htVsLS"; histtitle = "event HT vs LS";
293  setMETitle(htVsLS_,"LS","event HT [GeV]");
294 
295  histname = "eventHT"; histtitle = "event HT";
296  bookME(ibooker,eventHT_,histname,histtitle, HT_binning_.nbins,HT_binning_.xmin, HT_binning_.xmax);
297  setMETitle(eventHT_," event HT [GeV]","events");
298  histname.append("_variableBinning");
299  bookME(ibooker,eventHT_variableBinning_,histname,histtitle, HT_variable_binning_);
300  setMETitle(eventHT_variableBinning_,"event HT [GeV]","events");
301 
302  if (nelectrons_>0){
303  histname = "elePt_eventHT"; histtitle = "electron pt vs event HT";
305  setMETitle(elePt_eventHT_,"leading electron pt","event HT");
306  }
307 
308  }
309 
310  if (MHTcut_>0){
311  //george
312  histname = "eventMHT"; histtitle = "event MHT";
313  bookME(ibooker,eventMHT_,histname,histtitle, MHT_binning_.nbins,MHT_binning_.xmin, MHT_binning_.xmax);
314  setMETitle(eventMHT_," event MHT [GeV]","events");
315 
316  histname = "eventMHT_variable"; histtitle = "event MHT variable";
317  bookME(ibooker,eventMHT_variableBinning_,histname,histtitle,MHT_variable_binning_);
318  setMETitle(eventMHT_variableBinning_,"event MHT [GeV]","events / [GeV]");
319  }
320 
321  //Menglei
322  if(enablePhotonPlot_){
323  if ( (nmuons_ > 0) && ( nphotons_ > 0)){
324  histname = "muPt_phoPt", histtitle = "muon pt vs photon pt";
326  setMETitle(muPt_phoPt_, "muon pt [GeV]","photon pt [GeV]");
327 
328  histname = "muEta_phoEta", histtitle = "muon #eta vs photon #eta";
330  setMETitle(muEta_phoEta_, "muon #eta","photon #eta");
331  }
332  }
333 
334 
335  for (unsigned int iMu=0; iMu<nmuons_; ++iMu){
336  std::string index = std::to_string(iMu+1);
337 
338  histname = "muPt_"; histtitle = "muon p_{T} - ";
339  histname.append(index); histtitle.append(index);
340  bookME(ibooker,muPt_.at(iMu),histname,histtitle, pt_binning_.nbins, pt_binning_.xmin, pt_binning_.xmax);
341  setMETitle(muPt_.at(iMu),"muon p_{T} [GeV]","events");
342  histname.append("_variableBinning");
343  bookME(ibooker,muPt_variableBinning_.at(iMu),histname,histtitle, muPt_variable_binning_);
344  setMETitle(muPt_variableBinning_.at(iMu),"muon p_{T} [GeV]","events");
345 
346  histname = "muEta_"; histtitle = "muon #eta - ";
347  histname.append(index); histtitle.append(index);
348  bookME(ibooker,muEta_.at(iMu),histname,histtitle, eta_binning_.nbins,eta_binning_.xmin, eta_binning_.xmax);
349  setMETitle(muEta_.at(iMu)," muon #eta","events");
350  histname.append("_variableBinning");
351  bookME(ibooker,muEta_variableBinning_.at(iMu),histname,histtitle, muEta_variable_binning_);
352  setMETitle(muEta_variableBinning_.at(iMu)," muon #eta","events");
353 
354  histname = "muPhi_"; histtitle = "muon #phi - ";
355  histname.append(index); histtitle.append(index);
356  bookME(ibooker,muPhi_.at(iMu),histname,histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
357  setMETitle(muPhi_.at(iMu)," muon #phi","events");
358 
359  histname = "muPtEta_"; histtitle = "muon p_{T} - #eta - ";
360  histname.append(index); histtitle.append(index);
361  bookME(ibooker,muPtEta_.at(iMu),histname,histtitle, muPt_variable_binning_2D_, muEta_variable_binning_2D_);
362  setMETitle(muPtEta_.at(iMu),"muon p_{T} [GeV]","muon #eta");
363 
364  histname = "muEtaPhi_"; histtitle = "muon #eta - #phi - ";
365  histname.append(index); histtitle.append(index);
366  bookME(ibooker,muEtaPhi_.at(iMu),histname,histtitle, muEta_variable_binning_2D_, phi_variable_binning_2D_);
367  setMETitle(muEtaPhi_.at(iMu),"muon #phi","muon #eta");
368 
369  }
370 
371  for (unsigned int iEle=0; iEle<nelectrons_; ++iEle){
372  std::string index = std::to_string(iEle+1);
373 
374  histname = "elePt_"; histtitle = "electron p_{T} - ";
375  histname.append(index); histtitle.append(index);
376  bookME(ibooker,elePt_.at(iEle),histname,histtitle, pt_binning_.nbins, pt_binning_.xmin, pt_binning_.xmax);
377  setMETitle(elePt_.at(iEle),"electron p_{T} [GeV]","events");
378  histname.append("_variableBinning");
379  bookME(ibooker,elePt_variableBinning_.at(iEle),histname,histtitle, elePt_variable_binning_);
380  setMETitle(elePt_variableBinning_.at(iEle),"electron p_{T} [GeV]","events");
381 
382  histname = "eleEta_"; histtitle = "electron #eta - ";
383  histname.append(index); histtitle.append(index);
384  bookME(ibooker,eleEta_.at(iEle),histname,histtitle, eta_binning_.nbins,eta_binning_.xmin, eta_binning_.xmax);
385  setMETitle(eleEta_.at(iEle)," electron #eta","events");
386  histname.append("_variableBinning");
387  bookME(ibooker,eleEta_variableBinning_.at(iEle),histname,histtitle, eleEta_variable_binning_);
388  setMETitle(eleEta_variableBinning_.at(iEle),"electron #eta","events");
389 
390  histname = "elePhi_"; histtitle = "electron #phi - ";
391  histname.append(index); histtitle.append(index);
392  bookME(ibooker,elePhi_.at(iEle),histname,histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
393  setMETitle(elePhi_.at(iEle)," electron #phi","events");
394 
395  histname = "elePtEta_"; histtitle = "electron p_{T} - #eta - ";
396  histname.append(index); histtitle.append(index);
397  bookME(ibooker,elePtEta_.at(iEle),histname,histtitle, elePt_variable_binning_2D_, eleEta_variable_binning_2D_);
398  setMETitle(elePtEta_.at(iEle),"electron p_{T} [GeV]","electron #eta");
399 
400  histname = "eleEtaPhi_"; histtitle = "electron #eta - #phi - ";
401  histname.append(index); histtitle.append(index);
402  bookME(ibooker,eleEtaPhi_.at(iEle),histname,histtitle, eleEta_variable_binning_2D_, phi_variable_binning_2D_);
403  setMETitle(eleEtaPhi_.at(iEle),"electron #phi","electron #eta");
404 
405 
406  }
407 
408  //Menglei
409  if(enablePhotonPlot_){
410  for (unsigned int iPho(0); iPho < nphotons_; iPho++){
411  std::string index = std::to_string(iPho+1);
412 
413  histname = "phoPt_"; histtitle = "photon p_{T} - ";
414  histname.append(index); histtitle.append(index);
415  bookME(ibooker,phoPt_[iPho],histname,histtitle, pt_binning_.nbins, pt_binning_.xmin, pt_binning_.xmax);
416  setMETitle(phoPt_[iPho],"photon p_{T} [GeV]","events");
417 
418  histname = "phoEta_"; histtitle = "photon #eta - ";
419  histname.append(index); histtitle.append(index);
420  bookME(ibooker,phoEta_[iPho],histname,histtitle, eta_binning_.nbins,eta_binning_.xmin, eta_binning_.xmax);
421  setMETitle(phoEta_[iPho],"photon #eta","events");
422 
423  histname = "phoPhi_"; histtitle = "photon #phi - ";
424  histname.append(index); histtitle.append(index);
425  bookME(ibooker,phoPhi_[iPho],histname,histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
426  setMETitle(phoPhi_[iPho],"photon #phi","events");
427 
428  histname = "phoPtEta_"; histtitle = "photon p_{T} - #eta - ";
429  histname.append(index); histtitle.append(index);
430  bookME(ibooker,phoPtEta_[iPho],histname,histtitle, phoPt_variable_binning_2D_, phoEta_variable_binning_2D_);
431  setMETitle(phoPtEta_[iPho],"photon p_{T} [GeV]","photon #eta");
432 
433  histname = "phoEtaPhi_"; histtitle = "photon #eta - #phi - ";
434  histname.append(index); histtitle.append(index);
435  bookME(ibooker,phoEtaPhi_[iPho],histname,histtitle, phoEta_variable_binning_2D_, phi_variable_binning_2D_);
436  setMETitle(phoEtaPhi_[iPho],"photon p_{T} [GeV]","photon #eta");
437 
438  }
439  }
440 
441 
442  for (unsigned int iJet=0; iJet<njets_; ++iJet){
443  std::string index = std::to_string(iJet+1);
444 
445  histname = "jetPt_"; histtitle = "jet p_{T} - ";
446  histname.append(index); histtitle.append(index);
447  bookME(ibooker,jetPt_.at(iJet),histname,histtitle, pt_binning_.nbins, pt_binning_.xmin, pt_binning_.xmax);
448  setMETitle(jetPt_.at(iJet),"jet p_{T} [GeV]","events");
449  histname.append("_variableBinning");
450  bookME(ibooker,jetPt_variableBinning_.at(iJet),histname,histtitle, jetPt_variable_binning_);
451  setMETitle(jetPt_variableBinning_.at(iJet),"jet p_{T} [GeV]","events");
452 
453  histname = "jetEta_"; histtitle = "jet #eta - ";
454  histname.append(index); histtitle.append(index);
455  bookME(ibooker,jetEta_.at(iJet),histname,histtitle, eta_binning_.nbins,eta_binning_.xmin, eta_binning_.xmax);
456  setMETitle(jetEta_.at(iJet)," jet #eta","events");
457  histname.append("_variableBinning");
458  bookME(ibooker,jetEta_variableBinning_.at(iJet),histname,histtitle, jetEta_variable_binning_);
459  setMETitle(jetEta_variableBinning_.at(iJet),"jet #eta","events");
460 
461  histname = "jetPhi_"; histtitle = "jet #phi - ";
462  histname.append(index); histtitle.append(index);
463  bookME(ibooker,jetPhi_.at(iJet),histname,histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
464  setMETitle(jetPhi_.at(iJet)," jet #phi","events");
465 
466  histname = "jetPtEta_"; histtitle = "jet p_{T} - #eta - ";
467  histname.append(index); histtitle.append(index);
468  bookME(ibooker,jetPtEta_.at(iJet),histname,histtitle, jetPt_variable_binning_2D_, jetEta_variable_binning_2D_);
469  setMETitle(jetPtEta_.at(iJet),"jet p_{T} [GeV]","jet #eta");
470 
471  histname = "jetEtaPhi_"; histtitle = "jet #eta - #phi - ";
472  histname.append(index); histtitle.append(index);
473  bookME(ibooker,jetEtaPhi_.at(iJet),histname,histtitle, jetEta_variable_binning_2D_, phi_variable_binning_2D_);
474  setMETitle(jetEtaPhi_.at(iJet),"#phi","jet #eta");
475 
476 
477 
478  }
479 
480  // Marina
481  for (unsigned int iBJet=0; iBJet<nbjets_; ++iBJet){
482  std::string index = std::to_string(iBJet+1);
483 
484  histname = "bjetPt_"; histtitle = "b-jet p_{T} - ";
485  histname.append(index); histtitle.append(index);
486  bookME(ibooker,bjetPt_.at(iBJet),histname,histtitle, pt_binning_.nbins, pt_binning_.xmin, pt_binning_.xmax);
487  setMETitle(bjetPt_.at(iBJet)," b-jet p_{T} [GeV]","events");
488  histname.append("_variableBinning");
489  bookME(ibooker,bjetPt_variableBinning_.at(iBJet),histname,histtitle, jetPt_variable_binning_);
490  setMETitle(bjetPt_variableBinning_.at(iBJet),"b-jet p_{T} [GeV]","events");
491 
492  histname = "bjetEta_"; histtitle = "b-jet #eta - ";
493  histname.append(index); histtitle.append(index);
494  bookME(ibooker,bjetEta_.at(iBJet),histname,histtitle, eta_binning_.nbins,eta_binning_.xmin, eta_binning_.xmax);
495  setMETitle(bjetEta_.at(iBJet)," b-jet #eta","events");
496  histname.append("_variableBinning");
497  bookME(ibooker,bjetEta_variableBinning_.at(iBJet),histname,histtitle, jetEta_variable_binning_);
498  setMETitle(bjetEta_variableBinning_.at(iBJet),"b-jet #eta","events");
499 
500  histname = "bjetPhi_"; histtitle = "b-jet #phi - ";
501  histname.append(index); histtitle.append(index);
502  bookME(ibooker,bjetPhi_.at(iBJet),histname,histtitle, phi_binning_.nbins, phi_binning_.xmin, phi_binning_.xmax);
503  setMETitle(bjetPhi_.at(iBJet)," b-jet #phi","events");
504 
505  histname = "bjetCSV_"; histtitle = "b-jet CSV - ";
506  histname.append(index); histtitle.append(index);
507  bookME(ibooker,bjetCSV_.at(iBJet),histname,histtitle, csv_binning_.nbins, csv_binning_.xmin, csv_binning_.xmax);
508  setMETitle(bjetCSV_.at(iBJet)," b-jet CSV","events");
509 
510  histname = "bjetPtEta_"; histtitle = "b-jet p_{T} - #eta - ";
511  histname.append(index); histtitle.append(index);
512  bookME(ibooker,bjetPtEta_.at(iBJet),histname,histtitle, jetPt_variable_binning_2D_, jetEta_variable_binning_2D_);
513  setMETitle(bjetPtEta_.at(iBJet),"b-jet p_{T} [GeV]","b-jet #eta");
514 
515  histname = "bjetEtaPhi_"; histtitle = "b-jet #eta - #phi - ";
516  histname.append(index); histtitle.append(index);
517  bookME(ibooker,bjetEtaPhi_.at(iBJet),histname,histtitle, jetEta_variable_binning_2D_, phi_variable_binning_2D_);
518  setMETitle(bjetEtaPhi_.at(iBJet),"b-jet #phi","b-jet #eta");
519 
520  histname = "bjetCSVHT_"; histtitle = "HT - b-jet CSV - ";
521  histname.append(index); histtitle.append(index);
523  setMETitle(bjetCSVHT_.at(iBJet),"b-jet CSV", "event HT [GeV]");
524  }
525 
526 
527 
528 
529  // Initialize the GenericTriggerEventFlag
530  if ( num_genTriggerEventFlag_ && num_genTriggerEventFlag_->on() ) num_genTriggerEventFlag_->initRun( iRun, iSetup );
531  if ( den_genTriggerEventFlag_ && den_genTriggerEventFlag_->on() ) den_genTriggerEventFlag_->initRun( iRun, iSetup );
532 
533 }
ObjME mu1Pt_mu2Pt_
Definition: TopMonitor.h:163
std::vector< double > elePt_variable_binning_2D_
Definition: TopMonitor.h:126
std::vector< ObjME > jetEta_variableBinning_
Definition: TopMonitor.h:213
ObjME jetVsLS_
Definition: TopMonitor.h:139
std::vector< double > jetEta_variable_binning_
Definition: TopMonitor.h:116
std::vector< ObjME > jetEtaPhi_
Definition: TopMonitor.h:220
std::vector< ObjME > bjetPtEta_
Definition: TopMonitor.h:229
ObjME jetEtaPhi_HEP17_
Definition: TopMonitor.h:148
std::vector< double > muEta_variable_binning_
Definition: TopMonitor.h:117
ObjME DeltaR_jet_Mu_
Definition: TopMonitor.h:177
ObjME muEta_phoEta_
Definition: TopMonitor.h:174
std::vector< ObjME > muPt_
Definition: TopMonitor.h:184
std::vector< ObjME > jetPtEta_
Definition: TopMonitor.h:219
MEbinning invMass_mumu_binning_
Definition: TopMonitor.h:107
std::vector< ObjME > bjetCSVHT_
Definition: TopMonitor.h:231
std::vector< ObjME > bjetPt_variableBinning_
Definition: TopMonitor.h:209
ObjME muVsLS_
Definition: TopMonitor.h:140
std::vector< ObjME > muEta_
Definition: TopMonitor.h:183
MEbinning HT_binning_
Definition: TopMonitor.h:102
ObjME eleEta_muEta_
Definition: TopMonitor.h:166
ObjME eventMHT_variableBinning_
Definition: TopMonitor.h:171
std::vector< ObjME > elePt_variableBinning_
Definition: TopMonitor.h:206
std::vector< double > jetPt_variable_binning_
Definition: TopMonitor.h:113
ObjME phoVsLS_
Definition: TopMonitor.h:143
ObjME ele1Pt_ele2Pt_
Definition: TopMonitor.h:161
ObjME ele1Eta_ele2Eta_
Definition: TopMonitor.h:162
ObjME elePt_eventHT_
Definition: TopMonitor.h:159
std::vector< ObjME > bjetCSV_
Definition: TopMonitor.h:203
std::vector< ObjME > phoEta_
Definition: TopMonitor.h:195
ObjME muMulti_
Definition: TopMonitor.h:152
std::vector< ObjME > eleEtaPhi_
Definition: TopMonitor.h:222
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
std::vector< double > muPt_variable_binning_
Definition: TopMonitor.h:114
ObjME metME_variableBinning_
Definition: TopMonitor.h:135
ObjME metME_
Definition: TopMonitor.h:134
MEbinning met_binning_
Definition: TopMonitor.h:97
ObjME eventMHT_
Definition: TopMonitor.h:169
ObjME bjetVsLS_
Definition: TopMonitor.h:145
std::string folderName_
Definition: TopMonitor.h:78
ObjME metVsLS_
Definition: TopMonitor.h:136
std::vector< ObjME > jetPt_variableBinning_
Definition: TopMonitor.h:207
bool enablePhotonPlot_
Definition: TopMonitor.h:277
unsigned int nphotons_
Definition: TopMonitor.h:251
ObjME elePt_jetPt_
Definition: TopMonitor.h:158
std::vector< ObjME > muPhi_
Definition: TopMonitor.h:182
std::vector< double > HT_variable_binning_
Definition: TopMonitor.h:112
std::vector< ObjME > muPt_variableBinning_
Definition: TopMonitor.h:205
ObjME metPhiME_
Definition: TopMonitor.h:137
unsigned int njets_
Definition: TopMonitor.h:248
std::vector< ObjME > bjetPt_
Definition: TopMonitor.h:202
ObjME jetMulti_
Definition: TopMonitor.h:150
std::vector< double > invMass_mumu_variable_binning_
Definition: TopMonitor.h:120
std::vector< double > MHT_variable_binning_
Definition: TopMonitor.h:121
ObjME invMass_mumu_variableBinning_
Definition: TopMonitor.h:170
std::vector< ObjME > muEtaPhi_
Definition: TopMonitor.h:224
std::vector< ObjME > jetEta_
Definition: TopMonitor.h:191
unsigned int nelectrons_
Definition: TopMonitor.h:249
std::vector< ObjME > phoEtaPhi_
Definition: TopMonitor.h:227
unsigned int nmuons_
Definition: TopMonitor.h:250
ObjME bjetMulti_
Definition: TopMonitor.h:156
ObjME eleVsLS_
Definition: TopMonitor.h:141
std::vector< double > met_variable_binning_
Definition: TopMonitor.h:111
std::vector< ObjME > jetPhi_
Definition: TopMonitor.h:190
std::vector< ObjME > eleEta_
Definition: TopMonitor.h:187
std::vector< ObjME > muPtEta_
Definition: TopMonitor.h:223
bool applyMETcut_
Definition: TopMonitor.h:264
std::vector< double > jetPt_variable_binning_2D_
Definition: TopMonitor.h:124
double MHTcut_
Definition: TopMonitor.h:271
std::vector< double > HT_variable_binning_2D_
Definition: TopMonitor.h:123
MEbinning MHT_binning_
Definition: TopMonitor.h:108
std::vector< double > phi_variable_binning_2D_
Definition: TopMonitor.h:132
std::vector< ObjME > jetPt_
Definition: TopMonitor.h:192
double HTcut_
Definition: TopMonitor.h:255
std::vector< ObjME > eleEta_variableBinning_
Definition: TopMonitor.h:212
ObjME elePt_muPt_
Definition: TopMonitor.h:165
std::vector< ObjME > elePhi_
Definition: TopMonitor.h:186
std::vector< double > jetEta_variable_binning_2D_
Definition: TopMonitor.h:128
ObjME invMass_mumu_
Definition: TopMonitor.h:168
std::vector< ObjME > bjetEta_variableBinning_
Definition: TopMonitor.h:215
std::vector< double > muPt_variable_binning_2D_
Definition: TopMonitor.h:125
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
unsigned int nbjets_
Definition: TopMonitor.h:257
std::vector< ObjME > elePt_
Definition: TopMonitor.h:188
std::vector< ObjME > bjetEtaPhi_
Definition: TopMonitor.h:230
ObjME htVsLS_
Definition: TopMonitor.h:146
std::vector< ObjME > phoPt_
Definition: TopMonitor.h:196
std::vector< double > elePt_variable_binning_
Definition: TopMonitor.h:115
MEbinning csv_binning_
Definition: TopMonitor.h:105
ObjME mu1Eta_mu2Eta_
Definition: TopMonitor.h:164
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
Definition: TopMonitor.h:234
std::vector< ObjME > bjetEta_
Definition: TopMonitor.h:201
MEbinning DR_binning_
Definition: TopMonitor.h:103
std::vector< ObjME > phoPtEta_
Definition: TopMonitor.h:226
ObjME muPt_phoPt_
Definition: TopMonitor.h:173
std::vector< ObjME > elePtEta_
Definition: TopMonitor.h:221
MEbinning phi_binning_
Definition: TopMonitor.h:99
MEbinning eta_binning_
Definition: TopMonitor.h:101
ObjME eleMulti_
Definition: TopMonitor.h:151
std::vector< double > phoEta_variable_binning_2D_
Definition: TopMonitor.h:131
std::vector< double > muEta_variable_binning_2D_
Definition: TopMonitor.h:129
MEbinning ls_binning_
Definition: TopMonitor.h:98
std::vector< double > eleEta_variable_binning_2D_
Definition: TopMonitor.h:130
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
Definition: TopMonitor.h:233
std::vector< ObjME > phoPhi_
Definition: TopMonitor.h:194
MEbinning pt_binning_
Definition: TopMonitor.h:100
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)
std::vector< double > phoPt_variable_binning_2D_
Definition: TopMonitor.h:127
ObjME eventHT_variableBinning_
Definition: TopMonitor.h:180
std::vector< ObjME > muEta_variableBinning_
Definition: TopMonitor.h:211
std::vector< ObjME > bjetPhi_
Definition: TopMonitor.h:200
std::vector< double > eleEta_variable_binning_
Definition: TopMonitor.h:118
ObjME eventHT_
Definition: TopMonitor.h:179
void TopMonitor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 1007 of file TopMonitor.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), create_public_pileup_plots::bins, DEFINE_FWK_MODULE, TriggerDQMBase::fillHistoLSPSetDescription(), TriggerDQMBase::fillHistoPSetDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.

1008 {
1010  desc.add<std::string> ( "FolderName", "HLT/TOP" );
1011 
1012  desc.add<edm::InputTag>( "met", edm::InputTag("pfMet") );
1013  desc.add<edm::InputTag>( "jets", edm::InputTag("ak4PFJetsCHS") );
1014  desc.add<edm::InputTag>( "electrons",edm::InputTag("gedGsfElectrons") );
1015  desc.add<edm::InputTag>( "muons", edm::InputTag("muons") );
1016  //Menglei
1017  desc.add<edm::InputTag>( "photons", edm::InputTag("photons") );
1018  //Suvankar
1019  desc.add<edm::InputTag>( "vertices", edm::InputTag("offlinePrimaryVertices") );
1020  // Marina
1021  desc.add<edm::InputTag>( "btagalgo", edm::InputTag("pfCombinedSecondaryVertexV2BJetTags") );
1022  desc.add<std::string>("metSelection", "pt > 0");
1023  desc.add<std::string>("jetSelection", "pt > 0");
1024  desc.add<std::string>("eleSelection", "pt > 0");
1025  desc.add<std::string>("muoSelection", "pt > 0");
1026  //Menglei
1027  desc.add<std::string>("phoSelection", "pt > 0");
1028  desc.add<std::string>("HTdefinition", "pt > 0");
1029  //Suvankar
1030  desc.add<std::string>("vertexSelection", "!isFake");
1031  desc.add<std::string>("bjetSelection","pt > 0");
1032  desc.add<unsigned int>("njets", 0);
1033  desc.add<unsigned int>("nelectrons", 0);
1034  desc.add<unsigned int>("nmuons", 0);
1035  desc.add<unsigned int>("nphotons", 0);
1036  desc.add<double>("leptJetDeltaRmin", 0);
1037  desc.add<double>("bJetMuDeltaRmax" , 9999.);
1038  desc.add<double>("bJetDeltaEtaMax" , 9999.);
1039  desc.add<double>("HTcut", 0);
1040  // Marina
1041  desc.add<unsigned int>("nbjets", 0);
1042  desc.add<double>("workingpoint", 0.8484); // medium CSV
1043  //Suvankar
1044  desc.add<bool>("applyleptonPVcuts", false);
1045  //george
1046  desc.add<double>("invMassUppercut",-1.0);
1047  desc.add<double>("invMassLowercut",-1.0);
1048  desc.add<bool>("oppositeSignMuons",false);
1049  desc.add<std::string>("MHTdefinition", "pt > 0");
1050  desc.add<double>("MHTcut", -1);
1051  //Menglei
1052  desc.add<bool>("enablePhotonPlot", false);
1053 
1054  edm::ParameterSetDescription genericTriggerEventPSet;
1055  genericTriggerEventPSet.add<bool>("andOr");
1056  genericTriggerEventPSet.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi") );
1057  genericTriggerEventPSet.add<std::vector<int> >("dcsPartitions",{});
1058  genericTriggerEventPSet.add<bool>("andOrDcs", false);
1059  genericTriggerEventPSet.add<bool>("errorReplyDcs", true);
1060  genericTriggerEventPSet.add<std::string>("dbLabel","");
1061  genericTriggerEventPSet.add<bool>("andOrHlt", true);
1062  genericTriggerEventPSet.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT") );
1063  genericTriggerEventPSet.add<std::vector<std::string> >("hltPaths",{});
1064  genericTriggerEventPSet.add<std::string>("hltDBKey","");
1065  genericTriggerEventPSet.add<bool>("errorReplyHlt",false);
1066  genericTriggerEventPSet.add<unsigned int>("verbosityLevel",1);
1067 
1068  desc.add<edm::ParameterSetDescription>("numGenericTriggerEventPSet", genericTriggerEventPSet);
1069  desc.add<edm::ParameterSetDescription>("denGenericTriggerEventPSet", genericTriggerEventPSet);
1070 
1071  edm::ParameterSetDescription histoPSet;
1078  // Marina
1080  //george
1081  edm::ParameterSetDescription invMassPSet;
1083  fillHistoPSetDescription(metPSet);
1084  fillHistoPSetDescription(phiPSet);
1085  fillHistoPSetDescription(ptPSet);
1086  fillHistoPSetDescription(etaPSet);
1087  fillHistoPSetDescription(htPSet);
1088  fillHistoPSetDescription(DRPSet);
1089  // Marina
1090  fillHistoPSetDescription(csvPSet);
1091  //george
1092  fillHistoPSetDescription(MHTPSet);
1093  fillHistoPSetDescription(invMassPSet);
1094  histoPSet.add<edm::ParameterSetDescription>("metPSet", metPSet);
1095  histoPSet.add<edm::ParameterSetDescription>("etaPSet", etaPSet);
1096  histoPSet.add<edm::ParameterSetDescription>("phiPSet", phiPSet);
1097  histoPSet.add<edm::ParameterSetDescription>("ptPSet", ptPSet);
1098  histoPSet.add<edm::ParameterSetDescription>("htPSet", htPSet);
1099  histoPSet.add<edm::ParameterSetDescription>("DRPSet", DRPSet);
1100  // Marina
1101  histoPSet.add<edm::ParameterSetDescription>("csvPSet", csvPSet);
1102  //george
1103  histoPSet.add<edm::ParameterSetDescription>("invMassPSet", invMassPSet);
1104  histoPSet.add<edm::ParameterSetDescription>("MHTPSet", MHTPSet);
1105 
1106  std::vector<double> bins = {0.,20.,40.,60.,80.,90.,100.,110.,120.,130.,140.,150.,160.,170.,180.,190.,200.,220.,240.,260.,280.,300.,350.,400.,450.,1000.};
1107  std::vector<double> eta_bins = {-3.,-2.5,-2.,-1.5,-1.,-.5,0.,.5,1.,1.5,2.,2.5,3.};
1108  histoPSet.add<std::vector<double> >("metBinning", bins);
1109  histoPSet.add<std::vector<double> >("HTBinning", bins);
1110  histoPSet.add<std::vector<double> >("jetPtBinning", bins);
1111  histoPSet.add<std::vector<double> >("elePtBinning", bins);
1112  histoPSet.add<std::vector<double> >("muPtBinning", bins);
1113  histoPSet.add<std::vector<double> >("jetEtaBinning", eta_bins);
1114  histoPSet.add<std::vector<double> >("eleEtaBinning", eta_bins);
1115  histoPSet.add<std::vector<double> >("muEtaBinning", eta_bins);
1116  //george
1117  histoPSet.add<std::vector<double> >("invMassVariableBinning", bins);
1118  histoPSet.add<std::vector<double> >("MHTVariableBinning", bins);
1119 
1120  std::vector<double> bins_2D = {0.,40.,80.,100.,120.,140.,160.,180.,200.,240.,280.,350.,450.,1000.};
1121  std::vector<double> eta_bins_2D = {-3.,-2.,-1.,0.,1.,2.,3.};
1122  std::vector<double> phi_bins_2D = {-3.1415,-2.5132,-1.8849,-1.2566,-0.6283,0,0.6283,1.2566,1.8849,2.5132,3.1415};
1123  histoPSet.add<std::vector<double> >("HTBinning2D", bins_2D);
1124  histoPSet.add<std::vector<double> >("jetPtBinning2D", bins_2D);
1125  histoPSet.add<std::vector<double> >("elePtBinning2D", bins_2D);
1126  histoPSet.add<std::vector<double> >("muPtBinning2D", bins_2D);
1127  histoPSet.add<std::vector<double> >("phoPtBinning2D", bins_2D);
1128  histoPSet.add<std::vector<double> >("jetEtaBinning2D", eta_bins_2D);
1129  histoPSet.add<std::vector<double> >("eleEtaBinning2D", eta_bins_2D);
1130  histoPSet.add<std::vector<double> >("muEtaBinning2D", eta_bins_2D);
1131  histoPSet.add<std::vector<double> >("phoEtaBinning2D", eta_bins_2D);
1132  histoPSet.add<std::vector<double> >("phiBinning2D", phi_bins_2D);
1133 
1136  histoPSet.add<edm::ParameterSetDescription>("lsPSet", lsPSet);
1137 
1138  desc.add<edm::ParameterSetDescription>("histoPSet",histoPSet);
1139  //Suvankar
1140  edm::ParameterSetDescription lPVcutPSet;
1141  lPVcutPSet.add<double>( "dxy", 9999. );
1142  lPVcutPSet.add<double>( "dz", 9999. );
1143  desc.add<edm::ParameterSetDescription>("leptonPVcuts", lPVcutPSet);
1144 
1145  descriptions.add("topMonitoring", desc);
1146 }
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

Member Data Documentation

bool TopMonitor::applyMETcut_ = false
private

Definition at line 264 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetCSV_
private

Definition at line 203 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetCSVHT_
private

Definition at line 231 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

double TopMonitor::bJetDeltaEtaMax_
private

Definition at line 254 of file TopMonitor.h.

Referenced by analyze().

std::vector<ObjME> TopMonitor::bjetEta_
private

Definition at line 201 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetEta_variableBinning_
private

Definition at line 215 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetEtaPhi_
private

Definition at line 230 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

double TopMonitor::bJetMuDeltaRmax_
private

Definition at line 253 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::bjetMulti_
private

Definition at line 156 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<ObjME> TopMonitor::bjetPhi_
private

Definition at line 200 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetPt_
private

Definition at line 202 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetPt_variableBinning_
private

Definition at line 209 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::bjetPtEta_
private

Definition at line 229 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

StringCutObjectSelector<reco::Jet,true > TopMonitor::bjetSelection_
private

Definition at line 246 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::bjetVsLS_
private

Definition at line 145 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

MEbinning TopMonitor::csv_binning_
private

Definition at line 105 of file TopMonitor.h.

Referenced by bookHistograms().

ObjME TopMonitor::DeltaR_jet_Mu_
private

Definition at line 177 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::unique_ptr<GenericTriggerEventFlag> TopMonitor::den_genTriggerEventFlag_
private

Definition at line 234 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and ~TopMonitor().

MEbinning TopMonitor::DR_binning_
private

Definition at line 103 of file TopMonitor.h.

Referenced by bookHistograms().

ObjME TopMonitor::ele1Eta_ele2Eta_
private

Definition at line 162 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::ele1Pt_ele2Pt_
private

Definition at line 161 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<ObjME> TopMonitor::eleEta_
private

Definition at line 187 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::eleEta_muEta_
private

Definition at line 166 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<double> TopMonitor::eleEta_variable_binning_
private

Definition at line 118 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::eleEta_variable_binning_2D_
private

Definition at line 130 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::eleEta_variableBinning_
private

Definition at line 212 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::eleEtaPhi_
private

Definition at line 222 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::eleMulti_
private

Definition at line 151 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<ObjME> TopMonitor::elePhi_
private

Definition at line 186 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::elePt_
private

Definition at line 188 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::elePt_eventHT_
private

Definition at line 159 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::elePt_jetPt_
private

Definition at line 158 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::elePt_muPt_
private

Definition at line 165 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<double> TopMonitor::elePt_variable_binning_
private

Definition at line 115 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::elePt_variable_binning_2D_
private

Definition at line 126 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::elePt_variableBinning_
private

Definition at line 206 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::elePtEta_
private

Definition at line 221 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

StringCutObjectSelector<reco::GsfElectron,true> TopMonitor::eleSelection_
private

Definition at line 238 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<edm::View<reco::GsfElectron> > TopMonitor::eleToken_
private

Definition at line 83 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::eleVsLS_
private

Definition at line 141 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

bool TopMonitor::enablePhotonPlot_
private

Definition at line 277 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

MEbinning TopMonitor::eta_binning_
private

Definition at line 101 of file TopMonitor.h.

Referenced by bookHistograms().

ObjME TopMonitor::eventHT_
private

Definition at line 179 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::eventHT_variableBinning_
private

Definition at line 180 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::eventMHT_
private

Definition at line 169 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::eventMHT_variableBinning_
private

Definition at line 171 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::string TopMonitor::folderName_
private

Definition at line 78 of file TopMonitor.h.

Referenced by bookHistograms().

std::string TopMonitor::histoSuffix_
private

Definition at line 79 of file TopMonitor.h.

MEbinning TopMonitor::HT_binning_
private

Definition at line 102 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::HT_variable_binning_
private

Definition at line 112 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::HT_variable_binning_2D_
private

Definition at line 123 of file TopMonitor.h.

Referenced by bookHistograms().

double TopMonitor::HTcut_
private

Definition at line 255 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

StringCutObjectSelector<reco::PFJet,true > TopMonitor::HTdefinition_
private

Definition at line 241 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::htVsLS_
private

Definition at line 146 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::invMass_mumu_
private

Definition at line 168 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

MEbinning TopMonitor::invMass_mumu_binning_
private

Definition at line 107 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::invMass_mumu_variable_binning_
private

Definition at line 120 of file TopMonitor.h.

Referenced by bookHistograms().

ObjME TopMonitor::invMass_mumu_variableBinning_
private

Definition at line 170 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

double TopMonitor::invMassLowercut_
private

Definition at line 268 of file TopMonitor.h.

Referenced by analyze().

double TopMonitor::invMassUppercut_
private

Definition at line 267 of file TopMonitor.h.

Referenced by analyze().

std::vector<ObjME> TopMonitor::jetEta_
private

Definition at line 191 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<double> TopMonitor::jetEta_variable_binning_
private

Definition at line 116 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::jetEta_variable_binning_2D_
private

Definition at line 128 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::jetEta_variableBinning_
private

Definition at line 213 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::jetEtaPhi_
private

Definition at line 220 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::jetEtaPhi_HEP17_
private

Definition at line 148 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::jetMulti_
private

Definition at line 150 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<ObjME> TopMonitor::jetPhi_
private

Definition at line 190 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::jetPt_
private

Definition at line 192 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<double> TopMonitor::jetPt_variable_binning_
private

Definition at line 113 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::jetPt_variable_binning_2D_
private

Definition at line 124 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::jetPt_variableBinning_
private

Definition at line 207 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::jetPtEta_
private

Definition at line 219 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

StringCutObjectSelector<reco::PFJet,true > TopMonitor::jetSelection_
private

Definition at line 237 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::JetTagCollection> TopMonitor::jetTagToken_
private

Definition at line 87 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PFJetCollection> TopMonitor::jetToken_
private

Definition at line 82 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::jetVsLS_
private

Definition at line 139 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

PVcut TopMonitor::lepPVcuts_
private

Definition at line 261 of file TopMonitor.h.

Referenced by analyze(), and TopMonitor().

double TopMonitor::leptJetDeltaRmin_
private

Definition at line 252 of file TopMonitor.h.

Referenced by analyze().

MEbinning TopMonitor::ls_binning_
private

Definition at line 98 of file TopMonitor.h.

Referenced by bookHistograms().

MEbinning TopMonitor::met_binning_
private

Definition at line 97 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::met_variable_binning_
private

Definition at line 111 of file TopMonitor.h.

Referenced by bookHistograms().

ObjME TopMonitor::metME_
private

Definition at line 134 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::metME_variableBinning_
private

Definition at line 135 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::metPhiME_
private

Definition at line 137 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

StringCutObjectSelector<reco::MET,true> TopMonitor::metSelection_
private

Definition at line 236 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PFMETCollection> TopMonitor::metToken_
private

Definition at line 81 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::metVsLS_
private

Definition at line 136 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

MEbinning TopMonitor::MHT_binning_
private

Definition at line 108 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::MHT_variable_binning_
private

Definition at line 121 of file TopMonitor.h.

Referenced by bookHistograms().

double TopMonitor::MHTcut_
private

Definition at line 271 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

StringCutObjectSelector<reco::PFJet,true > TopMonitor::MHTdefinition_
private

Definition at line 270 of file TopMonitor.h.

Referenced by analyze().

double TopMonitor::mll
private

Definition at line 272 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::mu1Eta_mu2Eta_
private

Definition at line 164 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

ObjME TopMonitor::mu1Pt_mu2Pt_
private

Definition at line 163 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<ObjME> TopMonitor::muEta_
private

Definition at line 183 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::muEta_phoEta_
private

Definition at line 174 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<double> TopMonitor::muEta_variable_binning_
private

Definition at line 117 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::muEta_variable_binning_2D_
private

Definition at line 129 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::muEta_variableBinning_
private

Definition at line 211 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::muEtaPhi_
private

Definition at line 224 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::muMulti_
private

Definition at line 152 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

StringCutObjectSelector<reco::Muon,true> TopMonitor::muoSelection_
private

Definition at line 239 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::MuonCollection> TopMonitor::muoToken_
private

Definition at line 84 of file TopMonitor.h.

Referenced by analyze().

std::vector<ObjME> TopMonitor::muPhi_
private

Definition at line 182 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::muPt_
private

Definition at line 184 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::muPt_phoPt_
private

Definition at line 173 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

std::vector<double> TopMonitor::muPt_variable_binning_
private

Definition at line 114 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::muPt_variable_binning_2D_
private

Definition at line 125 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::muPt_variableBinning_
private

Definition at line 205 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::muPtEta_
private

Definition at line 223 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::muVsLS_
private

Definition at line 140 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

unsigned int TopMonitor::nbjets_
private

Definition at line 257 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

unsigned int TopMonitor::nelectrons_
private

Definition at line 249 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

unsigned int TopMonitor::njets_
private

Definition at line 248 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

unsigned int TopMonitor::nmuons_
private

Definition at line 250 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

unsigned int TopMonitor::nphotons_
private

Definition at line 251 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::unique_ptr<GenericTriggerEventFlag> TopMonitor::num_genTriggerEventFlag_
private

Definition at line 233 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and ~TopMonitor().

bool TopMonitor::opsign_
private

Definition at line 269 of file TopMonitor.h.

Referenced by analyze().

MEbinning TopMonitor::phi_binning_
private

Definition at line 99 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<double> TopMonitor::phi_variable_binning_2D_
private

Definition at line 132 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::phoEta_
private

Definition at line 195 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<double> TopMonitor::phoEta_variable_binning_2D_
private

Definition at line 131 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::phoEtaPhi_
private

Definition at line 227 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

ObjME TopMonitor::phoMulti_
private

Definition at line 154 of file TopMonitor.h.

Referenced by analyze().

std::vector<ObjME> TopMonitor::phoPhi_
private

Definition at line 194 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<ObjME> TopMonitor::phoPt_
private

Definition at line 196 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

std::vector<double> TopMonitor::phoPt_variable_binning_2D_
private

Definition at line 127 of file TopMonitor.h.

Referenced by bookHistograms().

std::vector<ObjME> TopMonitor::phoPtEta_
private

Definition at line 226 of file TopMonitor.h.

Referenced by analyze(), bookHistograms(), and TopMonitor().

StringCutObjectSelector<reco::Photon, true> TopMonitor::phoSelection_
private

Definition at line 240 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::PhotonCollection> TopMonitor::phoToken_
private

Definition at line 85 of file TopMonitor.h.

Referenced by analyze().

ObjME TopMonitor::phoVsLS_
private

Definition at line 143 of file TopMonitor.h.

Referenced by analyze(), and bookHistograms().

MEbinning TopMonitor::pt_binning_
private

Definition at line 100 of file TopMonitor.h.

Referenced by bookHistograms().

int TopMonitor::sign
private

Definition at line 273 of file TopMonitor.h.

Referenced by analyze().

bool TopMonitor::usePVcuts_
private

Definition at line 262 of file TopMonitor.h.

Referenced by analyze().

StringCutObjectSelector<reco::Vertex,true> TopMonitor::vtxSelection_
private

Definition at line 244 of file TopMonitor.h.

Referenced by analyze().

edm::EDGetTokenT<reco::VertexCollection> TopMonitor::vtxToken_
private

Definition at line 89 of file TopMonitor.h.

Referenced by analyze().

double TopMonitor::workingpoint_
private

Definition at line 258 of file TopMonitor.h.

Referenced by analyze().