]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/wa98/Wa98Convert.h
Additional protection
[u/mrichter/AliRoot.git] / RALICE / wa98 / Wa98Convert.h
1 #ifndef Wa98Convert_h
2 #define Wa98Convert_h
3
4 // $Id$
5
6 #include "TObject.h"
7 #include "TChain.h"
8 #include "TFile.h"
9 #include "THbookFile.h"
10
11 #include "Wa98Event.h"
12
13 class Wa98Convert : public TObject
14 {
15  public :
16   Wa98Convert(TTree* tree=0,Int_t split=0,Int_t bsize=32000);    // Constructor
17   virtual ~Wa98Convert();                                        // Destructor
18   void Loop(TTree* otree=0,Int_t nentries=-1,Int_t printfreq=1); // Perform the conversion
19
20  protected :
21    Int_t fSplit;
22    Int_t fBsize;
23
24    TTree          *fChain;   //!pointer to the analyzed TTree or TChain
25
26    //Declaration of leaves types
27    Int_t           Jrun;
28    Int_t           Jevt;
29    Int_t           Jdate;
30    Int_t           Jtime;
31    Int_t           Jevid;
32    UInt_t          Jwscal;
33    UInt_t          Itword;
34    Float_t         Zdc;
35    Float_t         Emir;
36    Float_t         Emire;
37    Float_t         Emirh;
38    Float_t         Etm;
39    Float_t         Etme;
40    Float_t         Etmh;
41    Int_t           Nmod;
42    Int_t           Irowl[3000]; //[Nmod]
43    UInt_t          Icoll[3000]; //[Nmod]
44    Float_t         Adcl[3000];  //[Nmod]
45    Int_t           Nclu;
46    Int_t           Irowc[400];  //[Nclu]
47    UInt_t          Icolc[400];  //[Nclu]
48    Float_t         Adcc[400];   //[Nclu]
49    Int_t           Ncluv;
50    Int_t           Iadccv[1000];  //[Ncluv]
51    Float_t         Thetacv[1000]; //[Ncluv]
52    Float_t         Phicv[1000];   //[Ncluv]
53
54  ClassDef(Wa98Convert,2) // Conversion Wa98 ntuple data into Wa98Event physics event structures.
55 };
56 #endif