public:
AliTPCBuffer160(){}//default constructor
AliTPCBuffer160(const char* fileName,Int_t flag);//constructor
- AliTPCBuffer160(fstream* file, Int_t size);//constructor for reading a file with mini header
+ AliTPCBuffer160(fstream* file, Int_t size);//constructor for reading a file
virtual ~AliTPCBuffer160();//destructor
AliTPCBuffer160(const AliTPCBuffer160 &source); // copy constructor
AliTPCBuffer160& operator=(const AliTPCBuffer160 &source); // ass. op.
//this method is used to read the trailer when the file is read forward
Int_t ReadTrailerBackward(Int_t &WordsNumber,Int_t &PadNumber,Int_t &RowNumber,Int_t &SecNumber);
//this method is used to read the trailer when the file is read backward
- void WriteMiniHeader(UInt_t Size,Int_t SecNumber,Int_t SubSector,Int_t Detector,Int_t Flag );
- //this method is used to write the Mini header
+ void WriteDataHeader(Bool_t dummy, Bool_t comressed);
+ //this method is used to write the data header
void SetVerbose(Int_t val){fVerbose=val;}
//this method is used to set the verbose level
//level 0 no output messages
Int_t fMaskBackward; //bit mask for backward reading of a file
UInt_t fFilePosition;//'pointer' to the actual position in the file
UInt_t fFileEnd; //position of the last element of the file (File dimension)
- UInt_t fMiniHeaderPos;//Mini header position
+ UInt_t fDataHeaderPos;//Data header position
Int_t fEndingFillWords;//Few words at the end of the stream
ClassDef(AliTPCBuffer160,1)
};