CMS 3D CMS Logo

SeedStopInfo.h
Go to the documentation of this file.
1 #ifndef DataFormats_TrackReco_SeedStopInfo_h
2 #define DataFormats_TrackReco_SeedStopInfo_h
3 
5 
6 class SeedStopInfo {
7 public:
9  ~SeedStopInfo() = default;
10 
11  void setCandidatesPerSeed(unsigned short value) { candidatesPerSeed_ = value; }
12  unsigned short candidatesPerSeed() const { return candidatesPerSeed_; }
13 
16  unsigned char stopReasonUC() const { return static_cast<unsigned char>(stopReason_); }
17 
18 private:
19  unsigned short candidatesPerSeed_ = 0;
21 };
22 
23 #endif
SeedStopInfo::setStopReason
void setStopReason(SeedStopReason value)
Definition: SeedStopInfo.h:14
SeedStopInfo::stopReason_
SeedStopReason stopReason_
Definition: SeedStopInfo.h:20
SeedStopReason.h
SeedStopInfo::candidatesPerSeed
unsigned short candidatesPerSeed() const
Definition: SeedStopInfo.h:12
SeedStopInfo::setCandidatesPerSeed
void setCandidatesPerSeed(unsigned short value)
Definition: SeedStopInfo.h:11
SeedStopInfo
Definition: SeedStopInfo.h:6
SeedStopReason
SeedStopReason
Definition: SeedStopReason.h:6
SeedStopInfo::stopReason
SeedStopReason stopReason() const
Definition: SeedStopInfo.h:15
SeedStopInfo::~SeedStopInfo
~SeedStopInfo()=default
SeedStopInfo::candidatesPerSeed_
unsigned short candidatesPerSeed_
Definition: SeedStopInfo.h:19
value
Definition: value.py:1
SeedStopReason::UNINITIALIZED
relativeConstraints.value
value
Definition: relativeConstraints.py:53
SeedStopInfo::stopReasonUC
unsigned char stopReasonUC() const
Definition: SeedStopInfo.h:16
SeedStopInfo::SeedStopInfo
SeedStopInfo()
Definition: SeedStopInfo.h:8