EmcRecParameter Class Reference

#include <EmcRecParameter.h>

List of all members.

Public Member Functions

double ElectronicsNoiseLevel () const
double EThresholdSeed () const
double EThresholdCluster () const
double LogPosOffset () const
double TimeMin () const
double TimeMax () const
double MethodMode () const
double PosCorr () const
double DataMode () const
int ElecSaturation () const
double MoliereRadius () const
double LateralProfile () const
double ECorr (int n) const
double SigE (int n) const
double SigTheta (int n) const
double SigPhi (int n) const
double HitNb (int n) const
double ElecBias (int n) const
double SmCut (int n) const
double Peak (int n) const
double EastLogThetaPara (int n, int m) const
double WestLogThetaPara (int n, int m) const
double EastLogPhiPara (int n, int m) const
double WestLogPhiPara (int n, int m) const
double EastDataLogThetaPara (int n, int m) const
double WestDataLogThetaPara (int n, int m) const
double EastLinThetaPara (int n, int m) const
double WestLinThetaPara (int n, int m) const
double EastLinPhiPara (int n, int m) const
double WestLinPhiPara (int n, int m) const
double BarrPosDataCor (int ntheta, int nphi) const
double WestPosDataCor (int ntheta, int nphi) const
double EastPosDataCor (int ntheta, int nphi) const
double BarrPosMCCor (int ntheta, int nphi) const
double WestPosMCCor (int ntheta, int nphi) const
double EastPosMCCor (int ntheta, int nphi) const
double BarrLogThetaPara (int n, int m) const
double BarrLogPhiPara (int n, int m) const
double BarrLoglinThetaPara (int n, int m) const
double BarrLoglinPhiPara (int n, int m) const
double BarrLinThetaPara (int n, int m) const
double BarrLinPhiPara (int n, int m) const
double BarrShLogThetaPara (int n, int m) const
double BarrShLogPhiPara (int n, int m) const
double BarrShLinThetaPara (int n, int m) const
double BarrShLinPhiPara (int n, int m) const
double BarrDataLogThetaPara (int n, int m) const
bool DigiCalib () const
void SetDigiCalib (bool digi)
void SetTimeMin (double min)
void SetTimeMax (double max)
void SetMethodMode (double en)
void SetPosCorr (double en)
void SetDataMode (double en)
void SetElecSaturation (int IO)
void SetPeak (double e, int n)
void SetEastLogThetaPara (double p, int n, int m)
void SetWestLogThetaPara (double p, int n, int m)
void SetEastLogPhiPara (double p, int n, int m)
void SetWestLogPhiPara (double p, int n, int m)
void SetEastDataLogThetaPara (double p, int n, int m)
void SetWestDataLogThetaPara (double p, int n, int m)
void SetEastLinThetaPara (double p, int n, int m)
void SetWestLinThetaPara (double p, int n, int m)
void SetEastLinPhiPara (double p, int n, int m)
void SetWestLinPhiPara (double p, int n, int m)
void SetBarrLogThetaPara (double p, int n, int m)
void SetBarrLogPhiPara (double p, int n, int m)
void SetBarrLoglinThetaPara (double p, int n, int m)
void SetBarrLoglinPhiPara (double p, int n, int m)
void SetBarrLinThetaPara (double p, int n, int m)
void SetBarrLinPhiPara (double p, int n, int m)
void SetBarrShLogThetaPara (double p, int n, int m)
void SetBarrShLogPhiPara (double p, int n, int m)
void SetBarrShLinThetaPara (double p, int n, int m)
void SetBarrShLinPhiPara (double p, int n, int m)
void SetBarrPosDataCor (double p, int nphi, int ntheta)
void SetWestPosDataCor (double p, int nphi, int ntheta)
void SetEastPosDataCor (double p, int nphi, int ntheta)
void SetBarrPosMCCor (double p, int nphi, int ntheta)
void SetWestPosMCCor (double p, int nphi, int ntheta)
void SetEastPosMCCor (double p, int nphi, int ntheta)
void SetBarrDataLogThetaPara (double p, int n, int m)
std::string PositionMode1 () const
std::string PositionMode2 () const
void SetPositionMode (std::vector< std::string > &mode)
double ECorrMC (double eg, double theid) const
double ErrMC (double eg, double theid) const
double E25min (int n) const
double E25max (int n) const

Static Public Member Functions

static EmcRecParameterGetInstance ()
static bool Exist ()
static void Kill ()
static void lock ()
static void unlock ()

Public Attributes

double e25min [28]
double e25max [28]

Private Member Functions

 EmcRecParameter ()
 ~EmcRecParameter ()

Private Attributes

double fElectronicsNoiseLevel
double fEThresholdSeed
double fEThresholdCluster
double fLogPosOffset
double fTimeMin
double fTimeMax
double fMethodMode
int fElecSaturation
double fPosCorr
double fDataMode
double fMoliereRadius
double fLateralProfile
double eCorr [4]
double sigE [3]
double sigTheta [2]
double sigPhi [2]
double hitNb [3]
double elecBias [5]
double smCut [4]
bool digiCalib
double peak [56]
double barrLogThetaPara [66][5]
double barrLogPhiPara [66][5]
double eastLogThetaPara [18][5]
double westLogThetaPara [18][5]
double eastLogPhiPara [3][5]
double westLogPhiPara [3][5]
double eastDataLogThetaPara [6][5]
double westDataLogThetaPara [6][5]
double eastLinThetaPara [6][5]
double westLinThetaPara [6][5]
double eastLinPhiPara [1][5]
double westLinPhiPara [1][5]
double barrLoglinThetaPara [22][5]
double barrLoglinPhiPara [1][5]
double barrLinThetaPara [66][5]
double barrLinPhiPara [3][5]
double barrShLogThetaPara [66][5]
double barrShLogPhiPara [3][5]
double barrShLinThetaPara [66][5]
double barrShLinPhiPara [3][5]
double barrDataLogThetaPara [22][5]
double barrPosDataCorPara [44][120]
double westPosDataCorPara [6][100]
double eastPosDataCorPara [6][100]
double barrPosMCCorPara [44][120]
double westPosMCCorPara [6][100]
double eastPosMCCorPara [6][100]
std::string positionMode1
std::string positionMode2
TGraph2DErrors * dt
TGraph2DErrors * dtErr

Static Private Attributes

static EmcRecParameterfpInstance = 0
static pthread_mutex_t m_pthread_lock = PTHREAD_MUTEX_INITIALIZER


Detailed Description

Definition at line 18 of file EmcRecParameter.h.


Constructor & Destructor Documentation

EmcRecParameter::EmcRecParameter (  )  [private]

Definition at line 20 of file EmcRecParameter.cxx.

References barrDataLogThetaPara, barrLinPhiPara, barrLinThetaPara, barrLoglinPhiPara, barrLoglinThetaPara, barrLogPhiPara, barrLogThetaPara, barrPosDataCorPara, barrPosMCCorPara, barrShLinPhiPara, barrShLinThetaPara, barrShLogPhiPara, barrShLogThetaPara, dt, dtErr, e25max, e25min, eastDataLogThetaPara, eastLinPhiPara, eastLinThetaPara, eastLogPhiPara, eastLogThetaPara, eastPosDataCorPara, eastPosMCCorPara, eCorr, elecBias, energy, fElectronicsNoiseLevel, fEThresholdCluster, fEThresholdSeed, fLateralProfile, fLogPosOffset, fMoliereRadius, hitNb, genRecEmupikp::i, ganga-rec::j, peak, sigE, sigPhi, sigTheta, smCut, deljobs::string, subSeperate::temp, westDataLogThetaPara, westLinPhiPara, westLinThetaPara, westLogPhiPara, westLogThetaPara, westPosDataCorPara, and westPosMCCorPara.

