/[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.9 by pam-fi, Thu Sep 28 14:04:39 2006 UTC revision 1.11 by pam-fi, Thu Oct 12 15:41:02 2006 UTC
# Line 109  public: Line 109  public:
109      TrkTrack();      TrkTrack();
110      TrkTrack(const TrkTrack&);      TrkTrack(const TrkTrack&);
111    
112            ~TrkTrack(){Delete();};
113            
114      void Dump();      void Dump();
115          void Clear();          void Clear();
116            void Delete();
117                    
118      Int_t  GetSeqNo(){return seqno;}        ///< Returns the track sequential number      Int_t  GetSeqNo(){return seqno;}        ///< Returns the track sequential number
119      Int_t  GetImageSeqNo(){return image;}   ///< Returns the track image sequential number      Int_t  GetImageSeqNo(){return image;}   ///< Returns the track image sequential number
# Line 165  public: Line 168  public:
168    
169      void Dump();      void Dump();
170                    
171          TrkCluster *GetCluster(){TrkCluster *pt = (TrkCluster*)cls.GetObject(); return pt;};      TrkCluster *GetCluster(){TrkCluster *pt = (TrkCluster*)cls.GetObject(); return pt;};
172    
173      friend class TrkLevel2;      friend class TrkLevel2;
174    
# Line 202  class TrkLevel2 : public TObject { Line 205  class TrkLevel2 : public TObject {
205    
206      TrkLevel2();      TrkLevel2();
207  //    TrkLevel2(cTrkLevel2 *);  //    TrkLevel2(cTrkLevel2 *);
208        ~TrkLevel2(){Delete();};
209            
210        void Clear();
211        void Delete();
212        
213      int ntrk() {return Track->GetEntries();}    ///< number of stored track      int ntrk() {return Track->GetEntries();}    ///< number of stored track
214      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets
215      int nclsy(){return SingletY->GetEntries();} ///< number of y singlets      int nclsy(){return SingletY->GetEntries();} ///< number of y singlets
216    
217      void Dump();      void Dump();
218      void SetFromLevel2Struct(cTrkLevel2 *);      void SetFromLevel2Struct(cTrkLevel2 *);
219          void SetFromLevel2Struct(cTrkLevel2 *, TrkLevel1 *);      void SetFromLevel2Struct(cTrkLevel2 *, TrkLevel1 *);
220          void GetLevel2Struct(cTrkLevel2 *) const;      void GetLevel2Struct(cTrkLevel2 *) const;
     void Clear();  
221      void LoadField(TString);      void LoadField(TString);
222      Float_t GetZTrk(Int_t);      Float_t GetZTrk(Int_t);
223      Float_t GetXTrkLeft(){return XTRKL;};      Float_t GetXTrkLeft(){return XTRKL;};
# Line 227  class TrkLevel2 : public TObject { Line 233  class TrkLevel2 : public TObject {
233  //    TClonesArray *GetTracks_Chi2Sorted();  //    TClonesArray *GetTracks_Chi2Sorted();
234  //    TClonesArray *GetTracks_NFitSorted();  //    TClonesArray *GetTracks_NFitSorted();
235  //    TClonesArray *GetTracks();  //    TClonesArray *GetTracks();
236          TRefArray *GetTracks_NFitSorted();      TRefArray *GetTracks_NFitSorted();
237          TRefArray *GetTracks(){return this->GetTracks_NFitSorted();};      TRefArray *GetTracks(){return this->GetTracks_NFitSorted();};
238        
239  //    int       GetNTracks(){return this->GetTracks()->GetEntries();}  //    int       GetNTracks(){return this->GetTracks()->GetEntries();}
240          Int_t     GetNTracks();      Int_t     GetNTracks();
241          TrkTrack* GetTrack(int i);      TrkTrack* GetTrack(int i);
242      TrkTrack* GetTrackImage(int i);      TrkTrack* GetTrackImage(int i);
243        
244      TrkLevel2*    GetTrkLevel2(){return this;}      TrkLevel2*    GetTrkLevel2(){return this;}
245      TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array      TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array
246            

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.23