AliPhysics  d565ceb (d565ceb)
AliFMDMCTrackInspector::RingHistos Struct Reference

#include <AliFMDMCTrackInspector.h>

Inheritance diagram for AliFMDMCTrackInspector::RingHistos:

Public Member Functions

 RingHistos ()
 
 RingHistos (UShort_t d, Char_t r)
 
 ~RingHistos ()
 
 RingHistos (const RingHistos &o)
 
RingHistosoperator= (const RingHistos &o)
 
TArrayD MakeIncreasingAxis (Int_t nBins, Double_t low, Double_t high) const
 
virtual void SetupForData (const TAxis &eAxis, const TAxis &cAxis, Double_t maxDE=10, Int_t nDEbins=300, Bool_t useIncrBin=true)
 
virtual void FillMC (UShort_t flag, Double_t eta, Double_t mult)
 
virtual void Scale (TH1 *dist) const
 
TObjArrayFit (TList *dir, Double_t lowCut, UShort_t nParticles, UShort_t minEntries, UShort_t minusBins, Double_t relErrorCut, Double_t chi2nuCut, Double_t minWeight, Double_t regCut, EResidualMethod residuals) const
 
- Public Member Functions inherited from AliFMDEnergyFitter::RingHistos
 RingHistos ()
 
 RingHistos (UShort_t d, Char_t r)
 
 RingHistos (const RingHistos &o)
 
RingHistosoperator= (const RingHistos &o)
 
TH2Make (const char *name, const char *title, const TAxis &eAxis, Double_t deMax=12, Int_t nDeBins=300, Bool_t incr=true)
 
virtual void CreateOutputObjects (TList *dir)
 
virtual void Fill (Bool_t empty, Double_t eta, Int_t icent, Double_t mult)
 
virtual TObjArrayFitSlices (TList *dir, const char *name, Double_t lowCut, UShort_t nParticles, UShort_t minEntries, UShort_t minusBins, Double_t relErrorCut, Double_t chi2nuCut, Double_t minWeight, Double_t regCut, EResidualMethod residuals, Bool_t scaleToPeak=true, TObjArray *best=0) const
 
virtual ELossFit_tFitHist (TH1 *dist, Double_t lowCut, UShort_t nParticles, UShort_t minEntries, UShort_t minusBins, Double_t relErrorCut, Double_t chi2nuCut, Double_t minWeight, Double_t regCut, Bool_t scaleToPeak, UShort_t &status) const
 
virtual ELossFit_tFindBestFit (const TH1 *dist, Double_t relErrorCut, Double_t chi2nuCut, Double_t minWeightCut) const
 
virtual void CalculateResiduals (EResidualMethod mode, Double_t lowCut, TH1 *dist, ELossFit_t *fit, TCollection *out) const
 
virtual void FindBestFits (const TList *d, AliFMDCorrELossFit &obj, const TAxis &eta)
 
TH1MakePar (const char *name, const char *title, const TAxis &eta) const
 
TH1MakeTotal (const char *name, const char *title, const TAxis &eta, Int_t low, Int_t high, Double_t val, Double_t err) const
 
- Public Member Functions inherited from AliForwardUtil::RingHistos
 RingHistos ()
 
 RingHistos (UShort_t d, Char_t r)
 
 RingHistos (const RingHistos &o)
 
RingHistosoperator= (const RingHistos &o)
 
TListDefineOutputList (TList *d) const
 
TListGetOutputList (const TList *d) const
 
TH1GetOutputHist (const TList *d, const char *name) const
 
Color_t Color () const
 
const char * GetName () const
 
const UShort_tNSector () const
 
const UShort_tNStrip () const
 

Public Attributes

TH2fPrimary
 
TH2fSecondary
 
TH2fBetaGammadEdx
 
TH2fBetaGammaEta
 
TH2fDedxEta
 
- Public Attributes inherited from AliFMDEnergyFitter::RingHistos
TH1fEDist
 
TH1fEmpty
 
TH2fHist
 
TListfList
 
TObjArray fBest
 
TClonesArray fFits
 
Int_t fDebug
 
- Public Attributes inherited from AliForwardUtil::RingHistos
UShort_t fDet
 
Char_t fRing
 
TString fName
 
UShort_t fkNSector
 
UShort_t fkNStrip
 

Additional Inherited Members

- Public Types inherited from AliFMDEnergyFitter::RingHistos
typedef AliFMDCorrELossFit::ELossFit ELossFit_t
 

Detailed Description

Container of ring histograms

Definition at line 96 of file AliFMDMCTrackInspector.h.

Constructor & Destructor Documentation

AliFMDMCTrackInspector::RingHistos::RingHistos ( )

Default CTOR - do not use

Definition at line 158 of file AliFMDMCTrackInspector.cxx.

