Go to the documentation of this file. 1 #ifndef DataFormats_EgammaReco_ElectronSeed_h
2 #define DataFormats_EgammaReco_ElectronSeed_h
65 void setDet(
int iDetId,
int iLayerOrDiskNr);
128 static std::vector<PMVars>
createHitInfo(
const float dPhi1Pos,
129 const float dPhi1Neg,
132 const float dPhi2Pos,
133 const float dPhi2Neg,
141 template <
typename T>
145 static std::vector<unsigned int>
hitNrsFromMask(
unsigned int hitMask);
const CtfTrackRef & ctfTrack() const
Accessors.
edm::RefToBase< CaloCluster > CaloClusterRef
ElectronSeed()
Construction of base attributes.
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)
void setCaloCluster(const CaloClusterRef &clus)
static float bestVal(float val1, float val2)
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 setDPhi(float pos, float neg)
CaloClusterRef caloCluster_
edm::OwnVector< TrackingRecHit > RecHitContainer
void initTwoHitSeed(const unsigned char hitMask)
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 layerOrDiskNr(size_t hitNr) const
unsigned int hitsMask() const
static std::vector< unsigned int > hitNrsFromMask(unsigned int hitMask)
bool isEcalDriven() const
ElectronSeed * clone() const override
void setDet(int iDetId, int iLayerOrDiskNr)
int detId(size_t hitNr) const
TrackCharge getCharge() const
Utility.
bool isTrackerDriven() const
int subDet(size_t hitNr) const
TrackCharge charge() const
Charge (-1, 0 or 1)
const std::vector< PMVars > & hitInfo() const
void addHitInfo(const PMVars &hitVars)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
int nrLayersAlongTraj() const
void setCtfTrack(const CtfTrackRef &)
Set additional info.
static std::string const & name()
float dPhiBest(size_t hitNr) const
RecHitRange recHits() const
static const double pts[33]
float dRZPos(size_t hitNr) const
std::vector< PMVars > hitInfo_
float dPhiNeg(size_t hitNr) const
void setNrLayersAlongTraj(int val)
const LocalTrajectoryParameters & parameters() const
float dRZNeg(size_t hitNr) const
edm::Ref< TrackCollection > CtfTrackRef
float dRZBest(size_t hitNr) const
float dPhiPos(size_t hitNr) const
PTrajectoryStateOnDet const & startingState() const
Abs< T >::type abs(const T &t)
void setDRZ(float pos, float neg)
const CaloClusterRef & caloCluster() const
T getVal(unsigned int hitNr, T PMVars::*val) const