CbmRoot
Loading...
Searching...
No Matches
CbmMuchTest Class Reference

#include <CbmMuchTest.h>

Collaboration diagram for CbmMuchTest:
[legend]

Classes

struct  Cluster
 
struct  M_Point
 

Public Member Functions

 CbmMuchTest ()
 Constructor.
 
 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.
 

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 22 of file CbmMuchTest.h.

Constructor & Destructor Documentation

◆ CbmMuchTest() [1/3]

CbmMuchTest::CbmMuchTest ( )

Constructor.

Definition at line 36 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 57 of file CbmMuchTest.cxx.

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

◆ ~CbmMuchTest()

CbmMuchTest::~CbmMuchTest ( )
virtual

Destructor.

Definition at line 77 of file CbmMuchTest.cxx.

◆ CbmMuchTest() [3/3]

CbmMuchTest::CbmMuchTest ( const CbmMuchTest & )
private

Member Function Documentation

◆ CalculateAccuracy()

◆ CalculateEfficiency()

void CbmMuchTest::CalculateEfficiency ( )

Definition at line 248 of file CbmMuchTest.cxx.

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

Referenced by MainTesting().

◆ GetMeanAccuracy()

Float_t CbmMuchTest::GetMeanAccuracy ( ) const
inline

Definition at line 60 of file CbmMuchTest.h.

References fMeanErrorOnX, and fMeanErrorOnY.

◆ GetMeanAccuracyForSubCenters()

Float_t CbmMuchTest::GetMeanAccuracyForSubCenters ( ) const
inline

Definition at line 61 of file CbmMuchTest.h.

References fMeanErrorOnXforSubCenters, and fMeanErrorOnYforSubCenters.

◆ GetMeanEfficiency()

Float_t CbmMuchTest::GetMeanEfficiency ( ) const
inline

Definition at line 65 of file CbmMuchTest.h.

References fEfficiency.

◆ GetMeanEfficiencyForSubCenters()

Float_t CbmMuchTest::GetMeanEfficiencyForSubCenters ( ) const
inline

Definition at line 66 of file CbmMuchTest.h.

References fEfficiencyForSubCenters.

◆ GetNPoints()

Int_t CbmMuchTest::GetNPoints ( ) const
inline

Definition at line 42 of file CbmMuchTest.h.

References fNofPoints.

◆ GetNSbCenters()

Int_t CbmMuchTest::GetNSbCenters ( ) const
inline

Definition at line 43 of file CbmMuchTest.h.

References fNofSubCenters.

◆ MainTesting()

void CbmMuchTest::MainTesting ( )

Definition at line 312 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 207 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 180 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 216 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 225 of file CbmMuchTest.cxx.

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

◆ SetSubStep()

void CbmMuchTest::SetSubStep ( Int_t iStep)

Definition at line 167 of file CbmMuchTest.cxx.

References fSubStep.

◆ SetXCl()

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

Definition at line 189 of file CbmMuchTest.cxx.

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

◆ SetXIn()

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

Definition at line 122 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 145 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 198 of file CbmMuchTest.cxx.

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

◆ SetYIn()

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

Definition at line 134 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 156 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 113 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 106 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fErrorsOnXforSubCenters

Float_t* CbmMuchTest::fErrorsOnXforSubCenters
private

Definition at line 110 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fErrorsOnY

Float_t* CbmMuchTest::fErrorsOnY
private

Definition at line 107 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fErrorsOnYforSubCenters

Float_t* CbmMuchTest::fErrorsOnYforSubCenters
private

Definition at line 111 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and SetNClusters().

◆ fMaxSubCentersPerPoint

const Int_t CbmMuchTest::fMaxSubCentersPerPoint = 10
staticprivate

Definition at line 76 of file CbmMuchTest.h.

◆ fMeanErrorOnX

Float_t CbmMuchTest::fMeanErrorOnX
private

Definition at line 104 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracy().

◆ fMeanErrorOnXforSubCenters

Float_t CbmMuchTest::fMeanErrorOnXforSubCenters
private

Definition at line 108 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracyForSubCenters().

◆ fMeanErrorOnY

Float_t CbmMuchTest::fMeanErrorOnY
private

Definition at line 105 of file CbmMuchTest.h.

Referenced by CalculateAccuracy(), and GetMeanAccuracy().

◆ fMeanErrorOnYforSubCenters

Float_t CbmMuchTest::fMeanErrorOnYforSubCenters
private

Definition at line 109 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

◆ fRealPoints

M_Point* CbmMuchTest::fRealPoints
private

◆ fSubStep

Float_t CbmMuchTest::fSubStep
private

Definition at line 75 of file CbmMuchTest.h.

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


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