Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxTrackSeed_v2.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvtxTrackSeed_v2.h
1 #ifndef TRACKBASEHISTORIC_SVTXTRACKSEED_V2_H
2 #define TRACKBASEHISTORIC_SVTXTRACKSEED_V2_H
3 
4 #include <phool/PHObject.h>
5 
6 #include "TrackSeed.h"
7 
8 #include <cmath>
9 #include <iostream>
10 
12 {
13  public:
15  ~SvtxTrackSeed_v2() override;
16 
19 
20  void identify(std::ostream& os = std::cout) const override;
21  void Reset() override { *this = SvtxTrackSeed_v2(); }
22  int isValid() const override { return 1; }
23  void CopyFrom( const TrackSeed&) override;
24  void CopyFrom( TrackSeed* seed) override { CopyFrom( *seed ); }
25  PHObject* CloneMe() const override { return new SvtxTrackSeed_v2(*this); }
26 
27  unsigned int get_silicon_seed_index() const override { return m_silicon_seed; }
28  unsigned int get_tpc_seed_index() const override { return m_tpc_seed; }
29  short int get_crossing_estimate() const override { return m_crossing_estimate; }
30  void set_silicon_seed_index(const unsigned int index) override { m_silicon_seed = index; }
31  void set_tpc_seed_index(const unsigned int index) override { m_tpc_seed = index; }
32  void set_crossing_estimate(const short int cross) override { m_crossing_estimate = cross; }
33 
34  private:
35 
36  unsigned int m_silicon_seed = std::numeric_limits<unsigned int>::max();
37  unsigned int m_tpc_seed = std::numeric_limits<unsigned int>::max();
38  short int m_crossing_estimate = SHRT_MAX;
39 
41 
42 };
43 
44 #endif