]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STARLIGHT/starlight/utils/.svn/text-base/analyse.h.svn-base
STARLIGHT code and interface
[u/mrichter/AliRoot.git] / STARLIGHT / starlight / utils / .svn / text-base / analyse.h.svn-base
CommitLineData
da32329d
AM
1#ifndef ANALYSE_H
2#define ANALYSE_H
3
4#include "TFile.h"
5#include "TTree.h"
6#include "TLorentzVector.h"
7#include "TClonesArray.h"
8#include "TParticle.h"
9#include "TH1F.h"
10#include <string>
11
12class Analyse
13{
14 public:
15 Analyse(); //Constructor
16 Analyse(char* infile, Int_t nEvents); //Special constructor
17 ~Analyse(); //Destructor
18 Int_t Init();
19 Int_t NextEvent();
20 TParticle* NextParticle();
21 void doAnalysis(); //Function doing the analysis
22
23 private:
24
25 TH1F *fPtEl; //Histogram of pt of electrons
26 TH1F *fRapEl; //Histogram of rapidity of electrons
27 TH1F *fInvMassEl; //Histogram of ivariant mass of electrons
28
29 TH1F *fPtMu; //Histogram of pt of muons
30 TH1F *fRapMu; //Histogram of rapidity of muons
31 TH1F *fInvMassMu; //Histogram of ivariant mass of muons
32
33 TH1F *fPtPi; //Histogram of pt of pions
34 TH1F *fRapPi; //Histogram of rapidity of pions
35 TH1F *fInvMassPi; //Histogram of ivariant mass of pions
36
37 TH1F *fPt1;
38 TH1F *fPt2;
39
40 FILE *filelist;
41 char *fInfile;
42 Int_t fNParticles;
43 Int_t fNEvents;
44
45};
46
47#endif