AliPhysics  781d0c7 (781d0c7)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTrackletAODdNdeta::Histos Struct Reference
Inheritance diagram for AliTrackletAODdNdeta::Histos:

Public Member Functions

 Histos (const char *name="", Color_t color=kBlack, Style_t style=1, UChar_t mask=0, UChar_t veto=0)
 
 Histos (const Histos &o)
 
virtual ~Histos ()
 
Histosoperator= (const Histos &)
 
Bool_t IsMeasured () const
 
Bool_t IsInjected () const
 
Bool_t IsCombinatoric () const
 
Bool_t IsDistinct () const
 
Bool_t IsPrimary () const
 
Bool_t IsSecondary () const
 
Bool_t IsGenerated () const
 
Bool_t WorkerInit (Container *parent, const TAxis &etaAxis, const TAxis &ipzAxis, const TAxis &deltaAxis)
 
void SetAttr (Color_t c, Style_t m)
 
Bool_t ProcessTracklet (AliAODTracklet *tracklet, Double_t ipz, UShort_t signal, Double_t weight)
 
Bool_t FinalizeInit (Container *parent)
 
Bool_t MasterFinalize (Container *parent, TH1 *ipz, Double_t tailCut, Double_t tailMax)
 
UChar_t GetMask () const
 
UChar_t GetVeto () const
 
void Print (Option_t *option="") const
 
 ClassDef (Histos, 1)
 
- Public Member Functions inherited from AliTrackletAODdNdeta::Sub
 Sub (const char *name="")
 
 Sub (const Sub &o)
 
virtual ~Sub ()
 
Suboperator= (const Sub &)
 
const char * GetName () const
 
virtual void SetDebug (UShort_t lvl)
 

Public Attributes

Color_t fColor
 
Style_t fStyle
 

Protected Member Functions

Bool_t ProjectEtaPdg (Container *result, Int_t nEvents)
 
Bool_t ProjectEtaDeltaPdgPart (Container *result, Int_t nEvents, Double_t tailDelta, Double_t tailMax, const TString &pre, const TString &tit)
 
Bool_t ProjectEtaDeltaPdg (Container *result, Int_t nEvents, Double_t tailCut, Double_t tailMax)
 
Bool_t ProjectEtaPdgIPz (Container *result, TH1 *ipz, const TString &shn)
 
- Protected Member Functions inherited from AliTrackletAODdNdeta::Sub
 ClassDef (Sub, 1)
 

Protected Attributes

const UChar_t fMask
 
const UChar_t fVeto
 
TH2fEtaIPz
 
TH3fEtaDeltaIPz
 
TH3fEtaDeltaPdg
 
TH3fEtaPdgIPz
 
TH2fEtaPdg
 
TH2fEtaPt
 
- Protected Attributes inherited from AliTrackletAODdNdeta::Sub
TString fName
 
ContainerfContainer
 
UShort_t fDebug
 

Detailed Description

A set of histograms. Contains

  • \(\eta,\mathrm{IP}_z\) distribution \( X_{\eta,z}\)

and optionally

  • \(\eta,\Delta\) distribution \( f_X(\Delta)\)

Definition at line 470 of file AliTrackletAODdNdeta.C.

Constructor & Destructor Documentation

AliTrackletAODdNdeta::Histos::Histos ( const char *  name = "",
Color_t  color = kBlack,
Style_t  style = 1,
UChar_t  mask = 0,
UChar_t  veto = 0 
)
inline

Constructor

Definition at line 476 of file AliTrackletAODdNdeta.C.

