AliPhysics  b81c3d2 (b81c3d2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTrackletAODdNdeta Class Reference
Inheritance diagram for AliTrackletAODdNdeta:

Classes

struct  CentBin
 
struct  Histos
 
struct  Sub
 

Public Types

enum  {
  kMeasuredMask = 0x0, kMeasuredVeto = AliAODTracklet::kInjection|AliAODTracklet::kGenerated, kInjectedMask = AliAODTracklet::kInjection, kInjectedVeto = AliAODTracklet::kGenerated,
  kCombinatoricMask = AliAODTracklet::kCombinatorics, kCombinatoricVeto = 0x0, kDistinctMask, kDistinctVeto = 0x0,
  kPrimaryMask = 0x0, kPrimaryVeto, kSecondaryMask = AliAODTracklet::kSecondary, kSecondaryVeto = 0x0,
  kGeneratedMask = AliAODTracklet::kGenerated, kGeneratedVeto = AliAODTracklet::kNeutral|AliAODTracklet::kSuppressed
}
 
enum  {
  kAll =1, kEvent, kTracklets, kTrigger,
  kIP, kCentrality, kCompleted
}
 
enum  EStatus { kOKEvent, kOKTrigger = (kOKEvent|(1<<(kTrigger -1))), kOKIPz = (kOKTrigger|(1<<kIP-1)), kOkCentrality = (kOKIPz|(1<<(kCentrality-1))) }
 
typedef TList Container
 
- Public Types inherited from AliTrackletAODUtils
typedef TList Container
 

Public Member Functions

 AliTrackletAODdNdeta ()
 
 AliTrackletAODdNdeta (const char *name)
 
 AliTrackletAODdNdeta (const AliTrackletAODdNdeta &o)
 
virtual ~AliTrackletAODdNdeta ()
 
AliTrackletAODdNdetaoperator= (const AliTrackletAODdNdeta &o)
 
virtual void SetTriggerEfficiency (Double_t eff)
 
virtual void SetMinEta1 (Int_t n)
 
Task interface
void UserCreateOutputObjects ()
 
void UserExec (Option_t *)
 
void FinishTaskOutput ()
 
void Terminate (Option_t *)
 
Centrality
void SetCentralityMethod (const TString &name)
 
void SetCentralityAxis (Int_t n, Double_t *bins)
 
void SetCentralityAxis (const TString &spec)
 
void SetAbsMinCent (Double_t x=-1)
 
void SetMaxNTracklet (Double_t maxN)
 
Interaction point
void SetIPzAxis (Int_t n, Double_t min, Double_t max)
 
void SetIPzAxis (Int_t n, Double_t max)
 
void SetIPzAxis (const TString &spec)
 
Azimuth
void SetPhiAxis (Int_t n, Double_t min, Double_t max)
 
void SetPhiAxis (Int_t n, Double_t max)
 
Pseudorapidity
void SetEtaAxis (Int_t n, Double_t min, Double_t max)
 
void SetEtaAxis (Int_t n, Double_t max)
 
void SetEtaAxis (const TString &spec)
 
Trackletting
void SetDPhiShift (Double_t x=0.0045)
 
void SetShiftedDPhiCut (Double_t x=-1)
 
void SetDeltaCut (Double_t x=1.5)
 
void SetMaxDelta (Double_t x=25)
 
void SetTailDelta (Double_t x=5)
 
void SetTailMaximum (Double_t x=-1)
 
Reweighting (deprecated)
virtual void SetWeights (AliTrackletBaseWeights *w)
 
virtual void SetWeightCalc (UChar_t mode=0)
 
virtual void SetWeightMask (UChar_t mask=0xFF)
 
virtual void SetWeightInverse (Bool_t inv)
 
virtual void SetWeightVeto (UChar_t veto=0xFF)
 
- Public Member Functions inherited from AliTrackletAODUtils
 AliTrackletAODUtils ()
 
virtual ~AliTrackletAODUtils ()
 

Protected Member Functions

 ClassDef (AliTrackletAODdNdeta, 2)
 
Initialization
virtual Bool_t WorkerInit ()
 
Bool_t InitCentBins (Container *existing)
 
virtual CentBinMakeCentBin (Float_t c1, Float_t c2)
 
virtual CentBinInitCentBin (Int_t bin, Float_t c1, Float_t c2, Container *existing, const TAxis &deltaAxis)
 
Tracklet selection and inspection
virtual Double_t LookupWeight (AliAODTracklet *tracklet, Double_t cent, Double_t ipz)
 
virtual UShort_t CheckTracklet (AliAODTracklet *tracklet) const
 
Event processing
void ProcessEvent (UInt_t status, Double_t cent, const AliVVertex *ip, TClonesArray *tracklets)
 
Finalize the job
virtual Bool_t MasterFinalize (Container *results)
 
- Protected Member Functions inherited from AliTrackletAODUtils
 ClassDef (AliTrackletAODUtils, 1)
 

Static Protected Member Functions

static TH1MakeStatus (Container *container)
 

Protected Attributes

ContainerfContainer
 
ContainerfCentBins
 
TH1fIPz
 
TH1fCent
 
TH1fStatus
 
TH2fEtaPhi
 
TProfile * fNBareVsGood
 
TProfile * fNBareVsFake
 
TProfile * fNTrackletVsGood
 
TProfile * fNTrackletVsFake
 
TProfile * fNGeneratedVsGood
 
TProfile * fNGeneratedVsFake
 
TProfile * fCentTracklets
 
TProfile * fCentEst
 
TProfile2D * fCl0Cl1Tracklets
 
TString fCentMethod
 
Int_t fCentIdx
 
Int_t fTrkIdx
 
Int_t fCl0Idx
 
Int_t fCl1Idx
 
TAxis fCentAxis
 
TAxis fIPzAxis
 
TAxis fEtaAxis
 
TAxis fPhiAxis
 
Double_t fMaxDelta
 
Double_t fTailDelta
 
Double_t fTailMax
 
Double_t fDPhiShift
 
Double_t fShiftedDPhiCut
 
Double_t fDeltaCut
 
Double_t fAbsMinCent
 
Double_t fMaxNTracklet
 
Double_t fTriggerEff
 
Int_t fMinEta1
 

Auxiliary methods

virtual void Print (Option_t *option="") const
 
Bool_t Connect (const char *sumFile=0, const char *resFile=0)
 
static AliTrackletAODdNdetaCreate (Bool_t mc=false, const char *weights=0, const char *sumFile=0, const char *resFile=0)
 

Event inspection

virtual const char * GetBranchName () const
 
UInt_t CheckEvent (Double_t &cent, const AliVVertex *&ip, TClonesArray *&tracklets)
 
TClonesArray * FindTracklets (AliVEvent *event)
 
const AliVVertex * FindSimpleIP (AliVEvent *event, Double_t maxDispersion=0.04, Double_t maxZError=0.25)
 
const AliVVertex * FindRealIP (AliVEvent *event, Double_t maxDispersion=0.04, Double_t maxZError=0.25)
 
const AliVVertex * CheckIP (const AliVVertex *ip, Double_t maxDispersion=0.04, Double_t maxZError=0.25)
 
const AliVVertex * FindIP (AliVEvent *event, Double_t maxDispersion=0.04, Double_t maxZError=0.25)
 
Double_t FindMultCentrality (AliVEvent *event, Double_t &value, Int_t &nTracklets, Int_t &nCl0, Int_t &nCl1)
 
Double_t FindMultCentrality (AliVEvent *event, Int_t &nTracklets)
 
Double_t FindFakeCentrality (AliVEvent *event, Int_t &nTracklets)
 
Double_t FindCompatCentrality (AliVEvent *event)
 
Double_t FindCentrality (AliVEvent *event, Int_t &nTracklets)
 
Bool_t FindTrigger ()
 
static UInt_t Bin2Flag (UInt_t bin)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliTrackletAODUtils
static void PdgAttr (Int_t pdg, TString &nme, Color_t &c, Style_t &s)
 
static const char * CentName (Double_t c1, Double_t c2)
 
static Color_t CentColor (const TAxis &axis, Double_t c1, Double_t c2)
 
static Color_t CentColor (Int_t bin)
 
static TFile * OpenFile (const char *filename)
 
static Bool_t CheckAxisNBins (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxisLimits (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxisBins (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxisLabels (const char *which, const TAxis *a1, const TAxis *a2)
 
static Bool_t CheckAxis (const char *which, const TAxis *a1, const TAxis *a2, Bool_t alsoLbls)
 
static Bool_t CheckConsistency (const TH1 *h1, const TH1 *h2)
 
static TObjectGetO (Container *parent, const char *name, TClass *cls=0, Bool_t verb=true)
 
static TObjectGetO (TDirectory *parent, const char *name, TClass *cls=0, Bool_t verb=true)
 
static TH1GetH1 (Container *parent, const char *name, Bool_t verb=true)
 
static TH1GetH1 (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TProfile * GetP1 (Container *parent, const char *name, Bool_t verb=true)
 
static TH2GetH2 (Container *parent, const char *name, Bool_t verb=true)
 
static TH2GetH2 (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TH3GetH3 (Container *parent, const char *name, Bool_t verb=true)
 
static TH3GetH3 (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TProfile2D * GetP2 (Container *parent, const char *name, Bool_t verb=true)
 
static TProfile * GetP (Container *parent, const char *name, Bool_t verb=true)
 
static THStack * GetHS (Container *parent, const char *name, Bool_t verb=true)
 
static THStack * GetHS (TDirectory *parent, const char *name, Bool_t verb=true)
 
static ContainerGetC (Container *parent, const char *name, Bool_t verb=true)
 
static ContainerGetC (TDirectory *parent, const char *name, Bool_t verb=true)
 
static TDirectory * GetT (TDirectory *parent, const char *name, Bool_t verb=true)
 
static Double_t GetD (Container *parent, const char *name, Double_t def=-1, Bool_t verb=true)
 
static Int_t GetI (Container *parent, const char *name, Int_t def=-1, Bool_t verb=true)
 
static Int_t GetB (Container *parent, const char *name, Bool_t def=false, Bool_t verb=true)
 
static TH1CopyH1 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true)
 
static TH2CopyH2 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true)
 
static TH3CopyH3 (Container *parent, const char *name, const char *newName=0, Bool_t verb=true)
 
static void CopyAttr (const TH1 *src, TH1 *dest)
 
static TH1Make1D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis)
 
static TProfile * Make1P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis)
 
static TH2Make2D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis)
 
static TH3Make3D (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis, const TAxis &zAxis)
 
static TProfile2D * Make2P (Container *c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis)
 
static TH1Scale (TH1 *h, Double_t x, Double_t xe)
 
static TH2Scale (TH2 *h, Double_t x, Double_t xe)
 
static TH2Scale (TH2 *h, TH1 *s)
 
static void FixAxis (TAxis &axis, const char *title=0)
 
static void ScaleAxis (TAxis &ret, Double_t fact=1)
 
static void SetAxis (TAxis &axis, Int_t n, Double_t *borders)
 
static void SetAxis (TAxis &axis, const TString &spec, const char *sep=":,")
 
static void SetAxis (TAxis &axis, Int_t n, Double_t l, Double_t h)
 
static void SetAxis (TAxis &axis, Int_t n, Double_t m)
 
static void PrintAxis (const TAxis &axis, Int_t nSig=2, const char *alt=0)
 
static TH2ScaleToIPz (TH2 *h, TH1 *ipZ, Bool_t full=false)
 
static TH3ScaleToIPz (TH3 *h, TH1 *ipZ, Bool_t full=false)
 
static TH3ScaleDelta (TH3 *h, TH2 *scale)
 
static TH2ProjectEtaDelta (TH3 *h)
 
static TH1ProjectDelta (TH2 *h)
 
static TH1ProjectDeltaFull (TH3 *h)
 
static TH1AverageOverIPz (TH2 *h, const char *name, UShort_t mode, TH1 *ipz, Double_t ipEff=0, TH2 *mask=0, Bool_t verb=false)
 
static TObjectCloneAndAdd (Container *c, TObject *o)
 
static Double_t Integrate (TH1 *h, Double_t min, Double_t max, Double_t &err)
 
static Double_t RatioE (Double_t n, Double_t en, Double_t d, Double_t ed, Double_t &er)
 
static Double_t RatioE2 (Double_t n, Double_t e2n, Double_t d, Double_t e2d, Double_t &e2r)
 
static TH1RatioH (const TH1 *num, const TH1 *denom, const char *name=0)
 
static void FixMinMax (TH1 *h, Bool_t ignoreZero=true)
 
static void FixMinMax (THStack *h, Bool_t ignoreZero=true)
 
static Int_tPdgArray (Int_t &size)
 
static const TAxisPdgAxis ()
 
static Int_t PdgBin (Int_t pdg)
 

Detailed Description

Task to analyse AOD tracklets for dNch/deta

Definition at line 45 of file AliTrackletAODdNdeta.C.

Member Typedef Documentation

Type of containers

Definition at line 92 of file AliTrackletAODdNdeta.C.

Member Enumeration Documentation

anonymous enum

Masks and vetos used by histogram sets

Enumerator
kMeasuredMask 
kMeasuredVeto 
kInjectedMask 
kInjectedVeto 
kCombinatoricMask 
kCombinatoricVeto 
kDistinctMask 
kDistinctVeto 
kPrimaryMask 
kPrimaryVeto 
kSecondaryMask 
kSecondaryVeto 
kGeneratedMask 
kGeneratedVeto 

Definition at line 52 of file AliTrackletAODdNdeta.C.

anonymous enum

Status of task

Enumerator
kAll 
kEvent 
kTracklets 
kTrigger 
kIP 
kCentrality 
kCompleted 

Definition at line 74 of file AliTrackletAODdNdeta.C.

Enumerator
kOKEvent 
kOKTrigger 
kOKIPz 
kOkCentrality 

Definition at line 83 of file AliTrackletAODdNdeta.C.

Constructor & Destructor Documentation

AliTrackletAODdNdeta::AliTrackletAODdNdeta ( )

Default constructor - for ROOT I/O only

Definition at line 1552 of file AliTrackletAODdNdeta.C.

Referenced by Create().

AliTrackletAODdNdeta::AliTrackletAODdNdeta ( const char *  name)

Named - user - constructor

Definition at line 1590 of file AliTrackletAODdNdeta.C.

AliTrackletAODdNdeta::AliTrackletAODdNdeta ( const AliTrackletAODdNdeta o)

Copy constructor

Parameters
oObject to copy from

Definition at line 1636 of file AliTrackletAODdNdeta.C.

virtual AliTrackletAODdNdeta::~AliTrackletAODdNdeta ( )
inlinevirtual

Destructor

Definition at line 110 of file AliTrackletAODdNdeta.C.

Member Function Documentation

UInt_t AliTrackletAODdNdeta::Bin2Flag ( UInt_t  bin)
staticprotected

Calculate bit flag corresponding to the bin number

Parameters
binBin number
Returns
Bit flag

Definition at line 2263 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::Accept(), and CheckEvent().

UInt_t AliTrackletAODdNdeta::CheckEvent ( Double_t cent,
const AliVVertex *&  ip,
TClonesArray *&  tracklets 
)
protected

Check event

Parameters
centOn return, the event centrality
ipOn return, the event interaction point
trackletsOn return, the list of tracklets
Returns
Bit mask of completed requirements

Definition at line 2296 of file AliTrackletAODdNdeta.C.

Referenced by UserExec().

const AliVVertex * AliTrackletAODdNdeta::CheckIP ( const AliVVertex *  ip,
Double_t  maxDispersion = 0.04,
Double_t  maxZError = 0.25 
)
protected

Check if an IP position is OK

Parameters
ipIP position
maxDispersionMax uncertainty
maxZErrorMax uncertainty in Z
Returns
Pointer to IP position or null

Definition at line 2377 of file AliTrackletAODdNdeta.C.

Referenced by FindRealIP(), and FindSimpleIP().

UShort_t AliTrackletAODdNdeta::CheckTracklet ( AliAODTracklet tracklet) const
protectedvirtual

Check if the tracklet passed is a signal tracklet

Parameters
trackletTracklet to inspect
Returns
Bit mask of status
  • 0x1 if tracklet \(\Delta<\Delta_{\mathrm{cut}}\)
  • 0x2 if tracklet \(d\phi-\delta\phi <C\)

Definition at line 2692 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent(), and ProcessEvent().

AliTrackletAODdNdeta::ClassDef ( AliTrackletAODdNdeta  ,
 
)
protected
Bool_t AliTrackletAODdNdeta::Connect ( const char *  sumFile = 0,
const char *  resFile = 0 
)

Connect this task to analysis manager

Parameters
sumFile(Optional) name of sum file
resFile(Optional) name of result file

Definition at line 1719 of file AliTrackletAODdNdeta.C.

Referenced by Create().

AliTrackletAODdNdeta * AliTrackletAODdNdeta::Create ( Bool_t  mc = false,
const char *  weights = 0,
const char *  sumFile = 0,
const char *  resFile = 0 
)
static

Create object of this (or derived) class

Parameters
mcWhether this is for MC or not
sumFile(Optional) name of sum file
resFile(Optional) name of result file
weights(Optional) name of weights file
Returns
Newly allocated task or null

Definition at line 3930 of file AliTrackletAODdNdeta.C.

Double_t AliTrackletAODdNdeta::FindCentrality ( AliVEvent *  event,
Int_t nTracklets 
)
protected

Find the centrality of the event. If an AliMultSelection structure isn't found, fall back to AliCentrality, and that isn't there either, we fail.

Parameters
eventEvent
nTrackletsNumber of tracklets for benchmarking centrality
Returns
Centrality percentile, or negative number in case of problems

Definition at line 2600 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent().

Double_t AliTrackletAODdNdeta::FindCompatCentrality ( AliVEvent *  event)
protected

Find the fake centrality of the event. This look at the number of tracklets

Parameters
eventEvent
Returns
Centrality percentile, or negative number in case of problems

Definition at line 2483 of file AliTrackletAODdNdeta.C.

Referenced by FindCentrality().

Double_t AliTrackletAODdNdeta::FindFakeCentrality ( AliVEvent *  event,
Int_t nTracklets 
)
protected

Find the centrality of the event. This looks for the AliCentrality structure.

Parameters
eventEvent
nTrackletsNumber of tracklets for benchmarking centrality
Returns
Centrality percentile, or negative number in case of problems

Definition at line 2572 of file AliTrackletAODdNdeta.C.

Referenced by FindCentrality().

const AliVVertex * AliTrackletAODdNdeta::FindIP ( AliVEvent *  event,
Double_t  maxDispersion = 0.04,
Double_t  maxZError = 0.25 
)
protected

Find the interaction point location

Parameters
eventEvent
maxDispersionMax uncertainty
maxZErrorMax uncertainty in Z
Returns
Pointer to vertex, or null in case of problems

Definition at line 2456 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent().

Double_t AliTrackletAODdNdeta::FindMultCentrality ( AliVEvent *  event,
Double_t value,
Int_t nTracklets,
Int_t nCl0,
Int_t nCl1 
)
protected

Find the centrality of the event. This looks for the AliMultSelection structure.

Parameters
eventEvent
valueOn return, estimator value
nTrackletsNumber of tracklets for benchmarking centrality
nCl0On return, number of clusters on layer 0
nCl1On return, number of clusters on layer 1
Returns
Centrality percentile, or negative number in case of problems

Definition at line 2496 of file AliTrackletAODdNdeta.C.

Referenced by FindCentrality(), FindFakeCentrality(), and FindMultCentrality().

Double_t AliTrackletAODdNdeta::FindMultCentrality ( AliVEvent *  event,
Int_t nTracklets 
)
protected

Definition at line 2561 of file AliTrackletAODdNdeta.C.

const AliVVertex * AliTrackletAODdNdeta::FindRealIP ( AliVEvent *  event,
Double_t  maxDispersion = 0.04,
Double_t  maxZError = 0.25 
)
protected

See if we can find an IP position

Parameters
eventEvent
maxDispersionMax uncertainty
maxZErrorMax uncertainty in Z
Returns
Pointer to IP position or null

Definition at line 2420 of file AliTrackletAODdNdeta.C.

Referenced by FindIP().

const AliVVertex * AliTrackletAODdNdeta::FindSimpleIP ( AliVEvent *  event,
Double_t  maxDispersion = 0.04,
Double_t  maxZError = 0.25 
)
protected

See if we can find an IP position

Parameters
eventEvent
maxDispersionMax uncertainty
maxZErrorMax uncertainty in Z
Returns
Pointer to IP position or null

Definition at line 2433 of file AliTrackletAODdNdeta.C.

Referenced by FindIP().

TClonesArray * AliTrackletAODdNdeta::FindTracklets ( AliVEvent *  event)
protected

Find the tracklet list in the event

Parameters
eventEvent
Returns
List of tracklets or null

Definition at line 2359 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent(), and FindFakeCentrality().

Bool_t AliTrackletAODdNdeta::FindTrigger ( )
protected

Check if we got a selected trigger

Returns
true if the event was triggered

Definition at line 2472 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent().

void AliTrackletAODdNdeta::FinishTaskOutput ( )
inline

Called at end of worker job.

Definition at line 170 of file AliTrackletAODdNdeta.C.

virtual const char* AliTrackletAODdNdeta::GetBranchName ( ) const
inlineprotectedvirtual

Reimplemented in AliTrackletAODMCdNdeta.

Definition at line 984 of file AliTrackletAODdNdeta.C.

AliTrackletAODdNdeta::CentBin * AliTrackletAODdNdeta::InitCentBin ( Int_t  bin,
Float_t  c1,
Float_t  c2,
Container existing,
const TAxis deltaAxis 
)
protectedvirtual

Create and initialize a centrality bin

Parameters
binBin number
c1Least centrality
c2Largest centrality
existingPossible existing container to initialize from
deltaAxisAxis for \( \Delta \)
Returns
Pointer to bin object or null

Definition at line 1992 of file AliTrackletAODdNdeta.C.

Referenced by InitCentBins().

Bool_t AliTrackletAODdNdeta::InitCentBins ( Container existing)
protected

Initialize our centrality bins.

Parameters
existingIf null, also create new sub-sets. If non-null, read sub-sets from the container passed (using in Terminate).

Definition at line 2015 of file AliTrackletAODdNdeta.C.

Referenced by Terminate(), and WorkerInit().

Double_t AliTrackletAODdNdeta::LookupWeight ( AliAODTracklet tracklet,
Double_t  cent,
Double_t  ipz 
)
protectedvirtual

Find the tracklet weight

Parameters
trackletTracklet
centCentrality
ipzZ coordinate of IP
Returns
The weight - in this class always 1

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 2635 of file AliTrackletAODdNdeta.C.

Referenced by FindFakeCentrality(), and ProcessEvent().

virtual CentBin* AliTrackletAODdNdeta::MakeCentBin ( Float_t  c1,
Float_t  c2 
)
inlineprotectedvirtual

Make a centrality bin

Parameters
c1Low edge
c2High edge
Returns

Reimplemented in AliTrackletAODMCdNdeta.

Definition at line 957 of file AliTrackletAODdNdeta.C.

Referenced by InitCentBin().

TH1 * AliTrackletAODdNdeta::MakeStatus ( Container container)
staticprotected

Make status histogram

Parameters
containerContainer to add to
Returns
The status histogram created

Definition at line 2269 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::WorkerInit(), and WorkerInit().

Bool_t AliTrackletAODdNdeta::MasterFinalize ( Container results)
protectedvirtual

Finalize the job on the master

Parameters
resultsThe container to add the results to
Returns
true on success

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 2971 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODWeightedMCdNdeta::MasterFinalize(), and Terminate().

AliTrackletAODdNdeta & AliTrackletAODdNdeta::operator= ( const AliTrackletAODdNdeta o)

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 1675 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODWeightedMCdNdeta::operator=().

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

Print information to standard output

Parameters
optionIgnored

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 1768 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODWeightedMCdNdeta::Print(), Terminate(), and WorkerInit().

void AliTrackletAODdNdeta::ProcessEvent ( UInt_t  status,
Double_t  cent,
const AliVVertex *  ip,
TClonesArray *  tracklets 
)
protected

Process tracklets of an event

Parameters
statusThe event status flags
centEvent centrality
ipEvent interaction point
trackletsList of tracklets

Definition at line 2708 of file AliTrackletAODdNdeta.C.

Referenced by UserExec().

void AliTrackletAODdNdeta::SetAbsMinCent ( Double_t  x = -1)
inline

Set the very least centrality to consider. This is for cases where the centrality calibration of simulated data doesn't really match the real-data one, but we want to keep the original centrality bins. E.g., for LHC15k1b1, the calibration of the DPMJet centrality does not give the same mean number of tracklets for the very most central bin. We therefor need to rule out the event with a very large number of tracklets from the sample by setting this parameter to for example 0.1. If this parameter is set to a negative value (default) it is not considered.

Parameters
xAbsolute lowest centrality to consider

Definition at line 225 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetCentralityAxis ( Int_t  n,
Double_t bins 
)
inline

Set the centrality axis

Parameters
nNumber of bins
binsBin borders (n+1 entries)

Definition at line 199 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetCentralityAxis ( const TString spec)
inline

Set the centraliy axis

Parameters
specbin specification

Definition at line 208 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetCentralityMethod ( const TString name)
inline

Set the centrality method to use

Parameters
nameName of centrality method

Definition at line 192 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetDeltaCut ( Double_t  x = 1.5)
inline

Set upper cut on \(\Delta\) for signals

Parameters
xValue

Definition at line 356 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetDPhiShift ( Double_t  x = 0.0045)
inline

Set \(\delta_{\phi}\)

Parameters
xShift of \(\Delta\phi\)

Definition at line 344 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetEtaAxis ( Int_t  n,
Double_t  min,
Double_t  max 
)
inline

Set the \( \eta\) axis

Parameters
nNumber of bins
minLeast value
maxLargest value

Definition at line 310 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetEtaAxis ( Int_t  n,
Double_t  max 
)
inline

Set the \( \eta\) axis

Parameters
nNumber of bins
maxLargest absolute value

Definition at line 320 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetEtaAxis ( const TString spec)
inline

Set the pseudorapidity axis

Parameters
specbin specification

Definition at line 329 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetIPzAxis ( Int_t  n,
Double_t  min,
Double_t  max 
)
inline

Set the \( \mathrm{IP}_z\) axis

Parameters
nNumber of bins
minLeast value
maxLargest value

Definition at line 247 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetIPzAxis ( Int_t  n,
Double_t  max 
)
inline

Set the \( \mathrm{IP}_z\) axis

Parameters
nNumber of bins
maxLargest absolute value

Definition at line 257 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetIPzAxis ( const TString spec)
inline

Set the interaction point Z axis

Parameters
specbin specification

Definition at line 266 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetMaxDelta ( Double_t  x = 25)
inline

Set Maximum \( \Delta\) to consider

Parameters
xValue

Definition at line 362 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetMaxNTracklet ( Double_t  maxN)
inline

Set maximum number of tracklets for fake centrality. Note, in case of reweighting, the total number of tracklets can be non-integer. Hence, we pass a double here.

Parameters
maxNSet maximum

Definition at line 233 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetMinEta1 ( Int_t  n)
inlinevirtual

Definition at line 415 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetPhiAxis ( Int_t  n,
Double_t  min,
Double_t  max 
)
inline

Set the \( \varphi\) axis

Parameters
nNumber of bins
minLeast value
maxLargest value

Definition at line 283 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetPhiAxis ( Int_t  n,
Double_t  max 
)
inline

Set the \( \varphi\) axis

Parameters
nNumber of bins
maxLargest absolute value

Definition at line 293 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetShiftedDPhiCut ( Double_t  x = -1)
inline

Set cut on \(\Delta\phi-\delta_{\phi}\)

Parameters
xCut on shifted \(\Delta\phi\)

Definition at line 350 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetTailDelta ( Double_t  x = 5)
inline

Set lower cut on tail of \(\Delta\) distributions

Parameters
xValue

Definition at line 368 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::SetTailMaximum ( Double_t  x = -1)
inline

Set lower cut on tail of \(\Delta\) distributions

Parameters
xValue

Definition at line 374 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetTriggerEfficiency ( Double_t  eff)
inlinevirtual

Definition at line 414 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetWeightCalc ( UChar_t  mode = 0)
inlinevirtual

Whether to use square root of square (product) weights

Parameters
modeIf true, take square root of square (product) weights

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 392 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetWeightInverse ( Bool_t  inv)
inlinevirtual

Inverse the weights calculated. That is, if this option is enabled, then the weight used is \(1/w\) where \(w\) is the normal weight.

Parameters
invIf true, inverse weights

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 406 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetWeightMask ( UChar_t  mask = 0xFF)
inlinevirtual

Set the tracklet type mask to use on weights

Parameters
maskTracklet type mask

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 398 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetWeights ( AliTrackletBaseWeights w)
inlinevirtual

Set weights. This implementatio does nothing

Parameters
wWeights to use

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 386 of file AliTrackletAODdNdeta.C.

virtual void AliTrackletAODdNdeta::SetWeightVeto ( UChar_t  veto = 0xFF)
inlinevirtual

Set the tracklet type veto to use on weights

Parameters
vetoTracklet type veto

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 412 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::Terminate ( Option_t )

Called at end of master job on merged results.

Definition at line 2898 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::UserCreateOutputObjects ( )

Delegate worker initialization

Definition at line 1864 of file AliTrackletAODdNdeta.C.

void AliTrackletAODdNdeta::UserExec ( Option_t )

Event processing

Definition at line 2241 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODdNdeta::WorkerInit ( )
protectedvirtual

Initialize the task on worker

Returns
true on success

Reimplemented in AliTrackletAODWeightedMCdNdeta.

Definition at line 1874 of file AliTrackletAODdNdeta.C.

Referenced by UserCreateOutputObjects(), AliTrackletAODdNdeta::CentBin::WorkerInit(), and AliTrackletAODWeightedMCdNdeta::WorkerInit().

Member Data Documentation

Double_t AliTrackletAODdNdeta::fAbsMinCent
protected

The absolute minimum centrality to consider - for MC with poor match

Definition at line 1257 of file AliTrackletAODdNdeta.C.

Referenced by FindCentrality(), operator=(), Print(), SetAbsMinCent(), and WorkerInit().

TAxis AliTrackletAODdNdeta::fCentAxis
protected
Container* AliTrackletAODdNdeta::fCentBins
protected

List of centrality bins

Definition at line 1199 of file AliTrackletAODdNdeta.C.

Referenced by InitCentBin(), InitCentBins(), MasterFinalize(), operator=(), Print(), and ProcessEvent().

TProfile* AliTrackletAODdNdeta::fCentEst
protected

Histogram of centrality vs average mult estimator

Definition at line 1223 of file AliTrackletAODdNdeta.C.

Referenced by FindFakeCentrality(), FindMultCentrality(), MasterFinalize(), and WorkerInit().

Int_t AliTrackletAODdNdeta::fCentIdx
protected

Cached index of centrality estimator

Definition at line 1229 of file AliTrackletAODdNdeta.C.

Referenced by FindMultCentrality(), operator=(), and Print().

TString AliTrackletAODdNdeta::fCentMethod
protected
TProfile* AliTrackletAODdNdeta::fCentTracklets
protected

Histogram of centrality, nTracklets correlation

Definition at line 1221 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent(), MasterFinalize(), and WorkerInit().

TProfile2D* AliTrackletAODdNdeta::fCl0Cl1Tracklets
protected

Histogram of correlation of clusters and tracklets

Definition at line 1225 of file AliTrackletAODdNdeta.C.

Referenced by FindFakeCentrality(), FindMultCentrality(), and WorkerInit().

Int_t AliTrackletAODdNdeta::fCl0Idx
protected

Cached index of layer 0 clusters estimator

Definition at line 1233 of file AliTrackletAODdNdeta.C.

Referenced by FindMultCentrality(), and operator=().

Int_t AliTrackletAODdNdeta::fCl1Idx
protected

Cached index of layer 1 clusters estimator

Definition at line 1235 of file AliTrackletAODdNdeta.C.

Referenced by FindMultCentrality(), and operator=().

Double_t AliTrackletAODdNdeta::fDeltaCut
protected

Signal cut on \(\Delta\)

Definition at line 1255 of file AliTrackletAODdNdeta.C.

Referenced by CheckTracklet(), operator=(), Print(), SetDeltaCut(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fDPhiShift
protected

Shift \(\delta_{\phi}\) of \(\Delta\phi\)

Definition at line 1251 of file AliTrackletAODdNdeta.C.

Referenced by CheckTracklet(), operator=(), Print(), SetDPhiShift(), and WorkerInit().

TAxis AliTrackletAODdNdeta::fEtaAxis
protected
TH2* AliTrackletAODdNdeta::fEtaPhi
protected

Histogram of all eta phi

Definition at line 1207 of file AliTrackletAODdNdeta.C.

Referenced by MasterFinalize(), ProcessEvent(), and WorkerInit().

TAxis AliTrackletAODdNdeta::fIPzAxis
protected

Interaction point Z axis

Definition at line 1239 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta(), CheckIP(), InitCentBin(), operator=(), Print(), SetIPzAxis(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fMaxDelta
protected

Maximum \(\Delta\) to consider

Definition at line 1245 of file AliTrackletAODdNdeta.C.

Referenced by InitCentBins(), MasterFinalize(), operator=(), Print(), SetMaxDelta(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fMaxNTracklet
protected

Maximum number of tracklets for fake centrality

Definition at line 1259 of file AliTrackletAODdNdeta.C.

Referenced by FindFakeCentrality(), operator=(), Print(), and SetMaxNTracklet().

Int_t AliTrackletAODdNdeta::fMinEta1
protected

Least number of tracklets in |eta|<1

Definition at line 1263 of file AliTrackletAODdNdeta.C.

Referenced by CheckEvent(), MasterFinalize(), operator=(), Print(), and SetMinEta1().

TProfile* AliTrackletAODdNdeta::fNBareVsFake
protected

Average fake number of tracklets (weighed) vs total (unweighed)

Definition at line 1211 of file AliTrackletAODdNdeta.C.

Referenced by ProcessEvent(), and WorkerInit().

TProfile* AliTrackletAODdNdeta::fNBareVsGood
protected

Average good number of tracklets (weighed) vs total (unweighed)

Definition at line 1209 of file AliTrackletAODdNdeta.C.

Referenced by ProcessEvent(), and WorkerInit().

TProfile* AliTrackletAODdNdeta::fNGeneratedVsFake
protected

Average fake number of tracklets (weighed) vs generated tracks

Definition at line 1219 of file AliTrackletAODdNdeta.C.

Referenced by ProcessEvent(), and WorkerInit().

TProfile* AliTrackletAODdNdeta::fNGeneratedVsGood
protected

Average good number of tracklets (weighed) vs generated tracks

Definition at line 1217 of file AliTrackletAODdNdeta.C.

Referenced by ProcessEvent(), and WorkerInit().

TProfile* AliTrackletAODdNdeta::fNTrackletVsFake
protected

Average fake number of tracklets (weighed) vs total (weighed)

Definition at line 1215 of file AliTrackletAODdNdeta.C.

Referenced by ProcessEvent(), and WorkerInit().

TProfile* AliTrackletAODdNdeta::fNTrackletVsGood
protected

Average good number of tracklets (weighed) vs total (weighed)

Definition at line 1213 of file AliTrackletAODdNdeta.C.

Referenced by ProcessEvent(), and WorkerInit().

TAxis AliTrackletAODdNdeta::fPhiAxis
protected

Azimuthal angle axis

Definition at line 1243 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta(), operator=(), Print(), SetPhiAxis(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fShiftedDPhiCut
protected

Signal cut on \(\Delta\phi-\delta_{\phi}\)

Definition at line 1253 of file AliTrackletAODdNdeta.C.

Referenced by CheckTracklet(), operator=(), Print(), SetShiftedDPhiCut(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fTailDelta
protected

Least value of \(\Delta\) considered background tail

Definition at line 1247 of file AliTrackletAODdNdeta.C.

Referenced by MasterFinalize(), operator=(), Print(), SetTailDelta(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fTailMax
protected

Largest value of \(\Delta\) considered background tail

Definition at line 1249 of file AliTrackletAODdNdeta.C.

Referenced by MasterFinalize(), operator=(), Print(), SetTailMaximum(), and WorkerInit().

Double_t AliTrackletAODdNdeta::fTriggerEff
protected

External set trigger efficiency

Definition at line 1261 of file AliTrackletAODdNdeta.C.

Referenced by MasterFinalize(), operator=(), Print(), and SetTriggerEfficiency().

Int_t AliTrackletAODdNdeta::fTrkIdx
protected

Cached index of tracklet estimator

Definition at line 1231 of file AliTrackletAODdNdeta.C.

Referenced by FindMultCentrality(), and operator=().


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