00021 {
00022   string paraPath = getenv("EMCRECROOT");
00023   if(paraPath==""){} //cout<<"EmcRec environment not set!";
00024   string paraPath1(paraPath);
00025   string paraPath2(paraPath);
00026   string paraPath3(paraPath);
00027   string paraPath4(paraPath);
00028   string paraPath5(paraPath);
00029   string paraPath6(paraPath);
00030   string paraPath7(paraPath);
00031   string paraPath8(paraPath);
00032   string paraPath9(paraPath);
00033   string paraPath10(paraPath);
00034   string paraPath11(paraPath);
00035   string paraPath12(paraPath);
00036   string paraPath13(paraPath);
00037   string paraPath14(paraPath);
00038   string paraPath15(paraPath);
00039   string paraPath16(paraPath);
00040   string paraPath17(paraPath);
00041   string paraPath18(paraPath);
00042   string paraPath19(paraPath);
00043   string paraPath20(paraPath);
00044   string paraPath21(paraPath);
00045   string paraPath22(paraPath);
00046   string paraPath23(paraPath);
00047   string paraPath24(paraPath);
00048   string paraPath25(paraPath);
00049   string paraPath26(paraPath);
00050   string paraPath27(paraPath);
00051   string paraPath28(paraPath);
00052   string paraPath29(paraPath);
00053   paraPath += "/share/EmcRecPara.dat";
00054   //cout<<paraPath<<endl;
00055   ifstream in;
00056   in.open(paraPath.c_str());
00057   assert(in);
00058 
00059   const int maxCharOfOneLine=255;
00060   char temp[maxCharOfOneLine];
00061   int inputNo=0;
00062   while(in.peek()!=EOF) {
00063     in.getline(temp,maxCharOfOneLine);
00064     if(temp[0]=='#') continue;
00065     inputNo++;
00066     switch(inputNo) {
00067       case 1:
00068         istringstream(temp)>>fElectronicsNoiseLevel>>fEThresholdSeed>>fEThresholdCluster>>fLogPosOffset;
00069         break;
00070       case 2:
00071         istringstream(temp)>>fMoliereRadius>>fLateralProfile;
00072         break;
00073       case 3:
00074         istringstream(temp)>>eCorr[0]>>eCorr[1]>>eCorr[2]>>eCorr[3];
00075         break;
00076       case 4:
00077         istringstream(temp)>>sigE[0]>>sigE[1]>>sigE[2]
00078           >>sigTheta[0]>>sigTheta[1]>>sigPhi[0]>>sigPhi[1];
00079         break;
00080       case 5:
00081         istringstream(temp)>>hitNb[0]>>hitNb[1]>>hitNb[2];
00082         break;
00083       case 6:
00084         istringstream(temp)>>elecBias[0]>>elecBias[1]>>elecBias[2]
00085           >>elecBias[3]>>elecBias[4];
00086         break;
00087       case 7:
00088         istringstream(temp)>>smCut[0]>>smCut[1]>>smCut[2]>>smCut[3];
00089         break;
00090       default:
00091         break;
00092     }
00093   }
00094   in.close();
00095   
00096   paraPath1 += "/share/Peak1.843_10.12calib.dat";
00097   ifstream in1;
00098   in1.open(paraPath1.c_str());
00099   assert(in1);
00100   int ntheta;
00101   double sigma,sigmaerr,peakerr;
00102   for(int i=0;i<56;i++) {
00103     in1>>ntheta>>sigma>>sigmaerr>>peak[i]>>peakerr;
00104   }
00105   in1.close();
00106 
00107   // Read energy correction parameters from PhotonCor/McCor
00108   paraPath2 += "/share/evset.txt";
00109   ifstream in2;
00110   in2.open(paraPath2.c_str());
00111   assert(in2);
00112   double energy,thetaid,peak1,peakerr1,res,reserr;
00113 
00114   dt = new TGraph2DErrors();
00115   dtErr = new TGraph2DErrors();
00116   for(int i=0;i<560;i++){
00117     in2>>energy;
00118     in2>>thetaid;
00119     in2>>peak1;
00120     in2>>peakerr1;
00121     in2>>res;
00122     in2>>reserr;
00123     dt->SetPoint(i,energy,thetaid,peak1);
00124     dt->SetPointError(i,0,0,peakerr1);
00125     dtErr->SetPoint(i,energy,thetaid,res);
00126     dtErr->SetPointError(i,0,0,reserr);
00127 
00128     if(i<28) e25min[int(thetaid)]=energy;
00129     if(i>=560-28) e25max[int(thetaid)]=energy;
00130 
00131   }
00132   in2.close();
00133 
00134 //  Position correction parameters 
00135   paraPath3 += "/share/BarrLogThetaPara.dat";
00136   ifstream in3;
00137   in3.open(paraPath3.c_str());
00138   assert(in3);
00139   for(int i=0;i<66;i++){
00140     for(int j=0;j<5;j++){
00141   in3>>barrLogThetaPara[i][j];
00142   }
00143   }
00144   in3.close();
00145   
00146   paraPath4 += "/share/BarrLogPhiPara.dat";
00147   ifstream in4;
00148   in4.open(paraPath4.c_str());
00149   assert(in4);
00150   for(int i=0;i<66;i++){
00151     for(int j=0;j<5;j++){
00152   in4>>barrLogPhiPara[i][j];
00153   } 
00154   } 
00155   in4.close();
00156 
00157   paraPath5 += "/share/BarrLinThetaPara.dat";
00158   ifstream in5;
00159   in5.open(paraPath5.c_str());
00160   assert(in5);
00161   for(int i=0;i<66;i++){
00162     for(int j=0;j<5;j++){
00163   in5>>barrLinThetaPara[i][j];
00164   }
00165   }
00166   in5.close();
00167 
00168   paraPath6 += "/share/BarrLinPhiPara.dat";
00169   ifstream in6;
00170   in6.open(paraPath6.c_str());
00171   assert(in6);
00172   for(int i=0;i<3;i++){
00173     for(int j=0;j<5;j++){
00174   in6>>barrLinPhiPara[i][j];
00175   }
00176   }
00177   in6.close();
00178 
00179 
00180   paraPath7 += "/share/BarrShLogThetaPara.dat";
00181   ifstream in7;
00182   in7.open(paraPath7.c_str());
00183   assert(in7);
00184   for(int i=0;i<66;i++){
00185     for(int j=0;j<5;j++){
00186   in7>>barrShLogThetaPara[i][j];
00187   }
00188   }
00189   in7.close();
00190 
00191   paraPath8 += "/share/BarrShLogPhiPara.dat";
00192   ifstream in8;
00193   in8.open(paraPath8.c_str());
00194   assert(in8);
00195   for(int i=0;i<3;i++){
00196     for(int j=0;j<5;j++){
00197   in8>>barrShLogPhiPara[i][j];
00198   }
00199   }
00200   in8.close();
00201 
00202   paraPath9 += "/share/BarrShLinThetaPara.dat";
00203   ifstream in9;
00204   in9.open(paraPath9.c_str());
00205   assert(in9);
00206   for(int i=0;i<66;i++){
00207     for(int j=0;j<5;j++){
00208   in9>>barrShLinThetaPara[i][j];
00209   }
00210   }
00211   in9.close();
00212 
00213   paraPath10 += "/share/BarrShLinPhiPara.dat";
00214   ifstream in10;
00215   in10.open(paraPath10.c_str());
00216   assert(in10);
00217   for(int i=0;i<3;i++){
00218     for(int j=0;j<5;j++){
00219   in10>>barrShLinPhiPara[i][j];
00220   }
00221   }
00222   in10.close();
00223 
00224 
00225   paraPath11 += "/share/EastLogThetaPara.dat";
00226   ifstream in11;
00227   in11.open(paraPath11.c_str());
00228   assert(in11);
00229   for(int i=0;i<18;i++){
00230     for(int j=0;j<5;j++){
00231   in11>>eastLogThetaPara[i][j];
00232   }
00233   }
00234   in11.close();
00235 
00236   paraPath12 += "/share/WestLogThetaPara.dat";
00237   ifstream in12;
00238   in12.open(paraPath12.c_str());
00239   assert(in12);
00240   for(int i=0;i<18;i++){
00241     for(int j=0;j<5;j++){
00242   in12>>westLogThetaPara[i][j];
00243   }
00244   }
00245   in12.close();
00246 
00247   paraPath13 += "/share/EastLinThetaPara.dat";
00248   ifstream in13;
00249   in13.open(paraPath13.c_str());
00250   assert(in13);
00251   for(int i=0;i<6;i++){
00252     for(int j=0;j<5;j++){
00253   in13>>eastLinThetaPara[i][j];
00254   }
00255   }
00256   in13.close();
00257 
00258   paraPath14 += "/share/WestLinThetaPara.dat";
00259   ifstream in14;
00260   in14.open(paraPath14.c_str());
00261   assert(in14);
00262   for(int i=0;i<6;i++){
00263     for(int j=0;j<5;j++){
00264   in14>>westLinThetaPara[i][j];
00265   }
00266   }
00267   in14.close();
00268 
00269   paraPath15 += "/share/BarrDataLogThetaPara.dat";
00270   ifstream in15;
00271   in15.open(paraPath15.c_str());
00272   assert(in15);
00273   for(int i=0;i<22;i++){
00274     for(int j=0;j<5;j++){
00275   in15>>barrDataLogThetaPara[i][j];
00276   }
00277   }
00278   in15.close();
00279 
00280   paraPath16 += "/share/EastDataLogThetaPara.dat";
00281   ifstream in16;
00282   in16.open(paraPath16.c_str());
00283   assert(in16);
00284   for(int i=0;i<6;i++){
00285     for(int j=0;j<5;j++){
00286   in16>>eastDataLogThetaPara[i][j];
00287   }
00288   }
00289   in16.close();
00290 
00291   paraPath17 += "/share/WestDataLogThetaPara.dat";
00292   ifstream in17;
00293   in17.open(paraPath17.c_str());
00294   assert(in17);
00295   for(int i=0;i<6;i++){
00296     for(int j=0;j<5;j++){
00297   in17>>westDataLogThetaPara[i][j];
00298   }
00299   }
00300   in17.close();
00301 
00302 
00303   paraPath18 += "/share/EastLogPhiPara.dat";
00304   ifstream in18;
00305   in18.open(paraPath18.c_str());
00306   assert(in18);
00307   for(int i=0;i<3;i++){
00308     for(int j=0;j<5;j++){
00309   in18>>eastLogPhiPara[i][j];
00310   }
00311   }
00312   in18.close();
00313 
00314   paraPath19 += "/share/WestLogPhiPara.dat";
00315   ifstream in19;
00316   in19.open(paraPath19.c_str());
00317   assert(in19);
00318   for(int i=0;i<3;i++){
00319     for(int j=0;j<5;j++){
00320   in19>>westLogPhiPara[i][j];
00321   }
00322   }
00323   in19.close();
00324 
00325   paraPath20 += "/share/EastLinPhiPara.dat";
00326   ifstream in20;
00327   in20.open(paraPath20.c_str());
00328   assert(in20);
00329   for(int i=0;i<1;i++){
00330     for(int j=0;j<5;j++){
00331   in20>>eastLinPhiPara[i][j];
00332   }
00333   }
00334   in20.close();
00335 
00336   paraPath21 += "/share/WestLinPhiPara.dat";
00337   ifstream in21;
00338   in21.open(paraPath21.c_str());
00339   assert(in21);
00340   for(int i=0;i<1;i++){
00341     for(int j=0;j<5;j++){
00342   in21>>westLinPhiPara[i][j];
00343   }
00344   }
00345   in21.close();
00346 
00347   paraPath22 += "/share/BarrLoglinThetaPara.dat";
00348   ifstream in22;
00349   in22.open(paraPath22.c_str());
00350   assert(in22);
00351   for(int i=0;i<22;i++){
00352     for(int j=0;j<5;j++){
00353   in22>>barrLoglinThetaPara[i][j];
00354   }
00355   }
00356   in22.close();
00357 
00358   paraPath23 += "/share/BarrLoglinPhiPara.dat";
00359   ifstream in23;
00360   in23.open(paraPath23.c_str());
00361   assert(in23);
00362   for(int i=0;i<1;i++){
00363     for(int j=0;j<5;j++){
00364   in23>>barrLoglinPhiPara[i][j];
00365   }
00366   }
00367   in23.close();
00368 
00369 
00370   int ith,iph;
00371   double dth,dtherr,sig,sigerr;
00372 
00373   paraPath24 += "/share/PosCorDataBarr.conf";
00374   ifstream in24;
00375   in24.open(paraPath24.c_str());
00376   assert(in24);
00377 
00378   for(int i=0;i<5280;i++){
00379 
00380     in24>>iph>>ith>>dth>>dtherr>>sig>>sigerr;
00381     barrPosDataCorPara[ith][iph]=dth;
00382 
00383   }
00384   in24.close();
00385 
00386   paraPath25 += "/share/PosCorDataWest.conf";
00387   ifstream in25;
00388   in25.open(paraPath25.c_str());
00389   assert(in25);
00390   for(int i=0;i<480;i++){
00391 
00392     in25>>ith>>iph>>dth>>dtherr>>sig>>sigerr;
00393     westPosDataCorPara[ith][iph]=dth;
00394 
00395   }
00396   in25.close();
00397 
00398   paraPath26 += "/share/PosCorDataEast.conf";
00399   ifstream in26;
00400   in26.open(paraPath26.c_str());
00401   assert(in26);
00402   for(int i=0;i<480;i++){
00403 
00404     in26>>ith>>iph>>dth>>dtherr>>sig>>sigerr;
00405     eastPosDataCorPara[ith][iph]=dth;
00406 
00407   }
00408   in26.close();
00409 
00411   paraPath27 += "/share/PosCorMCBarr.conf";
00412   ifstream in27;
00413   in27.open(paraPath27.c_str());
00414   assert(in27);
00415 
00416   for(int i=0;i<5280;i++){
00417 
00418     in27>>iph>>ith>>dth>>dtherr>>sig>>sigerr;
00419     barrPosMCCorPara[ith][iph]=dth;
00420 
00421   }
00422   in27.close();
00423 
00424   paraPath28 += "/share/PosCorMCWest.conf";
00425   ifstream in28;
00426   in28.open(paraPath28.c_str());
00427   assert(in28);
00428   for(int i=0;i<480;i++){
00429 
00430     in28>>ith>>iph>>dth>>dtherr>>sig>>sigerr;
00431     westPosMCCorPara[ith][iph]=dth;
00432 
00433   }
00434   in28.close();
00435 
00436   paraPath29 += "/share/PosCorMCEast.conf";
00437   ifstream in29;
00438   in29.open(paraPath29.c_str());
00439   assert(in29);
00440   for(int i=0;i<480;i++){
00441 
00442     in29>>ith>>iph>>dth>>dtherr>>sig>>sigerr;
00443     eastPosMCCorPara[ith][iph]=dth;
00444 
00445   }
00446   in29.close();
00447 
00448 
00449 }

