Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxTrackSeed_v1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvtxTrackSeed_v1.h
1 #ifndef TRACKBASEHISTORIC_SVTXTRACKSEED_V1_H
2 #define TRACKBASEHISTORIC_SVTXTRACKSEED_V1_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_v1() override;
16 
19 
20  void identify(std::ostream& os = std::cout) const override;
21  void Reset() override { *this = SvtxTrackSeed_v1(); }
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_v1(*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  void set_silicon_seed_index(const unsigned int index) override { m_silicon_seed = index; }
30  void set_tpc_seed_index(const unsigned int index) override { m_tpc_seed = index; }
31 
32  private:
33 
34  unsigned int m_silicon_seed = std::numeric_limits<unsigned int>::max();
35  unsigned int m_tpc_seed = std::numeric_limits<unsigned int>::max();
36 
38 
39 };
40 
41 #endif