StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEStructSigmas.h
1 #define AUAUDATA
2 
3 #ifndef __STESTRUCTSIGMAS__H
4 #define __STESTRUCTSIGMAS__H
5 
6 #include <TNtuple.h>
7 #include "multStruct.h"
8 #include "../AnalysisMaker/StEStructAnalysis.h"
9 #include <stdlib.h>
10 #include <stdio.h>
11 
12 class TFile;
13 class TH1F;
14 class TH1D;
15 class TH2F;
16 class TH2D;
17 class TNtuple;
18 
20 
21  protected:
22  public:
23 
24  int mNPhiBins, mPhiSumMode;
25  int mNEtaBins, mEtaSumMode;
26  float mEtaMin, mEtaMax;
27  char *mKey;
28  char *mpreFix;
29 
30  TH2D *NSig;
31  TH2D *NDel;
32  TH2D *NPlus;
33  TH2D *NMinus;
34  TH2D *NPlusMinus;
35  TH2D *NSigCorrection;
36  TH2D *NDelCorrection;
37  TH2D *NPlusCorrection;
38  TH2D *NMinusCorrection;
39  TH2D *NPlusMinusCorrection;
40 
41  // Have different measures of pt fluctuations.
42  // First is based on \Delta\sigma^2.
43  // Second is based on \Phi_{p_\perp}.
44  // Third is based on \sigma^2_{dynamic}.
45  TH2D *PSig[4];
46  TH2D *PDel[3];
47  TH2D *PPlus[3];
48  TH2D *PMinus[3];
49  TH2D *PPlusMinus[3];
50  TH2D *PNSig[3];
51  TH2D *PNDel[3];
52  TH2D *PNPlus[3];
53  TH2D *PNMinus[3];
54  TH2D *PNPlusMinus[3];
55  TH2D *PNMinusPlus[3];
56 
57  TH2D *SPtHat;
58  TH2D *PPtHat;
59  TH2D *MPtHat;
60  TH2D *sigSPtHat;
61  TH2D *sigPPtHat;
62  TH2D *sigMPtHat;
63 
64  TH2D *NSigErrors;
65  TH2D *NDelErrors;
66  TH2D *NPlusErrors;
67  TH2D *NMinusErrors;
68  TH2D *NPlusMinusErrors;
69  TH2D *PSigErrors;
70  TH2D *PDelErrors;
71  TH2D *PPlusErrors;
72  TH2D *PMinusErrors;
73  TH2D *PPlusMinusErrors;
74  TH2D *PNSigErrors;
75  TH2D *PNDelErrors;
76  TH2D *PNPlusErrors;
77  TH2D *PNMinusErrors;
78  TH2D *PNPlusMinusErrors;
79  TH2D *PNMinusPlusErrors;
80 
81  TH2D *sigSPtHatErrors;
82  TH2D *sigPPtHatErrors;
83  TH2D *sigMPtHatErrors;
84 
85  TNtuple *binTuple;
86  TNtuple *scaleTuple;
87  TNtuple *sumTuple;
88 
89  void initHistograms();
90  void deleteHistograms();
91 
92  StEStructSigmas( char *key,
93  int nPhi, int nEta,
94  float EtaMin, float EtaMax,
95  const char *preFix = "" );
96  virtual ~StEStructSigmas();
97 
98  void fillHistograms();
99  void NHistograms();
100  void PHistograms();
101  void PNHistograms();
102 
103  void writeHistograms();
104 
105  int getEtaStart( int iEta, int dEta );
106  int getPhiStart( int iPhi, int dPhi );
107  int getNumEtaBins( int dEta );
108  int getNumPhiBins( int dPhi );
109 
110  ClassDef(StEStructSigmas,1)
111 };
112 
114  float type;
115  float phiScale;
116  float etaScale;
117  float phi;
118  float eta;
119  float sig2;
120  float sig2_1;
121  float sig2_2;
122  float nbar;
123  float events;
124  float f3;
125 };
127  float type;
128  float phiScale;
129  float etaScale;
130  float A;
131  float B;
132  float nBins;
133  float f3;
134  float f3sq;
135  float sig2;
136  float sig2f3;
137 };
139  float type;
140  float B;
141  float nBins;
142 };
143 
144 
145 #endif
146 
147