]>
Commit | Line | Data |
---|---|---|
5c9fc915 | 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 : | |
aa1cca34 | 16 | Wa98Convert(TTree* tree=0,Int_t split=0,Int_t bsize=32000); // Constructor |
5c9fc915 | 17 | virtual ~Wa98Convert(); // Destructor |
18 | void Loop(TTree* otree=0,Int_t nentries=-1,Int_t printfreq=1); // Perform the conversion | |
19 | ||
20 | protected : | |
aa1cca34 | 21 | Int_t fSplit; |
22 | Int_t fBsize; | |
23 | ||
5c9fc915 | 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 | ||
aa1cca34 | 54 | ClassDef(Wa98Convert,2) // Conversion Wa98 ntuple data into Wa98Event physics event structures. |
5c9fc915 | 55 | }; |
56 | #endif |