StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHistCollectorMaker.h
1 // $Id: StHistCollectorMaker.h,v 2.4 2014/08/06 11:42:52 jeromel Exp $
2 
3 #ifndef STAR_StHistCollectorMaker
4 #define STAR_StHistCollectorMaker
5 
7 // //
8 // StHistCollectorMaker is to collect the histBranch staff from the several //
9 // files //
10 // //
11 // use $STAR/StRoot/macro/analysis/doHists.C macro to see hot it works //
12 // Submit any problem with this code via begin_html <A HREF="http://www.rhic.bnl.gov/STAR/html/comp_l/sofi/bugs/send-pr.html"><B><I>"STAR Problem Report Form"</I></B></A> end_html
13 //
15 #ifndef StMaker_H
16 #include "StMaker.h"
17 #endif
18 
19 class StHistCollectorMaker : public StMaker {
20  private:
21 // static Char_t m_VersionCVS = "$Id: StHistCollectorMaker.h,v 2.4 2014/08/06 11:42:52 jeromel Exp $";
22 
23  protected:
24  TDataSet *fMergedSet;
25  public:
26  StHistCollectorMaker(const char *name="TLA");
27  virtual ~StHistCollectorMaker();
28  TDataSet *AddHists();
29  virtual Int_t Init();
30  virtual Int_t Make();
31 // virtual Int_t InitRun (int runumber){return 0;}; // Overload empty StMaker::InitRun
32 // virtual Int_t FinishRun(int runumber){return 0;}; // Overload empty StMaker::FinishRun
33  void UpdateHists(TObjectSet *oldSet,TObjectSet *newSet);
34 
35 
36  virtual const char *GetCVS() const
37  {static const char cvs[]="Tag $Name: $ $Id: StHistCollectorMaker.h,v 2.4 2014/08/06 11:42:52 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
38 
39  ClassDef(StHistCollectorMaker,0) //StAF chain virtual base class for Makers
40 };
41 
42 // $Log: StHistCollectorMaker.h,v $
43 // Revision 2.4 2014/08/06 11:42:52 jeromel
44 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
45 //
46 // Revision 2.3 2003/09/10 19:47:02 perev
47 // ansi corrs
48 //
49 // Revision 2.2 2000/11/30 19:37:27 fine
50 // Reference to doHists.C macro has been added
51 //
52 // Revision 2.1 2000/11/30 19:35:14 fine
53 // New analysis utility to collect all histogram from all histBranh production branches
54 //
55 
56 #endif
57