24 #include "StFlowConstants.h"
25 #include "StThreeVectorF.hh"
26 #include "StPhysicalHelixD.hh"
54 Int_t InitRun(
int runumber);
58 void PicoEventWrite(Bool_t flag=kFALSE);
59 void PicoEventRead(Bool_t flag=kFALSE);
60 void MuEventRead(Bool_t flag=kFALSE);
61 void SetPicoEventDir(
const Char_t* name=
"./");
62 void SetPicoEventFileName(
StFileI* fileList);
63 void SetMuEventDir(
const Char_t* name=
"./");
64 void SetMuEventFileName(
StFileI* fileList);
65 void SetReCentCalc(Bool_t flag=kTRUE);
66 void SetPhiWgtCalc(Bool_t flag=kTRUE);
73 virtual const char *GetCVS()
const {
static const char cvs[]=
74 "Tag $Name: $ $Id: StFlowMaker.h,v 1.56 2014/08/06 11:43:15 jeromel Exp $ built " __DATE__
" " __TIME__ ;
79 Flow::PhiWgt_t mPhiWgt;
99 TString mEventFileName;
100 TString mEventFileNameOld;
101 Char_t mPicoEventDir[64];
103 Char_t mMuEventDir[64];
105 Bool_t mPicoEventWrite;
106 Bool_t mPicoEventRead;
110 UInt_t mEventCounter;
111 Bool_t mFirstLastPhiWgt;
113 Int_t ReadPhiWgtFile();
114 Int_t ReadZDCSMDFile();
115 Int_t ReadReCentFile();
116 Int_t InitPicoEventWrite();
117 Int_t InitPicoEventRead();
118 Int_t InitMuEventRead();
119 Int_t InitEventRead();
120 void FillFlowEvent();
121 void FillPicoEvent();
124 Bool_t FillFromMuDST();
125 void CloseEventRead();
126 void PrintSubeventMults();
141 TObjArray* pMuTracks;
142 TObjArray* pMuGlobalTracks;
152 inline StFlowEvent* StFlowMaker::FlowEventPointer()
const {
return pFlowEvent; }
154 inline void StFlowMaker::PicoEventWrite(Bool_t flag) {
155 mPicoEventWrite=flag;
156 if (flag) mPicoEventRead=kFALSE; }
158 inline void StFlowMaker::PicoEventRead(Bool_t flag) {
160 if (flag) mPicoEventWrite=kFALSE; }
162 inline void StFlowMaker::MuEventRead(Bool_t flag) {
165 inline void StFlowMaker::SetPicoEventDir(
const Char_t* name) {
166 strncpy(mPicoEventDir, name, 63); mPicoEventDir[63] =
'\0'; }
168 inline void StFlowMaker::SetPicoEventFileName(
StFileI* fileList) {
169 pPicoFileList = fileList; }
171 inline void StFlowMaker::SetMuEventDir(
const Char_t* name) {
172 strncpy(mMuEventDir, name, 63); mMuEventDir[63] =
'\0'; }
174 inline void StFlowMaker::SetMuEventFileName(
StFileI* fileList) {
175 pMuFileList = fileList; }
178 return pFlowSelect; }
180 inline void StFlowMaker::SetReCentCalc(Bool_t flag) {
183 inline Bool_t StFlowMaker::ReCentCalc() {
184 return mReCentCalc; }
186 inline void StFlowMaker::SetPhiWgtCalc(Bool_t flag) {
189 inline Bool_t StFlowMaker::PhiWgtCalc() {
190 return mPhiWgtCalc; }
Flow::ReCent_t mReCentY
Recentering parameters.
Flow::PhiWgtFtpc_t mPhiWgtFtpcFarWest
To make event plane isotropic.
Flow::ReCent_t mReCentX
ZDCSMD pedestal.
Flow::PhiWgt_t mPhiWgtWest
To make event plane isotropic.
Flow::PhiWgt_t mPhiWgtEast
To make event plane isotropic.
Double_t mZDCSMDPed[2][2][8]
ZDCSMD Beam Center.
Flow::PhiWgtFtpc_t mPhiWgtFtpcFarEast
To make event plane isotropic.
Flow::ZDCSMD_PsiWgt_t mZDCSMD_PsiWgtWest
To make event plane isotropic.
Double_t mZDCSMDCenterEx
ZDCSMD full Psi.
Flow::PhiWgtFtpc_t mPhiWgtFtpcEast
To make event plane isotropic.
Flow::ZDCSMD_PsiWgt_t mZDCSMD_PsiWgtEast
ZDCSMD west Psi.
Double_t mZDCSMDCenterWx
ZDCSMD Beam Center.
Flow::PhiWgt_t mPhiWgtFarEast
To make event plane isotropic.
Flow::PhiWgt_t mPhiWgtFarWest
To make event plane isotropic.
Flow::PhiWgtFtpc_t mPhiWgtFtpcWest
To make event plane isotropic.
Flow::ZDCSMD_PsiWgt_t mZDCSMD_PsiWgtFull
ZDCSMD east Psi.