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
void setCandidatesPerSeed(unsigned short value)
Definition: SeedStopInfo.h:11
~SeedStopInfo()=default
SeedStopReason stopReason() const
Definition: SeedStopInfo.h:15
SeedStopReason
Definition: SeedStopReason.h:6
unsigned short candidatesPerSeed() const
Definition: SeedStopInfo.h:12
unsigned short candidatesPerSeed_
Definition: SeedStopInfo.h:19
Definition: value.py:1
unsigned char stopReasonUC() const
Definition: SeedStopInfo.h:16
SeedStopReason stopReason_
Definition: SeedStopInfo.h:20
void setStopReason(SeedStopReason value)
Definition: SeedStopInfo.h:14