]>
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 | |
a11596ad | 16 | using std::fstream; |
b62e2a95 | 17 | |
2e9f335b | 18 | class AliSimDigits; |
19 | //class TTree; | |
20 | //class TFile; | |
21 | class AliTPCBuffer:public TObject{ | |
22 | public: | |
179c6296 | 23 | AliTPCBuffer(); |
24 | ||
25 | // | |
2e9f335b | 26 | AliTPCBuffer(const char* fileName);//constructor |
27 | virtual ~AliTPCBuffer();//destructor | |
28 | AliTPCBuffer(const AliTPCBuffer &source); // copy constructor | |
29 | AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op. | |
30 | 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); | |
31 | // 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); | |
0b3c7dfc | 32 | UInt_t GetDigNumber()const{return fNumberOfDigits;} |
2e9f335b | 33 | void SetVerbose(Int_t val){fVerbose=val;} |
34 | private: | |
9f992f70 | 35 | Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking |
179c6296 | 36 | |
2e9f335b | 37 | //TFile *fout; |
38 | //TTree *tree; | |
0b3c7dfc | 39 | UInt_t fNumberOfDigits; //Number of TPC digits |
179c6296 | 40 | fstream f; //The IO file name |
2e9f335b | 41 | ClassDef(AliTPCBuffer,1) |
42 | }; | |
43 | ||
44 | #endif |