StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StPxlDbMaker.h
1 
6 /***************************************************************************
7  *
8  * $Id: StPxlDbMaker.h,v 1.15 2015/02/04 07:55:41 smirnovd Exp $
9  *
10  * Author: J. Bouchet, M. Lomnitz, May 2013
11  *
12  ***************************************************************************
13  *
14  * $Log: StPxlDbMaker.h,v $
15  * Revision 1.15 2015/02/04 07:55:41 smirnovd
16  * Create StPxlDb object in constructor and pass it to the framework via ToWhiteConst() in Init()
17  *
18  * It makes perfect sense to do it this way because the StPxlDb obect is created
19  * once by the maker and later reused/updated only at every new run.
20  *
21  * Revision 1.14 2014/11/19 18:29:47 genevb
22  * Use flags to indicate DbMaker readiness
23  *
24  * Revision 1.13 2014/08/27 16:52:14 qiuh
25  * change pxlRowColumnStatus to pxlBadRowColumns to decrease DB szie
26  *
27  * Revision 1.12 2014/08/06 11:43:34 jeromel
28  * Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
29  *
30  * Revision 1.11 2014/07/15 23:28:48 smirnovd
31  * Minor style changes
32  *
33  * Revision 1.10 2014/07/15 23:28:34 smirnovd
34  * .msg
35  *
36  * Revision 1.9 2014/05/06 20:18:40 jeromel
37  * Changed pxl_db to pxlDb as discussed with Hao
38  *
39  * Revision 1.8 2014/01/28 19:29:37 qiuh
40  * *** empty log message ***
41  *
42  *
43  **************************************************************************/
44 
45 #ifndef STPXLDBMAKER_H
46 #define STPXLDBMAKER_H
47 
48 #include "StMaker.h"
49 
50 class StPxlDb;
51 
52 
63 class StPxlDbMaker : public StMaker
64 {
65 public:
66  StPxlDbMaker(const char *name = "pxlDb");
67  virtual Int_t Init();
68  Int_t InitRun(Int_t runNumber);
69  Int_t Make();
70 
71  virtual const char *GetCVS() const {
72  static const char cvs[] = "Tag $Name: $ $Id: StPxlDbMaker.h,v 1.15 2015/02/04 07:55:41 smirnovd Exp $ built " __DATE__ " " __TIME__ ;
73  return cvs;
74  }
75 
76 private:
77  StPxlDb *mPxlDb;
78  Int_t mReady;
79  int readAllRowColumnStatus;
80 
81  ClassDef(StPxlDbMaker, 0)
82 };
83 #endif
84 
85