AliPhysics  f05a842 (f05a842)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTrackletdNdetaMCTask::CentBin Struct Reference
Inheritance diagram for AliTrackletdNdetaMCTask::CentBin:

Public Member Functions

 CentBin ()
 
 CentBin (Float_t c1, Float_t c2, UShort_t recFlags)
 
virtual void WorkerInit (Container &parent, const TAxis &etaAxis, const TAxis &ipzAxis, const TAxis &deltaAxis, const TAxis &dThetaAxis, const TAxis &dPhiAxis)
 
virtual Bool_t FillSet (UShort_t set, Bool_t isSignal, Double_t ipZ, Double_t eta, Double_t dPhi, Double_t dPhiS, Double_t dTheta, Double_t dThetaX, Double_t delta, Double_t weight)
 
virtual void FillSpecie (Bool_t primary, Int_t pdg, Int_t parentPdg, Double_t delta, Double_t weight)
 
virtual void FillMCIPz (Double_t ipZ, Double_t genIPz)
 
virtual void FillPrimary (Double_t ipZ, Double_t genIPz, Double_t eta, Bool_t charged, Int_t pdg, Double_t weight)
 
virtual TH2MakeAlpha (const char *name, const char *title, Container *result, TH2 *primaries) const
 
virtual TH2MakeAlphaMask (TH2 *a1, TH2 *a2, Double_t min=0, Double_t max=2.5) const
 
virtual TH1MakePdgProj (const char *name, const char *title, TH2 *orig, Double_t cut=-1) const
 
virtual ContainerMasterFinalize (Container *parent, TH1 *ipz, Double_t deltaCut, Double_t deltaTail)
 
- Public Member Functions inherited from AliTrackletdNdetaTask::CentBin
 CentBin (Float_t cmin, Float_t cmax, UShort_t recFlags, Int_t colOff=1, Int_t styOff=0)
 
virtual ~CentBin ()
 
virtual const char * Name () const
 
virtual void FinalizeInit (Container *parent)
 
virtual ContainerEstimateBackground (Container *dataCon, HistoSet *set, Container *result, Double_t deltaCut, Double_t deltaTail)
 
virtual Bool_t Accept (Float_t value) const
 
virtual void FillIPz (Double_t ipZ)
 
- Public Member Functions inherited from AliTrackletdNdetaTask::SubBase
 SubBase ()
 
 SubBase (const SubBase &o)
 
virtual ~SubBase ()
 
SubBaseoperator= (SubBase &o)
 
virtual ContainerCreateContainer (Container &parent)
 
 ClassDef (SubBase, 1)
 

Protected Member Functions

 CentBin (const CentBin &o)
 
CentBinoperator= (const CentBin &)
 
 ClassDef (CentBin, 1)
 
- Protected Member Functions inherited from AliTrackletdNdetaTask::CentBin
 ClassDef (CentBin, 1)
 
 CentBin ()
 
 CentBin (const CentBin &o)
 
CentBinoperator= (const CentBin &)
 

Protected Attributes

HistoSetfPrimSet
 
HistoSetfSecSet
 
HistoSetfCombSet
 
HistoSetfCombUSet
 
TH2fEtaVsIPzMC
 
TH2fEtaVsIPzMCSel
 
TH2fIPzVsMC
 
TH1fIPzGen
 
TH1fIPzSel
 
TH1fPdgMC
 
TH2fPrimaryPdg
 
TH2fSecondaryPdg
 
TH2fPrimaryParentPdg
 
TH2fSecondaryParentPdg
 
- Protected Attributes inherited from AliTrackletdNdetaTask::CentBin
Float_t fMin
 
Float_t fMax
 
TListfHistoSets
 
HistoSetfDataSet
 
HistoSetfInjSet
 
HistoSetfRotSet
 
TH1fIPz
 

Additional Inherited Members

- Public Types inherited from AliTrackletdNdetaTask::SubBase
typedef
AliTrackletdNdetaTask::Container 
Container
 
- Public Attributes inherited from AliTrackletdNdetaTask::SubBase
ContainerfContainer
 

Detailed Description

Definition at line 2248 of file AliTrackletdNdetaTask.C.

Constructor & Destructor Documentation

