StFlowConstants.h 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. //////////////////////////////////////////////////////////////////////
  2. //
  3. // $Id: StFlowConstants.h,v 1.28 2010/03/08 16:52:49 posk Exp $
  4. //
  5. // Author: Art Poskanzer and Raimond Snellings
  6. // FTPC added by Markus Oldenburg, MPI, Dec 2000
  7. // Cumulants added by Aihong Tang, KSU, Nov 2001
  8. //
  9. //////////////////////////////////////////////////////////////////////
  10. //
  11. // Description: constants for the flow makers
  12. //
  13. //////////////////////////////////////////////////////////////////////
  14. #ifndef StFlowConstants_h
  15. #define StFlowConstants_h
  16. #include "Rtypes.h"
  17. class Flow{
  18. public:
  19. enum {
  20. nHars = 2, // 4
  21. nSels = 2,
  22. nSubs = 2,
  23. nPsiShiftOrders = 10, // How many flattening orders should we use - //# Added by jcampbell
  24. nTheta = 5, // 5 LYZ
  25. nTheta1 = 5, // 5 LYZ
  26. nRBins = 150, // LYZ
  27. nPhiBins = 120,
  28. nPhiBinsFtpc = 120,
  29. nEtaBins = 90, // 90
  30. nEtaBinsTpcOnly = 30,
  31. nPtBins = 40,
  32. nPtBinsPart = 60,
  33. nCumulIntegOrders = 3, // Cumu
  34. nCumulInteg_qMax = 8, // Cumu
  35. nCumulDiffOrders = 2, // Cumu
  36. nCumulDiff_qMax = 8, // Cumu
  37. nCumulMixHar_pMax = 8, // for directed flow. Eq.(29) in Borghini v1 paper
  38. nCumulMixHar_qMax = 4, // for directed flow
  39. nCents = 9,
  40. zdcsmd_nPsiBins = 64, // ZDCSMD
  41. TERMS = 10, // DirCumu correlation
  42. TYPES = 2, // differential or integrated
  43. PHASES = 2, // cos or sin
  44. SPECIES = 1, // number of different particles
  45. PTBINS = 62, // DirCumu
  46. MAXMULT = 3000 // DirCumu maximum multiplicity of an event
  47. };
  48. typedef Double_t PhiWgt_t[nSels][2][nPhiBins]; // only odd and even harmonics
  49. typedef Double_t PhiWgtFtpc_t[nSels][2][nPhiBinsFtpc];
  50. typedef Double_t ZDCSMD_PsiWgt_t[64];
  51. typedef Double_t ReCent_t[nSels][nHars][4]; // 3 TPCs for LYZ, 4 for ana
  52. typedef Double_t ReCentering_shifts_t[2][9][3][2][3];//cos or sin ; cent bin ; charge/charge combo ; B field sign ; TPC side/TPC side combo
  53. //typedef Double_t ReCentering_shifts_t[2][9][3][2];
  54. typedef Double_t PhiWgtFtpc_2D_t[6][6][120];
  55. static Float_t etaMin;
  56. static Float_t etaMax;
  57. static Float_t etaMinTpcOnly;
  58. static Float_t etaMaxTpcOnly;
  59. static Float_t etaSymZSlopeTpc;
  60. static Float_t etaSymZSlopeFtpc;
  61. static Float_t rMax; // LYZ
  62. static Float_t j01; // LYZ
  63. static Float_t epsV1;// LYZ
  64. static Float_t ptMin;
  65. static Float_t ptMax;
  66. static Float_t ptMaxPart;
  67. static Int_t cent200Full[nCents];
  68. static Int_t cent200Half[nCents];
  69. static Int_t cent200Year4Full[nCents];
  70. static Int_t cent200Year4Half[nCents];
  71. static Int_t cent200Year7[nCents];
  72. static Int_t cent130[nCents];
  73. static Int_t cent62[nCents];
  74. static Int_t cent22[nCents];
  75. static Double_t zdcsmd_wx0,zdcsmd_ex0,zdcsmd_wy0,zdcsmd_ey0;
  76. static Double_t zdcsmdPedstal[2][2][8];
  77. static Double_t zdcsmdGainFac[2][2][8];
  78. ClassDef(Flow,1) // macro for rootcint
  79. };
  80. #endif
  81. //////////////////////////////////////////////////////////////////////
  82. //
  83. // $Log: StFlowConstants.h,v $
  84. // Revision 1.28 2010/03/08 16:52:49 posk
  85. // Added StFlowDirectCumulantMaker written by Dhevan Gangadharan.
  86. //
  87. // Revision 1.27 2009/11/24 19:23:00 posk
  88. // Added reCenter option to remove acceptance correlations instead of phiWgt.
  89. //
  90. // Revision 1.26 2009/08/04 23:00:26 posk
  91. // Reads year 7 MuDsts.
  92. //
  93. // Revision 1.25 2007/02/06 18:57:47 posk
  94. // In Lee Yang Zeros method, introduced recentering of Q vector.
  95. // Reactivated eta symmetry cut.
  96. //
  97. // Revision 1.24 2006/07/06 16:55:59 posk
  98. // Calculation of v1 for selection=2 is done with mixed harmonics.
  99. //
  100. // Revision 1.23 2006/02/22 19:22:02 posk
  101. // Additions needed for the StFlowLeeYangZerosMaker
  102. //
  103. // Revision 1.22 2005/02/08 20:57:36 psoren
  104. // trigger and centrality selections were updated for all runs after run 4 to be compatible with trigger collections. Added TriggersFound() and GetFlowTriggerBitMap() functions.
  105. //
  106. // Revision 1.21 2004/12/17 22:33:05 aihong
  107. // add in full Psi weight for ZDC SMD and fix a few bugs, done by Gang
  108. //
  109. // Revision 1.20 2004/12/17 15:50:08 aihong
  110. // check in v1{3} code
  111. //
  112. // Revision 1.19 2004/12/07 23:08:10 posk
  113. // Only odd and even phiWgt hists. If the old phiWgt file contains more than
  114. // two harmonics, only the first two are read. Now writes only the first two.
  115. //
  116. // Revision 1.18 2004/05/05 21:13:44 aihong
  117. // Gang's code for ZDC-SMD added
  118. //
  119. // Revision 1.17 2004/02/03 22:36:36 posk
  120. // Initialzed mPtBinsPart.
  121. //
  122. // Revision 1.16 2003/05/02 21:09:40 posk
  123. // Reduced the number of harmonics from 3 to 2.
  124. //
  125. // Revision 1.15 2003/01/10 16:41:51 oldi
  126. // Several changes to comply with FTPC tracks:
  127. // - Switch to include/exclude FTPC tracks introduced.
  128. // The same switch changes the range of the eta histograms.
  129. // - Eta symmetry plots for FTPC tracks added and separated from TPC plots.
  130. // - PhiWgts and related histograms for FTPC tracks split in FarEast, East,
  131. // West, FarWest (depending on vertex.z()).
  132. // - Psi_Diff plots for 2 different selections and the first 2 harmonics added.
  133. // - Cut to exclude mu-events with no primary vertex introduced.
  134. // (This is possible for UPC events and FTPC tracks.)
  135. // - Global DCA cut for FTPC tracks added.
  136. // - Global DCA cuts for event plane selection separated for TPC and FTPC tracks.
  137. // - Charge cut for FTPC tracks added.
  138. //
  139. // Revision 1.14 2002/05/23 18:54:09 posk
  140. // Moved centrality cuts into StFlowConstants
  141. //
  142. // Revision 1.13 2002/03/12 02:33:18 posk
  143. // Now makes pico files in SL02c.
  144. //
  145. // Revision 1.12 2002/01/31 01:04:41 posk
  146. // *** empty log message ***
  147. //
  148. // Revision 1.11 2001/12/18 19:21:59 posk
  149. // "proton" and "antiproton" changed to "pr+" and "pr-".
  150. // Compiles on Solaris.
  151. //
  152. // Revision 1.10 2001/12/11 21:33:41 posk
  153. // Went from one to four sets of histograms for making the event plane isotropic.
  154. // StFlowEvent::PhiWeight() has changed arguments and return value.
  155. // The ptWgt saturates above 2 GeV/c.
  156. //
  157. // Revision 1.9 2001/11/10 01:08:06 posk
  158. // Moved some constants into StFlowConstants.
  159. //
  160. // Revision 1.8 2001/11/09 21:10:26 posk
  161. // Switched from CERNLIB to TMath. Little q is now normalized.
  162. //
  163. // Revision 1.7 2001/11/02 04:49:52 aihong
  164. // add func. for cumulant maker
  165. //
  166. // Revision 1.6 2001/05/22 20:17:09 posk
  167. // Now can do pseudorapidity subevents.
  168. //
  169. // Revision 1.5 2000/12/12 20:22:04 posk
  170. // Put log comments at end of files.
  171. // Deleted persistent StFlowEvent (old micro DST).
  172. //
  173. // Revision 1.4 2000/12/08 17:03:38 oldi
  174. // Phi weights for both FTPCs included.
  175. //
  176. // Revision 1.1 2000/03/02 23:02:36 posk
  177. // Changed extensions from .hh and .cc to .h and .cxx .
  178. //
  179. // Revision 1.1 1999/12/15 22:01:20 posk
  180. // Added StFlowConstants.hh
  181. //
  182. //////////////////////////////////////////////////////////////////////