CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
HLTJetMETValidation Class Reference

#include <HLTJetMETValidation.h>

Inheritance diagram for HLTJetMETValidation:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 HLTJetMETValidation (const edm::ParameterSet &)
 
 ~HLTJetMETValidation ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginRun (const edm::Run &, const edm::EventSetup &)
 
virtual void endJob ()
 
void getHLTResults (const edm::TriggerResults &, const edm::TriggerNames &triggerNames)
 

Private Attributes

std::vector< MonitorElement * > _meGenJetEta
 
std::vector< MonitorElement * > _meGenJetEtaTrg
 
std::vector< MonitorElement * > _meGenJetEtaTrgLow
 
std::vector< MonitorElement * > _meGenJetEtaTrgMC
 
std::vector< MonitorElement * > _meGenJetPhi
 
std::vector< MonitorElement * > _meGenJetPhiTrg
 
std::vector< MonitorElement * > _meGenJetPhiTrgLow
 
std::vector< MonitorElement * > _meGenJetPhiTrgMC
 
std::vector< MonitorElement * > _meGenJetPt
 
std::vector< MonitorElement * > _meGenJetPtTrg
 
std::vector< MonitorElement * > _meGenJetPtTrgLow
 
std::vector< MonitorElement * > _meGenJetPtTrgMC
 
std::vector< MonitorElement * > _meGenMET
 
std::vector< MonitorElement * > _meGenMETTrg
 
std::vector< MonitorElement * > _meGenMETTrgLow
 
std::vector< MonitorElement * > _meGenMETTrgMC
 
std::vector< MonitorElement * > _meRecoJetEta
 
std::vector< MonitorElement * > _meRecoJetEtaTrg
 
std::vector< MonitorElement * > _meRecoJetEtaTrgLow
 
std::vector< MonitorElement * > _meRecoJetEtaTrgMC
 
std::vector< MonitorElement * > _meRecoJetPhi
 
std::vector< MonitorElement * > _meRecoJetPhiTrg
 
std::vector< MonitorElement * > _meRecoJetPhiTrgLow
 
std::vector< MonitorElement * > _meRecoJetPhiTrgMC
 
std::vector< MonitorElement * > _meRecoJetPt
 
std::vector< MonitorElement * > _meRecoJetPtTrg
 
std::vector< MonitorElement * > _meRecoJetPtTrgLow
 
std::vector< MonitorElement * > _meRecoJetPtTrgMC
 
std::vector< MonitorElement * > _meRecoMET
 
std::vector< MonitorElement * > _meRecoMETTrg
 
std::vector< MonitorElement * > _meRecoMETTrgLow
 
std::vector< MonitorElement * > _meRecoMETTrgMC
 
MonitorElement_triggerResults
 
edm::EDGetTokenT< PFJetCollectionCaloJetAlgorithm
 
edm::EDGetTokenT
< CaloMETCollection
CaloMETColl
 
int evtCnt
 
edm::EDGetTokenT
< GenJetCollection
GenJetAlgorithm
 
edm::EDGetTokenT
< GenMETCollection
GenMETColl
 
HLTConfigProvider hltConfig_
 
bool HLTinit_
 
edm::EDGetTokenT
< edm::TriggerResults
HLTriggerResults
 
std::vector< std::string > hltTrgJet
 
std::vector< std::string > hltTrgJetLow
 
std::vector< std::string > hltTrgMet
 
std::vector< std::string > hltTrgMetLow
 
std::map< std::string, bool > hltTriggerMap
 
std::vector< bool > hlttrigs
 
std::string MyTrigger
 
std::string outFile_
 
std::string patternJetTrg_
 
std::string patternMetTrg_
 
std::string patternMuTrg_
 
DQMStorestore
 
std::map< std::string, bool >
::iterator 
trig_iter
 
edm::EDGetTokenT
< TriggerEventWithRefs
triggerEventObject_
 InputTag of TriggerEventWithRefs to analyze. More...
 
std::string triggerTag_
 
bool writeFile_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 67 of file HLTJetMETValidation.h.

Constructor & Destructor Documentation

HLTJetMETValidation::HLTJetMETValidation ( const edm::ParameterSet ps)
explicit

Definition at line 5 of file HLTJetMETValidation.cc.

References evtCnt, and store.

