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