]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSCompressRawDataSDD.h
New classes to manage new (compressed) format of SDD raw data (F. Prino)
[u/mrichter/AliRoot.git] / ITS / AliITSCompressRawDataSDD.h
CommitLineData
7765ca40 1#ifndef ALIITSCOMPRESSRAWDATASDD_H
2#define ALIITSCOMPRESSRAWDATASDD_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id$ */
8
9#include<TObject.h>
10#include<TString.h>
11///////////////////////////////////////////////////////////////////
12// //
13// Class to decode the SDD Raw Data from the CarlosRX format to //
14// a compressed format consisting in a word of 32 bit per cell //
15// Origin: F.Prino, Torino, prino@to.infn.it //
16// //
17///////////////////////////////////////////////////////////////////
18
19class AliITSCompressRawDataSDD : public TObject {
20
21 public:
22 AliITSCompressRawDataSDD(TString filename);
23 void SetEventRange(Int_t first, Int_t last){
24 fEventRange=kTRUE;
25 fFirstEvent=first;
26 fLastEvent=last;
27 }
28 void Compress();
29
30 protected:
31 TString fNameFile; // name of the raw data file
32 Bool_t fEventRange; // flag to select a range of events
33 Int_t fFirstEvent; // first event (used only if fEventRange==kTRUE)
34 Int_t fLastEvent; // first event (used only if fEventRange==kTRUE)
35
36 ClassDef(AliITSCompressRawDataSDD, 0)
37};
38
39#endif