FairRoot/PandaRoot
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PndEmcRecoPar Class Reference

Parameter set for Emc Reco. More...

#include <PndEmcRecoPar.h>

Inheritance diagram for PndEmcRecoPar:

Public Member Functions

Double_t GetEnergyThresholdBarrel ()
 
Double_t GetEnergyThresholdFWD ()
 
Double_t GetEnergyThresholdBWD ()
 
Double_t GetEnergyThresholdShashlyk ()
 
Double_t GetClusterActiveTime ()
 
Text_t * GetEmcClusterPosMethod ()
 
Double_t GetOffsetParmA ()
 
Double_t GetOffsetParmB ()
 
Double_t GetOffsetParmC ()
 
Double_t GetEmcDigiPositionDepthPWO ()
 
Double_t GetEmcDigiPositionDepthShashlyk ()
 
Double_t GetMaxECut ()
 
Double_t GetNeighbourECut ()
 
Double_t GetCutSlope ()
 
Double_t GetCutOffset ()
 
Double_t GetERatioCorr ()
 
Int_t GetTheNeighbourLevel ()
 
Double_t GetMoliereRadius ()
 
Double_t GetMoliereRadiusShashlyk ()
 
Double_t GetExponentialConstant ()
 
Int_t GetMaxIterations ()
 
Double_t GetCentroidShift ()
 
Int_t GetMaxBumps ()
 
Double_t GetMinDigiEnergy ()
 
 PndEmcRecoPar (const char *name="PndEmcRecoPar", const char *title="Emc reconstruction parameter", const char *context="TestDefaultContext")
 
 ~PndEmcRecoPar (void)
 
void clear (void)
 
void putParams (FairParamList *list)
 
Bool_t getParams (FairParamList *list)
 

Private Member Functions

 ClassDef (PndEmcRecoPar, 2)
 

Private Attributes

Double_t fEnergyThresholdBarrel
 
Double_t fEnergyThresholdFWD
 
Double_t fEnergyThresholdBWD
 
Double_t fEnergyThresholdShashlyk
 
Double_t fClusterActiveTime
 
Text_t fEmcClusterPosMethod [10]
 
Double_t fOffsetParmA
 
Double_t fOffsetParmB
 
Double_t fOffsetParmC
 
Double_t fEmcDigiPositionDepthPWO
 
Double_t fEmcDigiPositionDepthShashlyk
 
Double_t fMaxECut
 
Double_t fNeighbourECut
 
Double_t fCutSlope
 
Double_t fCutOffset
 
Double_t fERatioCorr
 
Int_t fTheNeighbourLevel
 
Double_t fMoliereRadius
 
Double_t fMoliereRadiusShashlyk
 
Double_t fExponentialConstant
 
Int_t fMaxIterations
 
Double_t fCentroidShift
 
Int_t fMaxBumps
 
Double_t fMinDigiEnergy
 

Detailed Description

Parameter set for Emc Reco.

Definition at line 12 of file PndEmcRecoPar.h.

Constructor & Destructor Documentation

PndEmcRecoPar::PndEmcRecoPar ( const char *  name = "PndEmcRecoPar",
const char *  title = "Emc reconstruction parameter",
const char *  context = "TestDefaultContext" 
)
PndEmcRecoPar::~PndEmcRecoPar ( void  )
inline

Definition at line 44 of file PndEmcRecoPar.h.

44 {};

Member Function Documentation

PndEmcRecoPar::ClassDef ( PndEmcRecoPar  ,
 
)
private
void PndEmcRecoPar::clear ( void  )
inline

Definition at line 45 of file PndEmcRecoPar.h.

45 {};
Double_t PndEmcRecoPar::GetCentroidShift ( )
inline

Definition at line 36 of file PndEmcRecoPar.h.

References fCentroidShift.

Referenced by PndEmcExpClusterSplitter::Init().

36 {return fCentroidShift;};
Double_t fCentroidShift
Definition: PndEmcRecoPar.h:80
Double_t PndEmcRecoPar::GetClusterActiveTime ( )
inline

Definition at line 19 of file PndEmcRecoPar.h.

References fClusterActiveTime.

Referenced by PndEmcMakeClusterOnline::Init(), and PndEmcMakeCluster::Init().

