/[PAMELA software]/DarthVader/TrackerLevel2/inc/TrkLevel2.h
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/TrkLevel2.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by pam-fi, Wed Jun 14 10:01:44 2006 UTC revision 1.5 by pam-fi, Tue Jul 11 15:32:26 2006 UTC
# Line 14  Line 14 
14  // z-coordinate of track state-vector reference-plane  // z-coordinate of track state-vector reference-plane
15  #define ZINI 23.5    #define ZINI 23.5  
16  // upper and lower (mechanical) z-coordinate of the tracker  // upper and lower (mechanical) z-coordinate of the tracker
17  #define ZTRKUP 22.29  //#define ZTRKUP 22.29
18  #define ZTRKDW -22.22  //#define ZTRKDW -22.22
19    // (mechanical) z-coordinate of the tracker planes
20    #define ZTRK6 -22.23
21    #define ZTRK5 -13.32
22    #define ZTRK4 -4.42
23    #define ZTRK3 4.48
24    #define ZTRK2 13.38
25    #define ZTRK1 22.28
26    // (mechanical) x/y-coordinates of magnet cavity
27    #define XTRKL -8.1
28    #define XTRKR  8.1
29    #define YTRKL -6.6
30    #define YTRKR  6.6
31    
32  /**  /**
33   * \brief Class to describe, by points, a particle trajectory in the apparatus.   * \brief Class to describe, by points, a particle trajectory in the apparatus.
# Line 151  public: Line 162  public:
162  class TrkLevel2 : public TObject {  class TrkLevel2 : public TObject {
163    
164   private:   private:
165            
166    //      TRefArray    *PhysicalTrack;  ///< physical tracks (no image) -
167            
168   public:   public:
169    
   
   
170      Int_t good2;      Int_t good2;
171      Int_t crc[12];      Int_t crc[12];
172    
# Line 166  class TrkLevel2 : public TObject { Line 177  class TrkLevel2 : public TObject {
177      TrkLevel2();      TrkLevel2();
178  //    TrkLevel2(cTrkLevel2 *);  //    TrkLevel2(cTrkLevel2 *);
179    
180      int ntrk() {return Track->GetEntries();}     ///< number of stored track      int ntrk() {return Track->GetEntries();}    ///< number of stored track
181      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets
182      int nclsy(){return SingletY->GetEntries();} ///< number of y singlets      int nclsy(){return SingletY->GetEntries();} ///< number of y singlets
183    
# Line 174  class TrkLevel2 : public TObject { Line 185  class TrkLevel2 : public TObject {
185      void FillCommonVar(cTrkLevel2 *);      void FillCommonVar(cTrkLevel2 *);
186      void Clear();      void Clear();
187      void LoadField(TString);      void LoadField(TString);
188            Float_t GetZTrk(Int_t);
189      TrkTrack     *GetStoredTrack(int i);          Float_t GetXTrkLeft(){return XTRKL;};
190            Float_t GetXTrkRight(){return XTRKR;};
191            Float_t GetYTrkLeft(){return YTRKL;};
192            Float_t GetYTrkRight(){return YTRKR;};
193            
194            TrkSinglet   *GetSingletX(int);
195            TrkSinglet   *GetSingletY(int);
196            
197            TrkTrack     *GetStoredTrack(int i);
198      Int_t         GetSeqNo(Int_t i)  {return (((TrkTrack *)Track->At(i))->seqno);}; ///< Returns track sequential number      Int_t         GetSeqNo(Int_t i)  {return (((TrkTrack *)Track->At(i))->seqno);}; ///< Returns track sequential number
199      TClonesArray *GetTracks_Chi2Sorted();  //    TClonesArray *GetTracks_Chi2Sorted();
200      TClonesArray *GetTracks_NFitSorted();      TClonesArray *GetTracks_NFitSorted();
201      TClonesArray *GetTracks();      TClonesArray *GetTracks();
202    
203      int       GetNTracks(){return this->GetTracks()->GetEntries();}  //    int       GetNTracks(){return this->GetTracks()->GetEntries();}
204      TrkTrack* GetTrack(int i);          Int_t     GetNTracks();
205            TrkTrack* GetTrack(int i);
206      TrkTrack* GetTrackImage(int i);      TrkTrack* GetTrackImage(int i);
207    
208      TrkLevel2*    GetTrkLevel2(){return this;}      TrkLevel2*    GetTrkLevel2(){return this;}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23