#include <HLTTrackWithHits.h>
Public Member Functions | |
HLTTrackWithHits (const edm::ParameterSet &iConfig) | |
~HLTTrackWithHits () | |
Public Member Functions inherited from HLTFilter | |
HLTFilter (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 | ~HLTFilter () |
Public Member Functions inherited from edm::global::EDFilter<> | |
EDFilter ()=default | |
Public Member Functions inherited from edm::global::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilterBase () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
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 |
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 | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from HLTFilter | |
static void | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::global::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual bool | hltFilter (edm::Event &iEvent, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
Private Attributes | |
int | maxN_ |
int | MinBPX_ |
int | MinFPX_ |
int | minN_ |
int | MinPXL_ |
edm::InputTag | src_ |
edm::EDGetTokenT < reco::TrackCollection > | srcToken_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDFilterBase | |
typedef EDFilterBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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: templated EDFilter to count the number of tracks with a given hit requirement
Definition at line 27 of file HLTTrackWithHits.h.
|
inlineexplicit |
Definition at line 29 of file HLTTrackWithHits.h.
References src_, and srcToken_.
|
inline |
Definition at line 40 of file HLTTrackWithHits.h.
|
inlinestatic |
Definition at line 42 of file HLTTrackWithHits.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and HLTFilter::makeHLTFilterDescription().
|
inlineoverrideprivatevirtual |
Implements HLTFilter.
Definition at line 56 of file HLTTrackWithHits.h.
References submit::answer, prof2calltree::count, edm::Event::getByToken(), reco::TrackBase::hitPattern(), i, LogDebug, maxN_, MinBPX_, MinFPX_, minN_, MinPXL_, HLTFilter::module(), reco::HitPattern::numberOfValidPixelBarrelHits(), reco::HitPattern::numberOfValidPixelEndcapHits(), reco::HitPattern::numberOfValidPixelHits(), alignCSCRings::s, and srcToken_.
|
private |
Definition at line 77 of file HLTTrackWithHits.h.
Referenced by hltFilter().
|
private |
Definition at line 77 of file HLTTrackWithHits.h.
Referenced by hltFilter().
|
private |
Definition at line 77 of file HLTTrackWithHits.h.
Referenced by hltFilter().
|
private |
Definition at line 77 of file HLTTrackWithHits.h.
Referenced by hltFilter().
|
private |
Definition at line 77 of file HLTTrackWithHits.h.
Referenced by hltFilter().
|
private |
Definition at line 75 of file HLTTrackWithHits.h.
Referenced by HLTTrackWithHits().
|
private |
Definition at line 76 of file HLTTrackWithHits.h.
Referenced by hltFilter(), and HLTTrackWithHits().