EmcRecParameter::~EmcRecParameter (  )  [private]

Definition at line 452 of file EmcRecParameter.cxx.

References dt, and dtErr.

00453 {
00454   //   cout<<"deconstructed"<<endl;
00455   delete dt;
00456   delete dtErr;
00457 }


Member Function Documentation

double EmcRecParameter::BarrDataLogThetaPara ( int  n,
int  m 
) const

Definition at line 682 of file EmcRecParameter.cxx.

References barrDataLogThetaPara.

00683 {
00684   return barrDataLogThetaPara[n][m];
00685 }

double EmcRecParameter::BarrLinPhiPara ( int  n,
int  m 
) const

Definition at line 615 of file EmcRecParameter.cxx.

References barrLinPhiPara.

Referenced by EmcRecShowerPosLin::Position().

00616 {
00617   return barrLinPhiPara[n][m];
00618 }

double EmcRecParameter::BarrLinThetaPara ( int  n,
int  m 
) const

Definition at line 610 of file EmcRecParameter.cxx.

References barrLinThetaPara.

Referenced by EmcRecShowerPosLin::Position().

00611 {
00612   return barrLinThetaPara[n][m];
00613 }

double EmcRecParameter::BarrLoglinPhiPara ( int  n,
int  m 
) const

Definition at line 603 of file EmcRecParameter.cxx.

