5 #include <boost/foreach.hpp>
18 event.getByToken(token, handle);
21 missing.push_back( std::make_pair(description, & name) );
34 std::cout <<
" Beginning HLTBitAnalyzer Analysis " << std::endl;
88 m_file =
new TFile(_HistName.c_str(),
"RECREATE");
91 HltTree =
new TTree(
"HltTree",
"");
114 std::vector<MissingCollectionInfo>
missing;
135 std::stringstream
out;
136 out <<
"OpenHLT analyser - missing collections:";
138 out <<
"\n\t" << entry.first <<
": " << entry.second->encode();
141 edm::LogWarning(
"OpenHLT") <<
"Maximum error count reached -- No more messages will be printed.";
T getParameter(std::string const &) const
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > l1extrametToken_
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< L1GctHFRingEtSumsCollection > gctRingSumsToken_
edm::InputTag gctRingSums_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > gtReadoutRecordToken_
const char * kL1exttaujet
edm::InputTag m_l1extrajet
edm::InputTag m_l1extraemn
void setup(const edm::ParameterSet &pSet, TTree *tree)
edm::InputTag m_l1extrataujet
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1extrajetcToken_
edm::InputTag m_l1extraemi
edm::InputTag gctBitCounts_
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< l1extra::L1EmParticleCollection > &l1extemi, const edm::Handle< l1extra::L1EmParticleCollection > &l1extemn, const edm::Handle< l1extra::L1MuonParticleCollection > &l1extmu, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjetc, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjetf, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjet, const edm::Handle< l1extra::L1JetParticleCollection > &l1exttaujet, const edm::Handle< l1extra::L1EtMissParticleCollection > &l1extmet, const edm::Handle< l1extra::L1EtMissParticleCollection > &l1extmht, const edm::Handle< L1GlobalTriggerReadoutRecord > &l1GTRR, const edm::Handle< L1GctHFBitCountsCollection > &gctBitCounts, const edm::Handle< L1GctHFRingEtSumsCollection > &gctRingSums, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
edm::InputTag hltresults_
edm::InputTag gtReadoutRecord_
edm::EDGetTokenT< L1GctHFBitCountsCollection > gctBitCountsToken_
const char * kL1GctRingSums
T * make(const Args &...args) const
make new ROOT object
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > l1extramhtToken_
edm::InputTag m_l1extramet
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1extrajetfToken_
edm::InputTag genEventInfo_
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1extrataujetToken_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1extraemnToken_
EventHeader evt_header_
Default analyses.
edm::InputTag m_l1extramu
edm::EDGetTokenT< l1extra::L1JetParticleCollection > l1extrajetToken_
void beginRun(const edm::Run &, const edm::EventSetup &)
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > l1extramuToken_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::pair< const char *, const edm::InputTag * > MissingCollectionInfo
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)
virtual void beginRun(edm::Run const &, edm::EventSetup const &)
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)
const char * kL1GctBitCounts
edm::InputTag m_l1extramht
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1extraemiToken_
edm::InputTag m_l1extrajetf
edm::InputTag gtObjectMap_
edm::EDGetTokenT< edm::TriggerResults > hltresultsToken_
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > gtObjectMapToken_
HLTBitAnalyzer(edm::ParameterSet const &conf)
edm::InputTag m_l1extrajetc