]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - TPC/AliTPCBuffer.h
Removed class AliMUONGeometryStore
[u/mrichter/AliRoot.git] / TPC / AliTPCBuffer.h
... / ...
CommitLineData
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
6///////////////////////////////////////////////////////////////////
7// Class used for storing TPC digits according to the DDLs format//
8//////////////////////////////////////////////////////////////////
9
10#ifdef __CINT__
11class fstream;
12#else
13#include "Riostream.h"
14#endif
15
16
17class AliSimDigits;
18//class TTree;
19//class TFile;
20class AliTPCBuffer:public TObject{
21public:
22 AliTPCBuffer(){
23 //default constructor
24 }
25 AliTPCBuffer(const char* fileName);//constructor
26 virtual ~AliTPCBuffer();//destructor
27 AliTPCBuffer(const AliTPCBuffer &source); // copy constructor
28 AliTPCBuffer& operator=(const AliTPCBuffer &source); // ass. op.
29 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);
30 // 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);
31 UInt_t GetDigNumber()const{return fNumberOfDigits;}
32 void SetVerbose(Int_t val){fVerbose=val;}
33private:
34 Int_t fVerbose; //Verbosity level: 0-silent, 1:cout msg, 2: txt files for checking
35 fstream f; //The IO file name
36 //TFile *fout;
37 //TTree *tree;
38 UInt_t fNumberOfDigits; //Number of TPC digits
39 ClassDef(AliTPCBuffer,1)
40};
41
42#endif