19 {return fClusterActiveTime;};
Double_t fClusterActiveTime
Definition: PndEmcRecoPar.h:54
Double_t PndEmcRecoPar::GetCutOffset ( )
inline

Definition at line 29 of file PndEmcRecoPar.h.

References fCutOffset.

Referenced by PndEmc2DLocMaxFinder::Init().

29 {return fCutOffset;};
Double_t fCutOffset
Definition: PndEmcRecoPar.h:72
Double_t PndEmcRecoPar::GetCutSlope ( )
inline

Definition at line 28 of file PndEmcRecoPar.h.

References fCutSlope.

Referenced by PndEmc2DLocMaxFinder::Init().

28 {return fCutSlope;};
Double_t fCutSlope
Definition: PndEmcRecoPar.h:71
Text_t* PndEmcRecoPar::GetEmcClusterPosMethod ( )
inline
Double_t PndEmcRecoPar::GetEmcDigiPositionDepthPWO ( )
inline
Double_t PndEmcRecoPar::GetEmcDigiPositionDepthShashlyk ( )
inline
Double_t PndEmcRecoPar::GetEnergyThresholdBarrel ( )
inline

Definition at line 15 of file PndEmcRecoPar.h.

References fEnergyThresholdBarrel.

Referenced by PndEmcMakeClusterOnline::Init(), and PndEmcMakeCluster::Init().

15 {return fEnergyThresholdBarrel;};
Double_t fEnergyThresholdBarrel
Definition: PndEmcRecoPar.h:50
Double_t PndEmcRecoPar::GetEnergyThresholdBWD ( )
inline

Definition at line 17 of file PndEmcRecoPar.h.

References fEnergyThresholdBWD.

Referenced by PndEmcMakeClusterOnline::Init(), and PndEmcMakeCluster::Init().

17 {return fEnergyThresholdBWD;};
Double_t fEnergyThresholdBWD
Definition: PndEmcRecoPar.h:52
Double_t PndEmcRecoPar::GetEnergyThresholdFWD ( )
inline

Definition at line 16 of file PndEmcRecoPar.h.

References fEnergyThresholdFWD.

Referenced by PndEmcMakeClusterOnline::Init(), and PndEmcMakeCluster::Init().

16 {return fEnergyThresholdFWD;};
Double_t fEnergyThresholdFWD
Definition: PndEmcRecoPar.h:51
Double_t PndEmcRecoPar::GetEnergyThresholdShashlyk ( )
inline

Definition at line 18 of file PndEmcRecoPar.h.

References fEnergyThresholdShashlyk.

Referenced by PndEmcMakeClusterOnline::Init(), and PndEmcMakeCluster::Init().

18 {return fEnergyThresholdShashlyk;};
Double_t fEnergyThresholdShashlyk
Definition: PndEmcRecoPar.h:53
Double_t PndEmcRecoPar::GetERatioCorr ( )
inline

Definition at line 30 of file PndEmcRecoPar.h.

References fERatioCorr.

Referenced by PndEmc2DLocMaxFinder::Init().

30 {return fERatioCorr;};
Double_t fERatioCorr
Definition: PndEmcRecoPar.h:73
Double_t PndEmcRecoPar::GetExponentialConstant ( )
inline

Definition at line 34 of file PndEmcRecoPar.h.

References fExponentialConstant.

Referenced by PndEmcExpClusterSplitter::Init().

34 {return fExponentialConstant;};
Double_t fExponentialConstant
Definition: PndEmcRecoPar.h:78
Int_t PndEmcRecoPar::GetMaxBumps ( )
inline

Definition at line 37 of file PndEmcRecoPar.h.

References fMaxBumps.

Referenced by PndEmcExpClusterSplitter::Init().

37 {return fMaxBumps;};
Double_t PndEmcRecoPar::GetMaxECut ( )
inline

Definition at line 26 of file PndEmcRecoPar.h.

References fMaxECut.

Referenced by PndEmc2DLocMaxFinder::Init().

26 {return fMaxECut;};
Double_t fMaxECut
Definition: PndEmcRecoPar.h:69
Int_t PndEmcRecoPar::GetMaxIterations ( )
inline

Definition at line 35 of file PndEmcRecoPar.h.

References fMaxIterations.

Referenced by PndEmcExpClusterSplitter::Init().

