Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-19 09:24:45

0001 // $Id: $
0002 
0003 /*!
0004  * \file TpcPrototypeTrack.h
0005  * \brief 
0006  * \author Jin Huang <jhuang@bnl.gov>
0007  * \version $Revision:   $
0008  * \date $Date: $
0009  */
0010 
0011 #ifndef TPCPROTOTYPETRACK_H_
0012 #define TPCPROTOTYPETRACK_H_
0013 
0014 
0015 #include <phool/PHObject.h>
0016 
0017 #include <cstdint>
0018 
0019 /*!
0020  * \brief TpcPrototypeTrack
0021  */
0022 class TpcPrototypeTrack : public PHObject
0023 {
0024  public:
0025   TpcPrototypeTrack();
0026   virtual ~TpcPrototypeTrack();
0027 
0028   //max number of layer under consideration
0029   static const int nLayer = 16;
0030 
0031   unsigned int event;
0032   unsigned int trackID;
0033   float chisq;
0034   unsigned int ndf;
0035 
0036   float px;
0037   float py;
0038   float pz;
0039   float x;
0040   float y;
0041   float z;
0042 
0043   unsigned int nCluster;
0044 
0045   //  class Cluster
0046   //  {
0047   //   public:
0048   //    Cluster()
0049   //      : layer(-1)
0050   //      , x(NAN)
0051   //      , y(NAN)
0052   //      , z(NAN)
0053   //      , e(NAN)
0054   //      , sizePhi(0)
0055   //      , residualIsolated(NAN){};
0056   //
0057   //    virtual ~Cluster();
0058   //
0059   //    int layer;
0060   //
0061   //    float x;
0062   //    float y;
0063   //    float z;
0064   //
0065   //    float e;
0066   //    int sizePhi;
0067   //
0068   //    float residualIsolated;
0069   //
0070   //    ClassDefOverride(TpcPrototypeTrack::Cluster, 1);
0071   //  };
0072 
0073   //  Cluster clusters[nLayer];
0074   uint64_t clusterKey[nLayer];
0075   int clusterlayer[nLayer];
0076   int clusterid[nLayer];
0077   float clusterX[nLayer];
0078   float clusterY[nLayer];
0079   float clusterZ[nLayer];
0080   float clusterE[nLayer];
0081   float clusterSizePhi[nLayer];
0082   float clusterResidualPhi[nLayer];
0083   float clusterProjectionPhi[nLayer];
0084   float clusterResidualZ[nLayer];
0085 
0086   ClassDefOverride(TpcPrototypeTrack, 5);
0087 };
0088 
0089 #endif /* TPCPROTOTYPETRACK_H_ */