/[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.46 by pam-ts, Wed Jun 4 07:57:02 2014 UTC revision 1.47 by pam-ts, Wed Oct 15 08:45:51 2014 UTC
# Line 189  public: Line 189  public:
189      Float_t GetChi2Y();      Float_t GetChi2Y();
190      Float_t GetLnLX();      Float_t GetLnLX();
191      Float_t GetLnLY();      Float_t GetLnLY();
192        Float_t GetMDR(){return (coval[4][4]>0 ? 1./sqrt(coval[4][4]) : 0.); };
193    
194      Float_t GetEffectiveAngle(int ip, int iv);      Float_t GetEffectiveAngle(int ip, int iv);
195            
# Line 283  public: Line 284  public:
284    
285      friend class TrkLevel2;      friend class TrkLevel2;
286    
287      ClassDef(TrkTrack,5);      ClassDef(TrkTrack,6);
288    
289  };  };
290  /**  /**
# Line 403  class TrkLevel2 : public TObject { Line 404  class TrkLevel2 : public TObject {
404      void Clear(Option_t *option){Clear();}      void Clear(Option_t *option){Clear();}
405      void Delete();      void Delete();
406      void Set();      void Set();
407        void SetTrackArray(TClonesArray *track);///<set pointer to the track array
408        TClonesArray*  GetTrackArray(){return Track;}///< returns pointer to the track array
409        TClonesArray** GetPointerToTrackArray(){return &Track;}///< returns pointer to pointer to the track array
410      int UnpackError(){ for(int i=0; i<12; i++)if(!StatusCheck(i,0x12))return 1; return 0;}      int UnpackError(){ for(int i=0; i<12; i++)if(!StatusCheck(i,0x12))return 1; return 0;}
411            
412      int ntrk() {return Track->GetEntries();}    ///< number of stored track      int ntrk() {return Track->GetEntries();}    ///< number of stored track
# Line 443  class TrkLevel2 : public TObject { Line 447  class TrkLevel2 : public TObject {
447      TrkTrack* GetTrackImage(int i);      TrkTrack* GetTrackImage(int i);
448            
449      TrkLevel2*     GetTrkLevel2(){return this;}      TrkLevel2*     GetTrkLevel2(){return this;}
     TClonesArray*  GetTrackArray(){return Track;}///< returns pointer to the track array  
     TClonesArray** GetPointerToTrackArray(){return &Track;}///< returns pointer to pointer to the track array  
450      void   StatusDump(int view);      void   StatusDump(int view);
451      Bool_t StatusCheck(int view, int flagmask);      Bool_t StatusCheck(int view, int flagmask);
452    
453      ClassDef(TrkLevel2,3);      ClassDef(TrkLevel2,4);
454    
455  };  };
456    

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.23