35 {return fMaxIterations;};
Int_t fMaxIterations
Definition: PndEmcRecoPar.h:79
Double_t PndEmcRecoPar::GetMinDigiEnergy ( )
inline

Definition at line 38 of file PndEmcRecoPar.h.

References fMinDigiEnergy.

Referenced by PndEmcExpClusterSplitter::Init().

38 {return fMinDigiEnergy;};
Double_t fMinDigiEnergy
Definition: PndEmcRecoPar.h:82
Double_t PndEmcRecoPar::GetMoliereRadius ( )
inline

Definition at line 32 of file PndEmcRecoPar.h.

References fMoliereRadius.

Referenced by PndEmcExpClusterSplitter::Init().

32 {return fMoliereRadius;};
Double_t fMoliereRadius
Definition: PndEmcRecoPar.h:76
Double_t PndEmcRecoPar::GetMoliereRadiusShashlyk ( )
inline

Definition at line 33 of file PndEmcRecoPar.h.

References fMoliereRadiusShashlyk.

Referenced by PndEmcExpClusterSplitter::Init().

33 {return fMoliereRadiusShashlyk;};
Double_t fMoliereRadiusShashlyk
Definition: PndEmcRecoPar.h:77
Double_t PndEmcRecoPar::GetNeighbourECut ( )
inline

Definition at line 27 of file PndEmcRecoPar.h.

References fNeighbourECut.

Referenced by PndEmc2DLocMaxFinder::Init().

27 {return fNeighbourECut;};
Double_t fNeighbourECut
Definition: PndEmcRecoPar.h:70
Double_t PndEmcRecoPar::GetOffsetParmA ( )
inline
Double_t PndEmcRecoPar::GetOffsetParmB ( )
inline
Double_t PndEmcRecoPar::GetOffsetParmC ( )
inline
Bool_t PndEmcRecoPar::getParams ( FairParamList *  list)

Definition at line 51 of file PndEmcRecoPar.cxx.

References fCentroidShift, fClusterActiveTime, fCutOffset, fCutSlope, fEmcClusterPosMethod, fEmcDigiPositionDepthPWO, fEmcDigiPositionDepthShashlyk, fEnergyThresholdBarrel, fEnergyThresholdBWD, fEnergyThresholdFWD, fEnergyThresholdShashlyk, fERatioCorr, fExponentialConstant, fMaxBumps, fMaxECut, fMaxIterations, fMinDigiEnergy, fMoliereRadius, fMoliereRadiusShashlyk, fNeighbourECut, fOffsetParmA, fOffsetParmB, fOffsetParmC, and fTheNeighbourLevel.

