Go to the documentation of this file.
15 std::vector<MissingCollectionInfo>&
missing,
36 std::cout <<
" Beginning HLTBitAnalyzer Analysis " << std::endl;
117 HltTree =
new TTree(
"HltTree",
"");
152 std::vector<MissingCollectionInfo>
missing;
193 std::stringstream
out;
194 out <<
"OpenHLT analyser - missing collections:";
196 out <<
"\n\t" <<
entry.first <<
": " <<
entry.second->encode();
199 edm::LogWarning(
"OpenHLT") <<
"Maximum error count reached -- No more messages will be printed.";
edm::EDGetTokenT< std::vector< SimVertex > > simverticesToken_
void beginRun(edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< reco::VertexCollection > VertexTagOffline0Token_
RECOVertex vrt_analysisOffline0_
edm::InputTag hltresults_
Log< level::Warning, true > LogPrint
HLTBitAnalyzer(edm::ParameterSet const &conf)
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< reco::CandidateView > mctruthToken_
edm::EDGetTokenT< GenEventInfoProduct > genEventInfoToken_
Log< level::Warning, false > LogWarning
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< GlobalAlgBlkBxCollection > &l1results, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
#define DEFINE_FWK_MODULE(type)
void analyze(edm::Event const &e, edm::EventSetup const &iSetup) override
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1resultsToken_
const char * kRecoVerticesOffline0
void beginRun(const edm::Run &, const edm::EventSetup &)
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupInfoToken_
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
std::pair< const char *, const edm::InputTag * > MissingCollectionInfo
edm::InputTag pileupInfo_
void setup(const edm::ParameterSet &pSet, TTree *tree)
void setup(const edm::ParameterSet &pSet, TTree *tree)
T * make(const Args &...args) const
make new ROOT object
edm::EDGetTokenT< std::vector< SimTrack > > simtracksToken_
EventHeader evt_header_
Default analyses.
edm::InputTag genEventInfo_
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)
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)
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
const char * kGenEventInfo
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::TriggerResults > hltresultsToken_
edm::InputTag VertexTagOffline0_