|
void | analyze (edm::Event const &e, edm::EventSetup const &iSetup) override |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endJob () override |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
| HLTBitAnalyzer (edm::ParameterSet const &conf) |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () 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 |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
$Date: November 2006 $Revision:
- Author
- P. Bargassa - Rice U.
$Date: April 2016 $Revision:
- Author
- G. Karapostoli - ULB
Definition at line 34 of file HLTBitAnalyzer.h.
Definition at line 32 of file HLTBitAnalyzer.cc.
References _HistName, _isData, _UseTFileService, edm::EDConsumerBase::consumesCollector(), gather_cfg::cout, errCnt, evt_header_, compareTotals::fs, genEventInfo_, genEventInfoToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hlt_analysis_, hltresults_, hltresultsToken_, HltTree, ProducerED_cfi::InputTag, l1results_, l1resultsToken_, m_file, mct_analysis_, mctruth_, mctruthToken_, pileupInfo_, pileupInfoToken_, environment_file_cff::runParameters, EventHeader::setup(), RECOVertex::setup(), HLTMCtruth::setup(), HLTInfo::setup(), simhits_, simtracksToken_, simverticesToken_, AlCaHLTBitMon_QueryRunRegistry::string, VertexTagOffline0_, VertexTagOffline0Token_, and vrt_analysisOffline0_.
36 std::cout <<
" Beginning HLTBitAnalyzer Analysis " << std::endl;
99 _UseTFileService = conf.getUntrackedParameter<
bool>(
"UseTFileService",
false);
112 HltTree =
fs->make<TTree>(
"HltTree",
"");
117 HltTree =
new TTree(
"HltTree",
"");
edm::InputTag VertexTagOffline0_
void setup(const edm::ParameterSet &pSet, TTree *tree)
edm::InputTag hltresults_
RECOVertex vrt_analysisOffline0_
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1resultsToken_
edm::InputTag genEventInfo_
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
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_
edm::EDGetTokenT< std::vector< SimTrack > > simtracksToken_
edm::EDGetTokenT< reco::VertexCollection > VertexTagOffline0Token_
edm::EDGetTokenT< edm::TriggerResults > hltresultsToken_
void setup(const edm::ParameterSet &pSet, TTree *tree)
edm::InputTag pileupInfo_
edm::EDGetTokenT< reco::CandidateView > mctruthToken_
edm::EDGetTokenT< std::vector< SimVertex > > simverticesToken_
Implements edm::one::EDAnalyzerBase.
Definition at line 130 of file HLTBitAnalyzer.cc.
References _isData, EventHeader::analyze(), RECOVertex::analyze(), HLTMCtruth::analyze(), HLTInfo::analyze(), mps_splice::entry, errCnt, errMax(), evt_header_, genParticles2HepMC_cfi::genEventInfo, genEventInfo_, genEventInfoToken_, getCollection(), hlt_analysis_, HLTBitAnalyser_cfi::hltresults, hltresults_, hltresultsToken_, HltTree, iEvent, kGenEventInfo, kHltresults, kL1GtRR, kMctruth, kPileupInfo, kRecoVerticesOffline0, kSimhit, HLTBitAnalyser_cfi::l1results, l1results_, l1resultsToken_, m_file, mct_analysis_, HLTBitAnalyser_cfi::mctruth, mctruth_, mctruthToken_, combine::missing, MillePedeFileConverter_cfg::out, pileupInfo_, pileupInfoToken_, ptHat, simhits_, TrackCandidateProducer_cfi::simTracks, simtracksToken_, HGCalValidator_cfi::simVertices, simverticesToken_, VertexTagOffline0_, VertexTagOffline0Token_, and vrt_analysisOffline0_.
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.";
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< GlobalAlgBlkBxCollection > &l1results, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
edm::InputTag VertexTagOffline0_
edm::InputTag hltresults_
RECOVertex vrt_analysisOffline0_
edm::EDGetTokenT< GlobalAlgBlkBxCollection > l1resultsToken_
edm::InputTag genEventInfo_
EventHeader evt_header_
Default analyses.
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupInfoToken_
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Log< level::Warning, true > LogPrint
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)
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)
edm::EDGetTokenT< std::vector< SimTrack > > simtracksToken_
const char * kRecoVerticesOffline0
const char * kGenEventInfo
edm::EDGetTokenT< reco::VertexCollection > VertexTagOffline0Token_
edm::EDGetTokenT< edm::TriggerResults > hltresultsToken_
edm::InputTag pileupInfo_
Log< level::Warning, false > LogWarning
edm::EDGetTokenT< reco::CandidateView > mctruthToken_
edm::EDGetTokenT< std::vector< SimVertex > > simverticesToken_