References barrLoglinPhiPara.

Referenced by EmcRecShowerPosLoglin::Position().

00604 {
00605   return barrLoglinPhiPara[n][m];
00606 }

double EmcRecParameter::BarrLoglinThetaPara ( int  n,
int  m 
) const

Definition at line 596 of file EmcRecParameter.cxx.

References barrLoglinThetaPara.

Referenced by EmcRecShowerPosLoglin::Position().

00597 {
00598   return barrLoglinThetaPara[n][m];
00599 }

double EmcRecParameter::BarrLogPhiPara ( int  n,
int  m 
) const

Definition at line 590 of file EmcRecParameter.cxx.

References barrLogPhiPara.

Referenced by EmcRecShowerPosLog::Position().

00591 {
00592   return barrLogPhiPara[n][m];
00593 }

double EmcRecParameter::BarrLogThetaPara ( int  n,
int  m 
) const

Definition at line 583 of file EmcRecParameter.cxx.

References barrLogThetaPara.

Referenced by EmcRecShowerPosLog::Position().

00584 {
00585   return barrLogThetaPara[n][m];
00586 }

double EmcRecParameter::BarrPosDataCor ( int  ntheta,
int  nphi 
) const

Definition at line 687 of file EmcRecParameter.cxx.

References barrPosDataCorPara.

Referenced by EmcRecShowerPosLog::Position(), and EmcRecShowerShape::SecondMoment().

00688 {
00689   return barrPosDataCorPara[ntheta][nphi];
00690 }

double EmcRecParameter::BarrPosMCCor ( int  ntheta,
int  nphi 
) const

Definition at line 702 of file EmcRecParameter.cxx.

References barrPosMCCorPara.

Referenced by EmcRecShowerPosLog::Position().

00703 {
00704   return barrPosMCCorPara[ntheta][nphi];
00705 }

double EmcRecParameter::BarrShLinPhiPara ( int  n,
int  m 
) const

Definition at line 635 of file EmcRecParameter.cxx.

References barrShLinPhiPara.

Referenced by EmcRecShowerPosLinShMax::Position().

00636 {
00637   return barrShLinPhiPara[n][m];
00638 }

double EmcRecParameter::BarrShLinThetaPara ( int  n,
int  m 
) const

Definition at line 630 of file EmcRecParameter.cxx.

References barrShLinThetaPara.

Referenced by EmcRecShowerPosLinShMax::Position().

00631 {
00632   return barrShLinThetaPara[n][m];
00633 }

double EmcRecParameter::BarrShLogPhiPara ( int  n,
int  m 
) const

Definition at line 625 of file EmcRecParameter.cxx.

References barrShLogPhiPara.

Referenced by EmcRecShowerPosLogShMax::Position().

00626 {
00627   return barrShLogPhiPara[n][m];
00628 }

double EmcRecParameter::BarrShLogThetaPara ( int  n,
int  m 
) const

Definition at line 620 of file EmcRecParameter.cxx.

References barrShLogThetaPara.

Referenced by EmcRecShowerPosLogShMax::Position().

00621 {
00622   return barrShLogThetaPara[n][m];
00623 }

double EmcRecParameter::DataMode (  )  const

Definition at line 524 of file EmcRecParameter.cxx.

References fDataMode.

Referenced by EmcRecDigit2Hit::Convert(), EmcRecShowerPosLog::Position(), and EmcRecShowerShape::SecondMoment().

00525 { 
00526   return fDataMode;
00527 } 

bool EmcRecParameter::DigiCalib (  )  const [inline]

Definition at line 120 of file EmcRecParameter.h.

References digiCalib.

Referenced by EmcRecDigit2Hit::Convert().

00120 { return digiCalib; }

double EmcRecParameter::E25max ( int  n  )  const

Definition at line 775 of file EmcRecParameter.cxx.

References e25max.

Referenced by ECorrMC(), and ErrMC().

00776 {
00777   return e25max[n];
00778 }

double EmcRecParameter::E25min ( int  n  )  const

Definition at line 771 of file EmcRecParameter.cxx.

References e25min.

Referenced by ECorrMC(), and ErrMC().

00772 {
00773   return e25min[n];
00774 }

double EmcRecParameter::EastDataLogThetaPara ( int  n,
int  m 
) const

Definition at line 719 of file EmcRecParameter.cxx.

References eastDataLogThetaPara.

00720 {
00721   return eastDataLogThetaPara[n][m];
00722 } 

double EmcRecParameter::EastLinPhiPara ( int  n,
int  m 
) const

Definition at line 661 of file EmcRecParameter.cxx.

References eastLinPhiPara.

Referenced by EmcRecShowerPosLin::Position().

00662 {
00663   return eastLinPhiPara[n][m];
00664 }

double EmcRecParameter::EastLinThetaPara ( int  n,
int  m 
) const

Definition at line 672 of file EmcRecParameter.cxx.

References eastLinThetaPara.

Referenced by EmcRecShowerPosLin::Position().

00673 {
00674   return eastLinThetaPara[n][m];
00675 }

double EmcRecParameter::EastLogPhiPara ( int  n,
int  m 
) const

Definition at line 651 of file EmcRecParameter.cxx.

References eastLogPhiPara.

Referenced by EmcRecShowerPosLog::Position().

00652 {
00653   return eastLogPhiPara[n][m];
00654 }

double EmcRecParameter::EastLogThetaPara ( int  n,
int  m 
) const

Definition at line 641 of file EmcRecParameter.cxx.

References eastLogThetaPara.

Referenced by EmcRecShowerPosLog::Position().

00642 {
00643   return eastLogThetaPara[n][m];
00644 }

double EmcRecParameter::EastPosDataCor ( int  ntheta,
int  nphi 
) const

Definition at line 697 of file EmcRecParameter.cxx.

References eastPosDataCorPara.

Referenced by EmcRecShowerPosLog::Position(), and EmcRecShowerShape::SecondMoment().

