StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcMixHistMaker.h
1 #ifndef __StEEmcMixHistMaker_h__
2 #define __StEEmcMixHistMaker_h__
3 
4 #include "StEEmcMixMaker.h"
5 #include "TString.h"
6 
7 class TH1F;
8 class TH2F;
9 
11 
12  public:
13  StEEmcMixHistMaker(const Char_t *name);
14  ~StEEmcMixHistMaker(){ /* nada */ };
15 
16  Int_t Init();
17  Int_t Make();
18  Int_t Finish();
19 
20  void setRange(Float_t min=0.1, Float_t max=0.18){ mMin=min; mMax=max; }
21 
22  private:
23  protected:
24 
25  TH1F *hMass[3];
26  TH1F *hEnergy[3];
27  TH1F *hPT[3];
28  TH1F *hZgg[3];
29  TH1F *hPhigg[3];
30  TH1F *hU1[3];
31  TH1F *hU2[3];
32  TH1F *hV1[3];
33  TH1F *hV2[3];
34  void book( TH1F **h, const Char_t *n, const Char_t *t, Int_t nbin, Float_t min, Float_t max );
35  void fill( Int_t mode, StEEmcPair &pair );
36  void subtract( TH1F **h, Float_t norm );
37 
38  Bool_t accept( StEEmcPair &pair );
39 
40  Float_t mMin;
41  Float_t mMax;
42 
43 
44  ClassDef(StEEmcMixHistMaker,1);
45 
46 };
47 
48 #endif
Int_t Init()
Initialize.
void book()
create 1d and 2d histograms
Int_t Make()
Process.
void fill()
fill 1d and 2d histograms
A class for mixing pi0 candidates.
A class to represent pairs of points.
Definition: StEEmcPair.h:9