StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTruthTestMaker.h
1 #ifndef __StTruthTestMaker_h__
2 #define __StTruthTestMaker_h__
3 
4 #include "StMaker.h"
5 class TH1F;
6 class TH2F;
7 
8 class StTruthTestMaker : public StMaker
9 {
10 
11  public:
12  StTruthTestMaker( const Char_t *name="testGeant" ):
13  StMaker(name),
14  mDoGeant(false),
15  hMatchedEta(0),
16  hMatchedPhi(0),
17  hMatchedPt(0),
18  hMatchedInv(0),
19  hMatchedPID(0),
20  hMatchedQA(0),
21  hMatchedEtaRes(0),
22  hMatchedPhiRes(0),
23  hMatchedPtRes(0),
24  hMatchedInvRes(0),
25  hNumMismatched(0),
26  hPerMismatched(0),
27  hPidMismatched(0)
28  {
29  /* nada */
30  };
31  ~StTruthTestMaker(){ /* nada */ };
32 
33  Int_t Init();
34  Int_t Make();
35  Int_t MakeGeant();
36  Int_t MakeRecord();
37 
38  private:
39  protected:
40 
41  Bool_t mDoGeant;
42 
43  TH2F *hMatchedEta;
44  TH2F *hMatchedPhi;
45  TH2F *hMatchedPt ;
46  TH2F *hMatchedInv;
47  TH1F *hMatchedPID;
48  TH1F *hMatchedQA ;
49 
50  TH1F *hMatchedEtaRes;
51  TH1F *hMatchedPhiRes;
52  TH1F *hMatchedPtRes ;
53  TH1F *hMatchedInvRes;
54 
55  TH1F *hNumMismatched;
56  TH1F *hPerMismatched;
57  TH1F *hPidMismatched;
58 
59  ClassDef( StTruthTestMaker, 1 );
60 };
61 
62 #endif
StMaker(const char *name="", const char *dummy=0)
Constructor & Destructor.
Definition: StMaker.cxx:188