StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtQaHighStrips.h
1 /***************************************************************************
2  *
3  * $Id: StFgtQaHighStrips.h,v 1.2 2012/01/31 12:53:28 sgliske Exp $
4  * Author: S. Gliske, Jan 2012
5  *
6  ***************************************************************************
7  *
8  * Description: Plots number a histogram for each octant of
9  * distribution of the number of strips per event above thresholds.
10  * It assumes that StFgtA2CMaker has already removed all strips not
11  * above threshold, so it just counts the remaining strips.
12  *
13  ***************************************************************************
14  *
15  * $Log: StFgtQaHighStrips.h,v $
16  * Revision 1.2 2012/01/31 12:53:28 sgliske
17  * updates
18  *
19  * Revision 1.1 2012/01/31 09:26:17 sgliske
20  * StFgtQaMakers moved to StFgtPool
21  *
22  * Revision 1.1 2012/01/30 17:18:10 sgliske
23  * creation
24  *
25  *
26  **************************************************************************/
27 
28 #ifndef _ST_FGT_QA_HIGH_STRIPS_H_
29 #define _ST_FGT_QA_HIGH_STRIPS_H_
30 
31 #include "StMaker.h"
32 class StFgtCollection;
33 class TH2F;
34 class TH1F;
35 //class StFgtDbMaker;
36 
37 class StFgtQaHighStrips : public StMaker {
38  public:
39  // constructors
40  StFgtQaHighStrips( const Char_t* name = "fgtQaHighStrips" );
41 
42  // default OK
43  // StFgtQaHighStrips(const StFgtQaHighStrips&);
44 
45  // equals operator -- default OK
46  // StFgtQaHighStrips& operator=(const StFgtQaHighStrips&);
47 
48  // deconstructor
49  virtual ~StFgtQaHighStrips();
50 
51  Int_t Init();
52  Int_t Make();
53 
54  // accessor
55  TH2F* getHist2D();
56  std::vector< TH1F* > getHistVec();
57 
58  protected:
59  // typedef
60  typedef std::vector< TH1F* > HistVec_t;
61 
62  // the histograms
63  TH2F *mHist2D;
64  HistVec_t mHistVec;
65 
66 /* // for the DB */
67 /* std::string mDbMkrName; */
68 /* StFgtDbMaker *mFgtDbMkr; */
69 
70  // ranges
71  Int_t mMaxNum;
72 
73  private:
74  ClassDef(StFgtQaHighStrips,1);
75 
76 };
77 
78 // inline functions
79 
80 // modifiers
81 inline TH2F* StFgtQaHighStrips::getHist2D(){ return mHist2D; };
82 inline std::vector< TH1F* > StFgtQaHighStrips::getHistVec(){ return mHistVec; };
83 
84 #endif