|
void | analyze (StreamID, Event const &, EventSetup const &) const override |
|
| GenericConsumer (ParameterSet const &) |
|
| ~GenericConsumer () override=default |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
bool | wantsStreamLuminosityBlocks () const noexcept final |
|
bool | wantsStreamRuns () const noexcept final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () 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 |
|
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) |
|
Definition at line 119 of file GenericConsumer.cc.
edm::GenericConsumer::GenericConsumer |
( |
ParameterSet const & |
config | ) |
|
|
explicit |
Definition at line 137 of file GenericConsumer.cc.
References MicroEventContent_cff::branch, edm::global::EDAnalyzerBase::callWhenNewProductsRegistered(), edm::EDConsumerBase::consumes(), eventProducts_, Exception, edm::InEvent, edm::InLumi, edm::InProcess, edm::InRun, label, label_, edm::errors::LogicError, lumiProducts_, or, processProducts_, edm::PRODUCT_TYPE, runProducts_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
138 :
eventProducts_(make_patterns(
config.getUntrackedParameter<std::vector<std::string>>(
"eventProducts"))),
139 lumiProducts_(make_patterns(
config.getUntrackedParameter<std::vector<std::string>>(
"lumiProducts"))),
140 runProducts_(make_patterns(
config.getUntrackedParameter<std::vector<std::string>>(
"runProducts"))),
141 processProducts_(make_patterns(
config.getUntrackedParameter<std::vector<std::string>>(
"processProducts"))),
145 static const std::string kPathStatus(
"edm::PathStatus");
146 static const std::string kEndPathStatus(
"edm::EndPathStatus");
148 switch (
branch.branchType()) {
150 if (
branch.className() == kPathStatus
or branch.className() == kEndPathStatus)
158 <<
label_ <<
" consumes Event product " <<
branch.friendlyClassName() <<
'_' <<
branch.moduleLabel()
159 <<
'_' <<
branch.productInstanceName() <<
'_' <<
branch.processName() <<
'\n';
168 this->consumes<edm::InLumi>(
173 <<
label_ <<
" consumes LuminosityBlock product " <<
branch.friendlyClassName() <<
'_' 174 <<
branch.moduleLabel() <<
'_' <<
branch.productInstanceName() <<
'_' <<
branch.processName()
184 this->consumes<edm::InRun>(
189 <<
label_ <<
" consumes Run product " <<
branch.friendlyClassName() <<
'_' <<
branch.moduleLabel()
190 <<
'_' <<
branch.productInstanceName() <<
'_' <<
branch.processName() <<
'\n';
199 this->consumes<edm::InProcess>(
204 <<
label_ <<
" consumes Process product " <<
branch.friendlyClassName() <<
'_' 205 <<
branch.moduleLabel() <<
'_' <<
branch.productInstanceName() <<
'_' <<
branch.processName()
214 <<
"Unexpected branch type " <<
branch.branchType() <<
"\nPlease contact a Framework developer\n";
Log< level::Info, true > LogVerbatim
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< ProductBranch > runProducts_
std::vector< ProductBranch > eventProducts_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
std::vector< ProductBranch > processProducts_
std::vector< ProductBranch > lumiProducts_