]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/wa98/Wa98Convert.h
81b879351111ee3c8e5193c63c6527faef8265fb
[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);                                    // 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    TTree          *fChain;   //!pointer to the analyzed TTree or TChain
22
23    //Declaration of leaves types
24    Int_t           Jrun;
25    Int_t           Jevt;
26    Int_t           Jdate;
27    Int_t           Jtime;
28    Int_t           Jevid;
29    UInt_t          Jwscal;
30    UInt_t          Itword;
31    Float_t         Zdc;
32    Float_t         Emir;
33    Float_t         Emire;
34    Float_t         Emirh;
35    Float_t         Etm;
36    Float_t         Etme;
37    Float_t         Etmh;
38    Int_t           Nmod;
39    Int_t           Irowl[3000]; //[Nmod]
40    UInt_t          Icoll[3000]; //[Nmod]
41    Float_t         Adcl[3000];  //[Nmod]
42    Int_t           Nclu;
43    Int_t           Irowc[400];  //[Nclu]
44    UInt_t          Icolc[400];  //[Nclu]
45    Float_t         Adcc[400];   //[Nclu]
46    Int_t           Ncluv;
47    Int_t           Iadccv[1000];  //[Ncluv]
48    Float_t         Thetacv[1000]; //[Ncluv]
49    Float_t         Phicv[1000];   //[Ncluv]
50
51  ClassDef(Wa98Convert,1) // Conversion Wa98 ntuple data into Wa98Event physics event structures.
52 };
53 #endif