Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-08-31 08:21:23

0001 // Tell emacs that this is a C++ source
0002 //  -*- C++ -*-.
0003 #ifndef TPCTRACKRECO_TPCPOLYTRACKVERTEX_H
0004 #define TPCTRACKRECO_TPCPOLYTRACKVERTEX_H
0005 
0006 #include <phool/PHObject.h>
0007 
0008 #include <iostream>
0009 
0010 class Tpc_PolyTrackVertex : public PHObject
0011 {
0012  public:
0013   Tpc_PolyTrackVertex() = default;
0014   ~Tpc_PolyTrackVertex() override = default;
0015 
0016   void identify(std::ostream& os = std::cout) const override
0017   {
0018     os << "Tpc_PolyTrackVertex base class" << std::endl;
0019   }
0020   int isValid() const override { return 0; }
0021 
0022   virtual unsigned int get_track_id() const { return 0; }
0023   virtual unsigned int get_source_assembled_track_id() const { return 0; }
0024   virtual double get_dca2d() const { return 0.0; }
0025   virtual double get_z0() const { return 0.0; }
0026   virtual int get_pca_valid() const { return 0; }
0027   virtual double get_pca_x() const { return 0.0; }
0028   virtual double get_pca_y() const { return 0.0; }
0029   virtual double get_pca_z() const { return 0.0; }
0030   virtual double get_pca_radius() const { return 0.0; }
0031   virtual double get_pca_phi() const { return 0.0; }
0032 
0033   virtual void set_track_id(unsigned int) {}
0034   virtual void set_source_assembled_track_id(unsigned int) {}
0035   virtual void set_dca2d(double) {}
0036   virtual void set_z0(double) {}
0037   virtual void set_pca_valid(int) {}
0038   virtual void set_pca_x(double) {}
0039   virtual void set_pca_y(double) {}
0040   virtual void set_pca_z(double) {}
0041   virtual void set_pca_radius(double) {}
0042   virtual void set_pca_phi(double) {}
0043 
0044  private:
0045   ClassDefOverride(Tpc_PolyTrackVertex, 0)
0046 };
0047 #endif