#include <HLTElectronPixelMatchFilter.h>
Public Member Functions | |
HLTElectronPixelMatchFilter (const edm::ParameterSet &) | |
virtual bool | hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
~HLTElectronPixelMatchFilter () | |
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 | |
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 | 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 | |
float | calDPhi1Sq (reco::ElectronSeedCollection::const_iterator seed, int charge) const |
float | calDPhi2Sq (reco::ElectronSeedCollection::const_iterator seed, int charge) const |
float | calDZ2Sq (reco::ElectronSeedCollection::const_iterator seed, int charge) const |
int | getNrOfMatches (edm::Handle< reco::ElectronSeedCollection > &eleSeeds, reco::SuperClusterRef &candSCRef) const |
Private Attributes | |
edm::InputTag | candTag_ |
edm::EDGetTokenT < trigger::TriggerFilterObjectWithRefs > | candToken_ |
bool | doIsolated_ |
bool | isPixelVeto_ |
edm::InputTag | L1IsoCollTag_ |
edm::InputTag | L1IsoPixelSeedsTag_ |
edm::EDGetTokenT < reco::ElectronSeedCollection > | L1IsoPixelSeedsToken_ |
edm::InputTag | L1NonIsoCollTag_ |
edm::InputTag | L1NonIsoPixelSeedsTag_ |
edm::EDGetTokenT < reco::ElectronSeedCollection > | L1NonIsoPixelSeedsToken_ |
int | ncandcut_ |
double | npixelmatchcut_ |
float | s2BarrelThres_ |
float | s2ForwardThres_ |
float | s2InterThres_ |
float | sPhi1B_ |
float | sPhi1F_ |
float | sPhi1I_ |
float | sPhi2B_ |
float | sPhi2F_ |
float | sPhi2I_ |
float | sR2F_ |
float | sR2I_ |
float | sZ2B_ |
bool | useS_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDFilterBase | |
typedef EDFilterBase | 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) |
Definition at line 18 of file HLTElectronPixelMatchFilter.h.
|
explicit |
Definition at line 35 of file HLTElectronPixelMatchFilter.cc.
References candTag_, candToken_, doIsolated_, edm::ParameterSet::getParameter(), isPixelVeto_, L1IsoCollTag_, L1IsoPixelSeedsTag_, L1IsoPixelSeedsToken_, L1NonIsoCollTag_, L1NonIsoPixelSeedsTag_, L1NonIsoPixelSeedsToken_, ncandcut_, npixelmatchcut_, funct::pow(), s2BarrelThres_, s2ForwardThres_, s2InterThres_, sPhi1B_, sPhi1F_, sPhi1I_, sPhi2B_, sPhi2F_, sPhi2I_, sR2F_, sR2I_, sZ2B_, and useS_.
HLTElectronPixelMatchFilter::~HLTElectronPixelMatchFilter | ( | ) |
Definition at line 67 of file HLTElectronPixelMatchFilter.cc.
|
private |
Definition at line 70 of file HLTElectronPixelMatchFilter.cc.
References sPhi1B_, sPhi1F_, and sPhi1I_.
Referenced by getNrOfMatches().
|
private |
Definition at line 77 of file HLTElectronPixelMatchFilter.cc.
References sPhi2B_, sPhi2F_, and sPhi2I_.
Referenced by getNrOfMatches().
|
private |
Definition at line 85 of file HLTElectronPixelMatchFilter.cc.
References sR2F_, sR2I_, and sZ2B_.
Referenced by getNrOfMatches().
|
static |
Definition at line 92 of file HLTElectronPixelMatchFilter.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_25ns14e33_v1_cff::InputTag, and HLTFilter::makeHLTFilterDescription().
|
private |
Definition at line 178 of file HLTElectronPixelMatchFilter.cc.
References calDPhi1Sq(), calDPhi2Sq(), calDZ2Sq(), edm::RefToBase< T >::castTo(), s2BarrelThres_, s2ForwardThres_, s2InterThres_, and useS_.
Referenced by hltFilter().
|
overridevirtual |
Implements HLTFilter.
Definition at line 122 of file HLTElectronPixelMatchFilter.cc.
References accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), trigger::TriggerRefsCollections::addObject(), candToken_, doIsolated_, edm::Event::getByToken(), getNrOfMatches(), i, isPixelVeto_, L1IsoCollTag_, L1IsoPixelSeedsToken_, L1NonIsoCollTag_, L1NonIsoPixelSeedsToken_, gen::n, ncandcut_, npixelmatchcut_, HLTFilter::saveTags(), trigger::TriggerCluster, and trigger::TriggerPhoton.
|
private |
Definition at line 34 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter().
|
private |
Definition at line 35 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 48 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 69 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 49 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 37 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter().
|
private |
Definition at line 39 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 50 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 41 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter().
|
private |
Definition at line 43 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 46 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 45 of file HLTElectronPixelMatchFilter.h.
Referenced by HLTElectronPixelMatchFilter(), and hltFilter().
|
private |
Definition at line 54 of file HLTElectronPixelMatchFilter.h.
Referenced by getNrOfMatches(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 56 of file HLTElectronPixelMatchFilter.h.
Referenced by getNrOfMatches(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 55 of file HLTElectronPixelMatchFilter.h.
Referenced by getNrOfMatches(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 59 of file HLTElectronPixelMatchFilter.h.
Referenced by calDPhi1Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 61 of file HLTElectronPixelMatchFilter.h.
Referenced by calDPhi1Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 60 of file HLTElectronPixelMatchFilter.h.
Referenced by calDPhi1Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 62 of file HLTElectronPixelMatchFilter.h.
Referenced by calDPhi2Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 64 of file HLTElectronPixelMatchFilter.h.
Referenced by calDPhi2Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 63 of file HLTElectronPixelMatchFilter.h.
Referenced by calDPhi2Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 67 of file HLTElectronPixelMatchFilter.h.
Referenced by calDZ2Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 66 of file HLTElectronPixelMatchFilter.h.
Referenced by calDZ2Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 65 of file HLTElectronPixelMatchFilter.h.
Referenced by calDZ2Sq(), and HLTElectronPixelMatchFilter().
|
private |
Definition at line 70 of file HLTElectronPixelMatchFilter.h.
Referenced by getNrOfMatches(), and HLTElectronPixelMatchFilter().