00698 {
00699   return eastPosDataCorPara[ntheta][nphi];
00700 }

double EmcRecParameter::EastPosMCCor ( int  ntheta,
int  nphi 
) const

Definition at line 712 of file EmcRecParameter.cxx.

References eastPosMCCorPara.

00713 {
00714   return eastPosMCCorPara[ntheta][nphi];
00715 }

double EmcRecParameter::ECorr ( int  n  )  const

Definition at line 543 of file EmcRecParameter.cxx.

References eCorr.

Referenced by EmcRecTofMatch::ECorrection(), and EmcRecShowerEnergy::ECorrection().

00544 {
00545   return eCorr[n];
00546 }

double EmcRecParameter::ECorrMC ( double  eg,
double  theid 
) const

Definition at line 741 of file EmcRecParameter.cxx.

References dt, E25max(), and E25min().

Referenced by EmcRecShowerEnergy::Energy().

00742 {
00743   double Energy5x5=eg;
00744   if(eg<E25min(int(theid))) eg=E25min(int(theid));
00745   if(eg>E25max(int(theid))) eg=E25max(int(theid))-0.001;
00746   if(theid<=0)theid=0.001;
00747   if(theid>=27)theid=26.999;
00748   Float_t einter = eg + 0.00001;
00749   Float_t tinter = theid+0.0001;
00750   double ecor=dt->Interpolate(einter,tinter);
00751   if(!(ecor))return Energy5x5;
00752   if(ecor<0.5)return Energy5x5;
00753   double EnergyCor=Energy5x5/ecor;
00754   return EnergyCor;
00755 }

double EmcRecParameter::ElecBias ( int  n  )  const

Definition at line 568 of file EmcRecParameter.cxx.

References elecBias.

Referenced by EmcRecDigit2Hit::Convert().

00569 {
00570   return elecBias[n];
00571 }

int EmcRecParameter::ElecSaturation (  )  const

Definition at line 528 of file EmcRecParameter.cxx.

References fElecSaturation.

Referenced by EmcRecDigit2Hit::Convert().

00529 {
00530   return fElecSaturation;
00531 }

double EmcRecParameter::ElectronicsNoiseLevel (  )  const

Definition at line 483 of file EmcRecParameter.cxx.

References fElectronicsNoiseLevel.

Referenced by EmcRecDigit2Hit::Convert(), and EmcRecSplitWeighted::Split().

00484 {
00485   return fElectronicsNoiseLevel;
00486 }

double EmcRecParameter::ErrMC ( double  eg,
double  theid 
) const

Definition at line 758 of file EmcRecParameter.cxx.

References dtErr, E25max(), E25min(), and showlog::err.

Referenced by EmcRecShowerEnergy::Energy().

00759 {
00760 
00761   if(eg<E25min(int(theid))) eg=E25min(int(theid));
00762   if(eg>E25max(int(theid))) eg=E25max(int(theid))-0.001;
00763   if(theid<=0)theid=0.001;
00764   if(theid>=27)theid=26.999;
00765   Float_t einter = eg + 0.00001;
00766   Float_t tinter = theid+0.0001;
00767   double err=dtErr->Interpolate(einter,tinter);
00768   return err;
00769 }

double EmcRecParameter::EThresholdCluster (  )  const

Definition at line 493 of file EmcRecParameter.cxx.

References fEThresholdCluster.

Referenced by EmcRecHit2Cluster::Convert(), and EmcRecSplitWeighted::Split().

00494 {
00495   return fEThresholdCluster;
00496 }

double EmcRecParameter::EThresholdSeed (  )  const

Definition at line 488 of file EmcRecParameter.cxx.

References fEThresholdSeed.

Referenced by EmcRecSeedEThreshold::EmcRecSeedEThreshold().

00489 {
00490   return fEThresholdSeed;
00491 }

bool EmcRecParameter::Exist (  )  [static]

Definition at line 469 of file EmcRecParameter.cxx.

References fpInstance.

Referenced by GetInstance(), and Kill().

00470 {
00471   return fpInstance!=0;
00472 }

EmcRecParameter & EmcRecParameter::GetInstance (  )  [static]

Definition at line 461 of file EmcRecParameter.cxx.

References Exist(), and fpInstance.

Referenced by EmcRecHit2Cluster::Convert(), EmcRecDigit2Hit::Convert(), EmcRecTofMatch::ECorrection(), EmcRecShowerEnergy::ECorrection(), EmcRecShowerEnergy::ECorrTheta(), EmcRec::EmcRec(), EmcRecSeedEThreshold::EmcRecSeedEThreshold(), EmcRecSplitWeighted::EmcRecSplitWeighted(), EmcRecShowerEnergy::Energy(), EmcRec::execute(), EmcRecShowerShape::LatMoment(), EmcRecShowerPosLogShMax::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLinShMax::Position(), EmcRecShowerPosLin::Position(), EmcRecShowerShape::SecondMoment(), and EmcRecSplitWeighted::Split().

00462 {
00463   if(!Exist()) {
00464     fpInstance=new EmcRecParameter;
00465   }
00466   return *fpInstance;
00467 }

double EmcRecParameter::HitNb ( int  n  )  const

Definition at line 563 of file EmcRecParameter.cxx.

References hitNb.

Referenced by EmcRecShowerEnergy::Energy().

00564 {
00565   return hitNb[n];
00566 }

void EmcRecParameter::Kill (  )  [static]

Definition at line 474 of file EmcRecParameter.cxx.

References Exist(), and fpInstance.

Referenced by EmcRec::finalize().

00475 {
00476   if(Exist()) {
00477     delete fpInstance;
00478     fpInstance=0;
00479   }
00480 }

double EmcRecParameter::LateralProfile (  )  const

Definition at line 538 of file EmcRecParameter.cxx.

References fLateralProfile.

Referenced by EmcRecSplitWeighted::Split().

00539 {
00540   return fLateralProfile;
00541 }

static void EmcRecParameter::lock (  )  [inline, static]

Definition at line 30 of file EmcRecParameter.h.

References m_pthread_lock.

Referenced by EmcRec::EmcRec().

00030                       {
00031       if(pthread_mutex_lock(&m_pthread_lock) != 0){
00032         std::cerr << "LOCK MUTEX_LOCK @ GZFSSTREAM" << std::endl;
00033       }
00034     };

double EmcRecParameter::LogPosOffset (  )  const

Definition at line 498 of file EmcRecParameter.cxx.

References fLogPosOffset.

Referenced by EmcRecShowerPosLogShMax::Position(), and EmcRecShowerPosLog::Position().

00499 {
00500   return fLogPosOffset;
00501 }

double EmcRecParameter::MethodMode (  )  const

Definition at line 514 of file EmcRecParameter.cxx.

References fMethodMode.

Referenced by EmcRecShowerPosLog::Position(), and EmcRecShowerPosLin::Position().

00515 {
00516   return fMethodMode;
00517 }

double EmcRecParameter::MoliereRadius (  )  const

Definition at line 533 of file EmcRecParameter.cxx.

References fMoliereRadius.

Referenced by EmcRecSplitWeighted::Split().

00534 {
00535   return fMoliereRadius;
00536 }

double EmcRecParameter::Peak ( int  n  )  const

Definition at line 578 of file EmcRecParameter.cxx.

References peak.

Referenced by EmcRecShowerEnergy::ECorrTheta().

00579 {
00580   return peak[n];
00581 }

double EmcRecParameter::PosCorr (  )  const

Definition at line 519 of file EmcRecParameter.cxx.

References fPosCorr.

