StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSpaceChargeDistMaker.h
1 
9 #ifndef STAR_StSpaceChargeDistMaker
10 #define STAR_StSpaceChargeDistMaker
11 
12 #ifndef StMaker_H
13 #include "StMaker.h"
14 #endif
15 #include "TArrayI.h"
16 
17 class StEvent;
18 class TH1D;
19 class TH2D;
20 class TH3D;
21 
23 
24 public:
25  StSpaceChargeDistMaker(const char *name="SCDist");
26  virtual ~StSpaceChargeDistMaker();
27  virtual Int_t InitRun(Int_t run);
28  virtual Int_t Init();
29  virtual Int_t Make();
30  virtual Int_t Finish();
31 
32  void SetThrows(Float_t N) { throws = N; }
33 
34  void AcceptTrigger(Int_t trig); // negative value accepts all triggers
35 
36  virtual const char *GetCVS() const
37  {static const char cvs[]="Tag $Name: $ $Id: StSpaceChargeDistMaker.h,v 1.5 2014/08/06 11:43:32 jeromel Exp $ built " __DATE__ " " __TIME__ ; return cvs;}
38 
39 
40 protected:
41 
42  void GeomInit();
43  void GeomFill(Float_t z);
44  StEvent* event;
45  TH3D* Space3ChargePRZ;
46  TH3D* Space3ChargeU;
47  TH2D* thrownR;
48  TH2D* acceptedR;
49  TH3D* thrownRP;
50  TH3D* acceptedRP;
51  TH2D* thrownP;
52  TH2D* acceptedP;
53  TH1D* ZdcC;
54  TArrayI trigs;
55  Float_t throws;
56  Int_t run;
57 
58  Float_t GGZ;
59  Float_t Xpads[128];
60  UShort_t Npads[128];
61  Int_t NP;
62  Int_t NR;
63  Int_t NS;
64  Float_t XMIN[128];
65  Float_t XWID[128];
66  Float_t YMIN[32768]; // 128*256
67  Bool_t LiveRow[4096]; // 128*32
68  Bool_t LivePad[1048576]; // 128*256*32
69 
70  ClassDef(StSpaceChargeDistMaker, 0)
71 };
72 
73 #endif
74 
75 //_____________________________________________________________________________
76 // $Id: StSpaceChargeDistMaker.h,v 1.5 2014/08/06 11:43:32 jeromel Exp $
77 // $Log: StSpaceChargeDistMaker.h,v $
78 // Revision 1.5 2014/08/06 11:43:32 jeromel
79 // Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
80 //
81 // Revision 1.4 2012/11/28 02:08:52 genevb
82 // Remove de-smearing bias in z and treat z more differentially
83 //
84 // Revision 1.3 2012/11/13 22:05:19 genevb
85 // Use TPC dE/dx correction code, and introduce de-smearing
86 //
87 // Revision 1.2 2012/10/15 17:51:12 genevb
88 // Include distortion corrections, which must be evenly sampled per event (per hit)
89 //
90 // Revision 1.1 2012/07/06 17:23:00 genevb
91 // Introduce StSpaceChargeDistMaker
92 //
93 //