#include <ElectronSeed.h>
Classes | |
struct | PMVars |
Public Types | |
typedef edm::RefToBase< CaloCluster > | CaloClusterRef |
typedef edm::Ref< TrackCollection > | CtfTrackRef |
typedef edm::OwnVector< TrackingRecHit > | RecHitContainer |
Public Types inherited from TrajectorySeed | |
typedef recHitContainer::const_iterator | const_iterator |
typedef std::pair< const_iterator, const_iterator > | range |
typedef edm::OwnVector< TrackingRecHit > | recHitContainer |
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 &&o) noexcept=default |
TrajectorySeed & | operator= (TrajectorySeed const &o)=default |
range | 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 &&rh, PropagationDirection dir) noexcept | |
TrajectorySeed (PTrajectoryStateOnDet const &ptsos, recHitContainer const &rh, PropagationDirection dir) | |
TrajectorySeed (TrajectorySeed &&o) noexcept=default | |
TrajectorySeed (TrajectorySeed const &o)=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, const TrajectorySeed::range 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 69 of file ElectronSeed.h.
Definition at line 70 of file ElectronSeed.h.
Definition at line 68 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 |
|
inlinestaticprivate |
Definition at line 141 of file ElectronSeed.h.
References funct::abs().
Referenced by dPhiBest(), and dRZBest().
|
inline |
Definition at line 94 of file ElectronSeed.h.
References caloCluster_.
Referenced by PFElecTkProducer::isSameEgSC(), and PFElecTkProducer::isSharingEcalEnergyWithEgSC().
|
inlineoverridevirtual |
Reimplemented from TrajectorySeed.
Definition at line 81 of file ElectronSeed.h.
References ElectronSeed().
|
static |
Definition at line 122 of file ElectronSeed.cc.
References HLT_2018_cff::distance, Exception, hitInfo(), hitNrsFromMask(), and TrajectorySeed::recHits().
|
inline |
Accessors.
Definition at line 93 of file ElectronSeed.h.
References ctfTrack_.
Referenced by setCtfTrack().
|
inline |
Definition at line 109 of file ElectronSeed.h.
References hitInfo_.
Referenced by reco::ElectronSeed::PMVars::setDet(), and subDet().
|
inline |
Definition at line 105 of file ElectronSeed.h.
References bestVal(), dPhiNeg(), and dPhiPos().
Referenced by EgammaHLTPixelMatchVarProducer::produce().
|
inline |
Definition at line 103 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiNeg, and getVal().
Referenced by dPhiBest(), and reco::ElectronSeed::PMVars::setDPhi().
|
inline |
Definition at line 104 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dPhiPos, and getVal().
Referenced by dPhiBest(), and reco::ElectronSeed::PMVars::setDPhi().
|
inline |
Definition at line 108 of file ElectronSeed.h.
References bestVal(), dRZNeg(), and dRZPos().
Referenced by EgammaHLTPixelMatchVarProducer::produce().
|
inline |
Definition at line 107 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZNeg, and getVal().
Referenced by dRZBest(), and reco::ElectronSeed::PMVars::setDRZ().
|
inline |
Definition at line 106 of file ElectronSeed.h.
References reco::ElectronSeed::PMVars::dRZPos, and getVal().
Referenced by dRZBest(), and reco::ElectronSeed::PMVars::setDRZ().
|
inline |
Utility.
Definition at line 97 of file ElectronSeed.h.
References LocalTrajectoryParameters::charge(), PTrajectoryStateOnDet::parameters(), and TrajectorySeed::startingState().
|
inlineprivate |
Definition at line 143 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.
Referenced by createHitInfo(), and initTwoHitSeed().
unsigned int ElectronSeed::hitsMask | ( | ) | const |
Definition at line 47 of file ElectronSeed.cc.
References hitInfo_, 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, dqmdumpme::first, hitInfo_, hitNrsFromMask(), infinity, info(), TrajectorySeed::nHits(), and TrajectorySeed::recHits().
|
inline |
|
inline |
|
inline |
Definition at line 111 of file ElectronSeed.h.
References getVal(), and reco::ElectronSeed::PMVars::layerOrDiskNr.
Referenced by reco::ElectronSeed::PMVars::setDet().
|
inlinestatic |
Definition at line 72 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 86 of file ElectronSeed.h.
References caloCluster_, and isEcalDriven_.
void ElectronSeed::setCtfTrack | ( | const CtfTrackRef & | ctfTrack | ) |
Set additional info.
Definition at line 39 of file ElectronSeed.cc.
References ctfTrack(), ctfTrack_, and isTrackerDriven_.
Referenced by ElectronSeedMerger::produce(), and 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.
|
inline |
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.
|
inline |
Definition at line 110 of file ElectronSeed.h.
References detId(), and DetId::subdetId().
|
private |
Definition at line 150 of file ElectronSeed.h.
Referenced by caloCluster(), and setCaloCluster().
|
private |
Definition at line 149 of file ElectronSeed.h.
Referenced by ctfTrack(), and setCtfTrack().
|
private |
Definition at line 151 of file ElectronSeed.h.
Referenced by addHitInfo(), detId(), getVal(), hitInfo(), hitsMask(), initTwoHitSeed(), setNegAttributes(), and setPosAttributes().
|
private |
Definition at line 154 of file ElectronSeed.h.
Referenced by isEcalDriven(), and setCaloCluster().
|
private |
Definition at line 155 of file ElectronSeed.h.
Referenced by isTrackerDriven(), and setCtfTrack().
|
private |
Definition at line 152 of file ElectronSeed.h.
Referenced by nrLayersAlongTraj(), and setNrLayersAlongTraj().