CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
SUSY_HLT_InclusiveHT Class Reference

#include <SUSY_HLT_InclusiveHT.h>

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

Public Member Functions

 SUSY_HLT_InclusiveHT (const edm::ParameterSet &ps)
 
 ~SUSY_HLT_InclusiveHT () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void beginRun (edm::Run const &, edm::EventSetup const &) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
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
 
 ~EDAnalyzerBase () override
 
- 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)
 

Protected Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &eSetup) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
 
void endRun (edm::Run const &run, edm::EventSetup const &eSetup) 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)
 

Private Member Functions

void bookHistos (DQMStore::IBooker &)
 

Private Attributes

double etaThrJet_
 
MonitorElementh_caloHT
 
MonitorElementh_caloJetEta
 
MonitorElementh_caloJetPhi
 
MonitorElementh_caloJetPt
 
MonitorElementh_pfHT
 
MonitorElementh_pfHTTurnOn_den
 
MonitorElementh_pfHTTurnOn_num
 
MonitorElementh_pfJetEta
 
MonitorElementh_pfJetPhi
 
MonitorElementh_pfJetPt
 
MonitorElementh_pfMet
 
MonitorElementh_pfMetPhi
 
MonitorElementh_pfMetTurnOn_den
 
MonitorElementh_pfMetTurnOn_num
 
MonitorElementh_triggerHT
 
MonitorElementh_triggerJetEta
 
MonitorElementh_triggerJetPhi
 
MonitorElementh_triggerJetPt
 
MonitorElementh_triggerMetPhi
 
MonitorElementh_triggerMetPt
 
double ptThrJet_
 
edm::EDGetTokenT< reco::CaloJetCollectiontheCaloJetCollection_
 
edm::EDGetTokenT< reco::PFJetCollectionthePfJetCollection_
 
edm::EDGetTokenT< reco::PFMETCollectionthePfMETCollection_
 
edm::EDGetTokenT< trigger::TriggerEventtheTrigSummary_
 
edm::InputTag triggerFilter_
 
std::string triggerPath_
 
std::string triggerPathAuxiliaryForHadronic_
 
edm::EDGetTokenT< edm::TriggerResultstriggerResults_
 

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
 
- 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)
 

Detailed Description

Definition at line 28 of file SUSY_HLT_InclusiveHT.h.

Constructor & Destructor Documentation

SUSY_HLT_InclusiveHT::SUSY_HLT_InclusiveHT ( const edm::ParameterSet ps)

Definition at line 9 of file SUSY_HLT_InclusiveHT.cc.

References etaThrJet_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ptThrJet_, AlCaHLTBitMon_QueryRunRegistry::string, theCaloJetCollection_, thePfJetCollection_, thePfMETCollection_, theTrigSummary_, triggerFilter_, triggerPath_, triggerPathAuxiliaryForHadronic_, and triggerResults_.