Referenced by EmcRecShowerPosLogShMax::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLinShMax::Position(), and EmcRecShowerPosLin::Position().

00520 { 
00521   return fPosCorr;
00522 }

std::string EmcRecParameter::PositionMode1 (  )  const [inline]

Definition at line 178 of file EmcRecParameter.h.

References positionMode1.

Referenced by EmcRecSplitWeighted::EmcRecSplitWeighted().

00178 { return positionMode1; }

std::string EmcRecParameter::PositionMode2 (  )  const [inline]

Definition at line 179 of file EmcRecParameter.h.

References positionMode2.

Referenced by EmcRecShowerPosLogShMax::Position(), EmcRecShowerPosLoglin::Position(), and EmcRecShowerPosLog::Position().

00179 { return positionMode2; }

void EmcRecParameter::SetBarrDataLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 176 of file EmcRecParameter.h.

References barrDataLogThetaPara.

00176 {barrDataLogThetaPara[n][m]=p; }

void EmcRecParameter::SetBarrLinPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 160 of file EmcRecParameter.h.

References barrLinPhiPara.

00160 { barrLinPhiPara[n][m]=p; }

void EmcRecParameter::SetBarrLinThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 159 of file EmcRecParameter.h.

References barrLinThetaPara.

00159 { barrLinThetaPara[n][m]=p; }

void EmcRecParameter::SetBarrLoglinPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 157 of file EmcRecParameter.h.

References barrLoglinPhiPara.

00157 { barrLoglinPhiPara[n][m]=p; }

void EmcRecParameter::SetBarrLoglinThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 156 of file EmcRecParameter.h.

References barrLoglinThetaPara.

00156 {barrLoglinThetaPara[n][m]=p; }

void EmcRecParameter::SetBarrLogPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 154 of file EmcRecParameter.h.

References barrLogPhiPara.

00154 { barrLogPhiPara[n][m]=p; }

void EmcRecParameter::SetBarrLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 153 of file EmcRecParameter.h.

References barrLogThetaPara.

00153 {barrLogThetaPara[n][m]=p; }

void EmcRecParameter::SetBarrPosDataCor ( double  p,
int  nphi,
int  ntheta 
) [inline]

Definition at line 168 of file EmcRecParameter.h.

References barrPosDataCorPara.

00168 {barrPosDataCorPara[ntheta][nphi]=p; }

void EmcRecParameter::SetBarrPosMCCor ( double  p,
int  nphi,
int  ntheta 
) [inline]

Definition at line 172 of file EmcRecParameter.h.

References barrPosMCCorPara.

00172 {barrPosMCCorPara[ntheta][nphi]=p; }

void EmcRecParameter::SetBarrShLinPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 166 of file EmcRecParameter.h.

References barrShLinPhiPara.

00166 { barrShLinPhiPara[n][m]=p; }

void EmcRecParameter::SetBarrShLinThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 165 of file EmcRecParameter.h.

References barrShLinThetaPara.

00165 { barrShLinThetaPara[n][m]=p; }

void EmcRecParameter::SetBarrShLogPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 163 of file EmcRecParameter.h.

References barrShLogPhiPara.

00163 { barrShLogPhiPara[n][m]=p; }

void EmcRecParameter::SetBarrShLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 162 of file EmcRecParameter.h.

References barrShLogThetaPara.

00162 { barrShLogThetaPara[n][m]=p; }

void EmcRecParameter::SetDataMode ( double  en  )  [inline]

Definition at line 128 of file EmcRecParameter.h.

References fDataMode.

Referenced by EmcRec::execute().

00128 { fDataMode=en; }    

void EmcRecParameter::SetDigiCalib ( bool  digi  )  [inline]

Definition at line 121 of file EmcRecParameter.h.

References digiCalib.

Referenced by EmcRec::EmcRec().

00121 { digiCalib=digi; }

void EmcRecParameter::SetEastDataLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 142 of file EmcRecParameter.h.

References eastDataLogThetaPara.

00142 { eastDataLogThetaPara[n][m]=p; }

void EmcRecParameter::SetEastLinPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 149 of file EmcRecParameter.h.

References eastLinPhiPara.

00149 { eastLinPhiPara[n][m]=p; }

void EmcRecParameter::SetEastLinThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 146 of file EmcRecParameter.h.

References eastLinThetaPara.

00146 { eastLinThetaPara[n][m]=p; }

void EmcRecParameter::SetEastLogPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 139 of file EmcRecParameter.h.

References eastLogPhiPara.

00139 { eastLogPhiPara[n][m]=p; }

void EmcRecParameter::SetEastLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 136 of file EmcRecParameter.h.

References eastLogThetaPara.

00136 { eastLogThetaPara[n][m]=p; }

void EmcRecParameter::SetEastPosDataCor ( double  p,
int  nphi,
int  ntheta 
) [inline]

Definition at line 170 of file EmcRecParameter.h.

References eastPosDataCorPara.

00170 {eastPosDataCorPara[ntheta][nphi]=p; }

void EmcRecParameter::SetEastPosMCCor ( double  p,
int  nphi,
int  ntheta 
) [inline]

Definition at line 174 of file EmcRecParameter.h.

References eastPosMCCorPara.

00174 {eastPosMCCorPara[ntheta][nphi]=p; }

void EmcRecParameter::SetElecSaturation ( int  IO  )  [inline]

Definition at line 130 of file EmcRecParameter.h.

References fElecSaturation.

Referenced by EmcRec::EmcRec().

00130 { fElecSaturation=IO;}

void EmcRecParameter::SetMethodMode ( double  en  )  [inline]

Definition at line 126 of file EmcRecParameter.h.

References fMethodMode.

Referenced by EmcRec::EmcRec().

00126 { fMethodMode=en; }

void EmcRecParameter::SetPeak ( double  e,
int  n 
) [inline]

Definition at line 134 of file EmcRecParameter.h.

References peak.

00134 { peak[n]=e; }

void EmcRecParameter::SetPosCorr ( double  en  )  [inline]

Definition at line 127 of file EmcRecParameter.h.

References fPosCorr.

Referenced by EmcRec::EmcRec().

00127 { fPosCorr=en; }

void EmcRecParameter::SetPositionMode ( std::vector< std::string > &  mode  ) 

Definition at line 732 of file EmcRecParameter.cxx.

References positionMode1, and positionMode2.

Referenced by EmcRec::EmcRec().

00733 {
00734   if(mode.size()==2) {
00735     positionMode1=mode[0];
00736     positionMode2=mode[1];
00737   }
00738 }

void EmcRecParameter::SetTimeMax ( double  max  )  [inline]

Definition at line 124 of file EmcRecParameter.h.

References fTimeMax.

Referenced by EmcRec::EmcRec().

00124 { fTimeMax=max; }

void EmcRecParameter::SetTimeMin ( double  min  )  [inline]

Definition at line 123 of file EmcRecParameter.h.

References fTimeMin.

Referenced by EmcRec::EmcRec().

00123 { fTimeMin=min; }

void EmcRecParameter::SetWestDataLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 143 of file EmcRecParameter.h.

References westDataLogThetaPara.

00143 { westDataLogThetaPara[n][m]=p; }

void EmcRecParameter::SetWestLinPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 150 of file EmcRecParameter.h.

References westLinPhiPara.

00150 { westLinPhiPara[n][m]=p; }

void EmcRecParameter::SetWestLinThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 147 of file EmcRecParameter.h.

References westLinThetaPara.

00147 { westLinThetaPara[n][m]=p; }

void EmcRecParameter::SetWestLogPhiPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 140 of file EmcRecParameter.h.