AliTrackletdNdetaMCTask::CentBin::CentBin ( )
inline

Definition at line 2250 of file AliTrackletdNdetaTask.C.

AliTrackletdNdetaMCTask::CentBin::CentBin ( Float_t  c1,
Float_t  c2,
UShort_t  recFlags 
)

Definition at line 2706 of file AliTrackletdNdetaTask.C.

AliTrackletdNdetaMCTask::CentBin::CentBin ( const CentBin o)
inlineprotected

Copy constructor

Parameters
oObject to copy from

Definition at line 2407 of file AliTrackletdNdetaTask.C.

Member Function Documentation

AliTrackletdNdetaMCTask::CentBin::ClassDef ( CentBin  ,
 
)
protected
void AliTrackletdNdetaMCTask::CentBin::FillMCIPz ( Double_t  ipZ,
Double_t  genIPz 
)
virtual

Fill primary interaction point resolution

Parameters
ipZReconstructed IPz (large negative if invalid)
genIPzGenerated IPz

Definition at line 2829 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaMCTask::FillPrimaries().

void AliTrackletdNdetaMCTask::CentBin::FillPrimary ( Double_t  ipZ,
Double_t  genIPz,
Double_t  eta,
Bool_t  charged,
Int_t  pdg,
Double_t  weight 
)
virtual

Fill primary information

Parameters
ipZReconstructed IPz (large negative if invalid)
genIPzGenerated IPz
etaPseudorapidity of primary
chargedTrue if primary is charged
pdgParticle type (absolute value)
weightParticle weight

Definition at line 2837 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaMCTask::FillPrimaries().

Bool_t AliTrackletdNdetaMCTask::CentBin::FillSet ( UShort_t  set,
Bool_t  isSignal,
Double_t  ipZ,
Double_t  eta,
Double_t  dPhi,
Double_t  dPhiS,
Double_t  dTheta,
Double_t  dThetaX,
Double_t  delta,
Double_t  weight 
)
virtual

Fill information into histogram set. This is delegated so that sub-classes my override to do more (e.g., for MC).

Parameters
setHistogram set to fill into
isSignalTrue if signal survived cuts
ipZCurrent event IP's z coordinate
etaPseudorapidity
dPhiOpening angle in azimuth
dPhiSShifted opening angle in azimuth
dThetaOpening polar angle
dThetaXScaled opening polar angle
deltaTracklet \(\chi^2\)
weightTracklet weight (for MC)
Returns
true on success

Reimplemented from AliTrackletdNdetaTask::CentBin.

Definition at line 2787 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaMCTask::FillBins().

void AliTrackletdNdetaMCTask::CentBin::FillSpecie ( Bool_t  primary,
Int_t  pdg,
Int_t  parentPdg,
Double_t  delta,
Double_t  weight 
)
virtual

Fill specie information with delta. Later we will integrate over these to get the before/after histograms.

Parameters
primaryWhether this is a primary
pdgPDG of this particle
parentPdgPDG of parent particle
deltaDelta of this particle
weightTracklet weight

Definition at line 2815 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaMCTask::FillBins().

TH2 * AliTrackletdNdetaMCTask::CentBin::MakeAlpha ( const char *  name,
const char *  title,
Container result,
TH2 primaries 
) const
virtual

Calculate alpha

Parameters
nameName of generated histogram
titleTitle of generated histogram
resultContainer to add result to
primariesHistogram of primaries
Returns
Histogram containing alpha

Definition at line 2853 of file AliTrackletdNdetaTask.C.

TH2 * AliTrackletdNdetaMCTask::CentBin::MakeAlphaMask ( TH2 a1,
TH2 a2,
Double_t  min = 0,
Double_t  max = 2.5 
) const
virtual

Create a mask with fiducial cuts

Parameters
a1One alpha
a2Another alpha
minLeast value to consider
maxLargest value to consider
Returns
Mask

Definition at line 2876 of file AliTrackletdNdetaTask.C.

TH1 * AliTrackletdNdetaMCTask::CentBin::MakePdgProj ( const char *  name,
const char *  title,
TH2 orig,
Double_t  cut = -1 
) const
virtual

Make projection of PDG histogram of \(\Delta\) bins within cut.

