AliPhysics  ff07904 (ff07904)
TestF::Test Struct Referenceabstract

Public Member Functions

 Test ()
 
 Test (const Test &o)
 
virtual ~Test ()
 
Testoperator= (const Test &o)
 
void Run (const Double_t c, const Double_t delta, const Double_t xi, const Double_t sigma, const Int_t n, const Double_t *a, const Double_t xMin, const Double_t xMax)
 
Double_t C () const
 
Double_t Delta () const
 
Double_t Xi () const
 
Double_t Sigma () const
 
Double_t SigmaN () const
 
Double_t N () const
 
Double_t A (Int_t i) const
 
Double_t XMin () const
 
Double_t XMax () const
 
TF1 * Fi (Double_t c, Double_t delta, Double_t xi, Double_t sigma, Double_t sigmaN, Int_t i) const
 
TF1 * Fi (Int_t i)
 
Overload-able interface
virtual void DoRun ()=0
 
virtual void WriteOut (TDirectory *d)=0
 
virtual void DrawInPad (TVirtualPad *p)=0
 

Public Attributes

TF1 * src
 

Detailed Description

Base class for individual tests

Definition at line 31 of file TestF.C.

Constructor & Destructor Documentation

TestF::Test::Test ( )
inline

Constructor

Definition at line 37 of file TestF.C.

Referenced by TestF::StepIt().

TestF::Test::Test ( const Test o)
inline

Copy constructor

Definition at line 41 of file TestF.C.

virtual TestF::Test::~Test ( )
inlinevirtual

Destructor

Definition at line 46 of file TestF.C.

Member Function Documentation

Double_t TestF::Test::A ( Int_t  i) const
inline
Returns
Source parameter \( a_i\)

Definition at line 118 of file TestF.C.

Referenced by Fi().

Double_t TestF::Test::C ( ) const
inline
Returns
Source parameter \( C\)

Definition at line 94 of file TestF.C.

Referenced by Fi().

Double_t TestF::Test::Delta ( ) const
inline
Returns
Source parameter \(\Delta_p\)

Definition at line 98 of file TestF.C.

Referenced by Fi(), and TestF::StepIt().

virtual void TestF::Test::DoRun ( )
pure virtual

Run the test

Referenced by Fi(), Run(), and TestF::StepIt().

virtual void TestF::Test::DrawInPad ( TVirtualPad *  p)
pure virtual

Draw results in a pad

Parameters
pPad to draw in

Referenced by TestF::DoOne(), Fi(), and TestF::StepIt().

TF1* TestF::Test::Fi ( Double_t  c,
Double_t  delta,
Double_t  xi,
Double_t  sigma,
Double_t  sigmaN,
Int_t  i 
) const
inline

Generate single component function for i particles

Parameters
cConstant
delta\(\Delta_p\)
xi\(\xi\)
sigma\(\sigma\)
sigmaN\(\sigma_n\)
iNumber of particles
Returns
Pointer to function object

Definition at line 140 of file TestF.C.

Referenced by Fi(), and TestF::StepIt().

TF1* TestF::Test::Fi ( Int_t  i)
inline

Generate single component function for i particles using source parameters

Parameters
iNumber of particles
Returns
Pointer to function object

Definition at line 152 of file TestF.C.

Double_t TestF::Test::N ( ) const
inline
Returns
Source parameter \( N\)

Definition at line 114 of file TestF.C.

Referenced by TestF::StepIt().

Test& TestF::Test::operator= ( const Test o)
inline

Assignment operator

Definition at line 50 of file TestF.C.

void TestF::Test::Run ( const Double_t  c,
const Double_t  delta,
const Double_t  xi,
const Double_t  sigma,
const Int_t  n,
const Double_t a,
const Double_t  xMin,
const Double_t  xMax 
)
inline

Run the test

Parameters
cConstant
deltaMost probable value
xiLandau width
sigmaGaussian smear
nMaximum number of particles
aParticle weights
xMinLeast energy loss
xMaxLargest energy loss

Definition at line 67 of file TestF.C.

Referenced by TestF::DoOne().

Double_t TestF::Test::Sigma ( ) const
inline
Returns
Source parameter \( \sigma\)

Definition at line 106 of file TestF.C.

Referenced by Fi(), TestF::Scan(), and TestF::StepIt().

Double_t TestF::Test::SigmaN ( ) const
inline
Returns
Source parameter \( \sigma_n\)

Definition at line 110 of file TestF.C.

Referenced by Fi().

virtual void TestF::Test::WriteOut ( TDirectory *  d)
pure virtual

Write results to disk

Parameters
dDirectory to write to

Referenced by Fi(), TestF::Scan(), and TestF::StepIt().

Double_t TestF::Test::Xi ( ) const
inline
Returns
Source parameter \(\xi\)

Definition at line 102 of file TestF.C.

Referenced by Fi(), TestF::Scan(), and TestF::StepIt().

Double_t TestF::Test::XMax ( ) const
inline
Returns
Largest energy loss

Definition at line 127 of file TestF.C.

Referenced by Fi(), and TestF::StepIt().

Double_t TestF::Test::XMin ( ) const
inline
Returns
Least energy loss

Definition at line 123 of file TestF.C.

Referenced by Fi(), and TestF::StepIt().

Member Data Documentation

TF1* TestF::Test::src

Source distribution

Definition at line 33 of file TestF.C.

Referenced by operator=(), TestF::StepIt(), and ~Test().


The documentation for this struct was generated from the following file: