CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Private Member Functions | Private Attributes
HLTBitAnalyzer Class Reference

#include <HLTBitAnalyzer.h>

Inheritance diagram for HLTBitAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &iSetup) override
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
void endJob () override
 
 HLTBitAnalyzer (edm::ParameterSet const &conf)
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Public Attributes

TTree * HltTree
 

Static Private Member Functions

static int errMax ()
 

Private Attributes

double _EtaMax
 
double _EtaMin
 
std::string _HistName
 
bool _isData
 
bool _UseTFileService
 
int errCnt
 
EventHeader evt_header_
 Default analyses. More...
 
edm::InputTag genEventInfo_
 
edm::EDGetTokenT< GenEventInfoProductgenEventInfoToken_
 
HLTInfo hlt_analysis_
 
edm::InputTag hltresults_
 
edm::EDGetTokenT< edm::TriggerResultshltresultsToken_
 
edm::InputTag l1results_
 
edm::EDGetTokenT< GlobalAlgBlkBxCollectionl1resultsToken_
 
TFile * m_file
 
HLTMCtruth mct_analysis_
 
edm::InputTag mctruth_
 
edm::EDGetTokenT< reco::CandidateViewmctruthToken_
 
edm::InputTag pileupInfo_
 
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupInfoToken_
 
double ptHat
 
edm::InputTag simhits_
 
edm::EDGetTokenT< std::vector< SimTrack > > simtracksToken_
 
edm::EDGetTokenT< std::vector< SimVertex > > simverticesToken_
 
edm::InputTag VertexTagOffline0_
 
edm::EDGetTokenT< reco::VertexCollectionVertexTagOffline0Token_
 
RECOVertex vrt_analysisOffline0_
 
double weight
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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

$Date: November 2006 $Revision:

Author
P. Bargassa - Rice U.

$Date: April 2016 $Revision:

Author
G. Karapostoli - ULB

Definition at line 35 of file HLTBitAnalyzer.h.

Constructor & Destructor Documentation

HLTBitAnalyzer::HLTBitAnalyzer ( edm::ParameterSet const &  conf)
explicit

Definition at line 29 of file HLTBitAnalyzer.cc.

References _HistName, _isData, _UseTFileService, edm::EDConsumerBase::consumesCollector(), gather_cfg::cout, errCnt, evt_header_, genEventInfo_, genEventInfoToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hlt_analysis_, hltresults_, hltresultsToken_, HltTree, l1results_, l1resultsToken_, m_file, TFileService::make(), mct_analysis_, mctruth_, mctruthToken_, pileupInfo_, pileupInfoToken_, EventHeader::setup(), RECOVertex::setup(), HLTMCtruth::setup(), HLTInfo::setup(), simhits_, simtracksToken_, simverticesToken_, AlCaHLTBitMon_QueryRunRegistry::string, VertexTagOffline0_, VertexTagOffline0Token_, and vrt_analysisOffline0_.

29  :
30  hlt_analysis_(conf, consumesCollector(), *this) {
31 
32  // If your module takes parameters, here is where you would define
33  // their names and types, and access them to initialize internal
34  // variables. Example as follows:
35  std::cout << " Beginning HLTBitAnalyzer Analysis " << std::endl;
36 
37  /*
38  l1extramu_ = conf.getParameter<std::string> ("l1extramu");
39  m_l1extramu = edm::InputTag(l1extramu_, "");
40 
41  // read the L1Extra collection name, and add the instance names as needed
42  l1extramc_ = conf.getParameter<std::string> ("l1extramc");
43  m_l1extraemi = edm::InputTag(l1extramc_, "Isolated");
44  m_l1extraemn = edm::InputTag(l1extramc_, "NonIsolated");
45  m_l1extrajetc = edm::InputTag(l1extramc_, "Central");
46  m_l1extrajetf = edm::InputTag(l1extramc_, "Forward");
47  m_l1extrajet = edm::InputTag("gctInternJetProducer","Internal","ANALYSIS");
48  m_l1extrataujet = edm::InputTag(l1extramc_, "Tau");
49  m_l1extramet = edm::InputTag(l1extramc_, "MET");
50  m_l1extramht = edm::InputTag(l1extramc_, "MHT");
51  */
52 
53  mctruth_ = conf.getParameter<edm::InputTag> ("mctruth");
54  genEventInfo_ = conf.getParameter<edm::InputTag> ("genEventInfo");
55  VertexTagOffline0_ = conf.getParameter<edm::InputTag> ("OfflinePrimaryVertices0");
56  simhits_ = conf.getParameter<edm::InputTag> ("simhits");
57 
58  hltresults_ = conf.getParameter<edm::InputTag> ("hltresults");
59  l1results_ = conf.getParameter<edm::InputTag> ("l1results");
60  // gtReadoutRecord_ = conf.getParameter<edm::InputTag> ("l1GtReadoutRecord");
61  /*
62  gtObjectMap_ = conf.getParameter<edm::InputTag> ("l1GtObjectMapRecord");
63 
64  gctBitCounts_ = edm::InputTag( conf.getParameter<edm::InputTag>("l1GctHFBitCounts").label(), "" );
65  gctRingSums_ = edm::InputTag( conf.getParameter<edm::InputTag>("l1GctHFRingSums").label(), "" );
66  */
67  pileupInfo_ = edm::InputTag("addPileupInfo");
68 
69  hltresultsToken_ = consumes<edm::TriggerResults>(hltresults_);
70  genEventInfoToken_ = consumes<GenEventInfoProduct>(genEventInfo_);
71  /*
72  l1extramuToken_ = consumes<l1extra::L1MuonParticleCollection>(m_l1extramu);
73  l1extraemiToken_ = consumes<l1extra::L1EmParticleCollection>(m_l1extraemi);
74  l1extraemnToken_ = consumes<l1extra::L1EmParticleCollection>(m_l1extraemn);
75 
76  l1extrajetcToken_ = consumes<l1extra::L1JetParticleCollection>(m_l1extrajetc);
77  l1extrajetfToken_ = consumes<l1extra::L1JetParticleCollection>(m_l1extrajetf);
78  l1extrajetToken_ = consumes<l1extra::L1JetParticleCollection>(m_l1extrajet);
79  l1extrataujetToken_ = consumes<l1extra::L1JetParticleCollection>(m_l1extrataujet);
80  l1extrametToken_ = consumes<l1extra::L1EtMissParticleCollection>(m_l1extramet);
81  l1extramhtToken_ = consumes<l1extra::L1EtMissParticleCollection>(m_l1extramht);
82  */
83 
84  l1resultsToken_ = consumes<GlobalAlgBlkBxCollection>(l1results_);
85  // gtReadoutRecordToken_ = consumes<L1GlobalTriggerReadoutRecord>(gtReadoutRecord_);
86  /*
87  gtObjectMapToken_ = consumes<L1GlobalTriggerObjectMapRecord>(gtObjectMap_);
88  gctBitCountsToken_ = consumes<L1GctHFBitCountsCollection>(gctBitCounts_);
89  gctRingSumsToken_ = consumes<L1GctHFRingEtSumsCollection>(gctRingSums_);
90  */
91 
92  mctruthToken_ = consumes<reco::CandidateView>(mctruth_);
93  VertexTagOffline0Token_ = consumes<reco::VertexCollection>(VertexTagOffline0_);
94  simtracksToken_ = consumes<std::vector<SimTrack> >(simhits_);
95  simverticesToken_ = consumes<std::vector<SimVertex> >(simhits_);
96  pileupInfoToken_ = consumes<std::vector<PileupSummaryInfo> >(pileupInfo_);
97 
98  _UseTFileService = conf.getUntrackedParameter<bool>("UseTFileService",false);
99 
100  m_file = nullptr; // set to null
101  errCnt = 0;
102 
103  // read run parameters with a default value
104  edm::ParameterSet runParameters = conf.getParameter<edm::ParameterSet>("RunParameters");
105  _HistName = runParameters.getUntrackedParameter<std::string>("HistogramFile", "test.root");
106  _isData = runParameters.getUntrackedParameter<bool>("isData",true);
107 
108  // open the tree file and initialize the tree
109  if(_UseTFileService){
111  HltTree = fs->make<TTree>("HltTree", "");
112  }else{
113  m_file = new TFile(_HistName.c_str(), "RECREATE");
114  if (m_file)
115  m_file->cd();
116  HltTree = new TTree("HltTree", "");
117  }
118 
119  // Setup the different analysis
120  hlt_analysis_.setup(conf, HltTree);
121  if (!_isData) { mct_analysis_.setup(conf, HltTree); }
122  vrt_analysisOffline0_.setup(conf, HltTree, "Offline0");
124 }
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag VertexTagOffline0_
void setup(edm::ConsumesCollector &&iC, TTree *tree)
Definition: EventHeader.cc:24
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTInfo.cc:53
edm::InputTag hltresults_
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
edm::InputTag l1results_
RECOVertex vrt_analysisOffline0_
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1resultsToken_
edm::InputTag genEventInfo_
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
Definition: RECOVertex.cc:49
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
EventHeader evt_header_
Default analyses.
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupInfoToken_
edm::EDGetTokenT< GenEventInfoProduct > genEventInfoToken_
std::string _HistName
HLTMCtruth mct_analysis_
edm::EDGetTokenT< std::vector< SimTrack > > simtracksToken_
edm::InputTag mctruth_
edm::EDGetTokenT< reco::VertexCollection > VertexTagOffline0Token_
edm::InputTag simhits_
edm::EDGetTokenT< edm::TriggerResults > hltresultsToken_
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTMCtruth.cc:24
edm::InputTag pileupInfo_
HLTInfo hlt_analysis_
edm::EDGetTokenT< reco::CandidateView > mctruthToken_
edm::EDGetTokenT< std::vector< SimVertex > > simverticesToken_

Member Function Documentation

void HLTBitAnalyzer::analyze ( edm::Event const &  e,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements edm::EDAnalyzer.

Definition at line 127 of file HLTBitAnalyzer.cc.

References _isData, EventHeader::analyze(), RECOVertex::analyze(), HLTMCtruth::analyze(), HLTInfo::analyze(), mps_splice::entry, errCnt, errMax(), evt_header_, particlelevel_cff::genEventInfo, genEventInfo_, genEventInfoToken_, getCollection(), hlt_analysis_, hltresults_, hltresultsToken_, HltTree, edm::HandleBase::isValid(), kGenEventInfo, kHltresults, kL1GtRR, kMctruth, kPileupInfo, kRecoVerticesOffline0, kSimhit, l1results_, l1resultsToken_, m_file, mct_analysis_, mctruth_, mctruthToken_, MillePedeFileConverter_cfg::out, pileupInfo_, pileupInfoToken_, ptHat, GenEventInfoProduct::qScale(), simhits_, tkConvValidator_cfi::simTracks, simtracksToken_, HGCalValidator_cfi::simVertices, simverticesToken_, VertexTagOffline0_, VertexTagOffline0Token_, vrt_analysisOffline0_, and GenEventInfoProduct::weight().

127  {
128 
131  /*
132  edm::Handle<l1extra::L1EmParticleCollection> l1extemi, l1extemn;
133  edm::Handle<l1extra::L1MuonParticleCollection> l1extmu;
134  edm::Handle<l1extra::L1JetParticleCollection> l1extjetc, l1extjetf, l1extjet, l1exttaujet;
135  edm::Handle<l1extra::L1EtMissParticleCollection> l1extmet,l1extmht;
136  edm::Handle<L1GlobalTriggerReadoutRecord> l1GtRR;
137  edm::Handle<L1GlobalTriggerObjectMapRecord> l1GtOMRec;
138  edm::Handle<L1GlobalTriggerObjectMap> l1GtOM;
139  edm::Handle< L1GctHFBitCountsCollection > gctBitCounts ;
140  edm::Handle< L1GctHFRingEtSumsCollection > gctRingSums ;
141  */
146  edm::Handle<reco::VertexCollection> recoVertexsOffline0;
148 
149  // extract the collections from the event, check their validity and log which are missing
150  std::vector<MissingCollectionInfo> missing;
151 
152  getCollection( iEvent, missing, hltresults, hltresults_, hltresultsToken_, kHltresults );
153  /*
154  getCollection( iEvent, missing, l1extemi, m_l1extraemi, l1extraemiToken_, kL1extemi );
155  getCollection( iEvent, missing, l1extemn, m_l1extraemn, l1extraemnToken_, kL1extemn );
156  getCollection( iEvent, missing, l1extmu, m_l1extramu, l1extramuToken_, kL1extmu );
157  getCollection( iEvent, missing, l1extjetc, m_l1extrajetc, l1extrajetcToken_, kL1extjetc );
158  getCollection( iEvent, missing, l1extjetf, m_l1extrajetf, l1extrajetfToken_, kL1extjetf );
159  getCollection( iEvent, missing, l1extjet, m_l1extrajet, l1extrajetToken_, kL1extjet );
160  getCollection( iEvent, missing, l1exttaujet, m_l1extrataujet, l1extrataujetToken_, kL1exttaujet );
161  getCollection( iEvent, missing, l1extmet, m_l1extramet, l1extrametToken_, kL1extmet );
162  getCollection( iEvent, missing, l1extmht, m_l1extramht, l1extramhtToken_, kL1extmht );
163  */
164  getCollection( iEvent, missing, l1results, l1results_, l1resultsToken_, kL1GtRR) ;
165  // getCollection( iEvent, missing, l1GtRR, gtReadoutRecord_, gtReadoutRecordToken_, kL1GtRR );
166  /*
167  getCollection( iEvent, missing, l1GtOMRec, gtObjectMap_, gtObjectMapToken_, kL1GtOMRec );
168  getCollection( iEvent, missing, gctBitCounts, gctBitCounts_, gctBitCountsToken_, kL1GctBitCounts );
169  getCollection( iEvent, missing, gctRingSums, gctRingSums_, gctRingSumsToken_, kL1GctRingSums );
170  */
171  getCollection( iEvent, missing, mctruth, mctruth_, mctruthToken_, kMctruth );
172  getCollection( iEvent, missing, simTracks, simhits_, simtracksToken_, kSimhit );
173  getCollection( iEvent, missing, simVertices, simhits_, simverticesToken_, kSimhit );
176 
178 
179  if (!_isData) {
180  ptHat=-1.;
181  if (genEventInfo.isValid()) {ptHat=genEventInfo->qScale();}
182 
183  weight = genEventInfo->weight();
184  }
185  // print missing collections
186  if (not missing.empty() and (errCnt < errMax())) {
187  errCnt++;
188  std::stringstream out;
189  out << "OpenHLT analyser - missing collections:";
190  for(auto const& entry : missing)
191  out << "\n\t" << entry.first << ": " << entry.second->encode();
192  edm::LogPrint("OpenHLT") << out.str() << std::endl;
193  if (errCnt == errMax())
194  edm::LogWarning("OpenHLT") << "Maximum error count reached -- No more messages will be printed.";
195  }
196 
197  // run the analysis, passing required event fragments
199  hltresults,
200  /*
201  l1extemi,
202  l1extemn,
203  l1extmu,
204  l1extjetc,
205  l1extjetf,
206  l1extjet,
207  l1exttaujet,
208  l1extmet,
209  l1extmht,
210  */
211  l1results,
212  // l1GtRR,
213  /*
214  gctBitCounts,
215  gctRingSums,
216  */
217  iSetup,
218  iEvent,
219  HltTree);
220 
222 
223  if (!_isData) {
225  mctruth,
226  ptHat,
227  weight,
228  simTracks,
229  simVertices,
230  pupInfo,
231  HltTree);
232  }
234  recoVertexsOffline0,
235  HltTree);
236 
237  // std::cout << " Ending Event Analysis" << std::endl;
238  // After analysis, fill the variables tree
239  if (m_file) { m_file->cd(); }
240 
241  HltTree->Fill();
242 }
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< GlobalAlgBlkBxCollection > &l1results, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
Definition: HLTInfo.cc:92
void analyze(edm::Event const &iEvent, TTree *tree)
Definition: EventHeader.cc:44
edm::InputTag VertexTagOffline0_
const char * kHltresults
Definition: HLTMessages.cc:34
const char * kSimhit
Definition: HLTMessages.cc:49
edm::InputTag hltresults_
Definition: weight.py:1
double weight() const
edm::InputTag l1results_
RECOVertex vrt_analysisOffline0_
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1resultsToken_
edm::InputTag genEventInfo_
int iEvent
Definition: GenABIO.cc:224
double qScale() const
EventHeader evt_header_
Default analyses.
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupInfoToken_
const char * kMctruth
Definition: HLTMessages.cc:48
static int errMax()
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Definition: RECOVertex.cc:91
bool isValid() const
Definition: HandleBase.h:74
edm::EDGetTokenT< GenEventInfoProduct > genEventInfoToken_
static bool getCollection(const edm::Event &event, std::vector< MissingCollectionInfo > &missing, edm::Handle< T > &handle, const edm::InputTag &name, const edm::EDGetTokenT< T > token, const char *description)
HLTMCtruth mct_analysis_
void analyze(const edm::Handle< reco::CandidateView > &mctruth, const double &pthat, const double &weight, const edm::Handle< std::vector< SimTrack > > &simTracks, const edm::Handle< std::vector< SimVertex > > &simVertices, const edm::Handle< std::vector< PileupSummaryInfo > > &PupInfo, TTree *tree)
Definition: HLTMCtruth.cc:74
const char * kL1GtRR
Definition: HLTMessages.cc:44
edm::EDGetTokenT< std::vector< SimTrack > > simtracksToken_
edm::InputTag mctruth_
const char * kRecoVerticesOffline0
Definition: HLTMessages.cc:128
const char * kGenEventInfo
Definition: HLTMessages.cc:50
edm::EDGetTokenT< reco::VertexCollection > VertexTagOffline0Token_
edm::InputTag simhits_
edm::EDGetTokenT< edm::TriggerResults > hltresultsToken_
edm::InputTag pileupInfo_
HLTInfo hlt_analysis_
edm::EDGetTokenT< reco::CandidateView > mctruthToken_
edm::EDGetTokenT< std::vector< SimVertex > > simverticesToken_
const char * kPileupInfo
Definition: HLTMessages.cc:51
void HLTBitAnalyzer::beginRun ( edm::Run const &  run,
edm::EventSetup const &  es 
)
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 246 of file HLTBitAnalyzer.cc.