5  :
6  triggerEventObject_(consumes<TriggerEventWithRefs>(ps.getUntrackedParameter<edm::InputTag>("triggerEventObject"))),
7  CaloJetAlgorithm( consumes<PFJetCollection>(ps.getUntrackedParameter<edm::InputTag>( "CaloJetAlgorithm" ) )),
8  GenJetAlgorithm( consumes<GenJetCollection>(ps.getUntrackedParameter<edm::InputTag>( "GenJetAlgorithm" ) )),
9  CaloMETColl( consumes<CaloMETCollection>(ps.getUntrackedParameter<edm::InputTag>( "CaloMETCollection" ) )),
10  GenMETColl( consumes<GenMETCollection>(ps.getUntrackedParameter<edm::InputTag>( "GenMETCollection" ) )),
11  HLTriggerResults(consumes<edm::TriggerResults>(ps.getParameter<edm::InputTag>( "HLTriggerResults" ) )),
12  triggerTag_(ps.getUntrackedParameter<std::string>("DQMFolder","SingleJet")),
13  patternJetTrg_(ps.getUntrackedParameter<std::string>("PatternJetTrg","")),
14  patternMetTrg_(ps.getUntrackedParameter<std::string>("PatternMetTrg","")),
15  patternMuTrg_(ps.getUntrackedParameter<std::string>("PatternMuTrg","")),
16  outFile_(ps.getUntrackedParameter<std::string>("OutputFileName","")),
17  HLTinit_(false),
18  //JL
19  writeFile_(ps.getUntrackedParameter<bool>("WriteFile",false))
20 {
21  evtCnt=0;
22 
24 
25 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< PFJetCollection > CaloJetAlgorithm
edm::EDGetTokenT< TriggerEventWithRefs > triggerEventObject_
InputTag of TriggerEventWithRefs to analyze.
edm::EDGetTokenT< GenMETCollection > GenMETColl
edm::EDGetTokenT< GenJetCollection > GenJetAlgorithm
edm::EDGetTokenT< CaloMETCollection > CaloMETColl
edm::EDGetTokenT< edm::TriggerResults > HLTriggerResults
HLTJetMETValidation::~HLTJetMETValidation ( )

Definition at line 27 of file HLTJetMETValidation.cc.

28 {
29 }

Member Function Documentation

void HLTJetMETValidation::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
privatevirtual

Implements edm::EDAnalyzer.

Definition at line 193 of file HLTJetMETValidation.cc.

References _meGenJetEta, _meGenJetEtaTrg, _meGenJetEtaTrgLow, _meGenJetEtaTrgMC, _meGenJetPhi, _meGenJetPhiTrg, _meGenJetPhiTrgLow, _meGenJetPhiTrgMC, _meGenJetPt, _meGenJetPtTrg, _meGenJetPtTrgLow, _meGenJetPtTrgMC, _meGenMET, _meGenMETTrg, _meGenMETTrgLow, _meGenMETTrgMC, _meRecoJetEta, _meRecoJetEtaTrg, _meRecoJetEtaTrgLow, _meRecoJetEtaTrgMC, _meRecoJetPhi, _meRecoJetPhiTrg, _meRecoJetPhiTrgLow, _meRecoJetPhiTrgMC, _meRecoJetPt, _meRecoJetPtTrg, _meRecoJetPtTrgLow, _meRecoJetPtTrgMC, _meRecoMET, _meRecoMETTrg, _meRecoMETTrgLow, _meRecoMETTrgMC, CaloJetAlgorithm, FamosSequences_cff::caloJets, CaloMETColl, evtCnt, HcalObjRepresent::Fill(), relval_steps::gen(), GenJetAlgorithm, HepMCValidationHelper::genMet(), GenMETColl, edm::Event::getByToken(), getHLTResults(), HLTriggerResults, hltTrgJet, hltTrgJetLow, hltTrgMet, hltTrgMetLow, hltTriggerMap, i, dt_dqm_sourceclient_common_cff::reco, trig_iter, triggerEventObject_, and edm::Event::triggerNames().

194 {
195  using namespace std;
196  using namespace edm;
197  using namespace reco;
198  using namespace l1extra;
199  using namespace trigger;
200 
201  evtCnt++;
202  //get The triggerEvent
203 
205  iEvent.getByToken(triggerEventObject_,trigEv);
206 
207 // get TriggerResults object
208 
209  bool gotHLT=true;
210  //bool myTrig=false;
211  //bool myTrigLow=false;
212  std::vector<bool> myTrigJ;
213  for (size_t it=0;it<hltTrgJet.size();it++) myTrigJ.push_back(false);
214  std::vector<bool> myTrigJLow;
215  for (size_t it=0;it<hltTrgJetLow.size();it++) myTrigJLow.push_back(false);
216  std::vector<bool> myTrigM;
217  for (size_t it=0;it<hltTrgMet.size();it++) myTrigM.push_back(false);
218  std::vector<bool> myTrigMLow;
219  for (size_t it=0;it<hltTrgMetLow.size();it++) myTrigMLow.push_back(false);
220 
221 
222  Handle<TriggerResults> hltresults,hltresultsDummy;
223  iEvent.getByToken(HLTriggerResults,hltresults);
224  if (! hltresults.isValid() ) {
225  //std::cout << " -- No HLTRESULTS";
226  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << " -- No HLTRESULTS";
227  gotHLT=false;
228  }
229 
230  if (gotHLT) {
231  const edm::TriggerNames & triggerNames = iEvent.triggerNames(*hltresults);
232  getHLTResults(*hltresults, triggerNames);
233  // trig_iter=hltTriggerMap.find(MyTrigger);
234  //trig_iter=hltTriggerMap.find(_HLTPath.label());
235 
236  //---pick-up the jet trigger decisions
237  for (size_t it=0;it<hltTrgJet.size();it++) {
239  if (trig_iter==hltTriggerMap.end()){
240  //std::cout << "Could not find trigger path with name: " << _probefilter.label() << std::endl;
241  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << "Could not find trigger path with name: " << _probefilter.label();
242  }else{
243  myTrigJ[it]=trig_iter->second;
244  }
245  //std::cout<<hltTrgJet[it].c_str()<<" "<<myTrigJ[it]<<std::endl;
246  }
247  for (size_t it=0;it<hltTrgJetLow.size();it++) {
249  if (trig_iter==hltTriggerMap.end()){
250  //std::cout << "Could not find trigger path with name: " << _probefilter.label() << std::endl;
251  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << "Could not find trigger path with name: " << _probefilter.label();
252  }else{
253  myTrigJLow[it]=trig_iter->second;
254  }
255  //std::cout<<hltTrgJetLow[it].c_str()<<" "<<myTrigJLow[it]<<std::endl;
256  }
257  //---pick-up the met trigger decisions
258  for (size_t it=0;it<hltTrgMet.size();it++) {
260  if (trig_iter==hltTriggerMap.end()){
261  //std::cout << "Could not find trigger path with name: " << _probefilter.label() << std::endl;
262  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << "Could not find trigger path with name: " << _probefilter.label();
263  }else{
264  myTrigM[it]=trig_iter->second;
265  }
266  //std::cout<<hltTrgMet[it].c_str()<<" "<<myTrigM[it]<<std::endl;
267  }
268  for (size_t it=0;it<hltTrgMetLow.size();it++) {
270  if (trig_iter==hltTriggerMap.end()){
271  //std::cout << "Could not find trigger path with name: " << _probefilter.label() << std::endl;
272  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << "Could not find trigger path with name: " << _probefilter.label();
273  }else{
274  myTrigMLow[it]=trig_iter->second;
275  }
276  //std::cout<<hltTrgMetLow[it].c_str()<<" "<<myTrigMLow[it]<<std::endl;
277  }
278  }
279 
280  Handle<PFJetCollection> caloJets,caloJetsDummy;
282  double calJetPt=-1.;
283  double calJetEta=-999.;
284  double calJetPhi=-999.;
285  //double calHT=0;
286  if (caloJets.isValid()) {
287  //Loop over the CaloJets and fill some histograms
288  int jetInd = 0;
289  for( PFJetCollection::const_iterator cal = caloJets->begin(); cal != caloJets->end(); ++ cal ) {
290  //std::cout << "CALO JET #" << jetInd << std::endl << cal->print() << std::endl;
291  if (jetInd == 0){
292  calJetPt=cal->pt();
293  calJetEta=cal->eta();
294  calJetPhi=cal->phi();
295  for (size_t it=0;it<hltTrgJet.size();it++) {
296  _meRecoJetPt[it]->Fill( calJetPt );
297  _meRecoJetEta[it]->Fill( calJetEta );
298  _meRecoJetPhi[it]->Fill( calJetPhi );
299  if (myTrigJ[it]) _meRecoJetPtTrgMC[it]->Fill( calJetPt );
300  if (myTrigJ[it]) _meRecoJetEtaTrgMC[it]->Fill( calJetEta );
301  if (myTrigJ[it]) _meRecoJetPhiTrgMC[it]->Fill( calJetPhi );
302  if (myTrigJ[it] && myTrigJLow[it]) _meRecoJetPtTrg[it]->Fill( calJetPt );
303  if (myTrigJ[it] && myTrigJLow[it]) _meRecoJetEtaTrg[it]->Fill( calJetEta );
304  if (myTrigJ[it] && myTrigJLow[it]) _meRecoJetPhiTrg[it]->Fill( calJetPhi );
305  if (myTrigJLow[it]) _meRecoJetPtTrgLow[it]->Fill( calJetPt );
306  if (myTrigJLow[it]) _meRecoJetEtaTrgLow[it]->Fill( calJetEta );
307  if (myTrigJLow[it]) _meRecoJetPhiTrgLow[it]->Fill( calJetPhi );
308  }
309  jetInd++;
310  }
311  /*
312  if (cal->pt()>30) {
313  calHT+=cal->pt();
314  }
315  */
316  }
317  /*
318  _meRecoHT->Fill( calHT );
319  if (myTrig) _meRecoHTTrg->Fill( calHT );
320  if (myTrigLow) _meRecoHTTrgLow->Fill( calHT );
321  */
322  }else{
323  //std::cout << " -- No CaloJets" << std::endl;
324  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << " -- No CaloJets";
325  }
326 
327  Handle<GenJetCollection> genJets,genJetsDummy;
328  iEvent.getByToken( GenJetAlgorithm, genJets );
329  double genJetPt=-1.;
330  double genJetEta=-999.;
331  double genJetPhi=-999.;
332  //double genHT=0;
333  if (genJets.isValid()) {
334  //Loop over the GenJets and fill some histograms
335  int jetInd = 0;
336  for( GenJetCollection::const_iterator gen = genJets->begin(); gen != genJets->end(); ++ gen ) {
337  // std::cout << "CALO JET #" << jetInd << std::endl << cal->print() << std::endl;
338  if (jetInd == 0){
339  genJetPt=gen->pt();
340  genJetEta=gen->eta();
341  genJetPhi=gen->phi();
342  for (size_t it=0;it<hltTrgJet.size();it++) {
343  _meGenJetPt[it]->Fill( genJetPt );
344  _meGenJetEta[it]->Fill( genJetEta );
345  _meGenJetPhi[it]->Fill( genJetPhi );
346  if (myTrigJ[it]) _meGenJetPtTrgMC[it]->Fill( genJetPt );
347  if (myTrigJ[it]) _meGenJetEtaTrgMC[it]->Fill( genJetEta );
348  if (myTrigJ[it]) _meGenJetPhiTrgMC[it]->Fill( genJetPhi );
349  if (myTrigJ[it] && myTrigJLow[it]) _meGenJetPtTrg[it]->Fill( genJetPt );
350  if (myTrigJ[it] && myTrigJLow[it]) _meGenJetEtaTrg[it]->Fill( genJetEta );
351  if (myTrigJ[it] && myTrigJLow[it]) _meGenJetPhiTrg[it]->Fill( genJetPhi );
352  if (myTrigJLow[it]) _meGenJetPtTrgLow[it]->Fill( genJetPt );
353  if (myTrigJLow[it]) _meGenJetEtaTrgLow[it]->Fill( genJetEta );
354  if (myTrigJLow[it]) _meGenJetPhiTrgLow[it]->Fill( genJetPhi );
355  }
356  jetInd++;
357  }
358  /*
359  if (gen->pt()>30) {
360  genHT+=gen->pt();
361  }
362  */
363  }
364  /*
365  _meGenHT->Fill( genHT );
366  if (myTrig) _meGenHTTrg->Fill( genHT );
367  if (myTrigLow) _meGenHTTrgLow->Fill( genHT );
368  */
369  }else{
370  //std::cout << " -- No GenJets" << std::endl;
371  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << " -- No GenJets";
372  }
373 
374 
375  edm::Handle<CaloMETCollection> recmet, recmetDummy;
376  iEvent.getByToken(CaloMETColl,recmet);
377 
378  double calMet=-1;
379  if (recmet.isValid()) {
380  typedef CaloMETCollection::const_iterator cmiter;
381  //std::cout << "Size of MET collection" << recmet.size() << std::endl;
382  for ( cmiter i=recmet->begin(); i!=recmet->end(); i++) {
383  calMet = i->pt();
384  for (size_t it=0;it<hltTrgMet.size();it++) {
385  _meRecoMET[it] -> Fill(calMet);
386  if (myTrigM[it]) _meRecoMETTrgMC[it] -> Fill(calMet);
387  if (myTrigM[it] && myTrigMLow[it]) _meRecoMETTrg[it] -> Fill(calMet);
388  if (myTrigMLow[it]) _meRecoMETTrgLow[it] -> Fill(calMet);
389  }
390  }
391  }else{
392  //std::cout << " -- No MET Collection with name: " << CaloMETColl << std::endl;
393  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << " -- No MET Collection with name: "<< CaloMETColl;
394  }
395 
396  edm::Handle<GenMETCollection> genmet, genmetDummy;
397  iEvent.getByToken(GenMETColl,genmet);
398 
399  double genMet=-1;
400  if (genmet.isValid()) {
401  typedef GenMETCollection::const_iterator cmiter;
402  //std::cout << "Size of GenMET collection" << recmet.size() << std::endl;
403  for ( cmiter i=genmet->begin(); i!=genmet->end(); i++) {
404  genMet = i->pt();
405  for (size_t it=0;it<hltTrgMet.size();it++) {
406  _meGenMET[it] -> Fill(genMet);
407  if (myTrigM[it]) _meGenMETTrgMC[it] -> Fill(genMet);
408  if (myTrigM[it] && myTrigMLow[it]) _meGenMETTrg[it] -> Fill(genMet);
409  if (myTrigMLow[it]) _meGenMETTrgLow[it] -> Fill(genMet);
410  }
411  }
412  }else{
413  //std::cout << " -- No GenMET Collection with name: " << GenMETColl << std::endl;
414  //if (evtCnt==1) edm::LogWarning("HLTJetMETValidation") << " -- No GenMET Collection with name: "<< GenMETColl;
415  }
416 
417 }
std::vector< MonitorElement * > _meRecoMET
std::vector< std::string > hltTrgMet
std::vector< MonitorElement * > _meGenJetEtaTrgMC
std::vector< MonitorElement * > _meGenJetPt
int i
Definition: DBlmapReader.cc:9
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
Definition: Event.cc:204
std::vector< MonitorElement * > _meGenJetPhiTrg
std::vector< std::string > hltTrgJet
edm::EDGetTokenT< PFJetCollection > CaloJetAlgorithm
std::map< std::string, bool > hltTriggerMap
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
edm::EDGetTokenT< TriggerEventWithRefs > triggerEventObject_
InputTag of TriggerEventWithRefs to analyze.
edm::EDGetTokenT< GenMETCollection > GenMETColl
edm::EDGetTokenT< GenJetCollection > GenJetAlgorithm
std::vector< MonitorElement * > _meRecoJetPtTrgMC
std::vector< MonitorElement * > _meGenMET
std::vector< MonitorElement * > _meGenJetPtTrgMC
std::vector< MonitorElement * > _meGenMETTrgMC
edm::EDGetTokenT< CaloMETCollection > CaloMETColl
std::vector< std::string > hltTrgMetLow
std::vector< MonitorElement * > _meGenJetPhiTrgMC
std::vector< MonitorElement * > _meGenMETTrgLow
std::vector< MonitorElement * > _meRecoJetPhiTrgLow
edm::EDGetTokenT< edm::TriggerResults > HLTriggerResults
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
std::vector< MonitorElement * > _meRecoJetPt
std::vector< MonitorElement * > _meGenJetEtaTrg
std::vector< MonitorElement * > _meRecoJetEtaTrgMC
std::vector< MonitorElement * > _meRecoMETTrg
std::vector< MonitorElement * > _meGenJetPtTrg
std::vector< MonitorElement * > _meGenMETTrg
std::vector< MonitorElement * > _meRecoJetPhiTrgMC
std::vector< MonitorElement * > _meGenJetEtaTrgLow
void getHLTResults(const edm::TriggerResults &, const edm::TriggerNames &triggerNames)
std::vector< MonitorElement * > _meRecoJetPtTrg
std::vector< MonitorElement * > _meGenJetEta
std::vector< MonitorElement * > _meRecoJetPhiTrg
std::vector< MonitorElement * > _meRecoMETTrgMC
std::vector< MonitorElement * > _meGenJetPhi
std::vector< MonitorElement * > _meGenJetPtTrgLow
TLorentzVector genMet(const HepMC::GenEvent *all, double etamin=-9999., double etamax=9999.)
std::vector< MonitorElement * > _meRecoJetPtTrgLow
std::vector< MonitorElement * > _meRecoMETTrgLow
std::vector< std::string > hltTrgJetLow
std::vector< MonitorElement * > _meRecoJetEta
std::vector< MonitorElement * > _meGenJetPhiTrgLow
std::vector< MonitorElement * > _meRecoJetPhi
std::map< std::string, bool >::iterator trig_iter
std::vector< MonitorElement * > _meRecoJetEtaTrgLow
std::vector< MonitorElement * > _meRecoJetEtaTrg
void HLTJetMETValidation::beginRun ( const edm::Run iRun,
const edm::EventSetup iSetup 
)
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 37 of file HLTJetMETValidation.cc.

References _meGenJetEta, _meGenJetEtaTrg, _meGenJetEtaTrgLow, _meGenJetEtaTrgMC, _meGenJetPhi, _meGenJetPhiTrg, _meGenJetPhiTrgLow, _meGenJetPhiTrgMC, _meGenJetPt, _meGenJetPtTrg, _meGenJetPtTrgLow, _meGenJetPtTrgMC, _meGenMET, _meGenMETTrg, _meGenMETTrgLow, _meGenMETTrgMC, _meRecoJetEta, _meRecoJetEtaTrg, _meRecoJetEtaTrgLow, _meRecoJetEtaTrgMC, _meRecoJetPhi, _meRecoJetPhiTrg, _meRecoJetPhiTrgLow, _meRecoJetPhiTrgMC, _meRecoJetPt, _meRecoJetPtTrg, _meRecoJetPtTrgLow, _meRecoJetPtTrgMC, _meRecoMET, _meRecoMETTrg, _meRecoMETTrgLow, _meRecoMETTrgMC, DQMStore::book1D(), hltConfig_, hltTrgJet, hltTrgJetLow, hltTrgMet, hltTrgMetLow, HLTConfigProvider::init(), j, patternJetTrg_, patternMetTrg_, patternMuTrg_, HLTConfigProvider::removeVersion(), DQMStore::setCurrentFolder(), store, AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerNames(), and triggerTag_.

37  {
38 
39 
40  bool foundMuTrg = false;
41  std::string trgMuNm;
42  bool changedConfig;
43  //--define search patterns
44  /*
45  TPRegexp patternJet("HLT_Jet([0-9]*)?(_v[0-9]*)?$");
46  TPRegexp patternMet("HLT_(PF*)?M([E,H]*)?T([0-9]*)?(_v[0-9]*)?$");
47  TPRegexp patternMu("HLT_Mu([0-9]*)?(_v[0-9]*)?$");
48  */
49  TPRegexp patternJet(patternJetTrg_);
50  TPRegexp patternMet(patternMetTrg_);
51  TPRegexp patternMu(patternMuTrg_);
52 
53  if (!hltConfig_.init(iRun, iSetup, "HLT", changedConfig)) {
54  edm::LogError("HLTJetMET") << "Initialization of HLTConfigProvider failed!!";
55  return;
56  }
57  std::vector<std::string> validTriggerNames = hltConfig_.triggerNames();
58  for (size_t j = 0; j < validTriggerNames.size(); j++) {
59  //---find the muon path
60  if (TString(validTriggerNames[j]).Contains(patternMu)) {
61  //std::cout <<validTriggerNames[j].c_str()<<std::endl;
62  if (!foundMuTrg) trgMuNm = validTriggerNames[j].c_str();
63  foundMuTrg = true;
64  }
65  //---find the jet paths
66  if (TString(validTriggerNames[j]).Contains(patternJet)) {
67  hltTrgJet.push_back(validTriggerNames[j]);
68  }
69  //---find the met paths
70  if (TString(validTriggerNames[j]).Contains(patternMet)) {
71  hltTrgMet.push_back(validTriggerNames[j]);
72  }
73  }
74 
75  //----set the denominator paths
76  for (size_t it=0;it<hltTrgJet.size();it++) {
77  if (it==0 && foundMuTrg) hltTrgJetLow.push_back(trgMuNm);//--lowest threshold uses muon path
78  if (it==0 && !foundMuTrg) hltTrgJetLow.push_back(hltTrgJet[it]);//---if no muon then itself
79  if (it!=0) hltTrgJetLow.push_back(hltTrgJet[it-1]);
80  //std::cout<<hltTrgJet[it].c_str()<<" "<<hltTrgJetLow[it].c_str()<<std::endl;
81  }
82  int itm(0), itpm(0), itmh(0), itpmh(0);
83  for (size_t it=0;it<hltTrgMet.size();it++) {
84  if (TString(hltTrgMet[it]).Contains("PF")) {
85  if (TString(hltTrgMet[it]).Contains("MHT")) {
86  if( 0 == itpmh ) {
87  if( foundMuTrg ) hltTrgMetLow.push_back(trgMuNm);
88  else hltTrgMetLow.push_back(hltTrgMet[it]);
89  }
90  else hltTrgMetLow.push_back(hltTrgMet[it-1]);
91  itpmh++;
92  }
93  if (TString(hltTrgMet[it]).Contains("MET")) {
94  if( 0 == itpm ) {
95  if( foundMuTrg ) hltTrgMetLow.push_back(trgMuNm);
96  else hltTrgMetLow.push_back(hltTrgMet[it]);
97  }
98  else hltTrgMetLow.push_back(hltTrgMet[it-1]);
99  itpm++;
100  }
101  }
102  else {
103  if (TString(hltTrgMet[it]).Contains("MHT")) {
104  if( 0 == itmh ) {
105  if( foundMuTrg ) hltTrgMetLow.push_back(trgMuNm);
106  else hltTrgMetLow.push_back(hltTrgMet[it]);
107  }
108  else hltTrgMetLow.push_back(hltTrgMet[it-1]);
109  itmh++;
110  }
111  if (TString(hltTrgMet[it]).Contains("MET")) {
112  if( 0 == itm ) {
113  if( foundMuTrg ) hltTrgMetLow.push_back(trgMuNm);
114  else hltTrgMetLow.push_back(hltTrgMet[it]);
115  }
116  else hltTrgMetLow.push_back(hltTrgMet[it-1]);
117  itm++;
118  }
119  }
120  //std::cout<<hltTrgMet[it].c_str()<<" "<<hltTrgMetLow[it].c_str()<<std::endl;
121  }
122 
123  //----define dqm folders and elements
124  for (size_t it=0;it<hltTrgJet.size();it++) {
125  //std::cout<<hltTrgJet[it].c_str()<<" "<<hltTrgJetLow[it].c_str()<<std::endl;
126  //store->setCurrentFolder(triggerTag_+hltTrgJet[it].c_str());
128  //std::cout << "str = " << triggerTag_+hltTrgJet[it].c_str() << std::endl;
129  //std::cout << "trgPathName = " << trgPathName << std::endl;
130  store->setCurrentFolder(trgPathName);
131  //_meRecoJetPt= store->book1D("_meRecoJetPt","Single Reconstructed Jet Pt",100,0,500);
132  _meRecoJetPt.push_back(store->book1D("_meRecoJetPt","Single Reconstructed Jet Pt",100,0,500));
133  _meRecoJetPtTrgMC.push_back(store->book1D("_meRecoJetPtTrgMC","Single Reconstructed Jet Pt -- HLT Triggered",100,0,500));
134  _meRecoJetPtTrg.push_back(store->book1D("_meRecoJetPtTrg","Single Reconstructed Jet Pt -- HLT Triggered",100,0,500));
135  _meRecoJetPtTrgLow.push_back(store->book1D("_meRecoJetPtTrgLow","Single Reconstructed Jet Pt -- HLT Triggered Low",100,0,500));
136 
137  _meRecoJetEta.push_back(store->book1D("_meRecoJetEta","Single Reconstructed Jet Eta",100,-10,10));
138  _meRecoJetEtaTrgMC.push_back(store->book1D("_meRecoJetEtaTrgMC","Single Reconstructed Jet Eta -- HLT Triggered",100,-10,10));
139  _meRecoJetEtaTrg.push_back(store->book1D("_meRecoJetEtaTrg","Single Reconstructed Jet Eta -- HLT Triggered",100,-10,10));
140  _meRecoJetEtaTrgLow.push_back(store->book1D("_meRecoJetEtaTrgLow","Single Reconstructed Jet Eta -- HLT Triggered Low",100,-10,10));
141 
142  _meRecoJetPhi.push_back(store->book1D("_meRecoJetPhi","Single Reconstructed Jet Phi",100,-4.,4.));
143  _meRecoJetPhiTrgMC.push_back(store->book1D("_meRecoJetPhiTrgMC","Single Reconstructed Jet Phi -- HLT Triggered",100,-4.,4.));
144  _meRecoJetPhiTrg.push_back(store->book1D("_meRecoJetPhiTrg","Single Reconstructed Jet Phi -- HLT Triggered",100,-4.,4.));
145  _meRecoJetPhiTrgLow.push_back(store->book1D("_meRecoJetPhiTrgLow","Single Reconstructed Jet Phi -- HLT Triggered Low",100,-4.,4.));
146 
147  _meGenJetPt.push_back(store->book1D("_meGenJetPt","Single Generated Jet Pt",100,0,500));
148  _meGenJetPtTrgMC.push_back(store->book1D("_meGenJetPtTrgMC","Single Generated Jet Pt -- HLT Triggered",100,0,500));
149  _meGenJetPtTrg.push_back(store->book1D("_meGenJetPtTrg","Single Generated Jet Pt -- HLT Triggered",100,0,500));
150  _meGenJetPtTrgLow.push_back(store->book1D("_meGenJetPtTrgLow","Single Generated Jet Pt -- HLT Triggered Low",100,0,500));
151 
152  _meGenJetEta.push_back(store->book1D("_meGenJetEta","Single Generated Jet Eta",100,-10,10));
153  _meGenJetEtaTrgMC.push_back(store->book1D("_meGenJetEtaTrgMC","Single Generated Jet Eta -- HLT Triggered",100,-10,10));
154  _meGenJetEtaTrg.push_back(store->book1D("_meGenJetEtaTrg","Single Generated Jet Eta -- HLT Triggered",100,-10,10));
155  _meGenJetEtaTrgLow.push_back(store->book1D("_meGenJetEtaTrgLow","Single Generated Jet Eta -- HLT Triggered Low",100,-10,10));
156 
157  _meGenJetPhi.push_back(store->book1D("_meGenJetPhi","Single Generated Jet Phi",100,-4.,4.));
158  _meGenJetPhiTrgMC.push_back(store->book1D("_meGenJetPhiTrgMC","Single Generated Jet Phi -- HLT Triggered",100,-4.,4.));
159  _meGenJetPhiTrg.push_back(store->book1D("_meGenJetPhiTrg","Single Generated Jet Phi -- HLT Triggered",100,-4.,4.));
160  _meGenJetPhiTrgLow.push_back(store->book1D("_meGenJetPhiTrgLow","Single Generated Jet Phi -- HLT Triggered Low",100,-4.,4.));
161 
162  }
163  for (size_t it=0;it<hltTrgMet.size();it++) {
164  //std::cout<<hltTrgMet[it].c_str()<<" "<<hltTrgMetLow[it].c_str()<<std::endl;
165  //store->setCurrentFolder(triggerTag_+hltTrgMet[it].c_str());
167  store->setCurrentFolder(trgPathName);
168  _meRecoMET.push_back(store->book1D("_meRecoMET","Reconstructed Missing ET",100,0,500));
169  _meRecoMETTrgMC.push_back(store->book1D("_meRecoMETTrgMC","Reconstructed Missing ET -- HLT Triggered",100,0,500));
170  _meRecoMETTrg.push_back(store->book1D("_meRecoMETTrg","Reconstructed Missing ET -- HLT Triggered",100,0,500));
171  _meRecoMETTrgLow.push_back(store->book1D("_meRecoMETTrgLow","Reconstructed Missing ET -- HLT Triggered Low",100,0,500));
172 
173  _meGenMET.push_back(store->book1D("_meGenMET","Generated Missing ET",100,0,500));
174  _meGenMETTrgMC.push_back(store->book1D("_meGenMETTrgMC","Generated Missing ET -- HLT Triggered",100,0,500));
175  _meGenMETTrg.push_back(store->book1D("_meGenMETTrg","Generated Missing ET -- HLT Triggered",100,0,500));
176  _meGenMETTrgLow.push_back(store->book1D("_meGenMETTrgLow","Generated Missing ET -- HLT Triggered Low",100,0,500));
177  }
178 }
std::vector< MonitorElement * > _meRecoMET
std::vector< std::string > hltTrgMet
std::vector< MonitorElement * > _meGenJetEtaTrgMC
std::vector< MonitorElement * > _meGenJetPt
std::vector< MonitorElement * > _meGenJetPhiTrg
std::vector< std::string > hltTrgJet
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:954
const std::vector< std::string > & triggerNames() const
names of trigger paths
std::vector< MonitorElement * > _meRecoJetPtTrgMC
std::vector< MonitorElement * > _meGenMET
std::vector< MonitorElement * > _meGenJetPtTrgMC
std::vector< MonitorElement * > _meGenMETTrgMC
std::vector< std::string > hltTrgMetLow
std::vector< MonitorElement * > _meGenJetPhiTrgMC
std::vector< MonitorElement * > _meGenMETTrgLow
static const std::string removeVersion(const std::string &trigger)
std::vector< MonitorElement * > _meRecoJetPhiTrgLow
std::vector< MonitorElement * > _meRecoJetPt
int j
Definition: DBlmapReader.cc:9
std::vector< MonitorElement * > _meGenJetEtaTrg
std::vector< MonitorElement * > _meRecoJetEtaTrgMC
std::vector< MonitorElement * > _meRecoMETTrg
std::vector< MonitorElement * > _meGenJetPtTrg
std::vector< MonitorElement * > _meGenMETTrg
std::vector< MonitorElement * > _meRecoJetPhiTrgMC
std::vector< MonitorElement * > _meGenJetEtaTrgLow
std::vector< MonitorElement * > _meRecoJetPtTrg
std::vector< MonitorElement * > _meGenJetEta
std::vector< MonitorElement * > _meRecoJetPhiTrg
std::vector< MonitorElement * > _meRecoMETTrgMC
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d&#39;tor
std::vector< MonitorElement * > _meGenJetPhi
std::vector< MonitorElement * > _meGenJetPtTrgLow
std::vector< MonitorElement * > _meRecoJetPtTrgLow
HLTConfigProvider hltConfig_
std::vector< MonitorElement * > _meRecoMETTrgLow
std::vector< std::string > hltTrgJetLow
std::vector< MonitorElement * > _meRecoJetEta
std::vector< MonitorElement * > _meGenJetPhiTrgLow
std::vector< MonitorElement * > _meRecoJetPhi
std::vector< MonitorElement * > _meRecoJetEtaTrgLow
std::vector< MonitorElement * > _meRecoJetEtaTrg
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:667
void HLTJetMETValidation::endJob ( void  )
privatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 181 of file HLTJetMETValidation.cc.

References outFile_, cuy::save, and writeFile_.

182 {
183 
184  //Write DQM thing..
185  if(outFile_.size()>0)
186  if (&*edm::Service<DQMStore>() && writeFile_) {
188  }
189 
190 }
list save
Definition: cuy.py:1163
void HLTJetMETValidation::getHLTResults ( const edm::TriggerResults hltresults,
const edm::TriggerNames triggerNames 
)
private

Definition at line 419 of file HLTJetMETValidation.cc.

References accept(), edm::HLTGlobalStatus::accept(), HLTinit_, hltTriggerMap, edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, trig_iter, and edm::TriggerNames::triggerName().

Referenced by analyze().

420  {
421 
422  int ntrigs=hltresults.size();
423  if (! HLTinit_){
424  HLTinit_=true;
425 
426  //if (writeFile_) std::cout << "Number of HLT Paths: " << ntrigs << std::endl;
427  for (int itrig = 0; itrig != ntrigs; ++itrig){
428  std::string trigName = triggerNames.triggerName(itrig);
429  // std::cout << "trigger " << itrig << ": " << trigName << std::endl;
430  }
431  }
432 
433  for (int itrig = 0; itrig != ntrigs; ++itrig){
434  std::string trigName = triggerNames.triggerName(itrig);
435  bool accept=hltresults.accept(itrig);
436 
437  //if (accept) _triggerResults->Fill(float(itrig));
438 
439  // fill the trigger map
441  trig_iter=hltTriggerMap.find(trigName);
442  if (trig_iter==hltTriggerMap.end())
443  hltTriggerMap.insert(valType(trigName,accept));
444  else
445  trig_iter->second=accept;
446  }
447 }
std::map< std::string, bool > hltTriggerMap
bool accept() const
Has at least one path accepted the event?
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:26
unsigned int size() const
Get number of paths stored.
Container::value_type value_type
std::string const & triggerName(unsigned int index) const
Definition: TriggerNames.cc:27
std::map< std::string, bool >::iterator trig_iter

Member Data Documentation

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEta
private

Definition at line 115 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEtaTrg
private

Definition at line 117 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEtaTrgLow
private

Definition at line 118 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetEtaTrgMC
private

Definition at line 116 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhi
private

Definition at line 119 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhiTrg
private

Definition at line 121 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhiTrgLow
private

Definition at line 122 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPhiTrgMC
private

Definition at line 120 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPt
private

Definition at line 111 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPtTrg
private

Definition at line 113 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPtTrgLow
private

Definition at line 114 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenJetPtTrgMC
private

Definition at line 112 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMET
private

Definition at line 128 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMETTrg
private

Definition at line 130 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMETTrgLow
private

Definition at line 131 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meGenMETTrgMC
private

Definition at line 129 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetEta
private

Definition at line 102 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetEtaTrg
private

Definition at line 104 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetEtaTrgLow
private

Definition at line 105 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetEtaTrgMC
private

Definition at line 103 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPhi
private

Definition at line 106 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPhiTrg
private

Definition at line 108 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPhiTrgLow
private

Definition at line 109 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPhiTrgMC
private

Definition at line 107 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPt
private

Definition at line 98 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPtTrg
private

Definition at line 100 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPtTrgLow
private

Definition at line 101 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoJetPtTrgMC
private

Definition at line 99 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoMET
private

Definition at line 124 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoMETTrg
private

Definition at line 126 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoMETTrgLow
private

Definition at line 127 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<MonitorElement*> HLTJetMETValidation::_meRecoMETTrgMC
private

Definition at line 125 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

MonitorElement* HLTJetMETValidation::_triggerResults
private

Definition at line 135 of file HLTJetMETValidation.h.

edm::EDGetTokenT<PFJetCollection> HLTJetMETValidation::CaloJetAlgorithm
private

Definition at line 82 of file HLTJetMETValidation.h.

Referenced by analyze().

edm::EDGetTokenT<CaloMETCollection> HLTJetMETValidation::CaloMETColl
private

Definition at line 84 of file HLTJetMETValidation.h.

Referenced by analyze().

int HLTJetMETValidation::evtCnt
private

Definition at line 139 of file HLTJetMETValidation.h.

Referenced by analyze(), and HLTJetMETValidation().

edm::EDGetTokenT<GenJetCollection> HLTJetMETValidation::GenJetAlgorithm
private

Definition at line 83 of file HLTJetMETValidation.h.

Referenced by analyze().

edm::EDGetTokenT<GenMETCollection> HLTJetMETValidation::GenMETColl
private

Definition at line 85 of file HLTJetMETValidation.h.

Referenced by analyze().

HLTConfigProvider HLTJetMETValidation::hltConfig_
private

Definition at line 141 of file HLTJetMETValidation.h.

Referenced by beginRun().

bool HLTJetMETValidation::HLTinit_
private

Definition at line 152 of file HLTJetMETValidation.h.

Referenced by getHLTResults().

edm::EDGetTokenT<edm::TriggerResults> HLTJetMETValidation::HLTriggerResults
private

Definition at line 86 of file HLTJetMETValidation.h.

Referenced by analyze().

std::vector<std::string> HLTJetMETValidation::hltTrgJet
private

Definition at line 142 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<std::string> HLTJetMETValidation::hltTrgJetLow
private

Definition at line 143 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<std::string> HLTJetMETValidation::hltTrgMet
private

Definition at line 144 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::vector<std::string> HLTJetMETValidation::hltTrgMetLow
private

Definition at line 145 of file HLTJetMETValidation.h.

Referenced by analyze(), and beginRun().

std::map<std::string,bool> HLTJetMETValidation::hltTriggerMap
private

Definition at line 149 of file HLTJetMETValidation.h.

Referenced by analyze(), and getHLTResults().

std::vector<bool> HLTJetMETValidation::hlttrigs
private

Definition at line 148 of file HLTJetMETValidation.h.

std::string HLTJetMETValidation::MyTrigger
private

Definition at line 89 of file HLTJetMETValidation.h.

std::string HLTJetMETValidation::outFile_
private

Definition at line 94 of file HLTJetMETValidation.h.

Referenced by endJob().

std::string HLTJetMETValidation::patternJetTrg_
private

Definition at line 89 of file HLTJetMETValidation.h.

Referenced by beginRun().

std::string HLTJetMETValidation::patternMetTrg_
private

Definition at line 89 of file HLTJetMETValidation.h.

Referenced by beginRun().

std::string HLTJetMETValidation::patternMuTrg_
private

Definition at line 89 of file HLTJetMETValidation.h.

Referenced by beginRun().

DQMStore* HLTJetMETValidation::store
private

Definition at line 96 of file HLTJetMETValidation.h.

Referenced by beginRun(), and HLTJetMETValidation().

std::map<std::string,bool>::iterator HLTJetMETValidation::trig_iter
private

Definition at line 150 of file HLTJetMETValidation.h.

Referenced by analyze(), and getHLTResults().

edm::EDGetTokenT<TriggerEventWithRefs> HLTJetMETValidation::triggerEventObject_
private

InputTag of TriggerEventWithRefs to analyze.

Definition at line 81 of file HLTJetMETValidation.h.

Referenced by analyze().

std::string HLTJetMETValidation::triggerTag_
private

Definition at line 89 of file HLTJetMETValidation.h.

Referenced by beginRun().

bool HLTJetMETValidation::writeFile_
private

Definition at line 155 of file HLTJetMETValidation.h.

Referenced by endJob().