Implemented new class to read raw data and published TOF cluster class
[u/mrichter/AliRoot.git] / TOF / AliTOFDDLRawData.h
CommitLineData
7e6dce66 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
12class AliTOF;
13class TTree;
14
15class AliTOFDDLRawData:public TObject{
16 public:
17 AliTOFDDLRawData(); // default constructor
18 virtual ~AliTOFDDLRawData(){;} // destructor
19 AliTOFDDLRawData(const AliTOFDDLRawData &source); // copy constructor
20 AliTOFDDLRawData& operator=(const AliTOFDDLRawData &source); // ass. op.
21 Int_t RawDataTOF(TBranch* branch);
22 // This method generates the files with the TOF detector data
23 void SetVerbose(Int_t Verbose){fVerbose=Verbose;}
24 // To set the verbose level
25 private:
26 void GetDigits(TClonesArray *TOFdigits, Int_t ddl,UInt_t *buf);
27 //This method formats and stores in buf all the digits of a TOF module
28
7e6dce66 29 Int_t fVerbose; //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
30 Int_t fIndex; //number of 32 words to be stored into the output file
31 ClassDef(AliTOFDDLRawData,1)
571dda3d 32
7e6dce66 33};
34
35#endif