CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
reco::ElectronSeed Class Reference

#include <ElectronSeed.h>

Inheritance diagram for reco::ElectronSeed:
TrajectorySeed

Classes

struct  PMVars
 

Public Types

typedef edm::RefToBase< CaloClusterCaloClusterRef
 
typedef edm::Ref< TrackCollectionCtfTrackRef
 
- Public Types inherited from TrajectorySeed
typedef edm::OwnVector< TrackingRecHitRecHitContainer
 
typedef edm::Range< RecHitContainer::const_iterator > RecHitRange
 

Public Member Functions

void addHitInfo (const PMVars &hitVars)
 
const CaloClusterRefcaloCluster () const
 
ElectronSeedclone () const override
 
const CtfTrackRefctfTrack () 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
 
TrajectorySeedoperator= (TrajectorySeed &&o) noexcept=default
 
TrajectorySeedoperator= (TrajectorySeed const &o)=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 &&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< PMVarscreateHitInfo (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< PMVarshitInfo_
 
bool isEcalDriven_
 
bool isTrackerDriven_
 
int nrLayersAlongTraj_
 

Detailed Description

Definition at line 51 of file ElectronSeed.h.

Member Typedef Documentation

◆ CaloClusterRef

Definition at line 68 of file ElectronSeed.h.

◆ CtfTrackRef

Definition at line 69 of file ElectronSeed.h.

Constructor & Destructor Documentation

◆ ElectronSeed() [1/3]

ElectronSeed::ElectronSeed ( )

Construction of base attributes.

Definition at line 8 of file ElectronSeed.cc.

9  : TrajectorySeed(),
10  ctfTrack_(),
11  caloCluster_(),
12  hitInfo_(),
14  isEcalDriven_(false),
15  isTrackerDriven_(false)
16 
17 {}

Referenced by clone().

◆ ElectronSeed() [2/3]

ElectronSeed::ElectronSeed ( const TrajectorySeed seed)

Definition at line 19 of file ElectronSeed.cc.

21  ctfTrack_(),
22  caloCluster_(),
23  hitInfo_(),
25  isEcalDriven_(false),
26  isTrackerDriven_(false) {}

◆ ElectronSeed() [3/3]

ElectronSeed::ElectronSeed ( PTrajectoryStateOnDet pts,
RecHitContainer rh,
PropagationDirection dir 
)

Definition at line 28 of file ElectronSeed.cc.

29  : TrajectorySeed(pts, rh, dir),
30  ctfTrack_(),
31  caloCluster_(),
32  hitInfo_(),
34  isEcalDriven_(false),
35  isTrackerDriven_(false) {}

◆ ~ElectronSeed()

ElectronSeed::~ElectronSeed ( )
overridedefault

Member Function Documentation

◆ addHitInfo()

void reco::ElectronSeed::addHitInfo ( const PMVars hitVars)
inline

Definition at line 89 of file ElectronSeed.h.

89 { hitInfo_.push_back(hitVars); }

References hitInfo_.

Referenced by ElectronNHitSeedProducer::produce().

◆ bestVal()

static float reco::ElectronSeed::bestVal ( float  val1,
float  val2 
)
inlinestaticprivate

Definition at line 140 of file ElectronSeed.h.

140 { return std::abs(val1) < std::abs(val2) ? val1 : val2; }

References funct::abs().

Referenced by dPhiBest(), and dRZBest().

◆ caloCluster()

const CaloClusterRef& reco::ElectronSeed::caloCluster ( ) const
inline

Definition at line 93 of file ElectronSeed.h.

93 { return caloCluster_; }

References caloCluster_.

Referenced by PFElecTkProducer::isSameEgSC(), and PFElecTkProducer::isSharingEcalEnergyWithEgSC().

◆ clone()

ElectronSeed* reco::ElectronSeed::clone ( void  ) const
inlineoverridevirtual

Reimplemented from TrajectorySeed.

Definition at line 80 of file ElectronSeed.h.

80 { return new ElectronSeed(*this); }

References ElectronSeed().

◆ createHitInfo()

std::vector< ElectronSeed::PMVars > ElectronSeed::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

Definition at line 122 of file ElectronSeed.cc.

131  {
132  if (hitMask == 0)
133  return std::vector<ElectronSeed::PMVars>(); //was trackerDriven so no matched hits
134 
135  size_t nrRecHits = std::distance(recHits.begin(), recHits.end());
136  std::vector<unsigned int> hitNrs = hitNrsFromMask(hitMask);
137 
138  if (hitNrs.size() != 2) {
139  throw cms::Exception("LogicError") << "in ElectronSeed::" << __FUNCTION__ << "," << __LINE__
140  << ": number of hits in hit mask is " << nrRecHits << "\n"
141  << "pre-2017 pixel upgrade ecalDriven ElectronSeeds should have exactly 2 hits\n"
142  << "mask " << static_cast<unsigned int>(hitMask) << std::endl;
143  }
144  if (hitNrs[0] >= nrRecHits || hitNrs[1] >= nrRecHits) {
145  throw cms::Exception("LogicError") << "in ElectronSeed::" << __FUNCTION__ << "," << __LINE__ << ": hits are "
146  << hitNrs[0] << " and " << hitNrs[1] << " while number of hits are " << nrRecHits
147  << "\n"
148  << "this means there was a bug in storing or creating the electron seeds "
149  << "mask " << static_cast<unsigned int>(hitMask) << std::endl;
150  }
151 
152  std::vector<PMVars> hitInfo(2);
153  hitInfo[0].setDPhi(dPhi1Pos, dPhi1Neg);
154  hitInfo[0].setDRZ(dRZ1Pos, dRZ1Neg);
155  hitInfo[0].setDet(
156  (recHits.begin() + hitNrs[0])->geographicalId(),
157  -1); //getting the layer information needs tracker topo, hence why its stored in the first as its a pain to access
158  hitInfo[1].setDPhi(dPhi2Pos, dPhi2Neg);
159  hitInfo[1].setDRZ(dRZ2Pos, dRZ2Neg);
160  hitInfo[1].setDet(
161  (recHits.begin() + hitNrs[1])->geographicalId(),
162  -1); //getting the layer information needs tracker topo, hence why its stored in the first as its a pain to access
163  return hitInfo;
164 }

References edm::Range< T >::begin(), HLT_FULL_cff::distance, edm::Range< T >::end(), Exception, hitInfo(), hitNrsFromMask(), and TrajectorySeed::recHits().

◆ ctfTrack()

const CtfTrackRef& reco::ElectronSeed::ctfTrack ( ) const
inline

Accessors.

Definition at line 92 of file ElectronSeed.h.

92 { return ctfTrack_; }

References ctfTrack_.

Referenced by setCtfTrack().

◆ detId()

int reco::ElectronSeed::detId ( size_t  hitNr) const
inline

Definition at line 108 of file ElectronSeed.h.

108 { return hitNr < hitInfo_.size() ? hitInfo_[hitNr].detId : 0; }

References hitInfo_.

Referenced by reco::ElectronSeed::PMVars::setDet(), and subDet().

◆ dPhiBest()

float reco::ElectronSeed::dPhiBest ( size_t  hitNr) const
inline

Definition at line 104 of file ElectronSeed.h.

104 { return bestVal(dPhiNeg(hitNr), dPhiPos(hitNr)); }

References bestVal(), dPhiNeg(), and dPhiPos().

Referenced by EgammaHLTPixelMatchVarProducer::produce().

◆ dPhiNeg()

float reco::ElectronSeed::dPhiNeg ( size_t  hitNr) const
inline

Definition at line 102 of file ElectronSeed.h.

102 { return getVal(hitNr, &PMVars::dPhiNeg); }

References reco::ElectronSeed::PMVars::dPhiNeg, and getVal().

Referenced by dPhiBest(), and reco::ElectronSeed::PMVars::setDPhi().

◆ dPhiPos()

float reco::ElectronSeed::dPhiPos ( size_t  hitNr) const
inline

Definition at line 103 of file ElectronSeed.h.

103 { return getVal(hitNr, &PMVars::dPhiPos); }

References reco::ElectronSeed::PMVars::dPhiPos, and getVal().

Referenced by dPhiBest(), and reco::ElectronSeed::PMVars::setDPhi().

◆ dRZBest()

float reco::ElectronSeed::dRZBest ( size_t  hitNr) const
inline

Definition at line 107 of file ElectronSeed.h.

107 { return bestVal(dRZNeg(hitNr), dRZPos(hitNr)); }

References bestVal(), dRZNeg(), and dRZPos().

Referenced by EgammaHLTPixelMatchVarProducer::produce().

◆ dRZNeg()

float reco::ElectronSeed::dRZNeg ( size_t  hitNr) const
inline

Definition at line 106 of file ElectronSeed.h.

106 { return getVal(hitNr, &PMVars::dRZNeg); }

References reco::ElectronSeed::PMVars::dRZNeg, and getVal().

Referenced by dRZBest(), and reco::ElectronSeed::PMVars::setDRZ().

◆ dRZPos()

float reco::ElectronSeed::dRZPos ( size_t  hitNr) const
inline

Definition at line 105 of file ElectronSeed.h.

105 { return getVal(hitNr, &PMVars::dRZPos); }

References reco::ElectronSeed::PMVars::dRZPos, and getVal().

Referenced by dRZBest(), and reco::ElectronSeed::PMVars::setDRZ().

◆ getCharge()

TrackCharge reco::ElectronSeed::getCharge ( ) const
inline

◆ getVal()

template<typename T >
T reco::ElectronSeed::getVal ( unsigned int  hitNr,
T PMVars::*  val 
) const
inlineprivate

Definition at line 142 of file ElectronSeed.h.

142  {
143  return hitNr < hitInfo_.size() ? hitInfo_[hitNr].*val : std::numeric_limits<T>::infinity();
144  }

References hitInfo_, infinity, and heppy_batch::val.

Referenced by dPhiNeg(), dPhiPos(), dRZNeg(), dRZPos(), and layerOrDiskNr().

◆ hitInfo()

const std::vector<PMVars>& reco::ElectronSeed::hitInfo ( ) const
inline

Definition at line 101 of file ElectronSeed.h.

101 { return hitInfo_; }

References hitInfo_.

Referenced by createHitInfo().

◆ hitNrsFromMask()

std::vector< unsigned int > ElectronSeed::hitNrsFromMask ( unsigned int  hitMask)
staticprivate

Definition at line 112 of file ElectronSeed.cc.

112  {
113  std::vector<unsigned int> hitNrs;
114  for (size_t bitNr = 0; bitNr < sizeof(hitMask) * CHAR_BIT; bitNr++) {
115  char bit = 0x1 << bitNr;
116  if ((hitMask & bit) != 0)
117  hitNrs.push_back(bitNr);
118  }
119  return hitNrs;
120 }

Referenced by createHitInfo(), and initTwoHitSeed().

◆ hitsMask()

unsigned int ElectronSeed::hitsMask ( ) const

Definition at line 47 of file ElectronSeed.cc.

47  {
48  int mask = 0;
49  for (size_t hitNr = 0; hitNr < nHits(); hitNr++) {
50  int bitNr = 0x1 << hitNr;
51  int hitDetId = (recHits().begin() + hitNr)->geographicalId().rawId();
52  auto detIdMatcher = [hitDetId](const ElectronSeed::PMVars& var) { return hitDetId == var.detId; };
53  if (std::find_if(hitInfo_.begin(), hitInfo_.end(), detIdMatcher) != hitInfo_.end()) {
54  mask |= bitNr;
55  }
56  }
57  return mask;
58 }

References edm::Range< T >::begin(), hitInfo_, TrajectorySeed::nHits(), TrajectorySeed::recHits(), and trigObjTnPSource_cfi::var.

◆ initTwoHitSeed()

void ElectronSeed::initTwoHitSeed ( const unsigned char  hitMask)

Definition at line 60 of file ElectronSeed.cc.

60  {
61  hitInfo_.resize(2);
62 
63  std::vector<unsigned int> hitNrs = hitNrsFromMask(hitMask);
64  if (hitNrs.size() != 2) {
65  throw cms::Exception("LogicError")
66  << "in ElectronSeed::" << __FUNCTION__ << "," << __LINE__ << ": number of hits in hit mask is " << hitNrs.size()
67  << "\n"
68  << "pre-2017 pixel upgrade ecalDriven ElectronSeeds should have exactly 2 hits\n "
69  << "mask " << static_cast<unsigned int>(hitMask) << std::endl;
70  }
71  if (hitNrs[0] >= nHits() || hitNrs[1] >= nHits()) {
72  throw cms::Exception("LogicError") << "in ElectronSeed::" << __FUNCTION__ << "," << __LINE__ << ": hits are "
73  << hitNrs[0] << " and " << hitNrs[1] << " while number of hits are " << nHits()
74  << "\n"
75  << "this means there was a bug in storing or creating the electron seeds "
76  << "mask " << static_cast<unsigned int>(hitMask) << std::endl;
77  }
78  for (size_t hitNr = 0; hitNr < hitInfo_.size(); hitNr++) {
79  auto& info = hitInfo_[hitNr];
82  info.setDet((recHits().begin() + hitNrs[hitNr])->geographicalId(), -1);
83  }
84 }

References Exception, hitInfo_, hitNrsFromMask(), infinity, info(), TrajectorySeed::nHits(), and TrajectorySeed::recHits().

◆ isEcalDriven()

bool reco::ElectronSeed::isEcalDriven ( ) const
inline

Definition at line 98 of file ElectronSeed.h.

98 { return isEcalDriven_; }

References isEcalDriven_.

◆ isTrackerDriven()

bool reco::ElectronSeed::isTrackerDriven ( ) const
inline

Definition at line 99 of file ElectronSeed.h.

99 { return isTrackerDriven_; }

References isTrackerDriven_.

◆ layerOrDiskNr()

int reco::ElectronSeed::layerOrDiskNr ( size_t  hitNr) const
inline

Definition at line 110 of file ElectronSeed.h.

110 { return getVal(hitNr, &PMVars::layerOrDiskNr); }

References getVal(), and reco::ElectronSeed::PMVars::layerOrDiskNr.

Referenced by reco::ElectronSeed::PMVars::setDet().

◆ name()

static std::string const& reco::ElectronSeed::name ( )
inlinestatic

Definition at line 71 of file ElectronSeed.h.

71  {
72  static std::string const name_("ElectronSeed");
73  return name_;
74  }

References AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().

◆ nrLayersAlongTraj()

int reco::ElectronSeed::nrLayersAlongTraj ( ) const
inline

Definition at line 111 of file ElectronSeed.h.

111 { return nrLayersAlongTraj_; }

References nrLayersAlongTraj_.

◆ setCaloCluster()

void reco::ElectronSeed::setCaloCluster ( const CaloClusterRef clus)
inline

Definition at line 85 of file ElectronSeed.h.

85  {
86  caloCluster_ = clus;
87  isEcalDriven_ = true;
88  }

References caloCluster_, and isEcalDriven_.

Referenced by ElectronNHitSeedProducer::produce().

◆ setCtfTrack()

void ElectronSeed::setCtfTrack ( const CtfTrackRef ctfTrack)

Set additional info.

Definition at line 39 of file ElectronSeed.cc.

39  {
41  isTrackerDriven_ = true;
42 }

References ctfTrack(), ctfTrack_, and isTrackerDriven_.

Referenced by ElectronSeedMerger::produce(), and GoodSeedProducer::produce().

◆ setNegAttributes()

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.

86  {
87  if (hitInfo_.size() != 2) {
88  throw cms::Exception("LogicError")
89  << "ElectronSeed::setNegAttributes should only operate on seeds with exactly two hits. This is because it is a "
90  "legacy function to preverse backwards compatiblity and should not be used on new code which matches "
91  "variable number of hits";
92  }
93  hitInfo_[0].dRZNeg = dRZ1;
94  hitInfo_[1].dRZNeg = dRZ2;
95  hitInfo_[0].dPhiNeg = dPhi1;
96  hitInfo_[1].dPhiNeg = dPhi2;
97 }

References Exception, and hitInfo_.

◆ setNrLayersAlongTraj()

void reco::ElectronSeed::setNrLayersAlongTraj ( int  val)
inline

Definition at line 90 of file ElectronSeed.h.

References nrLayersAlongTraj_, and heppy_batch::val.

Referenced by ElectronNHitSeedProducer::produce().

◆ setPosAttributes()

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.

99  {
100  if (hitInfo_.size() != 2) {
101  throw cms::Exception("LogicError")
102  << "ElectronSeed::setPosAttributes should only operate on seeds with exactly two hits. This is because it is a "
103  "legacy function to preverse backwards compatiblity and should not be used on new code which matches "
104  "variable number of hits";
105  }
106  hitInfo_[0].dRZPos = dRZ1;
107  hitInfo_[1].dRZPos = dRZ2;
108  hitInfo_[0].dPhiPos = dPhi1;
109  hitInfo_[1].dPhiPos = dPhi2;
110 }

References Exception, and hitInfo_.

◆ subDet()

int reco::ElectronSeed::subDet ( size_t  hitNr) const
inline

Definition at line 109 of file ElectronSeed.h.

109 { return DetId(detId(hitNr)).subdetId(); }

References detId(), and DetId::subdetId().

Member Data Documentation

◆ caloCluster_

CaloClusterRef reco::ElectronSeed::caloCluster_
private

Definition at line 149 of file ElectronSeed.h.

Referenced by caloCluster(), and setCaloCluster().

◆ ctfTrack_

CtfTrackRef reco::ElectronSeed::ctfTrack_
private

Definition at line 148 of file ElectronSeed.h.

Referenced by ctfTrack(), and setCtfTrack().

◆ hitInfo_

std::vector<PMVars> reco::ElectronSeed::hitInfo_
private

◆ isEcalDriven_

bool reco::ElectronSeed::isEcalDriven_
private

Definition at line 153 of file ElectronSeed.h.

Referenced by isEcalDriven(), and setCaloCluster().

◆ isTrackerDriven_

bool reco::ElectronSeed::isTrackerDriven_
private

Definition at line 154 of file ElectronSeed.h.

Referenced by isTrackerDriven(), and setCtfTrack().

◆ nrLayersAlongTraj_

int reco::ElectronSeed::nrLayersAlongTraj_
private

Definition at line 151 of file ElectronSeed.h.

Referenced by nrLayersAlongTraj(), and setNrLayersAlongTraj().

reco::ElectronSeed::ctfTrack
const CtfTrackRef & ctfTrack() const
Accessors.
Definition: ElectronSeed.h:92
reco::ElectronSeed::ElectronSeed
ElectronSeed()
Construction of base attributes.
Definition: ElectronSeed.cc:8
reco::ElectronSeed::bestVal
static float bestVal(float val1, float val2)
Definition: ElectronSeed.h:140
reco::ElectronSeed::isEcalDriven_
bool isEcalDriven_
Definition: ElectronSeed.h:153
TrajectorySeed::nHits
unsigned int nHits() const
Definition: TrajectorySeed.h:53
reco::ElectronSeed::caloCluster_
CaloClusterRef caloCluster_
Definition: ElectronSeed.h:149
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
reco::ElectronSeed::nrLayersAlongTraj_
int nrLayersAlongTraj_
Definition: ElectronSeed.h:151
infinity
const double infinity
Definition: CSCChamberFitter.cc:10
reco::ElectronSeed::PMVars::dPhiPos
float dPhiPos
Definition: ElectronSeed.h:56
reco::ElectronSeed::PMVars::layerOrDiskNr
int layerOrDiskNr
Definition: ElectronSeed.h:59
trigObjTnPSource_cfi.var
var
Definition: trigObjTnPSource_cfi.py:21
fileCollector.seed
seed
Definition: fileCollector.py:127
DetId
Definition: DetId.h:17
edm::Range::end
T end() const
Definition: Range.h:16
reco::ElectronSeed::hitNrsFromMask
static std::vector< unsigned int > hitNrsFromMask(unsigned int hitMask)
Definition: ElectronSeed.cc:112
reco::ElectronSeed::PMVars::dRZPos
float dRZPos
Definition: ElectronSeed.h:54
reco::ElectronSeed::PMVars::dPhiNeg
float dPhiNeg
Definition: ElectronSeed.h:57
reco::ElectronSeed::detId
int detId(size_t hitNr) const
Definition: ElectronSeed.h:108
LocalTrajectoryParameters::charge
TrackCharge charge() const
Charge (-1, 0 or 1)
Definition: LocalTrajectoryParameters.h:110
reco::ElectronSeed::hitInfo
const std::vector< PMVars > & hitInfo() const
Definition: ElectronSeed.h:101
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::Range::begin
T begin() const
Definition: Range.h:15
TrajectorySeed::TrajectorySeed
TrajectorySeed()
Definition: TrajectorySeed.h:23
reco::ElectronSeed::ctfTrack_
CtfTrackRef ctfTrack_
Definition: ElectronSeed.h:148
TrajectorySeed::recHits
RecHitRange recHits() const
Definition: TrajectorySeed.h:52
RPCpg::pts
static const double pts[33]
Definition: Constants.h:30
reco::ElectronSeed::dRZPos
float dRZPos(size_t hitNr) const
Definition: ElectronSeed.h:105
reco::ElectronSeed::hitInfo_
std::vector< PMVars > hitInfo_
Definition: ElectronSeed.h:150
reco::ElectronSeed::dPhiNeg
float dPhiNeg(size_t hitNr) const
Definition: ElectronSeed.h:102
heppy_batch.val
val
Definition: heppy_batch.py:351
PTrajectoryStateOnDet::parameters
const LocalTrajectoryParameters & parameters() const
Definition: PTrajectoryStateOnDet.h:60
reco::ElectronSeed::PMVars::dRZNeg
float dRZNeg
Definition: ElectronSeed.h:55
reco::ElectronSeed::dRZNeg
float dRZNeg(size_t hitNr) const
Definition: ElectronSeed.h:106
Exception
Definition: hltDiff.cc:246
reco::ElectronSeed::isTrackerDriven_
bool isTrackerDriven_
Definition: ElectronSeed.h:154
reco::ElectronSeed::dPhiPos
float dPhiPos(size_t hitNr) const
Definition: ElectronSeed.h:103
TrajectorySeed::startingState
PTrajectoryStateOnDet const & startingState() const
Definition: TrajectorySeed.h:55
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
reco::ElectronSeed::PMVars
Definition: ElectronSeed.h:53
HLT_FULL_cff.distance
distance
Definition: HLT_FULL_cff.py:7733
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
reco::ElectronSeed::getVal
T getVal(unsigned int hitNr, T PMVars::*val) const
Definition: ElectronSeed.h:142