#include <ElectronSeed.h>
Classes | |
struct | PMVars |
Public Types | |
typedef edm::RefToBase< CaloCluster > | CaloClusterRef |
typedef edm::Ref< TrackCollection > | CtfTrackRef |
Public Types inherited from TrajectorySeed | |
typedef edm::OwnVector< TrackingRecHit > | RecHitContainer |
typedef edm::Range< RecHitContainer::const_iterator > | RecHitRange |
Public Member Functions | |
void | addHitInfo (const PMVars &hitVars) |
const CaloClusterRef & | caloCluster () const |
ElectronSeed * | clone () const override |
const CtfTrackRef & | ctfTrack () const |
Accessors. More... | |
int | detId (size_t hitNr) const |
float | dPhiBest (size_t hitNr) const |
float | dPhiNeg (size_t hitNr) const |
float | dPhiPos (size_t hitNr) const |
float | dRZBest (size_t hitNr) const |
float | dRZNeg (size_t hitNr) const |
float | dRZPos (size_t hitNr) const |
ElectronSeed () | |
Construction of base attributes. More... | |
ElectronSeed (const TrajectorySeed &) | |
ElectronSeed (PTrajectoryStateOnDet &pts, RecHitContainer &rh, PropagationDirection &dir) | |
TrackCharge | getCharge () const |
Utility. More... | |
const std::vector< PMVars > & | hitInfo () const |
unsigned int | hitsMask () const |
void | initTwoHitSeed (const unsigned char hitMask) |
bool | isEcalDriven () const |
bool | isTrackerDriven () const |
int | layerOrDiskNr (size_t hitNr) const |
int | nrLayersAlongTraj () const |
void | setCaloCluster (const CaloClusterRef &clus) |
void | setCtfTrack (const CtfTrackRef &) |
Set additional info. More... | |
void | setNegAttributes (const float dRZ2=std::numeric_limits< float >::infinity(), const float dPhi2=std::numeric_limits< float >::infinity(), const float dRZ1=std::numeric_limits< float >::infinity(), const float dPhi1=std::numeric_limits< float >::infinity()) |
void | setNrLayersAlongTraj (int val) |
void | setPosAttributes (const float dRZ2=std::numeric_limits< float >::infinity(), const float dPhi2=std::numeric_limits< float >::infinity(), const float dRZ1=std::numeric_limits< float >::infinity(), const float dPhi1=std::numeric_limits< float >::infinity()) |
int | subDet (size_t hitNr) const |
~ElectronSeed () override | |
Public Member Functions inherited from TrajectorySeed | |
PropagationDirection | direction () const |
unsigned int | nHits () const |
TrajectorySeed & | operator= (TrajectorySeed const &o)=default |
TrajectorySeed & | operator= (TrajectorySeed &&o) noexcept=default |
RecHitRange | recHits () const |
PTrajectoryStateOnDet const & | startingState () const |
void | swap (PTrajectoryStateOnDet &ptsos, RecHitContainer &rh, PropagationDirection &dir) noexcept |
void | swap (TrajectorySeed &rh) noexcept |
TrajectorySeed () | |
TrajectorySeed (PTrajectoryStateOnDet const &ptsos, RecHitContainer const &rh, PropagationDirection dir) | |
TrajectorySeed (PTrajectoryStateOnDet const &ptsos, RecHitContainer &&rh, PropagationDirection dir) noexcept | |
TrajectorySeed (TrajectorySeed const &o)=default | |
TrajectorySeed (TrajectorySeed &&o) noexcept=default | |
virtual | ~TrajectorySeed () |
Static Public Member Functions | |
static std::vector< PMVars > | createHitInfo (const float dPhi1Pos, const float dPhi1Neg, const float dRZ1Pos, const float dRZ1Neg, const float dPhi2Pos, const float dPhi2Neg, const float dRZ2Pos, const float dRZ2Neg, const char hitMask, TrajectorySeed::RecHitRange const &recHits) |
static std::string const & | name () |
Private Member Functions | |
template<typename T > | |
T | getVal (unsigned int hitNr, T PMVars::*val) const |
Static Private Member Functions | |
static float | bestVal (float val1, float val2) |
static std::vector< unsigned int > | hitNrsFromMask (unsigned int hitMask) |
Private Attributes | |
CaloClusterRef | caloCluster_ |
CtfTrackRef | ctfTrack_ |
std::vector< PMVars > | hitInfo_ |
bool | isEcalDriven_ |
bool | isTrackerDriven_ |
int | nrLayersAlongTraj_ |
Definition at line 51 of file ElectronSeed.h.
Definition at line 68 of file ElectronSeed.h.
Definition at line 69 of file ElectronSeed.h.
ElectronSeed::ElectronSeed | ( | ) |
Construction of base attributes.
Definition at line 8 of file ElectronSeed.cc.
Referenced by clone().
ElectronSeed::ElectronSeed | ( | const TrajectorySeed & | seed | ) |
Definition at line 19 of file ElectronSeed.cc.
ElectronSeed::ElectronSeed | ( | PTrajectoryStateOnDet & | pts, |
RecHitContainer & | rh, | ||
PropagationDirection & | dir | ||
) |
Definition at line 28 of file ElectronSeed.cc.
|
overridedefault |
|
inline |
Definition at line 89 of file ElectronSeed.h.
References hitInfo_.
Referenced by ElectronNHitSeedProducer::produce().
|
inlinestaticprivate |
Definition at line 140 of file ElectronSeed.h.
References funct::abs().
Referenced by dPhiBest(), and dRZBest().
|
inline |
Definition at line 93 of file ElectronSeed.h.
References caloCluster_.
Referenced by PFElecTkProducer::isSameEgSC(), and PFElecTkProducer::isSharingEcalEnergyWithEgSC().
|
inlineoverridevirtual |
Reimplemented from TrajectorySeed.
Definition at line 80 of file ElectronSeed.h.
References ElectronSeed().
|
static |
Definition at line 122 of file ElectronSeed.cc.
References edm::Range< T >::begin(), HLT_2024v12_cff::distance, edm::Range< T >::end(), Exception, hitInfo(), hitNrsFromMask(), and TrajectorySeed::recHits().
|
inline |
Accessors.
Definition at line 92 of file ElectronSeed.h.
References ctfTrack_.
Referenced by setCtfTrack().
|
inline |
Definition at line 108 of file ElectronSeed.h.
References hitInfo_.
Referenced by reco::ElectronSeed::PMVars::setDet(), and subDet().
|
inline |
Definition at line 104 of file ElectronSeed.h.
References bestVal(), dPhiNeg(), and dPhiPos().
Referenced by EgammaHLTPixelMatchVarProducer::produce().
|
inline |
Definition at line 102 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiNeg, and getVal().
Referenced by dPhiBest(), and reco::ElectronSeed::PMVars::setDPhi().
|
inline |
Definition at line 103 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiPos, and getVal().
Referenced by dPhiBest(), and reco::ElectronSeed::PMVars::setDPhi().
|
inline |
Definition at line 107 of file ElectronSeed.h.
References bestVal(), dRZNeg(), and dRZPos().
Referenced by EgammaHLTPixelMatchVarProducer::produce().
|
inline |
Definition at line 106 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZNeg, and getVal().
Referenced by dRZBest(), and reco::ElectronSeed::PMVars::setDRZ().
|
inline |
Definition at line 105 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZPos, and getVal().
Referenced by dRZBest(), and reco::ElectronSeed::PMVars::setDRZ().
|
inline |
Utility.
Definition at line 96 of file ElectronSeed.h.
References LocalTrajectoryParameters::charge(), PTrajectoryStateOnDet::parameters(), and TrajectorySeed::startingState().
|
inlineprivate |
Definition at line 142 of file ElectronSeed.h.
References hitInfo_, infinity, and heppy_batch::val.
Referenced by dPhiNeg(), dPhiPos(), dRZNeg(), dRZPos(), and layerOrDiskNr().
|
inline |
|
staticprivate |
Definition at line 112 of file ElectronSeed.cc.
References triggerObjects_cff::bit.
Referenced by createHitInfo(), and initTwoHitSeed().
unsigned int ElectronSeed::hitsMask | ( | ) | const |
Definition at line 47 of file ElectronSeed.cc.
References edm::Range< T >::begin(), hitInfo_, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, TrajectorySeed::nHits(), TrajectorySeed::recHits(), and trigObjTnPSource_cfi::var.
void ElectronSeed::initTwoHitSeed | ( | const unsigned char | hitMask | ) |
Definition at line 60 of file ElectronSeed.cc.
References Exception, hitInfo_, hitNrsFromMask(), infinity, info(), TrajectorySeed::nHits(), and TrajectorySeed::recHits().
|
inline |
|
inline |
|
inline |
Definition at line 110 of file ElectronSeed.h.
References getVal(), and reco::ElectronSeed::PMVars::layerOrDiskNr.
Referenced by reco::ElectronSeed::PMVars::setDet().
|
inlinestatic |
Definition at line 71 of file ElectronSeed.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
|
inline |
Definition at line 85 of file ElectronSeed.h.
References caloCluster_, and isEcalDriven_.
Referenced by ElectronNHitSeedProducer::produce().
void ElectronSeed::setCtfTrack | ( | const CtfTrackRef & | ctfTrack | ) |
Set additional info.
Definition at line 39 of file ElectronSeed.cc.
References ctfTrack(), ctfTrack_, and isTrackerDriven_.
Referenced by GoodSeedProducer::produce().
void ElectronSeed::setNegAttributes | ( | const float | dRZ2 = std::numeric_limits<float>::infinity() , |
const float | dPhi2 = std::numeric_limits<float>::infinity() , |
||
const float | dRZ1 = std::numeric_limits<float>::infinity() , |
||
const float | dPhi1 = std::numeric_limits<float>::infinity() |
||
) |
Definition at line 86 of file ElectronSeed.cc.
References Exception, and hitInfo_.
|
inline |
Definition at line 90 of file ElectronSeed.h.
References nrLayersAlongTraj_, and heppy_batch::val.
Referenced by ElectronNHitSeedProducer::produce().
void ElectronSeed::setPosAttributes | ( | const float | dRZ2 = std::numeric_limits<float>::infinity() , |
const float | dPhi2 = std::numeric_limits<float>::infinity() , |
||
const float | dRZ1 = std::numeric_limits<float>::infinity() , |
||
const float | dPhi1 = std::numeric_limits<float>::infinity() |
||
) |
Definition at line 99 of file ElectronSeed.cc.
References Exception, and hitInfo_.
|
inline |
Definition at line 109 of file ElectronSeed.h.
References detId(), and DetId::subdetId().
|
private |
Definition at line 149 of file ElectronSeed.h.
Referenced by caloCluster(), and setCaloCluster().
|
private |
Definition at line 148 of file ElectronSeed.h.
Referenced by ctfTrack(), and setCtfTrack().
|
private |
Definition at line 150 of file ElectronSeed.h.
Referenced by addHitInfo(), detId(), getVal(), hitInfo(), hitsMask(), initTwoHitSeed(), setNegAttributes(), and setPosAttributes().
|
private |
Definition at line 153 of file ElectronSeed.h.
Referenced by isEcalDriven(), and setCaloCluster().
|
private |
Definition at line 154 of file ElectronSeed.h.
Referenced by isTrackerDriven(), and setCtfTrack().
|
private |
Definition at line 151 of file ElectronSeed.h.
Referenced by nrLayersAlongTraj(), and setNrLayersAlongTraj().