/[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.4 by pam-fi, Fri Jun 30 09:48:15 2006 UTC revision 1.6 by pam-fi, Fri Jul 21 11:03:14 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    
184      void Dump();      void Dump();
185      void FillCommonVar(cTrkLevel2 *);      void SetFromLevel2Struct(cTrkLevel2 *);
186        void GetLevel2Struct(cTrkLevel2 *) const;
187      void Clear();      void Clear();
188      void LoadField(TString);      void LoadField(TString);
189        Float_t GetZTrk(Int_t);
190        Float_t GetXTrkLeft(){return XTRKL;};
191        Float_t GetXTrkRight(){return XTRKR;};
192        Float_t GetYTrkLeft(){return YTRKL;};
193        Float_t GetYTrkRight(){return YTRKR;};
194        
195        TrkSinglet   *GetSingletX(int);
196        TrkSinglet   *GetSingletY(int);
197        
198      TrkTrack     *GetStoredTrack(int i);      TrkTrack     *GetStoredTrack(int i);
199      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
200      TClonesArray *GetTracks_Chi2Sorted();  //    TClonesArray *GetTracks_Chi2Sorted();
201      TClonesArray *GetTracks_NFitSorted();      TClonesArray *GetTracks_NFitSorted();
202      TClonesArray *GetTracks();      TClonesArray *GetTracks();
203    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23