AliTrackletAODdNdeta::Histos::Histos ( const Histos o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 495 of file AliTrackletAODdNdeta.C.

virtual AliTrackletAODdNdeta::Histos::~Histos ( )
inlinevirtual

Destructor

Definition at line 511 of file AliTrackletAODdNdeta.C.

Member Function Documentation

AliTrackletAODdNdeta::Histos::ClassDef ( Histos  ,
 
)
Bool_t AliTrackletAODdNdeta::Histos::FinalizeInit ( Container parent)
virtual

Initialize this sub-component at the time of finalizing the job. Should find sum container in parent and extract data from that container.

Parameters
parentParent container of sum data
Returns
true on success

Implements AliTrackletAODdNdeta::Sub.

Definition at line 2622 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::FinalizeInit().

UChar_t AliTrackletAODdNdeta::Histos::GetMask ( ) const
inline
UChar_t AliTrackletAODdNdeta::Histos::GetVeto ( ) const
inline

Definition at line 629 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsCombinatoric ( ) const
inline
Returns
Selection corresponds to tracklets from two particles

Definition at line 535 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsDistinct ( ) const
inline
Returns
Selection corresponds to tracklets from two particles, but distinct mothers.

Definition at line 543 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsGenerated ( ) const
inline
Returns
Selection corresponds to generated particles

Definition at line 564 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsInjected ( ) const
inline
Returns
Selection corresponds to tracklets from injection events

Definition at line 528 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsMeasured ( ) const
inline
Returns
Selection corresponds to observed tracklets

Definition at line 521 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsPrimary ( ) const
inline
Returns
Selection corresponds to primaries particles

Definition at line 550 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::IsSecondary ( ) const
inline
Returns
Selection corresponds to secondary particles

Definition at line 557 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::MasterFinalize ( Container parent,
TH1 ipz,
Double_t  tailCut,
Double_t  tailMax 
)
virtual

Called on master when terminating

Parameters
parentParent container
ipzInteraction point Z coordinate distribution
tailCutCut on tails
tailMaxMaximum to integrate tail to
Returns
true on success

Implements AliTrackletAODdNdeta::Sub.

Definition at line 3233 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::EstimateBackground(), and AliTrackletAODdNdeta::CentBin::MasterFinalize().

Histos& AliTrackletAODdNdeta::Histos::operator= ( const Histos )
inline

Assignment operator

Returns
reference to this

Definition at line 517 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::Histos::Print ( Option_t option = "") const

Print information to standard output

Parameters
optionIgnored

Definition at line 1711 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::Print().

Bool_t AliTrackletAODdNdeta::Histos::ProcessTracklet ( AliAODTracklet tracklet,
Double_t  ipz,
UShort_t  signal,
Double_t  weight 
)
virtual

Process a single tracklet

Parameters
trackletThe tracklet
ipzZ-coordinate of the IP
signalTrue if a signal
weightWeight of tracklet
Returns
true on success

Implements AliTrackletAODdNdeta::Sub.

Definition at line 2507 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::ProcessTracklet().

Bool_t AliTrackletAODdNdeta::Histos::ProjectEtaDeltaPdg ( Container result,
Int_t  nEvents,
Double_t  tailCut,
Double_t  tailMax 
)
protected

Definition at line 3129 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::ProjectEtaDeltaPdgPart ( Container result,
Int_t  nEvents,
Double_t  tailDelta,
Double_t  tailMax,
const TString pre,
const TString tit 
)
protected

Definition at line 2896 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::ProjectEtaPdg ( Container result,
Int_t  nEvents 
)
protected

Definition at line 2766 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::ProjectEtaPdgIPz ( Container result,
TH1 ipz,
const TString shn 
)
protected

Definition at line 3157 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::Histos::SetAttr ( Color_t  c,
Style_t  m 
)

Set Attributes on histograms

Parameters
cMarker/line/fill color
mMarker style

Definition at line 2068 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::Histos::WorkerInit ( Container parent,
const TAxis etaAxis,
const TAxis ipzAxis,
const TAxis deltaAxis 
)
virtual

Initialize the bin

Parameters
parentParent container
etaAxispseudorapidity axis to use
ipzAxisInteraction point Z coordinate axis
deltaAxis\(\Delta\) axis to use
Returns
true on success

Reimplemented from AliTrackletAODdNdeta::Sub.

Definition at line 2019 of file AliTrackletAODdNdeta.C.

Member Data Documentation

Color_t AliTrackletAODdNdeta::Histos::fColor

Definition at line 660 of file AliTrackletAODdNdeta.C.

TH3* AliTrackletAODdNdeta::Histos::fEtaDeltaIPz
protected

Definition at line 654 of file AliTrackletAODdNdeta.C.

TH3* AliTrackletAODdNdeta::Histos::fEtaDeltaPdg
protected

Definition at line 655 of file AliTrackletAODdNdeta.C.

TH2* AliTrackletAODdNdeta::Histos::fEtaIPz
protected

Definition at line 653 of file AliTrackletAODdNdeta.C.

TH2* AliTrackletAODdNdeta::Histos::fEtaPdg
protected

Definition at line 657 of file AliTrackletAODdNdeta.C.

TH3* AliTrackletAODdNdeta::Histos::fEtaPdgIPz
protected

Definition at line 656 of file AliTrackletAODdNdeta.C.

TH2* AliTrackletAODdNdeta::Histos::fEtaPt
protected

Definition at line 658 of file AliTrackletAODdNdeta.C.

const UChar_t AliTrackletAODdNdeta::Histos::fMask
protected
Style_t AliTrackletAODdNdeta::Histos::fStyle

Definition at line 661 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODMCdNdeta::CentBin::CentBin().

const UChar_t AliTrackletAODdNdeta::Histos::fVeto
protected

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