--- DarthVader/ToFLevel2/inc/ToFLevel2.h 2014/08/07 16:04:09 1.32 +++ DarthVader/ToFLevel2/inc/ToFLevel2.h 2014/10/17 07:54:17 1.34 @@ -279,6 +279,7 @@ void GetLevel2Struct(cToFLevel2 *) const; // ToFTrkVar *GetToFTrkVar(Int_t notrack); + ToFTrkVar* GetToFStoredTrack(Int_t seqno);///< returns pointer to the track set related to the seqno number ToFPMT *GetToFPMT(Int_t nohit); Int_t GetPMTid(Int_t gg, Int_t hh); TString GetPMTName(Int_t ind); @@ -357,6 +358,13 @@ Int_t GetNHitPaddles(Int_t plane); Int_t GetTrueNHitPaddles(Int_t plane); void Clear(Option_t *t=""); + + // + TClonesArray *GetTrackArray(){return ToFTrk;} ///< returns a pointer to the track related variables array + TClonesArray** GetPointerToTrackArray(){return &ToFTrk;}///< returns pointer to pointer to the track array + void SetTrackArray(TClonesArray *track);///