CbmRoot
CbmMuchTest Class Reference

#include <CbmMuchTest.h>

Collaboration diagram for CbmMuchTest:
[legend]

Classes

struct  Cluster
 
struct  M_Point
 

Public Member Functions

 CbmMuchTest ()
 Constructor. More...
 
 CbmMuchTest (Int_t nofPoints, Float_t subStep)
 
void SetNPoints (Int_t nofPoints)
 
void SetXIn (Float_t xIn, Int_t iPoint)
 
void SetYIn (Float_t yIn, Int_t iPoint)
 
void SetXOut (Float_t xOut, Int_t iPoint)
 
void SetYOut (Float_t yOut, Int_t iPoint)
 
void SetSubStep (Int_t iStep)
 
void SetNClusters (Int_t NCl)
 
Int_t GetNPoints () const
 
Int_t GetNSbCenters () const
 
void RebuildPoints ()
 
void SetNCl (Int_t nCl, Int_t iCl)
 
void SetXCl (Float_t xCl, Int_t iCl)
 
void SetYCl (Float_t yCl, Int_t iCl)
 
void SetCharge (UInt_t chCl, Int_t iCl)
 
void SetNPads (Int_t nofPads, Int_t iCl)
 
void SetPadInCl (Int_t nPad, Int_t iCl, Int_t iPad)
 
void SetCluster (Int_t nCl, Float_t xCl, Float_t yCl, UInt_t chCl, Int_t nofPads, Int_t iCl)
 
void CalculateEfficiency ()
 
void CalculateAccuracy ()
 
void MainTesting ()
 
Float_t GetMeanAccuracy () const
 
Float_t GetMeanAccuracyForSubCenters () const
 
Float_t GetMeanEfficiency () const
 
Float_t GetMeanEfficiencyForSubCenters () const
 
virtual ~CbmMuchTest ()
 Destructor. More...
 

Private Member Functions

 CbmMuchTest (const CbmMuchTest &)
 
CbmMuchTestoperator= (const CbmMuchTest &)
 

Private Attributes

Int_t fNofPoints
 
Int_t fNofSubCenters
 
Float_t fSubStep
 
M_PointfRealPoints
 
Int_t fNofClusters
 
ClusterfClusters
 
Float_t fMeanErrorOnX
 
Float_t fMeanErrorOnY
 
Float_t * fErrorsOnX
 
Float_t * fErrorsOnY
 
Float_t fMeanErrorOnXforSubCenters
 
Float_t fMeanErrorOnYforSubCenters
 
Float_t * fErrorsOnXforSubCenters
 
Float_t * fErrorsOnYforSubCenters
 
Float_t fEfficiency
 
Float_t fEfficiencyForSubCenters
 

Static Private Attributes

static const Int_t fMaxSubCentersPerPoint = 10
 

Detailed Description

Definition at line 18 of file CbmMuchTest.h.

Constructor & Destructor Documentation

◆ CbmMuchTest() [1/3]

CbmMuchTest::CbmMuchTest ( )

Constructor.

Definition at line 33 of file CbmMuchTest.cxx.

References fNofClusters, fNofPoints, fNofSubCenters, fRealPoints, and fSubStep.

◆ CbmMuchTest() [2/3]

CbmMuchTest::CbmMuchTest ( Int_t  nofPoints,
Float_t  subStep 
)

Definition at line 53 of file CbmMuchTest.cxx.

References fNofClusters, fNofPoints, fNofSubCenters, fRealPoints, and fSubStep.

◆ ~CbmMuchTest()

CbmMuchTest::~CbmMuchTest ( )
virtual

Destructor.

Definition at line 72 of file CbmMuchTest.cxx.

◆ CbmMuchTest() [3/3]

CbmMuchTest::CbmMuchTest ( const CbmMuchTest )
private

Member Function Documentation

◆ CalculateAccuracy()

◆ CalculateEfficiency()

void CbmMuchTest::CalculateEfficiency ( )

