StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFlowConstants.cxx
1 //
3 // $Id: StFlowConstants.cxx,v 1.21 2009/11/24 19:22:58 posk Exp $
4 //
5 // Author: Art Poskanzer and Raimond Snellings, LBNL, Oct 1999
6 //
8 //
9 // Description: constants for the flow makers
10 //
12 #include "StFlowConstants.h"
13 #include "TMath.h"
14 ClassImp(Flow)
15 
16  Float_t Flow::etaMin = -4.5;
17  Float_t Flow::etaMax = 4.5;
18  Float_t Flow::etaMinTpcOnly = -1.5;
19  Float_t Flow::etaMaxTpcOnly = 1.5;
20  Float_t Flow::etaSymZSlopeTpc = 0.0043; // run 4
21  Float_t Flow::etaSymZSlopeFtpc = -0.0067; // run 4
22 
23  Float_t Flow::ptMin = 0.;
24  Float_t Flow::ptMax = 2.;
25  Float_t Flow::ptMaxPart = 6.; // 6.
26 
27  // LeeYangZeros
28  Float_t Flow::rMax = 1.5;
29  Float_t Flow::j01 = 2.405;
30  Float_t Flow::epsV1 = 0.5;
31 
32  // centralities
33  Int_t Flow::cent200Full[nCents] = {14,30,56,94,146,217,312,431,510};
34  Int_t Flow::cent200Half[nCents] = {14,32,59,98,149,216,302,409,474};
35  Int_t Flow::cent200Year4Full[nCents] = {14,31,57,96,150,222,319,441,520};
36  Int_t Flow::cent200Year4Half[nCents] = {14,30,56,94,146,217,312,431,510};
37  Int_t Flow::cent200Year7[nCents] = {10,21,39,69,114,178,269,399,485};
38  Int_t Flow::cent130[nCents] = {20,100,180,270,360,460,560,660,870};
39  Int_t Flow::cent62[nCents] = {9,20,38,65,102,154,222,313,373};
40  Int_t Flow::cent22[nCents] = {7,14,28,48,77,117,170,237,281}; // 20 GeV paper
41 
42  //ZDC_SMD Beam Center(run5040129)
43  Double_t Flow::zdcsmd_wx0 = 4.39604;
44  Double_t Flow::zdcsmd_ex0 = 4.72466;
45  Double_t Flow::zdcsmd_wy0 = 5.19968;
46  Double_t Flow::zdcsmd_ey0 = 5.53629;
47 
48  //ZDCSMD pedstals(run5040090)
49  Double_t Flow::zdcsmdPedstal[2][2][8] = {
50  { { 1.901,5.354,3.606,2.044,3.171,4.042,2.731,3.248} ,
51  { 4.921,2.884,2.627,4.579,2.778,4.018,2.905,4.623} } ,
52  { { 4.925,5.818,6.513,0.005,8.328,4.025,4.019,8.833} ,
53  { 8.952,8.684,6.962,7.353,7.928,7.385,9.972,7.996} }
54  };
55  //ZDCSMD gain factor
56  Double_t Flow::zdcsmdGainFac[2][2][8] = {
57  { { 0.989, 1.148, 1.491, 1.183, 1.261, 1.22, 1.579, 1.} ,
58  { 1.,1.169,1.12,1.292,0.947,1.085,1.463, 1.179} } ,
59  { { 0.774499,0.840393,0.989262,0.87179,0.916639,0.927873,1.168586,1.} ,
60  { 0.940065,0.978662,1.040051,1.068336,0.97021,1.133341,1.25025,1.058449} }
61  };
62 
64 //
65 // $Log: StFlowConstants.cxx,v $
66 // Revision 1.21 2009/11/24 19:22:58 posk
67 // Added reCenter option to remove acceptance correlations instead of phiWgt.
68 //
69 // Revision 1.20 2009/08/04 23:00:25 posk
70 // Reads year 7 MuDsts.
71 //
72 // Revision 1.19 2007/02/06 18:57:45 posk
73 // In Lee Yang Zeros method, introduced recentering of Q vector.
74 // Reactivated eta symmetry cut.
75 //
76 // Revision 1.18 2006/07/06 16:55:58 posk
77 // Calculation of v1 for selection=2 is done with mixed harmonics.
78 //
79 // Revision 1.17 2006/02/22 19:22:01 posk
80 // Additions needed for the StFlowLeeYangZerosMaker
81 //
82 // Revision 1.16 2005/08/26 21:37:23 oldi
83 // Year 4 centrlity bins corrected (see http://www.star.bnl.gov/protected/common/common2004/trigger2004/200gev/200gevFaq.html) for details).
84 //
85 // Revision 1.15 2005/03/03 17:21:58 posk
86 // Initialized pFlowEvent in the constructors.
87 //
88 // Revision 1.14 2005/02/08 20:57:35 psoren
89 // trigger and centrality selections were updated for all runs after run 4 to be compatible with trigger collections. Added TriggersFound() and GetFlowTriggerBitMap() functions.
90 //
91 // Revision 1.13 2004/12/17 22:33:07 aihong
92 // add in full Psi weight for ZDC SMD and fix a few bugs, done by Gang
93 //
94 // Revision 1.12 2004/12/09 23:43:33 posk
95 // Minor changes in code formatting.
96 //
97 // Revision 1.11 2004/05/05 21:13:44 aihong
98 // Gang's code for ZDC-SMD added
99 //
100 // Revision 1.10 2003/02/28 16:49:33 posk
101 // Entered 20 GeV centrality cuts from Cebra.
102 //
103 // Revision 1.9 2003/01/10 16:41:50 oldi
104 // Several changes to comply with FTPC tracks:
105 // - Switch to include/exclude FTPC tracks introduced.
106 // The same switch changes the range of the eta histograms.
107 // - Eta symmetry plots for FTPC tracks added and separated from TPC plots.
108 // - PhiWgts and related histograms for FTPC tracks split in FarEast, East,
109 // West, FarWest (depending on vertex.z()).
110 // - Psi_Diff plots for 2 different selections and the first 2 harmonics added.
111 // - Cut to exclude mu-events with no primary vertex introduced.
112 // (This is possible for UPC events and FTPC tracks.)
113 // - Global DCA cut for FTPC tracks added.
114 // - Global DCA cuts for event plane selection separated for TPC and FTPC tracks.
115 // - Charge cut for FTPC tracks added.
116 //
117 // Revision 1.8 2002/06/05 16:30:24 posk
118 // Updated the full field 200 GeV centrality cuts.
119 //
120 // Revision 1.7 2002/05/23 18:54:08 posk
121 // Moved centrality cuts into StFlowConstants
122 //
123 // Revision 1.6 2002/03/12 02:33:17 posk
124 // Now makes pico files in SL02c.
125 //
126 // Revision 1.5 2001/12/18 19:21:53 posk
127 // "proton" and "antiproton" changed to "pr+" and "pr-".
128 // Compiles on Solaris.
129 //
130 // Revision 1.4 2001/12/11 21:33:40 posk
131 // Went from one to four sets of histograms for making the event plane isotropic.
132 // StFlowEvent::PhiWeight() has changed arguments and return value.
133 // The ptWgt saturates above 2 GeV/c.
134 //
135 // Revision 1.3 2001/11/13 22:43:46 posk
136 // Documentation updated.
137 //
138 // Revision 1.2 2001/11/10 01:08:03 posk
139 // Moved some constants into StFlowConstants.
140 //