]>
Commit | Line | Data |
---|---|---|
2e9f335b | 1 | #ifndef AliTPCBUFFER_H |
2 | #define AliTPCBUFFER_H | |
3 | /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
a79660fb | 6 | /////////////////////////////////////////////////////////////////// |
7 | // Class used for storing TPC digits according to the DDLs format// | |
8 | ////////////////////////////////////////////////////////////////// | |
2e9f335b | 9 | |
f7a17606 | 10 | #ifdef __CINT__ |
2e9f335b | 11 | class fstream; |
f7a17606 | 12 | #else |
13 | #include "Riostream.h" | |
14 | #endif | |
2e9f335b | 15 | |
16 | class AliSimDigits; | |
17 | //class TTree; | |
18 | //class TFile; | |
19 | class AliTPCBuffer:public TObject{ | |
20 | public: | |
066782e8 | 21 | AliTPCBuffer(){ |
22 | //default constructor | |
23 | } | |
2e9f335b | 24 | AliTPCBuffer(const char* fileName);//constructor |
25 | virtual ~AliTPCBuffer();//destructor | |
26 | AliTPCBuffer(const AliTPCBuffer &source); // copy constructor | |
27 | AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op. | |
28 | void WriteRowBinary(Int_t eth,AliSimDigits *digrow,Int_t minPad,Int_t maxPad,Int_t flag,Int_t sec,Int_t SubSec,Int_t row); | |
29 | // void WriteRow(Int_t eth,AliSimDigits *digrow,Int_t minPad,Int_t maxPad,Int_t flag,Int_t sec,Int_t SubSec,Int_t row); | |
a763ec6d | 30 | ULong_t GetDigNumber()const{return fNumberOfDigits;} |
2e9f335b | 31 | void SetVerbose(Int_t val){fVerbose=val;} |
32 | private: | |
a763ec6d | 33 | Int_t fVerbose; //Verbosity level: 0-silent, not 0-all printout |
34 | fstream f; //The IO file name | |
2e9f335b | 35 | //TFile *fout; |
36 | //TTree *tree; | |
a763ec6d | 37 | ULong_t fNumberOfDigits; //Number of TPC digits |
2e9f335b | 38 | ClassDef(AliTPCBuffer,1) |
39 | }; | |
40 | ||
41 | #endif |