52 {
53  if (!list) return kFALSE;
54  if (!list->fill("EnergyThresholdBarrel",&fEnergyThresholdBarrel)) return kFALSE;
55  if (!list->fill("EnergyThresholdFWD",&fEnergyThresholdFWD)) return kFALSE;
56  if (!list->fill("EnergyThresholdBWD",&fEnergyThresholdBWD)) return kFALSE;
57  if (!list->fill("EnergyThresholdShashlyk",&fEnergyThresholdShashlyk)) return kFALSE;
58  if (!list->fill("ClusterActiveTime",&fClusterActiveTime)) return kFALSE;
59  if (!list->fill("EmcClusterPosMethod",fEmcClusterPosMethod,10)) return kFALSE;
60  if (!list->fill("OffsetParmA",&fOffsetParmA)) return kFALSE;
61  if (!list->fill("OffsetParmB",&fOffsetParmB)) return kFALSE;
62  if (!list->fill("OffsetParmC",&fOffsetParmC)) return kFALSE;
63  if (!list->fill("EmcDigiPositionDepthPWO",&fEmcDigiPositionDepthPWO)) return kFALSE;
64  if (!list->fill("EmcDigiPositionDepthShashlyk",&fEmcDigiPositionDepthShashlyk)) return kFALSE;
65 
66  // parameters related to bump splitting
67  if (!list->fill("MaxECut",&fMaxECut)) return kFALSE;
68  if (!list->fill("NeighbourECut",&fNeighbourECut)) return kFALSE;
69  if (!list->fill("CutSlope",&fCutSlope)) return kFALSE;
70  if (!list->fill("CutOffset",&fCutOffset)) return kFALSE;
71  if (!list->fill("ERatioCorr",&fERatioCorr)) return kFALSE;
72  if (!list->fill("TheNeighbourLevel",&fTheNeighbourLevel)) return kFALSE;
73  if (!list->fill("MoliereRadius",&fMoliereRadius)) return kFALSE;
74  if (!list->fill("MoliereRadiusShashlyk",&fMoliereRadiusShashlyk)) return kFALSE;
75  if (!list->fill("ExponentialConstant",&fExponentialConstant)) return kFALSE;
76  if (!list->fill("MaxIterations",&fMaxIterations)) return kFALSE;
77  if (!list->fill("CentroidShift",&fCentroidShift)) return kFALSE;
78  if (!list->fill("MaxBumps",&fMaxBumps)) return kFALSE;
79  if (!list->fill("MinDigiEnergy",&fMinDigiEnergy)) return kFALSE;
80 
81  return kTRUE;
82 }
Double_t fERatioCorr
Definition: PndEmcRecoPar.h:73
Double_t fCutSlope
Definition: PndEmcRecoPar.h:71
Double_t fEnergyThresholdShashlyk
Definition: PndEmcRecoPar.h:53
Double_t fOffsetParmB
Definition: PndEmcRecoPar.h:61
Double_t fOffsetParmA
Definition: PndEmcRecoPar.h:60
Double_t fMinDigiEnergy
Definition: PndEmcRecoPar.h:82
Double_t fEnergyThresholdFWD
Definition: PndEmcRecoPar.h:51
Double_t fEmcDigiPositionDepthPWO
Definition: PndEmcRecoPar.h:64
Double_t fOffsetParmC
Definition: PndEmcRecoPar.h:62
Double_t fEnergyThresholdBarrel
Definition: PndEmcRecoPar.h:50
Double_t fMoliereRadiusShashlyk
Definition: PndEmcRecoPar.h:77
Double_t fEmcDigiPositionDepthShashlyk
Definition: PndEmcRecoPar.h:65
Double_t fCutOffset
Definition: PndEmcRecoPar.h:72
Double_t fClusterActiveTime
Definition: PndEmcRecoPar.h:54
Int_t fMaxIterations
Definition: PndEmcRecoPar.h:79
Double_t fNeighbourECut
Definition: PndEmcRecoPar.h:70
Double_t fExponentialConstant
Definition: PndEmcRecoPar.h:78
Double_t fEnergyThresholdBWD
Definition: PndEmcRecoPar.h:52
Double_t fMoliereRadius
Definition: PndEmcRecoPar.h:76
Double_t fMaxECut
Definition: PndEmcRecoPar.h:69
Text_t fEmcClusterPosMethod[10]
Definition: PndEmcRecoPar.h:57
Int_t fTheNeighbourLevel
Definition: PndEmcRecoPar.h:74
Double_t fCentroidShift
Definition: PndEmcRecoPar.h:80
Int_t PndEmcRecoPar::GetTheNeighbourLevel ( )
inline

Definition at line 31 of file PndEmcRecoPar.h.

References fTheNeighbourLevel.

Referenced by PndEmc2DLocMaxFinder::Init().

31 {return fTheNeighbourLevel;};
Int_t fTheNeighbourLevel
Definition: PndEmcRecoPar.h:74
void PndEmcRecoPar::putParams ( FairParamList *  list)

Definition at line 20 of file PndEmcRecoPar.cxx.

References fCentroidShift, fClusterActiveTime, fCutOffset, fCutSlope, fEmcClusterPosMethod, fEmcDigiPositionDepthPWO, fEmcDigiPositionDepthShashlyk, fEnergyThresholdBarrel, fEnergyThresholdBWD, fEnergyThresholdFWD, fEnergyThresholdShashlyk, fERatioCorr, fExponentialConstant, fMaxBumps, fMaxECut, fMaxIterations, fMinDigiEnergy, fMoliereRadius, fMoliereRadiusShashlyk, fNeighbourECut, fOffsetParmA, fOffsetParmB, fOffsetParmC, and fTheNeighbourLevel.

