1 ////////////////////////////////////////////////
2 // Digitization class for set: TOF //
3 // AliTOFRawSector class //
6 //*-- Authors: Pierella, Seganti, Vicinanza //
7 // (Bologna and Salerno University) //
8 ////////////////////////////////////////////////
10 #ifndef ALITOFRAWSECTOR_H
11 #define ALITOFRAWSECTOR_H
13 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
14 * See cxx source for full Copyright notice */
18 #include "TClonesArray.h"
20 //_______________________________________________________
21 class AliTOFRawSector : public TObject{
26 virtual ~AliTOFRawSector();
27 // copy ctor (required also by RC10 Coding Convention)
28 AliTOFRawSector(const AliTOFRawSector& tofrawsector);
29 // assignment operator (required also by RC10 Coding Convention)
30 AliTOFRawSector& operator = (const AliTOFRawSector& tofrawsector);
31 void WriteSector(); // write a DAQ sector
32 void ReadSector(); // read a DAQ sector
34 // getters for AliTOFRawSector object
35 TClonesArray* GetRocData() const {return fRocData;}
36 UInt_t GetHeader() const {return fHeader;}
37 UInt_t GetGlobalCheckSum() const {return fGlobalCheckSum;}
39 // setters for AliTOFRawSector object
40 void SetGlobalCS(UInt_t gcs){fGlobalCheckSum=gcs;}
41 void SetHeader (UInt_t hdr){fHeader = hdr;}
44 TClonesArray* fRocData; // pointer to the TClonesArray of Roc Data
45 UInt_t fHeader; // RawSector header number
46 UInt_t fGlobalCheckSum; // check flag
48 ClassDef(AliTOFRawSector,2) // Container Class for AliTOFRoc objects
51 #endif /* ALITOFRAWSECTOR_H */