Parameters
namename of projection
titletitle of projection
origOriginal PDG vs \(\Delta\)
cutUpper cut on \(\Delta\) - if negative, project all.
Returns
Newly created projection

Definition at line 2908 of file AliTrackletdNdetaTask.C.

AliTrackletdNdetaTask::Container * AliTrackletdNdetaMCTask::CentBin::MasterFinalize ( Container parent,
TH1 ipz,
Double_t  deltaCut,
Double_t  deltaTail 
)
virtual

Called on master on merged result.

Parameters
parentOutput container for results
ipzHistogram of ipZ for normalization
deltaCutCut on delta
deltaTailLower cut on \(\Delta\) tail
Returns
Result container

Reimplemented from AliTrackletdNdetaTask::CentBin.

Definition at line 2954 of file AliTrackletdNdetaTask.C.

CentBin& AliTrackletdNdetaMCTask::CentBin::operator= ( const CentBin )
inlineprotected

Assignment operator

Returns
Reference to this object

Definition at line 2430 of file AliTrackletdNdetaTask.C.

void AliTrackletdNdetaMCTask::CentBin::WorkerInit ( Container parent,
const TAxis etaAxis,
const TAxis ipzAxis,
const TAxis deltaAxis,
const TAxis dThetaAxis,
const TAxis dPhiAxis 
)
virtual

Initialize this object on worker - e.g., called at start of (slave) job

Parameters
parentParent container
etaAxisEta axis used
ipzAxisIPz axis used
deltaAxisDelta axis used
dThetaAxisdTheta axis used
dPhiAxisdPhi axis used

Reimplemented from AliTrackletdNdetaTask::CentBin.

Definition at line 2734 of file AliTrackletdNdetaTask.C.

Member Data Documentation

HistoSet* AliTrackletdNdetaMCTask::CentBin::fCombSet
protected

Definition at line 2434 of file AliTrackletdNdetaTask.C.

Referenced by CentBin().

HistoSet* AliTrackletdNdetaMCTask::CentBin::fCombUSet
protected

Definition at line 2435 of file AliTrackletdNdetaTask.C.

Referenced by CentBin().

TH2* AliTrackletdNdetaMCTask::CentBin::fEtaVsIPzMC
protected

Definition at line 2436 of file AliTrackletdNdetaTask.C.

TH2* AliTrackletdNdetaMCTask::CentBin::fEtaVsIPzMCSel
protected

Definition at line 2437 of file AliTrackletdNdetaTask.C.

TH1* AliTrackletdNdetaMCTask::CentBin::fIPzGen
protected

Definition at line 2439 of file AliTrackletdNdetaTask.C.

TH1* AliTrackletdNdetaMCTask::CentBin::fIPzSel
protected

Definition at line 2440 of file AliTrackletdNdetaTask.C.

TH2* AliTrackletdNdetaMCTask::CentBin::fIPzVsMC
protected

Definition at line 2438 of file AliTrackletdNdetaTask.C.

TH1* AliTrackletdNdetaMCTask::CentBin::fPdgMC
protected

Definition at line 2441 of file AliTrackletdNdetaTask.C.

TH2* AliTrackletdNdetaMCTask::CentBin::fPrimaryParentPdg
protected

Definition at line 2444 of file AliTrackletdNdetaTask.C.

TH2* AliTrackletdNdetaMCTask::CentBin::fPrimaryPdg
protected

Definition at line 2442 of file AliTrackletdNdetaTask.C.

HistoSet* AliTrackletdNdetaMCTask::CentBin::fPrimSet
protected

Definition at line 2432 of file AliTrackletdNdetaTask.C.

Referenced by CentBin().

TH2* AliTrackletdNdetaMCTask::CentBin::fSecondaryParentPdg
protected

Definition at line 2445 of file AliTrackletdNdetaTask.C.

TH2* AliTrackletdNdetaMCTask::CentBin::fSecondaryPdg
protected

Definition at line 2443 of file AliTrackletdNdetaTask.C.

HistoSet* AliTrackletdNdetaMCTask::CentBin::fSecSet
protected

Definition at line 2433 of file AliTrackletdNdetaTask.C.

Referenced by CentBin().


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