References westLogPhiPara.

00140 { westLogPhiPara[n][m]=p; }

void EmcRecParameter::SetWestLogThetaPara ( double  p,
int  n,
int  m 
) [inline]

Definition at line 137 of file EmcRecParameter.h.

References westLogThetaPara.

00137 { westLogThetaPara[n][m]=p; }

void EmcRecParameter::SetWestPosDataCor ( double  p,
int  nphi,
int  ntheta 
) [inline]

Definition at line 169 of file EmcRecParameter.h.

References westPosDataCorPara.

00169 {westPosDataCorPara[ntheta][nphi]=p; }

void EmcRecParameter::SetWestPosMCCor ( double  p,
int  nphi,
int  ntheta 
) [inline]

Definition at line 173 of file EmcRecParameter.h.

References westPosMCCorPara.

00173 {westPosMCCorPara[ntheta][nphi]=p; }

double EmcRecParameter::SigE ( int  n  )  const

Definition at line 548 of file EmcRecParameter.cxx.

References sigE.

Referenced by EmcRecShowerEnergy::Energy().

00549 {
00550   return sigE[n];
00551 }

double EmcRecParameter::SigPhi ( int  n  )  const

Definition at line 558 of file EmcRecParameter.cxx.

References sigPhi.

Referenced by EmcRecShowerPosLogShMax::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLinShMax::Position(), and EmcRecShowerPosLin::Position().

00559 {
00560   return sigPhi[n];
00561 }

double EmcRecParameter::SigTheta ( int  n  )  const

Definition at line 553 of file EmcRecParameter.cxx.

References sigTheta.

Referenced by EmcRecShowerPosLogShMax::Position(), EmcRecShowerPosLoglin::Position(), EmcRecShowerPosLog::Position(), EmcRecShowerPosLinShMax::Position(), and EmcRecShowerPosLin::Position().

00554 {
00555   return sigTheta[n];
00556 }

double EmcRecParameter::SmCut ( int  n  )  const

Definition at line 573 of file EmcRecParameter.cxx.

References smCut.

Referenced by EmcRecSplitWeighted::Split().

00574 {
00575   return smCut[n];
00576 }

double EmcRecParameter::TimeMax (  )  const

Definition at line 508 of file EmcRecParameter.cxx.

References fTimeMax.

Referenced by EmcRecSplitWeighted::Split().

00509 {
00510   return fTimeMax;
00511 }

double EmcRecParameter::TimeMin (  )  const

Definition at line 503 of file EmcRecParameter.cxx.

References fTimeMin.

Referenced by EmcRecSplitWeighted::Split().

00504 {
00505   return fTimeMin;
00506 }

static void EmcRecParameter::unlock (  )  [inline, static]

Definition at line 35 of file EmcRecParameter.h.

References m_pthread_lock.

Referenced by EmcRec::EmcRec().

00035                         {
00036       if(pthread_mutex_unlock(&m_pthread_lock) != 0){
00037         std::cerr << "UNLOCK MUTEX_LOCK @ GZFSSTREAM" << std::endl;
00038       }
00039     };

double EmcRecParameter::WestDataLogThetaPara ( int  n,
int  m 
) const

Definition at line 724 of file EmcRecParameter.cxx.

References westDataLogThetaPara.

00725 {
00726   return westDataLogThetaPara[n][m];
00727 } 

double EmcRecParameter::WestLinPhiPara ( int  n,
int  m 
) const

Definition at line 666 of file EmcRecParameter.cxx.

References westLinPhiPara.

Referenced by EmcRecShowerPosLin::Position().

00667 {
00668   return westLinPhiPara[n][m];
00669 }

double EmcRecParameter::WestLinThetaPara ( int  n,
int  m 
) const

Definition at line 677 of file EmcRecParameter.cxx.

References westLinThetaPara.

Referenced by EmcRecShowerPosLin::Position().

00678 {
00679   return westLinThetaPara[n][m];
00680 }

double EmcRecParameter::WestLogPhiPara ( int  n,
int  m 
) const

Definition at line 656 of file EmcRecParameter.cxx.

References westLogPhiPara.

Referenced by EmcRecShowerPosLog::Position().

00657 {
00658   return westLogPhiPara[n][m];
00659 }

double EmcRecParameter::WestLogThetaPara ( int  n,
int  m 
) const

Definition at line 646 of file EmcRecParameter.cxx.

References westLogThetaPara.

Referenced by EmcRecShowerPosLog::Position().

00647 {
00648   return westLogThetaPara[n][m];
00649 }

double EmcRecParameter::WestPosDataCor ( int  ntheta,
int  nphi 
) const

Definition at line 692 of file EmcRecParameter.cxx.

References westPosDataCorPara.

Referenced by EmcRecShowerPosLog::Position(), and EmcRecShowerShape::SecondMoment().

00693 {
00694   return westPosDataCorPara[ntheta][nphi];
00695 }

double EmcRecParameter::WestPosMCCor ( int  ntheta,
int  nphi 
) const

Definition at line 707 of file EmcRecParameter.cxx.

References westPosMCCorPara.

00708 {
00709   return westPosMCCorPara[ntheta][nphi];
00710 }


Member Data Documentation

double EmcRecParameter::barrDataLogThetaPara[22][5] [private]

Definition at line 274 of file EmcRecParameter.h.

Referenced by BarrDataLogThetaPara(), EmcRecParameter(), and SetBarrDataLogThetaPara().

double EmcRecParameter::barrLinPhiPara[3][5] [private]

Definition at line 266 of file EmcRecParameter.h.

Referenced by BarrLinPhiPara(), EmcRecParameter(), and SetBarrLinPhiPara().

double EmcRecParameter::barrLinThetaPara[66][5] [private]

Definition at line 265 of file EmcRecParameter.h.

Referenced by BarrLinThetaPara(), EmcRecParameter(), and SetBarrLinThetaPara().

double EmcRecParameter::barrLoglinPhiPara[1][5] [private]

Definition at line 263 of file EmcRecParameter.h.

Referenced by BarrLoglinPhiPara(), EmcRecParameter(), and SetBarrLoglinPhiPara().

double EmcRecParameter::barrLoglinThetaPara[22][5] [private]

Definition at line 262 of file EmcRecParameter.h.

Referenced by BarrLoglinThetaPara(), EmcRecParameter(), and SetBarrLoglinThetaPara().

double EmcRecParameter::barrLogPhiPara[66][5] [private]

Definition at line 243 of file EmcRecParameter.h.

Referenced by BarrLogPhiPara(), EmcRecParameter(), and SetBarrLogPhiPara().

double EmcRecParameter::barrLogThetaPara[66][5] [private]

Definition at line 242 of file EmcRecParameter.h.

Referenced by BarrLogThetaPara(), EmcRecParameter(), and SetBarrLogThetaPara().

double EmcRecParameter::barrPosDataCorPara[44][120] [private]

Definition at line 276 of file EmcRecParameter.h.

Referenced by BarrPosDataCor(), EmcRecParameter(), and SetBarrPosDataCor().

double EmcRecParameter::barrPosMCCorPara[44][120] [private]

Definition at line 280 of file EmcRecParameter.h.

Referenced by BarrPosMCCor(), EmcRecParameter(), and SetBarrPosMCCor().

double EmcRecParameter::barrShLinPhiPara[3][5] [private]

Definition at line 272 of file EmcRecParameter.h.

Referenced by BarrShLinPhiPara(), EmcRecParameter(), and SetBarrShLinPhiPara().

double EmcRecParameter::barrShLinThetaPara[66][5] [private]

