File indexing completed on 2024-04-06 12:05:21
0001 #ifndef DataFormats_TrackReco_SeedStopInfo_h
0002 #define DataFormats_TrackReco_SeedStopInfo_h
0003
0004 #include "DataFormats/TrackReco/interface/SeedStopReason.h"
0005
0006 class SeedStopInfo {
0007 public:
0008 SeedStopInfo() {}
0009 ~SeedStopInfo() = default;
0010
0011 void setCandidatesPerSeed(unsigned short value) { candidatesPerSeed_ = value; }
0012 unsigned short candidatesPerSeed() const { return candidatesPerSeed_; }
0013
0014 void setStopReason(SeedStopReason value) { stopReason_ = value; }
0015 SeedStopReason stopReason() const { return stopReason_; }
0016 unsigned char stopReasonUC() const { return static_cast<unsigned char>(stopReason_); }
0017
0018 private:
0019 unsigned short candidatesPerSeed_ = 0;
0020 SeedStopReason stopReason_ = SeedStopReason::UNINITIALIZED;
0021 };
0022
0023 #endif