00001 00002 // 00003 // $Id: StFlowConstants.h,v 1.28 2010/03/08 16:52:49 posk Exp $ 00004 // 00005 // Author: Art Poskanzer and Raimond Snellings 00006 // FTPC added by Markus Oldenburg, MPI, Dec 2000 00007 // Cumulants added by Aihong Tang, KSU, Nov 2001 00008 // 00010 // 00011 // Description: constants for the flow makers 00012 // 00014 00015 #ifndef StFlowConstants_h 00016 #define StFlowConstants_h 00017 #include "Rtypes.h" 00018 00019 class Flow{ 00020 00021 public: 00022 00023 enum { 00024 nHars = 4, // 4 00025 nSels = 2, 00026 nSubs = 2, 00027 nTheta = 5, // 5 LYZ 00028 nTheta1 = 5, // 5 LYZ 00029 nRBins = 150, // LYZ 00030 nPhiBins = 120, 00031 nPhiBinsFtpc = 120, 00032 nEtaBins = 90, // 90 00033 nEtaBinsTpcOnly = 30, 00034 nPtBins = 40, 00035 nPtBinsPart = 60, 00036 nCumulIntegOrders = 3, // Cumu 00037 nCumulInteg_qMax = 8, // Cumu 00038 nCumulDiffOrders = 2, // Cumu 00039 nCumulDiff_qMax = 8, // Cumu 00040 nCumulMixHar_pMax = 8, // for directed flow. Eq.(29) in Borghini v1 paper 00041 nCumulMixHar_qMax = 4, // for directed flow 00042 nCents = 9, 00043 zdcsmd_nPsiBins = 64, // ZDCSMD 00044 TERMS = 10, // DirCumu correlation 00045 TYPES = 2, // differential or integrated 00046 PHASES = 2, // cos or sin 00047 SPECIES = 1, // number of different particles 00048 PTBINS = 62, // DirCumu 00049 MAXMULT = 3000 // DirCumu maximum multiplicity of an event 00050 }; 00051 00052 typedef Double_t PhiWgt_t[nSels][2][nPhiBins]; // only odd and even harmonics 00053 typedef Double_t PhiWgtFtpc_t[nSels][2][nPhiBinsFtpc]; 00054 typedef Double_t ZDCSMD_PsiWgt_t[64]; 00055 typedef Double_t ReCent_t[nSels][nHars][4]; // 3 TPCs for LYZ, 4 for ana 00056 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 00057 //typedef Double_t ReCentering_shifts_t[2][9][3][2]; 00058 typedef Double_t PhiWgtFtpc_2D_t[6][6][120]; 00059 00060 static Float_t etaMin; 00061 static Float_t etaMax; 00062 static Float_t etaMinTpcOnly; 00063 static Float_t etaMaxTpcOnly; 00064 static Float_t etaSymZSlopeTpc; 00065 static Float_t etaSymZSlopeFtpc; 00066 static Float_t rMax; // LYZ 00067 static Float_t j01; // LYZ 00068 static Float_t epsV1;// LYZ 00069 static Float_t ptMin; 00070 static Float_t ptMax; 00071 static Float_t ptMaxPart; 00072 00073 static Int_t cent200Full[nCents]; 00074 static Int_t cent200Half[nCents]; 00075 static Int_t cent200Year4Full[nCents]; 00076 static Int_t cent200Year4Half[nCents]; 00077 static Int_t cent200Year7[nCents]; 00078 static Int_t cent130[nCents]; 00079 static Int_t cent62[nCents]; 00080 static Int_t cent22[nCents]; 00081 00082 static Double_t zdcsmd_wx0,zdcsmd_ex0,zdcsmd_wy0,zdcsmd_ey0; 00083 static Double_t zdcsmdPedstal[2][2][8]; 00084 static Double_t zdcsmdGainFac[2][2][8]; 00085 00086 ClassDef(Flow,1) // macro for rootcint 00087 }; 00088 00089 #endif 00090 00092 // 00093 // $Log: StFlowConstants.h,v $ 00094 // Revision 1.28 2010/03/08 16:52:49 posk 00095 // Added StFlowDirectCumulantMaker written by Dhevan Gangadharan. 00096 // 00097 // Revision 1.27 2009/11/24 19:23:00 posk 00098 // Added reCenter option to remove acceptance correlations instead of phiWgt. 00099 // 00100 // Revision 1.26 2009/08/04 23:00:26 posk 00101 // Reads year 7 MuDsts. 00102 // 00103 // Revision 1.25 2007/02/06 18:57:47 posk 00104 // In Lee Yang Zeros method, introduced recentering of Q vector. 00105 // Reactivated eta symmetry cut. 00106 // 00107 // Revision 1.24 2006/07/06 16:55:59 posk 00108 // Calculation of v1 for selection=2 is done with mixed harmonics. 00109 // 00110 // Revision 1.23 2006/02/22 19:22:02 posk 00111 // Additions needed for the StFlowLeeYangZerosMaker 00112 // 00113 // Revision 1.22 2005/02/08 20:57:36 psoren 00114 // trigger and centrality selections were updated for all runs after run 4 to be compatible with trigger collections. Added TriggersFound() and GetFlowTriggerBitMap() functions. 00115 // 00116 // Revision 1.21 2004/12/17 22:33:05 aihong 00117 // add in full Psi weight for ZDC SMD and fix a few bugs, done by Gang 00118 // 00119 // Revision 1.20 2004/12/17 15:50:08 aihong 00120 // check in v1{3} code 00121 // 00122 // Revision 1.19 2004/12/07 23:08:10 posk 00123 // Only odd and even phiWgt hists. If the old phiWgt file contains more than 00124 // two harmonics, only the first two are read. Now writes only the first two. 00125 // 00126 // Revision 1.18 2004/05/05 21:13:44 aihong 00127 // Gang's code for ZDC-SMD added 00128 // 00129 // Revision 1.17 2004/02/03 22:36:36 posk 00130 // Initialzed mPtBinsPart. 00131 // 00132 // Revision 1.16 2003/05/02 21:09:40 posk 00133 // Reduced the number of harmonics from 3 to 2. 00134 // 00135 // Revision 1.15 2003/01/10 16:41:51 oldi 00136 // Several changes to comply with FTPC tracks: 00137 // - Switch to include/exclude FTPC tracks introduced. 00138 // The same switch changes the range of the eta histograms. 00139 // - Eta symmetry plots for FTPC tracks added and separated from TPC plots. 00140 // - PhiWgts and related histograms for FTPC tracks split in FarEast, East, 00141 // West, FarWest (depending on vertex.z()). 00142 // - Psi_Diff plots for 2 different selections and the first 2 harmonics added. 00143 // - Cut to exclude mu-events with no primary vertex introduced. 00144 // (This is possible for UPC events and FTPC tracks.) 00145 // - Global DCA cut for FTPC tracks added. 00146 // - Global DCA cuts for event plane selection separated for TPC and FTPC tracks. 00147 // - Charge cut for FTPC tracks added. 00148 // 00149 // Revision 1.14 2002/05/23 18:54:09 posk 00150 // Moved centrality cuts into StFlowConstants 00151 // 00152 // Revision 1.13 2002/03/12 02:33:18 posk 00153 // Now makes pico files in SL02c. 00154 // 00155 // Revision 1.12 2002/01/31 01:04:41 posk 00156 // *** empty log message *** 00157 // 00158 // Revision 1.11 2001/12/18 19:21:59 posk 00159 // "proton" and "antiproton" changed to "pr+" and "pr-". 00160 // Compiles on Solaris. 00161 // 00162 // Revision 1.10 2001/12/11 21:33:41 posk 00163 // Went from one to four sets of histograms for making the event plane isotropic. 00164 // StFlowEvent::PhiWeight() has changed arguments and return value. 00165 // The ptWgt saturates above 2 GeV/c. 00166 // 00167 // Revision 1.9 2001/11/10 01:08:06 posk 00168 // Moved some constants into StFlowConstants. 00169 // 00170 // Revision 1.8 2001/11/09 21:10:26 posk 00171 // Switched from CERNLIB to TMath. Little q is now normalized. 00172 // 00173 // Revision 1.7 2001/11/02 04:49:52 aihong 00174 // add func. for cumulant maker 00175 // 00176 // Revision 1.6 2001/05/22 20:17:09 posk 00177 // Now can do pseudorapidity subevents. 00178 // 00179 // Revision 1.5 2000/12/12 20:22:04 posk 00180 // Put log comments at end of files. 00181 // Deleted persistent StFlowEvent (old micro DST). 00182 // 00183 // Revision 1.4 2000/12/08 17:03:38 oldi 00184 // Phi weights for both FTPCs included. 00185 // 00186 // Revision 1.1 2000/03/02 23:02:36 posk 00187 // Changed extensions from .hh and .cc to .h and .cxx . 00188 // 00189 // Revision 1.1 1999/12/15 22:01:20 posk 00190 // Added StFlowConstants.hh 00191 //
1.5.9