References HLTInfo::beginRun(), and hlt_analysis_.

247 {
249 }
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTInfo.cc:30
HLTInfo hlt_analysis_
void HLTBitAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 252 of file HLTBitAnalyzer.cc.

References _UseTFileService, DEFINE_FWK_MODULE, HltTree, and m_file.

252  {
253 
254  if(!_UseTFileService){
255  if (m_file)
256  m_file->cd();
257 
258  HltTree->Write();
259  delete HltTree;
260  HltTree = nullptr;
261 
262  if (m_file) { // if there was a tree file...
263  m_file->Write(); // write out the branches
264  delete m_file; // close and delete the file
265  m_file = nullptr; // set to zero to clean up
266  }
267  }
268 }
static int HLTBitAnalyzer::errMax ( )
inlinestaticprivate

Definition at line 101 of file HLTBitAnalyzer.h.

Referenced by analyze().

101 { return 5; }

Member Data Documentation

double HLTBitAnalyzer::_EtaMax
private

Definition at line 104 of file HLTBitAnalyzer.h.

double HLTBitAnalyzer::_EtaMin
private

Definition at line 104 of file HLTBitAnalyzer.h.

std::string HLTBitAnalyzer::_HistName
private

Definition at line 103 of file HLTBitAnalyzer.h.

