3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /* $Id: AliTRDgtuSim.h 27496 2008-07-22 08:35:45Z cblume $ */
8 // --------------------------------------------------------
12 // --------------------------------------------------------
25 class AliTRDgtuSim : public TObject {
27 AliTRDgtuSim(AliRunLoader *rl = 0x0);
30 Bool_t LoadTracklets(AliLoader * const loader);
31 Bool_t LoadTracklets(const AliESDEvent * const esd, Int_t label = -1);
33 Bool_t RunGTU(AliLoader *loader, AliESDEvent *esd = 0x0, Int_t label = -1);
34 Bool_t RunGTUFromTrackletFile(TString filename, Int_t event, Int_t noev = 1);
36 Bool_t WriteTracksToDataFile(TList *listOfTracks, Int_t event);
37 Bool_t WriteTracksToESD(const TList *const listOfTracks, AliESDEvent *esd);
38 Bool_t WriteTracksToLoader(const TList *const listOfTracks);
41 AliRunLoader *fRunLoader; //!
42 AliTRDfeeParam *fFeeParam; //!
43 AliTRDgtuTMU *fTMU; // pointer to TMU simulation class
44 TClonesArray *fTrackletArray; // array of tracklets
46 void AppendBits(ULong64_t &word, Int_t nBits, Int_t val) const { word = (word << nBits) | (val & ~(~0 << nBits)); }
49 AliTRDgtuSim& operator=(const AliTRDgtuSim &rhs); // not implemented
50 AliTRDgtuSim(const AliTRDgtuSim &rhs); // not implemented
52 ClassDef(AliTRDgtuSim, 0);