StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHistMaker.h
1 
10 #ifndef STAR_StHistMaker
11 #define STAR_StHistMaker
12 
13 #include "StMaker.h"
14 
15 class TH1;
16 
17 class StHistMaker : public StMaker {
18 
19  private:
20  TH1** mHArray;
21  int mHArraySize;
22 
23  public:
24  StHistMaker(const char *name="QA", const char *title="SummedQAHist");
25  virtual ~StHistMaker() {}
26  virtual Int_t Init();
27  virtual Int_t Finish();
28  virtual Int_t Make();
29 
30  void SetHArray(TH1** arrayPtr) {mHArray = arrayPtr;}
31  void SetHArraySize(int size) {mHArraySize = size;}
32 
33 // the following is a ROOT macro that is needed in all ROOT code
34  virtual const char *GetCVS() const
35  {static const char cvs[]="Tag $Name: $ $Id: StHistMaker.h,v 2.4 2014/08/06 11:43:53 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
36 
37  ClassDef(StHistMaker,0)
38 };
39 
40 #endif
41 
66 
67 
virtual Int_t Make()
Definition: StHistMaker.cxx:34
virtual Int_t Finish()
Definition: StHistMaker.cxx:24