AliFMDMCTrackInspector::RingHistos::RingHistos ( UShort_t  d,
Char_t  r 
)

User CTOR

Parameters
dDetector number
rRing identifier

Definition at line 168 of file AliFMDMCTrackInspector.cxx.

AliFMDMCTrackInspector::RingHistos::~RingHistos ( )
inlinevirtual

DTOR

Reimplemented from AliFMDEnergyFitter::RingHistos.

Definition at line 112 of file AliFMDMCTrackInspector.h.

AliFMDMCTrackInspector::RingHistos::RingHistos ( const RingHistos o)
inline

Copy constructor - not defined

Parameters
oObject to copy from

Definition at line 118 of file AliFMDMCTrackInspector.h.

Member Function Documentation

void AliFMDMCTrackInspector::RingHistos::FillMC ( UShort_t  flag,
Double_t  eta,
Double_t  mult 
)
virtual

Fill in observation

Parameters
flag0 - fill all, 1 - primary, 2 - secondary
etaEta of particle observations
multScaled energy loss

Definition at line 223 of file AliFMDMCTrackInspector.cxx.

Referenced by operator=(), and AliFMDMCTrackInspector::PostEvent().

TObjArray * AliFMDMCTrackInspector::RingHistos::Fit ( TList dir,
Double_t  lowCut,
UShort_t  nParticles,
UShort_t  minEntries,
UShort_t  minusBins,
Double_t  relErrorCut,
Double_t  chi2nuCut,
Double_t  minWeight,
Double_t  regCut,
EResidualMethod  residuals 
) const
virtual

Fit the final distributions - called via Terminate

Parameters
dirContaining directory
lowCutLower cut on \(\Delta/\Delta_{mip}\)
nParticlesMax. number of particle peaks to fit
minEntriesLeast number of entries required before fitting
minusBinsNumber of bins below the 1st peak we start fitting
relErrorCutLargest relative error on paramters
chi2nuCutLargest value of the \(\chi^2/\nu\)
minWeightLeast weight to consider
regCutWhen to regalurize
residualsHow to do residuals - if at all
Returns
List of histograms of parameters

Reimplemented from AliFMDEnergyFitter::RingHistos.

Definition at line 246 of file AliFMDMCTrackInspector.cxx.

Referenced by operator=().

TArrayD AliFMDMCTrackInspector::RingHistos::MakeIncreasingAxis ( Int_t  nBins,
Double_t  low,
Double_t  high 
) const
virtual

Create a bin array of increasing bins. This overload uses the service AliFMDEncodedEdx::Spec::FillBinArray.

Parameters
nBinsNumber of bins - ignored
lowLow cut - ignored
highHigh cut - ignored
Returns
Array of bin boundaries

Reimplemented from AliFMDEnergyFitter::RingHistos.

Definition at line 178 of file AliFMDMCTrackInspector.cxx.

Referenced by operator=().

RingHistos& AliFMDMCTrackInspector::RingHistos::operator= ( const RingHistos o)
inline

Assignment operator - not defined

Parameters
oObject to assign from
Returns
Reference to this

Definition at line 126 of file AliFMDMCTrackInspector.h.

void AliFMDMCTrackInspector::RingHistos::Scale ( TH1 dist) const
virtual

Do scaling of histogram before fitting. This can be overwritten to do some smoothing or the like. By default, this simply scales to the bin width.

Parameters
distHistogram to scale.

Reimplemented from AliFMDEnergyFitter::RingHistos.

Definition at line 236 of file AliFMDMCTrackInspector.cxx.

Referenced by operator=().

void AliFMDMCTrackInspector::RingHistos::SetupForData ( const TAxis eAxis,
const TAxis cAxis,
Double_t  maxDE = 10,
Int_t  nDEbins = 300,
Bool_t  useIncrBin = true 
)
virtual

Initialise object

Parameters
eAxisEta axis
cAxisCentrality axis
maxDEMax energy loss to consider
nDEbinsNumber of bins
useIncrBinWhether to use an increasing bin size

Reimplemented from AliFMDEnergyFitter::RingHistos.

Definition at line 193 of file AliFMDMCTrackInspector.cxx.

Referenced by operator=().

Member Data Documentation

TH2* AliFMDMCTrackInspector::RingHistos::fBetaGammadEdx
TH2* AliFMDMCTrackInspector::RingHistos::fBetaGammaEta
TH2* AliFMDMCTrackInspector::RingHistos::fDedxEta
TH2* AliFMDMCTrackInspector::RingHistos::fPrimary

Definition at line 197 of file AliFMDMCTrackInspector.h.

Referenced by FillMC(), and SetupForData().

TH2* AliFMDMCTrackInspector::RingHistos::fSecondary

Definition at line 198 of file AliFMDMCTrackInspector.h.

Referenced by FillMC(), and SetupForData().


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