00001 // $Id: StHistCollectorMaker.h,v 2.3 2003/09/10 19:47:02 perev Exp $ 00002 00003 #ifndef STAR_StHistCollectorMaker 00004 #define STAR_StHistCollectorMaker 00005 00007 // // 00008 // StHistCollectorMaker is to collect the histBranch staff from the several // 00009 // files // 00010 // // 00011 // use $STAR/StRoot/macro/analysis/doHists.C macro to see hot it works // 00012 // 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 00013 // 00015 #ifndef StMaker_H 00016 #include "StMaker.h" 00017 #endif 00018 00019 class StHistCollectorMaker : public StMaker { 00020 private: 00021 // static Char_t m_VersionCVS = "$Id: StHistCollectorMaker.h,v 2.3 2003/09/10 19:47:02 perev Exp $"; 00022 00023 protected: 00024 TDataSet *fMergedSet; 00025 public: 00026 StHistCollectorMaker(const char *name="TLA"); 00027 virtual ~StHistCollectorMaker(); 00028 TDataSet *AddHists(); 00029 virtual Int_t Init(); 00030 virtual Int_t Make(); 00031 // virtual Int_t InitRun (int runumber){return 0;}; // Overload empty StMaker::InitRun 00032 // virtual Int_t FinishRun(int runumber){return 0;}; // Overload empty StMaker::FinishRun 00033 void UpdateHists(TObjectSet *oldSet,TObjectSet *newSet); 00034 00035 00036 virtual const char *GetCVS() const 00037 {static const char cvs[]="Tag $Name: $ $Id: StHistCollectorMaker.h,v 2.3 2003/09/10 19:47:02 perev Exp $ built "__DATE__" "__TIME__ ; return cvs;} 00038 00039 ClassDef(StHistCollectorMaker,0) //StAF chain virtual base class for Makers 00040 }; 00041 00042 // $Log: StHistCollectorMaker.h,v $ 00043 // Revision 2.3 2003/09/10 19:47:02 perev 00044 // ansi corrs 00045 // 00046 // Revision 2.2 2000/11/30 19:37:27 fine 00047 // Reference to doHists.C macro has been added 00048 // 00049 // Revision 2.1 2000/11/30 19:35:14 fine 00050 // New analysis utility to collect all histogram from all histBranh production branches 00051 // 00052 00053 #endif 00054
1.5.9