Referenced by HLTBitAnalyzer().

bool HLTBitAnalyzer::_isData
private

Definition at line 107 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

bool HLTBitAnalyzer::_UseTFileService
private

Definition at line 106 of file HLTBitAnalyzer.h.

Referenced by endJob(), and HLTBitAnalyzer().

int HLTBitAnalyzer::errCnt
private

Definition at line 100 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

EventHeader HLTBitAnalyzer::evt_header_
private

Default analyses.

Definition at line 52 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::InputTag HLTBitAnalyzer::genEventInfo_
private

Definition at line 58 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<GenEventInfoProduct> HLTBitAnalyzer::genEventInfoToken_
private

Definition at line 80 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

HLTInfo HLTBitAnalyzer::hlt_analysis_
private

Definition at line 53 of file HLTBitAnalyzer.h.

Referenced by analyze(), beginRun(), and HLTBitAnalyzer().

edm::InputTag HLTBitAnalyzer::hltresults_
private

Definition at line 58 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<edm::TriggerResults> HLTBitAnalyzer::hltresultsToken_
private

Definition at line 79 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

TTree* HLTBitAnalyzer::HltTree

Definition at line 45 of file HLTBitAnalyzer.h.

Referenced by analyze(), endJob(), and HLTBitAnalyzer().

