--- DarthVader/TrackerLevel2/inc/TrkLevel2.h 2007/01/11 10:20:57 1.15 +++ DarthVader/TrackerLevel2/inc/TrkLevel2.h 2007/02/16 14:56:00 1.18 @@ -11,7 +11,8 @@ #include #include -#include +//#include +#include #include // z-coordinate of track state-vector reference-plane @@ -116,7 +117,8 @@ void Clear(Option_t *option){Clear();}; void Delete(); void Copy(TrkTrack&); - +// void Set(); + Int_t GetSeqNo(){return seqno;} ///< Returns the track sequential number Int_t GetImageSeqNo(){return image;} ///< Returns the track image sequential number Bool_t HasImage(){return !(image==-1);} ///< Returns true if the track has an image @@ -222,16 +224,22 @@ void Clear(); void Clear(Option_t *option){Clear();}; void Delete(); + void Set(); int ntrk() {return Track->GetEntries();} ///< number of stored track int nclsx(){return SingletX->GetEntries();} ///< number of x singlets int nclsy(){return SingletY->GetEntries();} ///< number of y singlets void Dump(); - void SetFromLevel2Struct(cTrkLevel2 *); void SetFromLevel2Struct(cTrkLevel2 *, TrkLevel1 *); + void SetFromLevel2Struct(cTrkLevel2 *s2){ SetFromLevel2Struct(s2, NULL); }; + void SetFromLevel2Struct(TrkLevel1 *l1) { SetFromLevel2Struct(&level2event_, l1); }; + void SetFromLevel2Struct() { SetFromLevel2Struct(&level2event_); }; void GetLevel2Struct(cTrkLevel2 *) const; void LoadField(TString); + float GetBX(float*); + float GetBY(float*); + float GetBZ(float*); Float_t GetZTrk(Int_t); Float_t GetXTrkLeft(){return XTRKL;}; Float_t GetXTrkRight(){return XTRKR;};