#include <RecoTBCalo/IsTBH4Type/src/IsTBH4Type.cc>
Public Member Functions | |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
IsTBH4Type (const edm::ParameterSet &) | |
~IsTBH4Type () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Attributes | |
std::string | eventHeaderCollection_ |
collection of the event header More... | |
std::string | eventHeaderProducer_ |
producer of the event header More... | |
bool | notFound_ |
what to return in case no header is found More... | |
std::string | typeToFlag_ |
type of run to flag More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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) |
Description: tag a given type of run
Implementation: <Notes on="" implementation>="">
Definition at line 36 of file IsTBH4Type.h.
|
explicit |
Definition at line 34 of file IsTBH4Type.cc.
References eventHeaderCollection_, eventHeaderProducer_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), notFound_, AlCaHLTBitMon_QueryRunRegistry::string, and typeToFlag_.
IsTBH4Type::~IsTBH4Type | ( | ) |
Definition at line 44 of file IsTBH4Type.cc.
|
virtual |
Implements edm::EDFilter.
Definition at line 57 of file IsTBH4Type.cc.
References eventHeaderProducer_, edm::Event::getByLabel(), notFound_, and typeToFlag_.
|
private |
collection of the event header
Definition at line 48 of file IsTBH4Type.h.
Referenced by IsTBH4Type().
|
private |
producer of the event header
Definition at line 50 of file IsTBH4Type.h.
Referenced by filter(), and IsTBH4Type().
|
private |
what to return in case no header is found
Definition at line 54 of file IsTBH4Type.h.
Referenced by filter(), and IsTBH4Type().
|
private |
type of run to flag
Definition at line 52 of file IsTBH4Type.h.
Referenced by filter(), and IsTBH4Type().