21 {
22  if(!list) return;
23  list->add("EnergyThresholdBarrel",fEnergyThresholdBarrel);
24  list->add("EnergyThresholdFWD",fEnergyThresholdFWD);
25  list->add("EnergyThresholdBWD",fEnergyThresholdBWD);
26  list->add("EnergyThresholdShashlyk",fEnergyThresholdShashlyk);
27  list->add("ClusterActiveTime",fClusterActiveTime);
28  list->add("EmcClusterPosMethod",fEmcClusterPosMethod);
29  list->add("OffsetParmA",fOffsetParmA);
30  list->add("OffsetParmB",fOffsetParmB);
31  list->add("OffsetParmC",fOffsetParmC);
32  list->add("EmcDigiPositionDepthPWO",fEmcDigiPositionDepthPWO);
33  list->add("EmcDigiPositionDepthShashlyk",fEmcDigiPositionDepthShashlyk);
34 
35  // parameters related to bump splitting
36  list->add("MaxECut",fMaxECut);
37  list->add("NeighbourECut",fNeighbourECut);
38  list->add("CutSlope",fCutSlope);
39  list->add("CutOffset",fCutOffset);
40  list->add("ERatioCorr",fERatioCorr);
41  list->add("TheNeighbourLevel",fTheNeighbourLevel);
42  list->add("MoliereRadius",fMoliereRadius);
43  list->add("MoliereRadiusShashlyk",fMoliereRadiusShashlyk);
44  list->add("ExponentialConstant",fExponentialConstant);
45  list->add("MaxIterations",fMaxIterations);
46  list->add("CentroidShift",fCentroidShift);
47  list->add("MaxBumps",fMaxBumps);
48  list->add("MinDigiEnergy",fMinDigiEnergy);
49 }
Double_t fERatioCorr
Definition: PndEmcRecoPar.h:73
Double_t fCutSlope
Definition: PndEmcRecoPar.h:71
Double_t fEnergyThresholdShashlyk
Definition: PndEmcRecoPar.h:53
Double_t fOffsetParmB
Definition: PndEmcRecoPar.h:61
Double_t fOffsetParmA
Definition: PndEmcRecoPar.h:60
Double_t fMinDigiEnergy
Definition: PndEmcRecoPar.h:82
Double_t fEnergyThresholdFWD
Definition: PndEmcRecoPar.h:51
Double_t fEmcDigiPositionDepthPWO
Definition: PndEmcRecoPar.h:64
Double_t fOffsetParmC
Definition: PndEmcRecoPar.h:62
Double_t fEnergyThresholdBarrel
Definition: PndEmcRecoPar.h:50
Double_t fMoliereRadiusShashlyk
Definition: PndEmcRecoPar.h:77
Double_t fEmcDigiPositionDepthShashlyk
Definition: PndEmcRecoPar.h:65
Double_t fCutOffset
Definition: PndEmcRecoPar.h:72
Double_t fClusterActiveTime
Definition: PndEmcRecoPar.h:54
Int_t fMaxIterations
Definition: PndEmcRecoPar.h:79
Double_t fNeighbourECut
Definition: PndEmcRecoPar.h:70
Double_t fExponentialConstant
Definition: PndEmcRecoPar.h:78
Double_t fEnergyThresholdBWD
Definition: PndEmcRecoPar.h:52
Double_t fMoliereRadius
Definition: PndEmcRecoPar.h:76
Double_t fMaxECut
Definition: PndEmcRecoPar.h:69
Text_t fEmcClusterPosMethod[10]
Definition: PndEmcRecoPar.h:57
Int_t fTheNeighbourLevel
Definition: PndEmcRecoPar.h:74
Double_t fCentroidShift
Definition: PndEmcRecoPar.h:80

Member Data Documentation

Double_t PndEmcRecoPar::fCentroidShift
private

Definition at line 80 of file PndEmcRecoPar.h.

Referenced by GetCentroidShift(), getParams(), and putParams().

Double_t PndEmcRecoPar::fClusterActiveTime
private

Definition at line 54 of file PndEmcRecoPar.h.

Referenced by GetClusterActiveTime(), getParams(), and putParams().

Double_t PndEmcRecoPar::fCutOffset
private

Definition at line 72 of file PndEmcRecoPar.h.

Referenced by GetCutOffset(), getParams(), and putParams().

Double_t PndEmcRecoPar::fCutSlope
private

