]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFDDLRawData.h
52556fb070de7e682d7bff13c58c01288b120644
[u/mrichter/AliRoot.git] / TOF / AliTOFDDLRawData.h
1 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice                               */
3
4 ////////////////////////////////////////////////////////////////////////////
5 // Class used for generating the files containing raw data,               //
6 // required for  Data Challenge                                           //
7 ////////////////////////////////////////////////////////////////////////////
8
9 #ifndef AliTOFDDLRAWDATA_H
10 #define AliTOFDDLRAWDATA_H
11
12 class AliTOF;
13 class AliTOFGeometry;
14 class TTree;
15
16 class AliTOFDDLRawData:public TObject{
17  public:
18   AliTOFDDLRawData();                               // default constructor
19   AliTOFDDLRawData(AliTOFGeometry *tofGeom);        // constructor
20   virtual ~AliTOFDDLRawData(){;}                    // destructor
21   AliTOFDDLRawData(const AliTOFDDLRawData &source); // copy constructor
22   AliTOFDDLRawData& operator=(const AliTOFDDLRawData &source); // ass. op.
23   Int_t RawDataTOF(TBranch* branch); 
24   // This method generates the files with the TOF detector data
25   void SetVerbose(Int_t Verbose){fVerbose=Verbose;}
26   // To set the verbose level
27  private:
28   void  GetDigits(TClonesArray *TOFdigits, Int_t ddl,UInt_t *buf);
29   //This method formats and stores in buf all the digits of a TOF module
30
31   Int_t fVerbose;               //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
32   Int_t fIndex;                 //number of 32 words to be stored into the output file
33   AliTOFGeometry *fTOFgeometry; //
34
35   ClassDef(AliTOFDDLRawData,1)
36
37 };
38     
39 #endif