StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StHighPtTagsMaker.h
1 
17 #ifndef StHighPtTagsMaker_HH
18 #define StHighPtTagsMaker_HH
19 
20 #include <iostream>
21 #include "TROOT.h"
22 #include "StMaker.h"
23 #include "tables/St_HighPtTag_Table.h"
24 class StEvent;
25 
26 class StHighPtTagsMaker : public StMaker {
27 public:
28  StHighPtTagsMaker(const char *name="HighPtTags", const char *title=0);
30 
31  Int_t Init(); // create and fills the tags
32  Int_t Make(); // create and fills the tags
33 
34  HighPtTag_st* tag(); // returns pointer to the tag table
35  void printTag(ostream& = cout);
36 
37 protected:
38  void fillTag(); // does the actual work;
39 
40 private:
41  HighPtTag_st* mTagTable;
42  StEvent* mEvent;
43 
44  // Comment for Thomas:
45  // These are redeclared as local variables in the fillTag() method
46  // then there is no need to declare them in the header file
47  // as data members. Data members are used to store values that
48  // are then passed between functions or returned by the class
49  // but there are no access methods for that, so it is
50  // better to just use them as local variables in fillTag() for the
51  // moment. MCBS
52 // Float_t mHighPtTrack;
53 // Float_t mMaxRawEtBEMCTower;
54 // Float_t mMaxRawEtEEMCTower;
55 
56  virtual const char *GetCVS() const
57  {static const char cvs[]="Tag $Name: $ $Id: StHighPtTagsMaker.h,v 1.2 2014/08/06 11:43:20 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
58 
59  ClassDef(StHighPtTagsMaker,1) // macro for rootcint
60 };
61 
62 #endif
63 
64 /***************************************************************************
65  *
66  * $Log: StHighPtTagsMaker.h,v $
67  * Revision 1.2 2014/08/06 11:43:20 jeromel
68  * Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
69  *
70  * Revision 1.1 2004/07/30 23:02:06 calderon
71  * Revised entry after testing. Commented out data members that are used
72  * as local variables in fillTag(). Speeded up primary track loop. Added
73  * protection against null pointers.
74  *
75  * Revision 1.0 2004/07/28 07:47:45 thenry
76  * Created
77  *
78  **************************************************************************/
A maker to fill the HighPt tags.