1 #ifndef AliTOFDDLRAWDATA_H
2 #define AliTOFDDLRAWDATA_H
4 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////////////////
9 // Class used for generating the files containing raw data, //
10 // required for Data Challenge //
12 ////////////////////////////////////////////////////////////////////////////
18 class AliTOFDDLRawData:public TObject{
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
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
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
37 ClassDef(AliTOFDDLRawData,1)