10 {
11  edm::LogInfo("SUSY_HLT_InclusiveHT") << "Constructor SUSY_HLT_InclusiveHT::SUSY_HLT_InclusiveHT " << std::endl;
12  // Get parameters from configuration file
13  theTrigSummary_ = consumes<trigger::TriggerEvent>(ps.getParameter<edm::InputTag>("trigSummary"));
14  thePfMETCollection_ = consumes<reco::PFMETCollection>(ps.getParameter<edm::InputTag>("pfMETCollection"));
15  thePfJetCollection_ = consumes<reco::PFJetCollection>(ps.getParameter<edm::InputTag>("pfJetCollection"));
16  theCaloJetCollection_ = consumes<reco::CaloJetCollection>(ps.getParameter<edm::InputTag>("caloJetCollection"));
17  triggerResults_ = consumes<edm::TriggerResults>(ps.getParameter<edm::InputTag>("TriggerResults"));
18  triggerPath_ = ps.getParameter<std::string>("TriggerPath");
19  triggerPathAuxiliaryForHadronic_ = ps.getParameter<std::string>("TriggerPathAuxiliaryForHadronic");
20  triggerFilter_ = ps.getParameter<edm::InputTag>("TriggerFilter");
21  ptThrJet_ = ps.getUntrackedParameter<double>("PtThrJet");
22  etaThrJet_ = ps.getUntrackedParameter<double>("EtaThrJet");
23 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::string triggerPathAuxiliaryForHadronic_
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollection_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
SUSY_HLT_InclusiveHT::~SUSY_HLT_InclusiveHT ( )
override

Definition at line 25 of file SUSY_HLT_InclusiveHT.cc.

26 {
27  edm::LogInfo("SUSY_HLT_InclusiveHT") << "Destructor SUSY_HLT_InclusiveHT::~SUSY_HLT_InclusiveHT " << std::endl;
28 }

Member Function Documentation

void SUSY_HLT_InclusiveHT::analyze ( edm::Event const &  e,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 48 of file SUSY_HLT_InclusiveHT.cc.

References edm::HLTGlobalStatus::accept(), etaThrJet_, MonitorElement::Fill(), HcalObjRepresent::Fill(), trigger::TriggerEvent::filterIndex(), trigger::TriggerEvent::filterKeys(), edm::Event::getByToken(), trigger::TriggerEvent::getObjects(), h_caloHT, h_caloJetEta, h_caloJetPhi, h_caloJetPt, h_pfHT, h_pfHTTurnOn_den, h_pfHTTurnOn_num, h_pfJetEta, h_pfJetPhi, h_pfJetPt, h_pfMet, h_pfMetPhi, h_pfMetTurnOn_den, h_pfMetTurnOn_num, h_triggerHT, h_triggerMetPhi, h_triggerMetPt, trigger::TriggerObject::id(), edm::EventBase::isRealData(), edm::HandleBase::isValid(), relativeConstraints::keys, trigger::TriggerObject::phi(), trigger::TriggerObject::pt(), ptThrJet_, edm::TriggerNames::size(), trigger::TriggerEvent::sizeFilters(), theCaloJetCollection_, thePfJetCollection_, thePfMETCollection_, theTrigSummary_, triggerFilter_, edm::TriggerNames::triggerName(), edm::Event::triggerNames(), TriggerAnalyzer::triggerObjects, triggerPath_, triggerPathAuxiliaryForHadronic_, triggerResults_, trigNames, and edm::HLTGlobalStatus::wasrun().

48  {
49  edm::LogInfo("SUSY_HLT_InclusiveHT") << "SUSY_HLT_InclusiveHT::analyze" << std::endl;
50 
51 
52  //-------------------------------
53  //--- MET
54  //-------------------------------
55  edm::Handle<reco::PFMETCollection> pfMETCollection;
56  e.getByToken(thePfMETCollection_, pfMETCollection);
57  if ( !pfMETCollection.isValid() ){
58  edm::LogError ("SUSY_HLT_InclusiveHT") << "invalid collection: PFMET" << "\n";
59  return;
60  }
61  //-------------------------------
62  //--- Jets
63  //-------------------------------
64  edm::Handle<reco::PFJetCollection> pfJetCollection;
65  e.getByToken (thePfJetCollection_,pfJetCollection);
66  if ( !pfJetCollection.isValid() ){
67  edm::LogError ("SUSY_HLT_InclusiveHT") << "invalid collection: PFJets" << "\n";
68  return;
69  }
70  edm::Handle<reco::CaloJetCollection> caloJetCollection;
71  e.getByToken (theCaloJetCollection_,caloJetCollection);
72  if ( !caloJetCollection.isValid() ){
73  edm::LogError ("SUSY_HLT_InclusiveHT") << "invalid collection: CaloJets" << "\n";
74  return;
75  }
76 
77  //check what is in the menu
79  e.getByToken(triggerResults_,hltresults);
80  if(!hltresults.isValid()){
81  edm::LogError ("SUSY_HLT_InclusiveHT") << "invalid collection: TriggerResults" << "\n";
82  return;
83  }
84 
85  //-------------------------------
86  //--- Trigger
87  //-------------------------------
89  e.getByToken(theTrigSummary_, triggerSummary);
90  if(!triggerSummary.isValid()) {
91  edm::LogError ("SUSY_HLT_InclusiveHT") << "invalid collection: TriggerSummary" << "\n";
92  return;
93  }
94 
95  //get online objects
96  size_t filterIndex = triggerSummary->filterIndex( triggerFilter_ );
98  if( !(filterIndex >= triggerSummary->sizeFilters()) ){
99  const trigger::Keys& keys = triggerSummary->filterKeys( filterIndex );
100  for( size_t j = 0; j < keys.size(); ++j ){
101  trigger::TriggerObject foundObject = triggerObjects[keys[j]];
102  //if(foundObject.id() == 85 && foundObject.pt() > 40.0 && fabs(foundObject.eta()) < 3.0){
103  // h_triggerJetPt->Fill(foundObject.pt());
104  // h_triggerJetEta->Fill(foundObject.eta());
105  // h_triggerJetPhi->Fill(foundObject.phi());
106  //}
107  if(foundObject.id() == 87){
108  h_triggerMetPt->Fill(foundObject.pt());
109  h_triggerMetPhi->Fill(foundObject.phi());
110  }
111  if(foundObject.id() == 89){
112  h_triggerHT->Fill(foundObject.pt());
113  }
114  }
115  }
116 
117  bool hasFired = false, hasFiredAuxiliaryForHadronicLeg=false;
118  const edm::TriggerNames& trigNames = e.triggerNames(*hltresults);
119  unsigned int numTriggers = trigNames.size();
120  for( unsigned int hltIndex=0; hltIndex<numTriggers; ++hltIndex ){
121  if (trigNames.triggerName(hltIndex).find(triggerPath_) != std::string::npos && hltresults->wasrun(hltIndex) && hltresults->accept(hltIndex)) hasFired = true;
122  if (trigNames.triggerName(hltIndex).find(triggerPathAuxiliaryForHadronic_) != std::string::npos && hltresults->wasrun(hltIndex) && hltresults->accept(hltIndex)) hasFiredAuxiliaryForHadronicLeg = true;
123  }
124 
125  if(hasFiredAuxiliaryForHadronicLeg || !e.isRealData()) {
126  float caloHT = 0.0;
127  float pfHT = 0.0;
128  for (reco::PFJetCollection::const_iterator i_pfjet = pfJetCollection->begin(); i_pfjet != pfJetCollection->end(); ++i_pfjet){
129  if (i_pfjet->pt() < ptThrJet_) continue;
130  if (fabs(i_pfjet->eta()) > etaThrJet_) continue;
131  pfHT += i_pfjet->pt();
132  }
133 
134  if(hasFired){
135  for (reco::CaloJetCollection::const_iterator i_calojet = caloJetCollection->begin(); i_calojet != caloJetCollection->end(); ++i_calojet){
136  if (i_calojet->pt() < ptThrJet_) continue;
137  if (fabs(i_calojet->eta()) > etaThrJet_) continue;
138  h_caloJetPt ->Fill(i_calojet->pt());
139  h_caloJetEta ->Fill(i_calojet->eta());
140  h_caloJetPhi ->Fill(i_calojet->phi());
141  caloHT += i_calojet->pt();
142  }
143  for (reco::PFJetCollection::const_iterator i_pfjet = pfJetCollection->begin(); i_pfjet != pfJetCollection->end(); ++i_pfjet){
144  if (i_pfjet->pt() < ptThrJet_) continue;
145  if (fabs(i_pfjet->eta()) > etaThrJet_) continue;
146  h_pfJetPt ->Fill(i_pfjet->pt());
147  h_pfJetEta ->Fill(i_pfjet->eta());
148  h_pfJetPhi ->Fill(i_pfjet->phi());
149  }
150  h_pfMet -> Fill(pfMETCollection->begin()->et());
151  h_pfMetPhi -> Fill(pfMETCollection->begin()->phi());
152  h_pfHT -> Fill(pfHT);
153  h_caloHT -> Fill(caloHT);
154 
155  h_pfMetTurnOn_num -> Fill(pfMETCollection->begin()->et());
156  h_pfHTTurnOn_num -> Fill(pfHT);
157  }
158  //fill denominator histograms for all events, used for turn on curves
159  h_pfMetTurnOn_den -> Fill(pfMETCollection->begin()->et());
160  h_pfHTTurnOn_den -> Fill(pfHT);
161  }
162 }
MonitorElement * h_pfHTTurnOn_num
bool wasrun() const
Was at least one path run?
int id() const
getters
Definition: TriggerObject.h:55
trigger::size_type sizeFilters() const
Definition: TriggerEvent.h:135
std::string triggerPathAuxiliaryForHadronic_
MonitorElement * h_caloHT
float phi() const
Definition: TriggerObject.h:58
bool accept() const
Has at least one path accepted the event?
const Keys & filterKeys(trigger::size_type index) const
Definition: TriggerEvent.h:111
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
Definition: TriggerEvent.h:123
MonitorElement * h_pfJetEta
MonitorElement * h_pfHTTurnOn_den
Strings::size_type size() const
Definition: TriggerNames.cc:39
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
void Fill(long long x)
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:22
const TriggerObjectCollection & getObjects() const
Definition: TriggerEvent.h:98
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
bool isValid() const
Definition: HandleBase.h:74
MonitorElement * h_pfMetPhi
MonitorElement * h_pfMetTurnOn_num
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
MonitorElement * h_caloJetEta
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Definition: TriggerObject.h:81
MonitorElement * h_pfJetPt
static const char *const trigNames[]
Definition: EcalDumpRaw.cc:74
MonitorElement * h_triggerMetPt
MonitorElement * h_triggerHT
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:27
std::vector< size_type > Keys
MonitorElement * h_caloJetPt
MonitorElement * h_pfMetTurnOn_den
MonitorElement * h_pfMet
MonitorElement * h_caloJetPhi
MonitorElement * h_triggerMetPhi
MonitorElement * h_pfJetPhi
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollection_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
void SUSY_HLT_InclusiveHT::beginLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 42 of file SUSY_HLT_InclusiveHT.cc.

44 {
45  edm::LogInfo("SUSY_HLT_InclusiveHT") << "SUSY_HLT_InclusiveHT::beginLuminosityBlock" << std::endl;
46 }
void SUSY_HLT_InclusiveHT::bookHistograms ( DQMStore::IBooker ibooker_,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 35 of file SUSY_HLT_InclusiveHT.cc.

References bookHistos().

36 {
37  edm::LogInfo("SUSY_HLT_InclusiveHT") << "SUSY_HLT_InclusiveHT::bookHistograms" << std::endl;
38  //book at beginRun
39  bookHistos(ibooker_);
40 }
void bookHistos(DQMStore::IBooker &)
void SUSY_HLT_InclusiveHT::bookHistos ( DQMStore::IBooker ibooker_)
private

Definition at line 176 of file SUSY_HLT_InclusiveHT.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::cd(), DEFINE_FWK_MODULE, h_caloHT, h_caloJetEta, h_caloJetPhi, h_caloJetPt, h_pfHT, h_pfHTTurnOn_den, h_pfHTTurnOn_num, h_pfJetEta, h_pfJetPhi, h_pfJetPt, h_pfMet, h_pfMetPhi, h_pfMetTurnOn_den, h_pfMetTurnOn_num, h_triggerHT, h_triggerMetPhi, h_triggerMetPt, DQMStore::IBooker::setCurrentFolder(), and triggerPath_.

Referenced by bookHistograms().

177 {
178  ibooker_.cd();
179  ibooker_.setCurrentFolder("HLT/SUSYBSM/" + triggerPath_);
180 
181  //offline quantities
182  h_pfMet = ibooker_.book1D("pfMet", "PF Missing E_{T}; GeV", 20, 0.0, 500.0 );
183  h_pfMetPhi = ibooker_.book1D("pfMetPhi", "PF MET Phi", 20, -3.5, 3.5 );
184  h_pfHT = ibooker_.book1D("pfHT", "PF H_{T}; GeV", 30, 0.0, 1500.0);
185  h_caloHT = ibooker_.book1D("caloHT", "Calo H_{T}; GeV", 30, 0.0, 1500.0);
186  h_pfJetPt = ibooker_.book1D("pfJetPt", "PFJet P_{T}; GeV", 20, 0.0, 500.0 );
187  h_pfJetEta = ibooker_.book1D("pfJetEta", "PFJet Eta", 20, -3.0, 3.0 );
188  h_pfJetPhi = ibooker_.book1D("pfJetPhi", "PFJet Phi", 20, -3.5, 3.5 );
189  h_caloJetPt = ibooker_.book1D("caloJetPt", "CaloJet P_{T}; GeV", 20, 0.0, 500.0 );
190  h_caloJetEta = ibooker_.book1D("caloJetEta", "CaloJet Eta", 20, -3.0, 3.0 );
191  h_caloJetPhi = ibooker_.book1D("caloJetPhi", "CaloJet Phi", 20, -3.5, 3.5 );
192 
193  //online quantities
194  //h_triggerJetPt = ibooker_.book1D("triggerJetPt", "Trigger Jet Pt; GeV", 20, 0.0, 500.0);
195  //h_triggerJetEta = ibooker_.book1D("triggerJetEta", "Trigger Jet Eta", 20, -3.0, 3.0);
196  //h_triggerJetPhi = ibooker_.book1D("triggerJetPhi", "Trigger Jet Phi", 20, -3.5, 3.5);
197  h_triggerMetPt = ibooker_.book1D("triggerMetPt", "Trigger Met Pt; GeV", 20, 0.0, 500.0);
198  h_triggerMetPhi = ibooker_.book1D("triggerMetPhi", "Trigger Met Phi", 20, -3.5, 3.5);
199  h_triggerHT = ibooker_.book1D("triggerHT", "Trigger HT; GeV", 30, 0.0, 1500.0);
200 
201  //num and den hists to be divided in harvesting step to make turn on curves
202  h_pfMetTurnOn_num = ibooker_.book1D("pfMetTurnOn_num", "PF MET Turn On Numerator", 20, 0.0, 500.0 );
203  h_pfMetTurnOn_den = ibooker_.book1D("pfMetTurnOn_den", "PF MET Turn OnDenominator", 20, 0.0, 500.0 );
204  h_pfHTTurnOn_num = ibooker_.book1D("pfHTTurnOn_num", "PF HT Turn On Numerator", 30, 0.0, 1500.0 );
205  h_pfHTTurnOn_den = ibooker_.book1D("pfHTTurnOn_den", "PF HT Turn On Denominator", 30, 0.0, 1500.0 );
206 
207  ibooker_.cd();
208 }
MonitorElement * h_pfHTTurnOn_num
MonitorElement * h_caloHT
void cd(void)
Definition: DQMStore.cc:269
MonitorElement * h_pfJetEta
MonitorElement * h_pfHTTurnOn_den
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * h_pfMetPhi
MonitorElement * h_pfMetTurnOn_num
MonitorElement * h_caloJetEta
MonitorElement * h_pfJetPt
MonitorElement * h_triggerMetPt
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * h_triggerHT
MonitorElement * h_caloJetPt
MonitorElement * h_pfMetTurnOn_den
MonitorElement * h_pfMet
MonitorElement * h_caloJetPhi
MonitorElement * h_triggerMetPhi
MonitorElement * h_pfJetPhi
void SUSY_HLT_InclusiveHT::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 30 of file SUSY_HLT_InclusiveHT.cc.

31 {
32  edm::LogInfo("SUSY_HLT_InclusiveHT") << "SUSY_HLT_InclusiveHT::beginRun" << std::endl;
33 }
void SUSY_HLT_InclusiveHT::endLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 165 of file SUSY_HLT_InclusiveHT.cc.

166 {
167  edm::LogInfo("SUSY_HLT_InclusiveHT") << "SUSY_HLT_InclusiveHT::endLuminosityBlock" << std::endl;
168 }
void SUSY_HLT_InclusiveHT::endRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 171 of file SUSY_HLT_InclusiveHT.cc.

172 {
173  edm::LogInfo("SUSY_HLT_InclusiveHT") << "SUSY_HLT_InclusiveHT::endRun" << std::endl;
174 }

Member Data Documentation

double SUSY_HLT_InclusiveHT::etaThrJet_
private

Definition at line 57 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

MonitorElement* SUSY_HLT_InclusiveHT::h_caloHT
private

Definition at line 63 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_caloJetEta
private

Definition at line 68 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_caloJetPhi
private

Definition at line 69 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_caloJetPt
private

Definition at line 67 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfHT
private

Definition at line 62 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfHTTurnOn_den
private

Definition at line 79 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfHTTurnOn_num
private

Definition at line 78 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfJetEta
private

Definition at line 65 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfJetPhi
private

Definition at line 66 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfJetPt
private

Definition at line 64 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfMet
private

Definition at line 60 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfMetPhi
private

Definition at line 61 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfMetTurnOn_den
private

Definition at line 77 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_pfMetTurnOn_num
private

Definition at line 76 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_triggerHT
private

Definition at line 75 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_triggerJetEta
private

Definition at line 71 of file SUSY_HLT_InclusiveHT.h.

MonitorElement* SUSY_HLT_InclusiveHT::h_triggerJetPhi
private

Definition at line 72 of file SUSY_HLT_InclusiveHT.h.

MonitorElement* SUSY_HLT_InclusiveHT::h_triggerJetPt
private

Definition at line 70 of file SUSY_HLT_InclusiveHT.h.

MonitorElement* SUSY_HLT_InclusiveHT::h_triggerMetPhi
private

Definition at line 74 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

MonitorElement* SUSY_HLT_InclusiveHT::h_triggerMetPt
private

Definition at line 73 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and bookHistos().

double SUSY_HLT_InclusiveHT::ptThrJet_
private

Definition at line 56 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

edm::EDGetTokenT<reco::CaloJetCollection> SUSY_HLT_InclusiveHT::theCaloJetCollection_
private

Definition at line 49 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

edm::EDGetTokenT<reco::PFJetCollection> SUSY_HLT_InclusiveHT::thePfJetCollection_
private

Definition at line 48 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

edm::EDGetTokenT<reco::PFMETCollection> SUSY_HLT_InclusiveHT::thePfMETCollection_
private

Definition at line 47 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

edm::EDGetTokenT<trigger::TriggerEvent> SUSY_HLT_InclusiveHT::theTrigSummary_
private

Definition at line 51 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

edm::InputTag SUSY_HLT_InclusiveHT::triggerFilter_
private

Definition at line 55 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

std::string SUSY_HLT_InclusiveHT::triggerPath_
private

Definition at line 53 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), bookHistos(), and SUSY_HLT_InclusiveHT().

std::string SUSY_HLT_InclusiveHT::triggerPathAuxiliaryForHadronic_
private

Definition at line 54 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().

edm::EDGetTokenT<edm::TriggerResults> SUSY_HLT_InclusiveHT::triggerResults_
private

Definition at line 50 of file SUSY_HLT_InclusiveHT.h.

Referenced by analyze(), and SUSY_HLT_InclusiveHT().