#include <HLTStreamFilter.h>
Public Member Functions | |
HLTStreamFilter (const edm::ParameterSet &config) | |
int | module (edm::Event const &) const |
const std::string * | moduleLabel () const |
int | path (edm::Event const &) const |
const std::string * | pathName (edm::Event const &) const |
std::pair< int, int > | pmid (edm::Event const &) const |
bool | saveTags () const |
virtual | ~HLTStreamFilter () |
Public Member Functions inherited from edm::stream::EDFilter<> | |
EDFilter ()=default | |
Public Member Functions inherited from edm::stream::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilterBase () |
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 () |
Static Public Member Functions | |
static void | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | filter (edm::Event &event, const edm::EventSetup &setup) overridefinal |
virtual bool | hltFilter (edm::Event &event, const edm::EventSetup &setup, trigger::TriggerFilterObjectWithRefs &filterobject)=0 |
Private Attributes | |
const bool | saveTags_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
This class derives from EDFilter and adds a few HLT specific items. All HLT filters that wish to save summary objects for the AOD must derive from the HLTStreamFilter class.
This class derives from EDFilter and adds a few HLT specific items. Any and all HLT filters must derive from the HLTStreamFilter class!
Definition at line 29 of file HLTStreamFilter.h.
|
explicit |
Definition at line 20 of file HLTStreamFilter.cc.
|
virtual |
Definition at line 33 of file HLTStreamFilter.cc.
|
finaloverrideprivatevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 36 of file HLTStreamFilter.cc.
References hltFilter(), module(), path(), and query::result.
|
privatepure virtual |
Implemented in HLTLevel1GTSeed.
Referenced by filter().
|
static |
Definition at line 29 of file HLTStreamFilter.cc.
References edm::ParameterSetDescription::add().
Referenced by HLTLevel1GTSeed::fillDescriptions().
int HLTStreamFilter::module | ( | edm::Event const & | event | ) | const |
Definition at line 53 of file HLTStreamFilter.cc.
Referenced by filter().
const std::string * HLTStreamFilter::moduleLabel | ( | ) | const |
Definition at line 67 of file HLTStreamFilter.cc.
References edm::stream::EDFilterBase::moduleDescription(), and edm::ModuleDescription::moduleLabel().
int HLTStreamFilter::path | ( | edm::Event const & | event | ) | const |
Definition at line 49 of file HLTStreamFilter.cc.
Referenced by filter().
const std::string * HLTStreamFilter::pathName | ( | edm::Event const & | event | ) | const |
Definition at line 63 of file HLTStreamFilter.cc.
std::pair< int, int > HLTStreamFilter::pmid | ( | edm::Event const & | event | ) | const |
Definition at line 57 of file HLTStreamFilter.cc.
References edm::PlaceInPathContext::pathContext(), edm::PathContext::pathID(), and edm::PlaceInPathContext::placeInPath().
|
inline |
Definition at line 46 of file HLTStreamFilter.h.
References saveTags_.
Referenced by HLTLevel1GTSeed::hltFilter().
|
private |
Definition at line 43 of file HLTStreamFilter.h.
Referenced by saveTags().