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