edm::InputTag HLTBitAnalyzer::l1results_
private

Definition at line 73 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<GlobalAlgBlkBxCollection> HLTBitAnalyzer::l1resultsToken_
private

Definition at line 82 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

TFile* HLTBitAnalyzer::m_file
private

Definition at line 105 of file HLTBitAnalyzer.h.

Referenced by analyze(), endJob(), and HLTBitAnalyzer().

HLTMCtruth HLTBitAnalyzer::mct_analysis_
private

Definition at line 55 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::InputTag HLTBitAnalyzer::mctruth_
private

Definition at line 75 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<reco::CandidateView> HLTBitAnalyzer::mctruthToken_
private

Definition at line 94 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::InputTag HLTBitAnalyzer::pileupInfo_
private

Definition at line 77 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<std::vector<PileupSummaryInfo> > HLTBitAnalyzer::pileupInfoToken_
private

Definition at line 97 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

double HLTBitAnalyzer::ptHat
private

Definition at line 109 of file HLTBitAnalyzer.h.

Referenced by analyze().

edm::InputTag HLTBitAnalyzer::simhits_
private

Definition at line 75 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<std::vector<SimTrack> > HLTBitAnalyzer::simtracksToken_
private

Definition at line 95 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<std::vector<SimVertex> > HLTBitAnalyzer::simverticesToken_
private

Definition at line 96 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::InputTag HLTBitAnalyzer::VertexTagOffline0_
private

Definition at line 76 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

edm::EDGetTokenT<reco::VertexCollection> HLTBitAnalyzer::VertexTagOffline0Token_
private

Definition at line 98 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

RECOVertex HLTBitAnalyzer::vrt_analysisOffline0_
private

Definition at line 56 of file HLTBitAnalyzer.h.

Referenced by analyze(), and HLTBitAnalyzer().

double HLTBitAnalyzer::weight
private