StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFgtPointMaker.h
1 //
16 #ifndef STAR_StFgtPointMaker_HH
17 #define STAR_StFgtPointMaker_HH
18 
19 #include "StMaker.h"
20 #include "StFgtIPointAlgo.h"
21 
22 class StFgtDb;
23 
24 class StFgtPointMaker : public StMaker
25 {
26  public:
27  StFgtPointMaker( const Char_t* name="FgtPoint" );
28  virtual ~StFgtPointMaker();
29  virtual Int_t Init();
30  virtual Int_t Make();
31  virtual void Clear( Option_t *opts = "" );
32  Int_t setPointAlgo(StFgtIPointAlgo*);
33  void setSkipEvent(int v){mSkipEvent=v;} //Return kStSkip if max number of disc hit per quad is less than setSkipEvent (default 0)
34  //For debugging prpose only. Use it with SetAttr(".Privilege",1)
35  void setFakeData(float v){mFakeData=v;} //Create fake hits for FGT and TPC at eta=v (default=0, no fake hit and real data)
36 
37  virtual const char *GetCVS() const
38  {static const char cvs[]="Tag $Name: $ $Id: StFgtPointMaker.h,v 1.4 2014/08/06 11:43:09 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
39 
40  protected:
41  StFgtIPointAlgo* mPointAlgoPtr;
42  StFgtDb* mDb;
43  int mSkipEvent;
44  float mFakeData;
45 
46  private:
47  ClassDef(StFgtPointMaker,1);
48 };
49 #endif
50 
51 /*
52  * $Id: StFgtPointMaker.h,v 1.4 2014/08/06 11:43:09 jeromel Exp $
53  * $Log: StFgtPointMaker.h,v $
54  * Revision 1.4 2014/08/06 11:43:09 jeromel
55  * Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
56  *
57  * Revision 1.3 2013/04/25 11:52:31 akio
58  * *** empty log message ***
59  *
60  * Revision 1.2 2013/04/04 20:24:50 akio
61  * - Filling StHit with xyz, error on xyz and detectorId
62  * - Add option to return kStSkip if max number of disc hit per quad is less than setSkipEvent (default 0)
63  * This is for expert only, and not for production. Use it with SetAttr(".Privilege",1)
64  *
65  * Revision 1.1 2013/03/13 20:36:28 jeromel
66  * Initial revision, Anselm Vossen
67  *
68  * Revision 1.4 2011/11/01 18:48:34 sgliske
69  * Updated to correspond with StEvent containers, take 2.
70  *
71  * Revision 1.3 2011/10/28 14:41:27 sgliske
72  * Changed to get StFgtEvent from StEvent rather than another maker.
73  * Also pPointrAlgo changed to mPointerAlgoPtr to conform with STAR guidelines.
74  *
75  */
virtual void Clear(Option_t *opts="")
User defined functions.
virtual Int_t Make()