BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
EmcRecParameter Class Reference

#include <EmcRecParameter.h>

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 EastLogShMaxThetaPara (int n, int m) const
 
double WestLogShMaxThetaPara (int n, int m) const
 
double EastLogShMaxPhiPara (int n, int m) const
 
double WestLogShMaxPhiPara (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 BarrLogShMaxThetaPara (int n, int m) const
 
double BarrLogShMaxPhiPara (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 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 SetEastLogShMaxThetaPara (double p, int n, int m)
 
void SetWestLogShMaxThetaPara (double p, int n, int m)
 
void SetEastLogShMaxPhiPara (double p, int n, int m)
 
void SetWestLogShMaxPhiPara (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 SetBarrLogShMaxThetaPara (double p, int n, int m)
 
void SetBarrLogShMaxPhiPara (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]
 

Detailed Description

Definition at line 18 of file EmcRecParameter.h.

Member Function Documentation

◆ BarrDataLogThetaPara()

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

Definition at line 780 of file EmcRecParameter.cxx.

781{
782 return barrDataLogThetaPara[n][m];
783}

◆ BarrLinPhiPara()

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

Definition at line 691 of file EmcRecParameter.cxx.

692{
693 return barrLinPhiPara[n][m];
694}

Referenced by EmcRecShowerPosLin::Position().

◆ BarrLinThetaPara()

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

Definition at line 686 of file EmcRecParameter.cxx.

687{
688 return barrLinThetaPara[n][m];
689}

Referenced by EmcRecShowerPosLin::Position().

◆ BarrLoglinPhiPara()

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

Definition at line 679 of file EmcRecParameter.cxx.

680{
681 return barrLoglinPhiPara[n][m];
682}

Referenced by EmcRecShowerPosLoglin::Position().

◆ BarrLoglinThetaPara()

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

Definition at line 672 of file EmcRecParameter.cxx.

673{
674 return barrLoglinThetaPara[n][m];
675}

Referenced by EmcRecShowerPosLoglin::Position().

◆ BarrLogPhiPara()

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

Definition at line 666 of file EmcRecParameter.cxx.

667{
668 return barrLogPhiPara[n][m];
669}

Referenced by EmcRecShowerPosLog::Position().

◆ BarrLogShMaxPhiPara()

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

Definition at line 701 of file EmcRecParameter.cxx.

702{
703 return barrLogShMaxPhiPara[n][m];
704}

Referenced by EmcRecShowerPosLogShMax::Position().

◆ BarrLogShMaxThetaPara()

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

Definition at line 696 of file EmcRecParameter.cxx.

697{
698 return barrLogShMaxThetaPara[n][m];
699}

Referenced by EmcRecShowerPosLogShMax::Position().

◆ BarrLogThetaPara()

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

Definition at line 659 of file EmcRecParameter.cxx.

660{
661 return barrLogThetaPara[n][m];
662}

Referenced by EmcRecShowerPosLog::Position().

◆ BarrPosDataCor()

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

Definition at line 785 of file EmcRecParameter.cxx.

786{
787 return barrPosDataCorPara[ntheta][nphi];
788}

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

◆ BarrPosMCCor()

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

Definition at line 800 of file EmcRecParameter.cxx.

801{
802 return barrPosMCCorPara[ntheta][nphi];
803}

Referenced by EmcRecShowerPosLog::Position().

◆ BarrShLinPhiPara()

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

Definition at line 711 of file EmcRecParameter.cxx.

712{
713 return barrShLinPhiPara[n][m];
714}

Referenced by EmcRecShowerPosLinShMax::Position().

◆ BarrShLinThetaPara()

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

Definition at line 706 of file EmcRecParameter.cxx.

707{
708 return barrShLinThetaPara[n][m];
709}

Referenced by EmcRecShowerPosLinShMax::Position().

◆ DataMode()

double EmcRecParameter::DataMode ( ) const

◆ DigiCalib()

bool EmcRecParameter::DigiCalib ( ) const
inline

Definition at line 128 of file EmcRecParameter.h.

128{ return digiCalib; }

Referenced by EmcRecDigit2Hit::Convert().

◆ E25max()

double EmcRecParameter::E25max ( int  n) const

Definition at line 873 of file EmcRecParameter.cxx.

874{
875 return e25max[n];
876}

Referenced by ECorrMC(), and ErrMC().

◆ E25min()

double EmcRecParameter::E25min ( int  n) const

Definition at line 869 of file EmcRecParameter.cxx.

870{
871 return e25min[n];
872}

Referenced by ECorrMC(), and ErrMC().

◆ EastDataLogThetaPara()

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

Definition at line 817 of file EmcRecParameter.cxx.

818{
819 return eastDataLogThetaPara[n][m];
820}

◆ EastLinPhiPara()

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

Definition at line 759 of file EmcRecParameter.cxx.

760{
761 return eastLinPhiPara[n][m];
762}

Referenced by EmcRecShowerPosLin::Position().

◆ EastLinThetaPara()

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

Definition at line 770 of file EmcRecParameter.cxx.

771{
772 return eastLinThetaPara[n][m];
773}

Referenced by EmcRecShowerPosLin::Position().

◆ EastLogPhiPara()

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

Definition at line 727 of file EmcRecParameter.cxx.

728{
729 return eastLogPhiPara[n][m];
730}

Referenced by EmcRecShowerPosLog::Position().

◆ EastLogShMaxPhiPara()

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

Definition at line 748 of file EmcRecParameter.cxx.

749{
750 return eastLogShMaxPhiPara[n][m];
751}

Referenced by EmcRecShowerPosLogShMax::Position().

◆ EastLogShMaxThetaPara()

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

Definition at line 738 of file EmcRecParameter.cxx.

739{
740 return eastLogShMaxThetaPara[n][m];
741}

Referenced by EmcRecShowerPosLogShMax::Position().

◆ EastLogThetaPara()

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

Definition at line 717 of file EmcRecParameter.cxx.

718{
719 return eastLogThetaPara[n][m];
720}

Referenced by EmcRecShowerPosLog::Position().

◆ EastPosDataCor()

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

Definition at line 795 of file EmcRecParameter.cxx.

796{
797 return eastPosDataCorPara[ntheta][nphi];
798}

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

◆ EastPosMCCor()

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

Definition at line 810 of file EmcRecParameter.cxx.

811{
812 return eastPosMCCorPara[ntheta][nphi];
813}

◆ ECorr()

double EmcRecParameter::ECorr ( int  n) const

Definition at line 619 of file EmcRecParameter.cxx.

620{
621 return eCorr[n];
622}

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

◆ ECorrMC()

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

Definition at line 839 of file EmcRecParameter.cxx.

840{
841 double Energy5x5=eg;
842 if(eg<E25min(int(theid))) eg=E25min(int(theid));
843 if(eg>E25max(int(theid))) eg=E25max(int(theid))-0.001;
844 if(theid<=0)theid=0.001;
845 if(theid>=27)theid=26.999;
846 Float_t einter = eg + 0.00001;
847 Float_t tinter = theid+0.0001;
848 double ecor=dt->Interpolate(einter,tinter);
849 if(!(ecor))return Energy5x5;
850 if(ecor<0.5)return Energy5x5;
851 double EnergyCor=Energy5x5/ecor;
852 return EnergyCor;
853}
double E25min(int n) const
double E25max(int n) const

Referenced by EmcRecShowerEnergy::Energy().

◆ ElecBias()

double EmcRecParameter::ElecBias ( int  n) const

Definition at line 644 of file EmcRecParameter.cxx.

645{
646 return elecBias[n];
647}

Referenced by EmcRecDigit2Hit::Convert().

◆ ElecSaturation()

int EmcRecParameter::ElecSaturation ( ) const

Definition at line 604 of file EmcRecParameter.cxx.

605{
606 return fElecSaturation;
607}

Referenced by EmcRecDigit2Hit::Convert().

◆ ElectronicsNoiseLevel()

double EmcRecParameter::ElectronicsNoiseLevel ( ) const

Definition at line 559 of file EmcRecParameter.cxx.

560{
561 return fElectronicsNoiseLevel;
562}

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

◆ ErrMC()

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

Definition at line 856 of file EmcRecParameter.cxx.

857{
858
859 if(eg<E25min(int(theid))) eg=E25min(int(theid));
860 if(eg>E25max(int(theid))) eg=E25max(int(theid))-0.001;
861 if(theid<=0)theid=0.001;
862 if(theid>=27)theid=26.999;
863 Float_t einter = eg + 0.00001;
864 Float_t tinter = theid+0.0001;
865 double err=dtErr->Interpolate(einter,tinter);
866 return err;
867}

Referenced by EmcRecShowerEnergy::Energy().

◆ EThresholdCluster()

double EmcRecParameter::EThresholdCluster ( ) const

Definition at line 569 of file EmcRecParameter.cxx.

570{
571 return fEThresholdCluster;
572}

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

◆ EThresholdSeed()

double EmcRecParameter::EThresholdSeed ( ) const

Definition at line 564 of file EmcRecParameter.cxx.

565{
566 return fEThresholdSeed;
567}

Referenced by EmcRecSeedEThreshold::EmcRecSeedEThreshold().

◆ Exist()

bool EmcRecParameter::Exist ( )
static

Definition at line 545 of file EmcRecParameter.cxx.

546{
547 return fpInstance!=0;
548}

Referenced by GetInstance(), and Kill().

◆ GetInstance()

◆ HitNb()

double EmcRecParameter::HitNb ( int  n) const

Definition at line 639 of file EmcRecParameter.cxx.

640{
641 return hitNb[n];
642}

Referenced by EmcRecShowerEnergy::Energy().

◆ Kill()

void EmcRecParameter::Kill ( )
static

Definition at line 550 of file EmcRecParameter.cxx.

551{
552 if(Exist()) {
553 delete fpInstance;
554 fpInstance=0;
555 }
556}

Referenced by EmcRec::finalize().

◆ LateralProfile()

double EmcRecParameter::LateralProfile ( ) const

Definition at line 614 of file EmcRecParameter.cxx.

615{
616 return fLateralProfile;
617}

Referenced by EmcRecSplitWeighted::Split().

◆ lock()

static void EmcRecParameter::lock ( )
inlinestatic

Definition at line 30 of file EmcRecParameter.h.

30 {
31 if(pthread_mutex_lock(&m_pthread_lock) != 0){
32 std::cerr << "LOCK MUTEX_LOCK @ GZFSSTREAM" << std::endl;
33 }
34 };

Referenced by EmcRec::EmcRec().

◆ LogPosOffset()

double EmcRecParameter::LogPosOffset ( ) const

Definition at line 574 of file EmcRecParameter.cxx.

575{
576 return fLogPosOffset;
577}

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

◆ MethodMode()

double EmcRecParameter::MethodMode ( ) const

Definition at line 590 of file EmcRecParameter.cxx.

591{
592 return fMethodMode;
593}

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

◆ MoliereRadius()

double EmcRecParameter::MoliereRadius ( ) const

Definition at line 609 of file EmcRecParameter.cxx.

610{
611 return fMoliereRadius;
612}

Referenced by EmcRecSplitWeighted::Split().

◆ Peak()

double EmcRecParameter::Peak ( int  n) const

Definition at line 654 of file EmcRecParameter.cxx.

655{
656 return peak[n];
657}

Referenced by EmcRecShowerEnergy::ECorrTheta().

◆ PosCorr()

double EmcRecParameter::PosCorr ( ) const

◆ PositionMode1()

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

Definition at line 193 of file EmcRecParameter.h.

193{ return positionMode1; }

Referenced by EmcRecSplitWeighted::EmcRecSplitWeighted().

◆ PositionMode2()

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

Definition at line 194 of file EmcRecParameter.h.

194{ return positionMode2; }

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

◆ SetBarrDataLogThetaPara()

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

Definition at line 191 of file EmcRecParameter.h.

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

◆ SetBarrLinPhiPara()

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

Definition at line 175 of file EmcRecParameter.h.

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

◆ SetBarrLinThetaPara()

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

Definition at line 174 of file EmcRecParameter.h.

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

◆ SetBarrLoglinPhiPara()

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

Definition at line 172 of file EmcRecParameter.h.

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

◆ SetBarrLoglinThetaPara()

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

Definition at line 171 of file EmcRecParameter.h.

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

◆ SetBarrLogPhiPara()

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

Definition at line 169 of file EmcRecParameter.h.

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

◆ SetBarrLogShMaxPhiPara()

void EmcRecParameter::SetBarrLogShMaxPhiPara ( double  p,
int  n,
int  m 
)
inline

Definition at line 178 of file EmcRecParameter.h.

178{ barrLogShMaxPhiPara[n][m]=p; }

◆ SetBarrLogShMaxThetaPara()

void EmcRecParameter::SetBarrLogShMaxThetaPara ( double  p,
int  n,
int  m 
)
inline

Definition at line 177 of file EmcRecParameter.h.

177{ barrLogShMaxThetaPara[n][m]=p; }

◆ SetBarrLogThetaPara()

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

Definition at line 168 of file EmcRecParameter.h.

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

◆ SetBarrPosDataCor()

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

Definition at line 183 of file EmcRecParameter.h.

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

◆ SetBarrPosMCCor()

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

Definition at line 187 of file EmcRecParameter.h.

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

◆ SetBarrShLinPhiPara()

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

Definition at line 181 of file EmcRecParameter.h.

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

◆ SetBarrShLinThetaPara()

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

Definition at line 180 of file EmcRecParameter.h.

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

◆ SetDataMode()

void EmcRecParameter::SetDataMode ( double  en)
inline

Definition at line 136 of file EmcRecParameter.h.

136{ fDataMode=en; }

Referenced by EmcRec::execute().

◆ SetDigiCalib()

void EmcRecParameter::SetDigiCalib ( bool  digi)
inline

Definition at line 129 of file EmcRecParameter.h.

129{ digiCalib=digi; }

Referenced by EmcRec::EmcRec().

◆ SetEastDataLogThetaPara()

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

Definition at line 157 of file EmcRecParameter.h.

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

◆ SetEastLinPhiPara()

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

Definition at line 164 of file EmcRecParameter.h.

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

◆ SetEastLinThetaPara()

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

Definition at line 161 of file EmcRecParameter.h.

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

◆ SetEastLogPhiPara()

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

Definition at line 147 of file EmcRecParameter.h.

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

◆ SetEastLogShMaxPhiPara()

void EmcRecParameter::SetEastLogShMaxPhiPara ( double  p,
int  n,
int  m 
)
inline

Definition at line 153 of file EmcRecParameter.h.

153{ eastLogShMaxPhiPara[n][m]=p; }

◆ SetEastLogShMaxThetaPara()

void EmcRecParameter::SetEastLogShMaxThetaPara ( double  p,
int  n,
int  m 
)
inline

Definition at line 150 of file EmcRecParameter.h.

150{ eastLogShMaxThetaPara[n][m]=p; }

◆ SetEastLogThetaPara()

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

Definition at line 144 of file EmcRecParameter.h.

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

◆ SetEastPosDataCor()

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

Definition at line 185 of file EmcRecParameter.h.

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

◆ SetEastPosMCCor()

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

Definition at line 189 of file EmcRecParameter.h.

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

◆ SetElecSaturation()

void EmcRecParameter::SetElecSaturation ( int  IO)
inline

Definition at line 138 of file EmcRecParameter.h.

138{ fElecSaturation=IO;}

Referenced by EmcRec::EmcRec().

◆ SetMethodMode()

void EmcRecParameter::SetMethodMode ( double  en)
inline

Definition at line 134 of file EmcRecParameter.h.

134{ fMethodMode=en; }

Referenced by EmcRec::EmcRec().

◆ SetPeak()

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

Definition at line 142 of file EmcRecParameter.h.

142{ peak[n]=e; }

◆ SetPosCorr()

void EmcRecParameter::SetPosCorr ( double  en)
inline

Definition at line 135 of file EmcRecParameter.h.

135{ fPosCorr=en; }

Referenced by EmcRec::EmcRec().

◆ SetPositionMode()

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

Definition at line 830 of file EmcRecParameter.cxx.

831{
832 if(mode.size()==2) {
833 positionMode1=mode[0];
834 positionMode2=mode[1];
835 }
836}

Referenced by EmcRec::EmcRec().

◆ SetTimeMax()

void EmcRecParameter::SetTimeMax ( double  max)
inline

Definition at line 132 of file EmcRecParameter.h.

132{ fTimeMax=max; }

Referenced by EmcRec::EmcRec().

◆ SetTimeMin()

void EmcRecParameter::SetTimeMin ( double  min)
inline

Definition at line 131 of file EmcRecParameter.h.

131{ fTimeMin=min; }

Referenced by EmcRec::EmcRec().

◆ SetWestDataLogThetaPara()

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

Definition at line 158 of file EmcRecParameter.h.

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

◆ SetWestLinPhiPara()

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

Definition at line 165 of file EmcRecParameter.h.

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

◆ SetWestLinThetaPara()

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

Definition at line 162 of file EmcRecParameter.h.

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

◆ SetWestLogPhiPara()

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

Definition at line 148 of file EmcRecParameter.h.

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

◆ SetWestLogShMaxPhiPara()

void EmcRecParameter::SetWestLogShMaxPhiPara ( double  p,
int  n,
int  m 
)
inline

Definition at line 154 of file EmcRecParameter.h.

154{ westLogShMaxPhiPara[n][m]=p; }

◆ SetWestLogShMaxThetaPara()

void EmcRecParameter::SetWestLogShMaxThetaPara ( double  p,
int  n,
int  m 
)
inline

Definition at line 151 of file EmcRecParameter.h.

151{ westLogShMaxThetaPara[n][m]=p; }

◆ SetWestLogThetaPara()

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

Definition at line 145 of file EmcRecParameter.h.

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

◆ SetWestPosDataCor()

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

Definition at line 184 of file EmcRecParameter.h.

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

◆ SetWestPosMCCor()

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

Definition at line 188 of file EmcRecParameter.h.

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

◆ SigE()

double EmcRecParameter::SigE ( int  n) const

Definition at line 624 of file EmcRecParameter.cxx.

625{
626 return sigE[n];
627}

Referenced by EmcRecShowerEnergy::Energy().

◆ SigPhi()

double EmcRecParameter::SigPhi ( int  n) const

◆ SigTheta()

double EmcRecParameter::SigTheta ( int  n) const

◆ SmCut()

double EmcRecParameter::SmCut ( int  n) const

Definition at line 649 of file EmcRecParameter.cxx.

650{
651 return smCut[n];
652}

Referenced by EmcRecSplitWeighted::Split().

◆ TimeMax()

double EmcRecParameter::TimeMax ( ) const

Definition at line 584 of file EmcRecParameter.cxx.

585{
586 return fTimeMax;
587}

Referenced by EmcRecSplitWeighted::Split().

◆ TimeMin()

double EmcRecParameter::TimeMin ( ) const

Definition at line 579 of file EmcRecParameter.cxx.

580{
581 return fTimeMin;
582}

Referenced by EmcRecSplitWeighted::Split().

◆ unlock()

static void EmcRecParameter::unlock ( )
inlinestatic

Definition at line 35 of file EmcRecParameter.h.

35 {
36 if(pthread_mutex_unlock(&m_pthread_lock) != 0){
37 std::cerr << "UNLOCK MUTEX_LOCK @ GZFSSTREAM" << std::endl;
38 }
39 };

Referenced by EmcRec::EmcRec().

◆ WestDataLogThetaPara()

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

Definition at line 822 of file EmcRecParameter.cxx.

823{
824 return westDataLogThetaPara[n][m];
825}

◆ WestLinPhiPara()

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

Definition at line 764 of file EmcRecParameter.cxx.

765{
766 return westLinPhiPara[n][m];
767}

Referenced by EmcRecShowerPosLin::Position().

◆ WestLinThetaPara()

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

Definition at line 775 of file EmcRecParameter.cxx.

776{
777 return westLinThetaPara[n][m];
778}

Referenced by EmcRecShowerPosLin::Position().

◆ WestLogPhiPara()

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

Definition at line 732 of file EmcRecParameter.cxx.

733{
734 return westLogPhiPara[n][m];
735}

Referenced by EmcRecShowerPosLog::Position().

◆ WestLogShMaxPhiPara()

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

Definition at line 753 of file EmcRecParameter.cxx.

754{
755 return westLogShMaxPhiPara[n][m];
756}

Referenced by EmcRecShowerPosLogShMax::Position().

◆ WestLogShMaxThetaPara()

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

Definition at line 743 of file EmcRecParameter.cxx.

744{
745 return westLogShMaxThetaPara[n][m];
746}

Referenced by EmcRecShowerPosLogShMax::Position().

◆ WestLogThetaPara()

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

Definition at line 722 of file EmcRecParameter.cxx.

723{
724 return westLogThetaPara[n][m];
725}

Referenced by EmcRecShowerPosLog::Position().

◆ WestPosDataCor()

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

Definition at line 790 of file EmcRecParameter.cxx.

791{
792 return westPosDataCorPara[ntheta][nphi];
793}

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

◆ WestPosMCCor()

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

Definition at line 805 of file EmcRecParameter.cxx.

806{
807 return westPosMCCorPara[ntheta][nphi];
808}

Member Data Documentation

◆ e25max

double EmcRecParameter::e25max[28]

Definition at line 203 of file EmcRecParameter.h.

Referenced by E25max().

◆ e25min

double EmcRecParameter::e25min[28]

Definition at line 202 of file EmcRecParameter.h.

Referenced by E25min().


The documentation for this class was generated from the following files: