/[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.15 by pam-fi, Thu Jan 11 10:20:57 2007 UTC revision 1.18 by pam-fi, Fri Feb 16 14:56:00 2007 UTC
# Line 11  Line 11 
11  #include <TRefArray.h>  #include <TRefArray.h>
12  #include <TRef.h>  #include <TRef.h>
13    
14  #include <TrkStruct.h>  //#include <TrkStruct.h>
15    #include <TrkParams.h>
16  #include <TrkLevel1.h>  #include <TrkLevel1.h>
17    
18  // z-coordinate of track state-vector reference-plane  // z-coordinate of track state-vector reference-plane
# Line 116  public: Line 117  public:
117      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};
118      void Delete();      void Delete();
119      void Copy(TrkTrack&);      void Copy(TrkTrack&);
120            //    void Set();
121    
122      Int_t  GetSeqNo(){return seqno;}        ///< Returns the track sequential number      Int_t  GetSeqNo(){return seqno;}        ///< Returns the track sequential number
123      Int_t  GetImageSeqNo(){return image;}   ///< Returns the track image sequential number      Int_t  GetImageSeqNo(){return image;}   ///< Returns the track image sequential number
124      Bool_t HasImage(){return !(image==-1);} ///< Returns true if the track has an image      Bool_t HasImage(){return !(image==-1);} ///< Returns true if the track has an image
# Line 222  class TrkLevel2 : public TObject { Line 224  class TrkLevel2 : public TObject {
224      void Clear();      void Clear();
225      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};
226      void Delete();      void Delete();
227        void Set();
228            
229      int ntrk() {return Track->GetEntries();}    ///< number of stored track      int ntrk() {return Track->GetEntries();}    ///< number of stored track
230      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets
231      int nclsy(){return SingletY->GetEntries();} ///< number of y singlets      int nclsy(){return SingletY->GetEntries();} ///< number of y singlets
232    
233      void Dump();      void Dump();
     void SetFromLevel2Struct(cTrkLevel2 *);  
234      void SetFromLevel2Struct(cTrkLevel2 *, TrkLevel1 *);      void SetFromLevel2Struct(cTrkLevel2 *, TrkLevel1 *);
235        void SetFromLevel2Struct(cTrkLevel2 *s2){ SetFromLevel2Struct(s2, NULL);          };
236        void SetFromLevel2Struct(TrkLevel1 *l1) { SetFromLevel2Struct(&level2event_, l1); };    
237        void SetFromLevel2Struct()              { SetFromLevel2Struct(&level2event_);     };    
238      void GetLevel2Struct(cTrkLevel2 *) const;      void GetLevel2Struct(cTrkLevel2 *) const;
239      void LoadField(TString);      void LoadField(TString);
240        float GetBX(float*);
241        float GetBY(float*);
242        float GetBZ(float*);
243      Float_t GetZTrk(Int_t);      Float_t GetZTrk(Int_t);
244      Float_t GetXTrkLeft(){return XTRKL;};      Float_t GetXTrkLeft(){return XTRKL;};
245      Float_t GetXTrkRight(){return XTRKR;};      Float_t GetXTrkRight(){return XTRKR;};

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.23