Definition at line 271 of file EmcRecParameter.h.

Referenced by BarrShLinThetaPara(), EmcRecParameter(), and SetBarrShLinThetaPara().

double EmcRecParameter::barrShLogPhiPara[3][5] [private]

Definition at line 269 of file EmcRecParameter.h.

Referenced by BarrShLogPhiPara(), EmcRecParameter(), and SetBarrShLogPhiPara().

double EmcRecParameter::barrShLogThetaPara[66][5] [private]

Definition at line 268 of file EmcRecParameter.h.

Referenced by BarrShLogThetaPara(), EmcRecParameter(), and SetBarrShLogThetaPara().

bool EmcRecParameter::digiCalib [private]

Definition at line 237 of file EmcRecParameter.h.

Referenced by DigiCalib(), and SetDigiCalib().

TGraph2DErrors* EmcRecParameter::dt [private]

Definition at line 288 of file EmcRecParameter.h.

Referenced by ECorrMC(), EmcRecParameter(), and ~EmcRecParameter().

TGraph2DErrors* EmcRecParameter::dtErr [private]

Definition at line 290 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), ErrMC(), and ~EmcRecParameter().

double EmcRecParameter::e25max[28]

Definition at line 188 of file EmcRecParameter.h.

Referenced by E25max(), and EmcRecParameter().

double EmcRecParameter::e25min[28]

Definition at line 187 of file EmcRecParameter.h.

Referenced by E25min(), and EmcRecParameter().

double EmcRecParameter::eastDataLogThetaPara[6][5] [private]

Definition at line 252 of file EmcRecParameter.h.

Referenced by EastDataLogThetaPara(), EmcRecParameter(), and SetEastDataLogThetaPara().

double EmcRecParameter::eastLinPhiPara[1][5] [private]

Definition at line 259 of file EmcRecParameter.h.

Referenced by EastLinPhiPara(), EmcRecParameter(), and SetEastLinPhiPara().

double EmcRecParameter::eastLinThetaPara[6][5] [private]

Definition at line 256 of file EmcRecParameter.h.

Referenced by EastLinThetaPara(), EmcRecParameter(), and SetEastLinThetaPara().

double EmcRecParameter::eastLogPhiPara[3][5] [private]

Definition at line 248 of file EmcRecParameter.h.

Referenced by EastLogPhiPara(), EmcRecParameter(), and SetEastLogPhiPara().

double EmcRecParameter::eastLogThetaPara[18][5] [private]

Definition at line 245 of file EmcRecParameter.h.

Referenced by EastLogThetaPara(), EmcRecParameter(), and SetEastLogThetaPara().

double EmcRecParameter::eastPosDataCorPara[6][100] [private]

Definition at line 278 of file EmcRecParameter.h.

Referenced by EastPosDataCor(), EmcRecParameter(), and SetEastPosDataCor().

double EmcRecParameter::eastPosMCCorPara[6][100] [private]

Definition at line 282 of file EmcRecParameter.h.

Referenced by EastPosMCCor(), EmcRecParameter(), and SetEastPosMCCor().

double EmcRecParameter::eCorr[4] [private]

Definition at line 221 of file EmcRecParameter.h.

Referenced by ECorr(), and EmcRecParameter().

double EmcRecParameter::elecBias[5] [private]

Definition at line 232 of file EmcRecParameter.h.

Referenced by ElecBias(), and EmcRecParameter().

double EmcRecParameter::fDataMode [private]

Definition at line 214 of file EmcRecParameter.h.

Referenced by DataMode(), and SetDataMode().

int EmcRecParameter::fElecSaturation [private]

Definition at line 210 of file EmcRecParameter.h.

Referenced by ElecSaturation(), and SetElecSaturation().

double EmcRecParameter::fElectronicsNoiseLevel [private]

Definition at line 192 of file EmcRecParameter.h.

Referenced by ElectronicsNoiseLevel(), and EmcRecParameter().

double EmcRecParameter::fEThresholdCluster [private]

Definition at line 196 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and EThresholdCluster().

double EmcRecParameter::fEThresholdSeed [private]

Definition at line 194 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and EThresholdSeed().

double EmcRecParameter::fLateralProfile [private]

Definition at line 218 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and LateralProfile().

double EmcRecParameter::fLogPosOffset [private]

Definition at line 198 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and LogPosOffset().

double EmcRecParameter::fMethodMode [private]

Definition at line 205 of file EmcRecParameter.h.

Referenced by MethodMode(), and SetMethodMode().

double EmcRecParameter::fMoliereRadius [private]

Definition at line 216 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and MoliereRadius().

EmcRecParameter * EmcRecParameter::fpInstance = 0 [static, private]

Definition at line 39 of file EmcRecParameter.h.

Referenced by Exist(), GetInstance(), and Kill().

double EmcRecParameter::fPosCorr [private]

Definition at line 213 of file EmcRecParameter.h.

Referenced by PosCorr(), and SetPosCorr().

double EmcRecParameter::fTimeMax [private]

Definition at line 203 of file EmcRecParameter.h.

Referenced by SetTimeMax(), and TimeMax().

double EmcRecParameter::fTimeMin [private]

Definition at line 201 of file EmcRecParameter.h.

Referenced by SetTimeMin(), and TimeMin().

double EmcRecParameter::hitNb[3] [private]

Definition at line 230 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and HitNb().

pthread_mutex_t EmcRecParameter::m_pthread_lock = PTHREAD_MUTEX_INITIALIZER [static, private]

Definition at line 46 of file EmcRecParameter.h.

Referenced by lock(), and unlock().

double EmcRecParameter::peak[56] [private]

Definition at line 240 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), Peak(), and SetPeak().

std::string EmcRecParameter::positionMode1 [private]

Definition at line 284 of file EmcRecParameter.h.

Referenced by PositionMode1(), and SetPositionMode().

std::string EmcRecParameter::positionMode2 [private]

Definition at line 285 of file EmcRecParameter.h.

Referenced by PositionMode2(), and SetPositionMode().

double EmcRecParameter::sigE[3] [private]

Definition at line 223 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and SigE().

double EmcRecParameter::sigPhi[2] [private]

Definition at line 227 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and SigPhi().

double EmcRecParameter::sigTheta[2] [private]

Definition at line 225 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and SigTheta().

double EmcRecParameter::smCut[4] [private]

Definition at line 234 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), and SmCut().

double EmcRecParameter::westDataLogThetaPara[6][5] [private]

Definition at line 253 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestDataLogThetaPara(), and WestDataLogThetaPara().

double EmcRecParameter::westLinPhiPara[1][5] [private]

Definition at line 260 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestLinPhiPara(), and WestLinPhiPara().

double EmcRecParameter::westLinThetaPara[6][5] [private]

Definition at line 257 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestLinThetaPara(), and WestLinThetaPara().

double EmcRecParameter::westLogPhiPara[3][5] [private]

Definition at line 249 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestLogPhiPara(), and WestLogPhiPara().

double EmcRecParameter::westLogThetaPara[18][5] [private]

Definition at line 246 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestLogThetaPara(), and WestLogThetaPara().

double EmcRecParameter::westPosDataCorPara[6][100] [private]

Definition at line 277 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestPosDataCor(), and WestPosDataCor().

double EmcRecParameter::westPosMCCorPara[6][100] [private]

Definition at line 281 of file EmcRecParameter.h.

Referenced by EmcRecParameter(), SetWestPosMCCor(), and WestPosMCCor().


Generated on Tue Nov 29 23:18:44 2016 for BOSS_7.0.2 by  doxygen 1.4.7