Definition at line 229 of file CbmMuchTest.cxx.

References fEfficiency, fEfficiencyForSubCenters, fNofClusters, fNofPoints, and fNofSubCenters.

Referenced by MainTesting().

◆ GetMeanAccuracy()

Float_t CbmMuchTest::GetMeanAccuracy ( ) const
inline

Definition at line 61 of file CbmMuchTest.h.

References fMeanErrorOnX, and fMeanErrorOnY.

◆ GetMeanAccuracyForSubCenters()

Float_t CbmMuchTest::GetMeanAccuracyForSubCenters ( ) const
inline

Definition at line 64 of file CbmMuchTest.h.

References fMeanErrorOnXforSubCenters, and fMeanErrorOnYforSubCenters.

◆ GetMeanEfficiency()

Float_t CbmMuchTest::GetMeanEfficiency ( ) const
inline

Definition at line 67 of file CbmMuchTest.h.

References fEfficiency.

◆ GetMeanEfficiencyForSubCenters()

Float_t CbmMuchTest::GetMeanEfficiencyForSubCenters ( ) const
inline

Definition at line 68 of file CbmMuchTest.h.

References fEfficiencyForSubCenters.

◆ GetNPoints()

Int_t CbmMuchTest::GetNPoints ( ) const
inline

Definition at line 38 of file CbmMuchTest.h.

References fNofPoints.

◆ GetNSbCenters()

Int_t CbmMuchTest::GetNSbCenters ( ) const
inline

Definition at line 39 of file CbmMuchTest.h.

References fNofSubCenters.

◆ MainTesting()

void CbmMuchTest::MainTesting ( )

Definition at line 294 of file CbmMuchTest.cxx.

References CalculateAccuracy(), and CalculateEfficiency().

◆ operator=()

CbmMuchTest& CbmMuchTest::operator= ( const CbmMuchTest )
private

◆ RebuildPoints()

◆ SetCharge()

void CbmMuchTest::SetCharge ( UInt_t  chCl,
Int_t  iCl 
)

Definition at line 191 of file CbmMuchTest.cxx.

References fClusters, fNofClusters, and CbmMuchTest::Cluster::sumClCharge.

◆ SetCluster()

void CbmMuchTest::SetCluster ( Int_t  nCl,
Float_t  xCl,
Float_t  yCl,
UInt_t  chCl,
Int_t  nofPads,
Int_t  iCl 
)

◆ SetNCl()

void CbmMuchTest::SetNCl ( Int_t  nCl,
Int_t  iCl 
)

Definition at line 170 of file CbmMuchTest.cxx.

References fClusters, fNofClusters, and CbmMuchTest::Cluster::nofCluster.

◆ SetNClusters()

void CbmMuchTest::SetNClusters ( Int_t  NCl)

◆ SetNPads()

void CbmMuchTest::SetNPads ( Int_t  nofPads,
Int_t  iCl 
)

Definition at line 198 of file CbmMuchTest.cxx.

References fClusters, fNofClusters, and CbmMuchTest::Cluster::nofPads.

◆ SetNPoints()

void CbmMuchTest::SetNPoints ( Int_t  nofPoints)

Definition at line 112 of file CbmMuchTest.cxx.

References fNofPoints, and fRealPoints.

◆ SetPadInCl()

void CbmMuchTest::SetPadInCl ( Int_t  nPad,
Int_t  iCl,
Int_t  iPad 
)

Definition at line 205 of file CbmMuchTest.cxx.

References fClusters, fNofClusters, and CbmMuchTest::Cluster::padsInCluster.

◆ SetSubStep()

void CbmMuchTest::SetSubStep ( Int_t  iStep)

Definition at line 158 of file CbmMuchTest.cxx.

References fSubStep.

◆ SetXCl()

void CbmMuchTest::SetXCl ( Float_t  xCl,
Int_t  iCl 
)

Definition at line 177 of file CbmMuchTest.cxx.

