StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEEmcFgtLHTrackQa.h
1 /***************************************************************************
2  *
3  * $Id: StEEmcFgtLHTrackQa.h,v 1.4 2012/04/13 15:08:43 sgliske Exp $
4  * Author: S. Gliske, April 2012
5  *
6  ***************************************************************************
7  *
8  * Description: Plot energy response in the EEMC for FGT tracks from
9  * the LHTracking class.
10  *
11  ***************************************************************************
12  *
13  * $Log: StEEmcFgtLHTrackQa.h,v $
14  * Revision 1.4 2012/04/13 15:08:43 sgliske
15  * updates
16  *
17  * Revision 1.3 2012/04/12 17:12:05 sgliske
18  * update to not use A2EMaker but StEEmcRawMaker
19  *
20  * Revision 1.2 2012/04/11 22:13:24 sgliske
21  * update
22  *
23  * Revision 1.1 2012/04/11 21:39:19 sgliske
24  * creation
25  *
26  *
27  **************************************************************************/
28 
29 #ifndef _StEEmcFgtLHTrackQa_H_
30 #define _StEEmcFgtLHTrackQa_H_
31 
32 #include "StMaker.h"
33 class StEEmcRawMapMaker;
34 class StFgtLHTracking;
35 
36 class StEEmcFgtLHTrackQa : public StMaker {
37  public:
38  // constructors
39  StEEmcFgtLHTrackQa( const Char_t* name = "fgtTracking", const Char_t* rawMapMkrName = "EEmcRawMapMaker", const Char_t* fgtLHTkrName = "FgtLHTracker" );
40 
41  // deconstructor
42  virtual ~StEEmcFgtLHTrackQa();
43 
44  // default equals operator and copy constructor OK
45 
46  virtual Int_t Make();
47  virtual Int_t Init();
48  virtual Int_t Finish();
49 
50  TH1F* getSigHist( Int_t i ){ return (i>=0 && i<4 ? mSig[i] : 0); };
51  TH1F* getSigPerHist( Int_t i ){ return (i>=0 && i<4 ? mSigPer[i] : 0); };
52 
53  void setFileOutName( const Char_t* name );
54 
55  protected:
56  StEEmcRawMapMaker *mEEmcRawMapMkr;
57  StFgtLHTracking *mFgtLHTkr;
58  Float_t mThres;
59  std::string mFileOutName;
60 
61  TH1F *mSig[4];
62  TH1F *mSigPer[4];
63 
64  private:
65  ClassDef(StEEmcFgtLHTrackQa,1);
66 
67 };
68 
69 // inline
70 inline void StEEmcFgtLHTrackQa::setFileOutName( const Char_t* name ){ mFileOutName = name; };
71 
72 
73 #endif