8#ifndef EMC_REC_PARAMETER_A_H
9#define EMC_REC_PARAMETER_A_H
30 if ( pthread_mutex_lock( &m_pthread_lock ) != 0 )
31 { std::cerr <<
"LOCK MUTEX_LOCK @ GZFSSTREAM" << std::endl; }
34 if ( pthread_mutex_unlock( &m_pthread_lock ) != 0 )
35 { std::cerr <<
"UNLOCK MUTEX_LOCK @ GZFSSTREAM" << std::endl; }
41 static pthread_mutex_t m_pthread_lock;
138 eastLogShMaxThetaPara[
n][m] = p;
141 westLogShMaxThetaPara[
n][m] = p;
145 eastLogShMaxPhiPara[
n][m] = p;
148 westLogShMaxPhiPara[
n][m] = p;
152 eastDataLogThetaPara[
n][m] = p;
155 westDataLogThetaPara[
n][m] = p;
168 barrLoglinThetaPara[
n][m] = p;
176 barrLogShMaxThetaPara[
n][m] = p;
179 barrLogShMaxPhiPara[
n][m] = p;
186 barrPosDataCorPara[ntheta][nphi] = p;
189 westPosDataCorPara[ntheta][nphi] = p;
192 eastPosDataCorPara[ntheta][nphi] = p;
196 barrPosMCCorPara[ntheta][nphi] = p;
199 westPosMCCorPara[ntheta][nphi] = p;
202 eastPosMCCorPara[ntheta][nphi] = p;
206 barrDataLogThetaPara[
n][m] = p;
213 double ECorrMC(
double eg,
double theid )
const;
214 double ErrMC(
double eg,
double theid )
const;
224 double fElectronicsNoiseLevel;
226 double fEThresholdSeed;
228 double fEThresholdCluster;
230 double fLogPosOffset;
248 double fMoliereRadius;
250 double fLateralProfile;
274 double barrLogThetaPara[66][5];
275 double barrLogPhiPara[66][5];
277 double eastLogThetaPara[18][5];
278 double westLogThetaPara[18][5];
280 double eastLogPhiPara[3][5];
281 double westLogPhiPara[3][5];
283 double barrLogShMaxThetaPara[132][5];
284 double barrLogShMaxPhiPara[132][5];
286 double eastLogShMaxThetaPara[18][5];
287 double westLogShMaxThetaPara[18][5];
289 double eastLogShMaxPhiPara[3][5];
290 double westLogShMaxPhiPara[3][5];
292 double eastDataLogThetaPara[6][5];
293 double westDataLogThetaPara[6][5];
295 double eastLinThetaPara[6][5];
296 double westLinThetaPara[6][5];
298 double eastLinPhiPara[1][5];
299 double westLinPhiPara[1][5];
301 double barrLoglinThetaPara[22][5];
302 double barrLoglinPhiPara[1][5];
304 double barrLinThetaPara[66][5];
305 double barrLinPhiPara[3][5];
307 double barrShLinThetaPara[66][5];
308 double barrShLinPhiPara[3][5];
310 double barrDataLogThetaPara[22][5];
312 double barrPosDataCorPara[44][120];
313 double westPosDataCorPara[6][100];
314 double eastPosDataCorPara[6][100];
316 double barrPosMCCorPara[44][120];
317 double westPosMCCorPara[6][100];
318 double eastPosMCCorPara[6][100];
320 std::string positionMode1;
321 std::string positionMode2;
326 TGraph2DErrors* dtErr;
void SetDigiCalib(bool digi)
void SetWestPosDataCor(double p, int nphi, int ntheta)
double LogPosOffset() const
double WestLogShMaxPhiPara(int n, int m) const
void SetWestLogShMaxPhiPara(double p, int n, int m)
double ECorr(int n) const
double BarrLogShMaxPhiPara(int n, int m) const
void SetEastLogPhiPara(double p, int n, int m)
double WestPosMCCor(int ntheta, int nphi) const
void SetBarrLoglinThetaPara(double p, int n, int m)
void SetBarrLogPhiPara(double p, int n, int m)
void SetWestLogThetaPara(double p, int n, int m)
double BarrPosMCCor(int ntheta, int nphi) const
void SetWestLinThetaPara(double p, int n, int m)
void SetPositionMode(std::vector< std::string > &mode)
void SetBarrLinThetaPara(double p, int n, int m)
double ECorrMC(double eg, double theid) const
double EastDataLogThetaPara(int n, int m) const
double EastLogShMaxPhiPara(int n, int m) const
double EastPosMCCor(int ntheta, int nphi) const
void SetTimeMin(double min)
void SetEastLogThetaPara(double p, int n, int m)
double WestDataLogThetaPara(int n, int m) const
double EastLinThetaPara(int n, int m) const
double EastPosDataCor(int ntheta, int nphi) const
void SetBarrShLinPhiPara(double p, int n, int m)
double EastLinPhiPara(int n, int m) const
void SetBarrLoglinPhiPara(double p, int n, int m)
double EThresholdCluster() const
void SetBarrPosMCCor(double p, int nphi, int ntheta)
double EThresholdSeed() const
void SetBarrLogThetaPara(double p, int n, int m)
double WestPosDataCor(int ntheta, int nphi) const
void SetBarrPosDataCor(double p, int nphi, int ntheta)
double BarrLogPhiPara(int n, int m) const
double BarrDataLogThetaPara(int n, int m) const
double HitNb(int n) const
double EastLogShMaxThetaPara(int n, int m) const
void SetBarrLogShMaxThetaPara(double p, int n, int m)
double ElectronicsNoiseLevel() const
double E25min(int n) const
double BarrShLinPhiPara(int n, int m) const
void SetWestDataLogThetaPara(double p, int n, int m)
void SetEastDataLogThetaPara(double p, int n, int m)
double LateralProfile() const
double E25max(int n) const
double MethodMode() const
void SetWestLogShMaxThetaPara(double p, int n, int m)
void SetPosCorr(double en)
std::string PositionMode2() const
double SigTheta(int n) const
void SetEastLogShMaxThetaPara(double p, int n, int m)
void SetBarrLinPhiPara(double p, int n, int m)
void SetEastPosMCCor(double p, int nphi, int ntheta)
void SetBarrLogShMaxPhiPara(double p, int n, int m)
void SetEastPosDataCor(double p, int nphi, int ntheta)
void SetPeak(double e, int n)
void SetWestLinPhiPara(double p, int n, int m)
void SetElecSaturation(int IO)
double WestLogShMaxThetaPara(int n, int m) const
std::string PositionMode1() const
void SetTimeMax(double max)
double WestLogThetaPara(int n, int m) const
void SetDataMode(double en)
void SetEastLogShMaxPhiPara(double p, int n, int m)
double ElecBias(int n) const
double BarrShLinThetaPara(int n, int m) const
void SetBarrDataLogThetaPara(double p, int n, int m)
int ElecSaturation() const
double BarrPosDataCor(int ntheta, int nphi) const
double BarrLogThetaPara(int n, int m) const
void SetEastLinThetaPara(double p, int n, int m)
static EmcRecParameter & GetInstance()
double BarrLoglinThetaPara(int n, int m) const
double WestLinThetaPara(int n, int m) const
double MoliereRadius() const
void SetBarrShLinThetaPara(double p, int n, int m)
double WestLogPhiPara(int n, int m) const
double BarrLinPhiPara(int n, int m) const
void SetEastLinPhiPara(double p, int n, int m)
double BarrLinThetaPara(int n, int m) const
double EastLogPhiPara(int n, int m) const
double EastLogThetaPara(int n, int m) const
void SetWestPosMCCor(double p, int nphi, int ntheta)
double BarrLoglinPhiPara(int n, int m) const
double WestLinPhiPara(int n, int m) const
void SetMethodMode(double en)
double SmCut(int n) const
void SetWestLogPhiPara(double p, int n, int m)
double SigPhi(int n) const
double BarrLogShMaxThetaPara(int n, int m) const
double ErrMC(double eg, double theid) const