References fClusters, fNofClusters, and CbmMuchTest::Cluster::xc.

◆ SetXIn()

void CbmMuchTest::SetXIn ( Float_t  xIn,
Int_t  iPoint 
)

Definition at line 121 of file CbmMuchTest.cxx.

References fNofPoints, fRealPoints, and CbmMuchTest::M_Point::x1.

◆ SetXOut()

void CbmMuchTest::SetXOut ( Float_t  xOut,
Int_t  iPoint 
)

Definition at line 140 of file CbmMuchTest.cxx.

References fNofPoints, fRealPoints, and CbmMuchTest::M_Point::x2.

◆ SetYCl()

void CbmMuchTest::SetYCl ( Float_t  yCl,
Int_t  iCl 
)

Definition at line 184 of file CbmMuchTest.cxx.

References fClusters, fNofClusters, and CbmMuchTest::Cluster::yc.

◆ SetYIn()

void CbmMuchTest::SetYIn ( Float_t  yIn,
Int_t  iPoint 
)

Definition at line 131 of file CbmMuchTest.cxx.

References fNofPoints, fRealPoints, and CbmMuchTest::M_Point::y1.

◆ SetYOut()

void CbmMuchTest::SetYOut ( Float_t  yOut,
Int_t  iPoint 
)

Definition at line 149 of file CbmMuchTest.cxx.

References fNofPoints, fRealPoints, and CbmMuchTest::M_Point::y2.

Member Data Documentation

◆ fClusters

Cluster* CbmMuchTest::fClusters
private

◆ fEfficiency

Float_t CbmMuchTest::fEfficiency
private

Definition at line 117 of file CbmMuchTest.h.

Referenced by CalculateEfficiency(), GetMeanEfficiency(), and SetNClusters().

◆ fEfficiencyForSubCenters

Float_t CbmMuchTest::fEfficiencyForSubCenters
private

◆ fErrorsOnX

Float_t* CbmMuchTest::fErrorsOnX
private

Definition at line 110 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fErrorsOnXforSubCenters

Float_t* CbmMuchTest::fErrorsOnXforSubCenters
private

Definition at line 114 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fErrorsOnY

Float_t* CbmMuchTest::fErrorsOnY
private

Definition at line 111 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fErrorsOnYforSubCenters

Float_t* CbmMuchTest::fErrorsOnYforSubCenters
private

Definition at line 115 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fMaxSubCentersPerPoint

const Int_t CbmMuchTest::fMaxSubCentersPerPoint = 10
staticprivate

Definition at line 80 of file CbmMuchTest.h.

◆ fMeanErrorOnX

Float_t CbmMuchTest::fMeanErrorOnX
private

Definition at line 108 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracy().

◆ fMeanErrorOnXforSubCenters

Float_t CbmMuchTest::fMeanErrorOnXforSubCenters
private

Definition at line 112 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracyForSubCenters().

◆ fMeanErrorOnY

Float_t CbmMuchTest::fMeanErrorOnY
private

Definition at line 109 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracy().

◆ fMeanErrorOnYforSubCenters

Float_t CbmMuchTest::fMeanErrorOnYforSubCenters
private

Definition at line 113 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracyForSubCenters().

◆ fNofClusters

Int_t CbmMuchTest::fNofClusters
private

◆ fNofPoints

Int_t CbmMuchTest::fNofPoints
private

◆ fNofSubCenters

Int_t CbmMuchTest::fNofSubCenters
private

Definition at line 78 of file CbmMuchTest.h.

Referenced by CalculateEfficiency(), CbmMuchTest(), GetNSbCenters(), and RebuildPoints().

◆ fRealPoints

M_Point* CbmMuchTest::fRealPoints
private

◆ fSubStep

Float_t CbmMuchTest::fSubStep
private

Definition at line 79 of file CbmMuchTest.h.

Referenced by CbmMuchTest(), RebuildPoints(), and SetSubStep().


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