Definition at line 71 of file PndEmcRecoPar.h.

Referenced by GetCutSlope(), getParams(), and putParams().

Text_t PndEmcRecoPar::fEmcClusterPosMethod[10]
private

Definition at line 57 of file PndEmcRecoPar.h.

Referenced by GetEmcClusterPosMethod(), getParams(), and putParams().

Double_t PndEmcRecoPar::fEmcDigiPositionDepthPWO
private

Definition at line 64 of file PndEmcRecoPar.h.

Referenced by GetEmcDigiPositionDepthPWO(), getParams(), and putParams().

Double_t PndEmcRecoPar::fEmcDigiPositionDepthShashlyk
private

Definition at line 65 of file PndEmcRecoPar.h.

Referenced by GetEmcDigiPositionDepthShashlyk(), getParams(), and putParams().

Double_t PndEmcRecoPar::fEnergyThresholdBarrel
private

Definition at line 50 of file PndEmcRecoPar.h.

Referenced by GetEnergyThresholdBarrel(), getParams(), and putParams().

Double_t PndEmcRecoPar::fEnergyThresholdBWD
private

Definition at line 52 of file PndEmcRecoPar.h.

Referenced by GetEnergyThresholdBWD(), getParams(), and putParams().

Double_t PndEmcRecoPar::fEnergyThresholdFWD
private

Definition at line 51 of file PndEmcRecoPar.h.

Referenced by GetEnergyThresholdFWD(), getParams(), and putParams().

Double_t PndEmcRecoPar::fEnergyThresholdShashlyk
private

Definition at line 53 of file PndEmcRecoPar.h.

Referenced by GetEnergyThresholdShashlyk(), getParams(), and putParams().

Double_t PndEmcRecoPar::fERatioCorr
private

Definition at line 73 of file PndEmcRecoPar.h.

Referenced by GetERatioCorr(), getParams(), and putParams().

Double_t PndEmcRecoPar::fExponentialConstant
private

Definition at line 78 of file PndEmcRecoPar.h.

Referenced by GetExponentialConstant(), getParams(), and putParams().

Int_t PndEmcRecoPar::fMaxBumps
private

Definition at line 81 of file PndEmcRecoPar.h.

Referenced by GetMaxBumps(), getParams(), and putParams().

Double_t PndEmcRecoPar::fMaxECut
private

Definition at line 69 of file PndEmcRecoPar.h.

Referenced by GetMaxECut(), getParams(), and putParams().

Int_t PndEmcRecoPar::fMaxIterations
private

Definition at line 79 of file PndEmcRecoPar.h.

Referenced by GetMaxIterations(), getParams(), and putParams().

Double_t PndEmcRecoPar::fMinDigiEnergy
private

Definition at line 82 of file PndEmcRecoPar.h.

Referenced by GetMinDigiEnergy(), getParams(), and putParams().

Double_t PndEmcRecoPar::fMoliereRadius
private

Definition at line 76 of file PndEmcRecoPar.h.

Referenced by GetMoliereRadius(), getParams(), and putParams().

Double_t PndEmcRecoPar::fMoliereRadiusShashlyk
private

Definition at line 77 of file PndEmcRecoPar.h.

Referenced by GetMoliereRadiusShashlyk(), getParams(), and putParams().

Double_t PndEmcRecoPar::fNeighbourECut
private

Definition at line 70 of file PndEmcRecoPar.h.

Referenced by GetNeighbourECut(), getParams(), and putParams().

Double_t PndEmcRecoPar::fOffsetParmA
private

Definition at line 60 of file PndEmcRecoPar.h.

Referenced by GetOffsetParmA(), getParams(), and putParams().

Double_t PndEmcRecoPar::fOffsetParmB
private

Definition at line 61 of file PndEmcRecoPar.h.

Referenced by GetOffsetParmB(), getParams(), and putParams().

Double_t PndEmcRecoPar::fOffsetParmC
private

Definition at line 62 of file PndEmcRecoPar.h.

Referenced by GetOffsetParmC(), getParams(), and putParams().

Int_t PndEmcRecoPar::fTheNeighbourLevel
private

Definition at line 74 of file PndEmcRecoPar.h.

Referenced by getParams(), GetTheNeighbourLevel(), and putParams().


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