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

Public Types

typedef TList Container
 
- Public Types inherited from AliTrackletAODMCdNdeta
typedef TList Container
 
- Public Types inherited from AliTrackletAODdNdeta
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

 AliTrackletAODWeightedMCdNdeta ()
 
 AliTrackletAODWeightedMCdNdeta (const char *name)
 
 AliTrackletAODWeightedMCdNdeta (const AliTrackletAODWeightedMCdNdeta &o)
 
virtual ~AliTrackletAODWeightedMCdNdeta ()
 
AliTrackletAODWeightedMCdNdetaoperator= (const AliTrackletAODWeightedMCdNdeta &o)
 
void Print (Option_t *option="") const
 
Set parameters on the task
void SetWeights (AliTrackletBaseWeights *w)
 
void SetWeightCalc (UChar_t mode=0)
 
void SetWeightMask (UChar_t mask=0xFF)
 
void SetWeightVeto (UChar_t veto=0x0)
 
void SetWeightInverse (Bool_t inv)
 
- Public Member Functions inherited from AliTrackletAODMCdNdeta
 AliTrackletAODMCdNdeta ()
 
 AliTrackletAODMCdNdeta (const char *name)
 
 AliTrackletAODMCdNdeta (const AliTrackletAODdNdeta &o)
 
virtual ~AliTrackletAODMCdNdeta ()
 
- Public Member Functions inherited from AliTrackletAODdNdeta
 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)
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *)
 
void FinishTaskOutput ()
 
void Terminate (Option_t *)
 
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)
 
void SetIPzAxis (Int_t n, Double_t min, Double_t max)
 
void SetIPzAxis (Int_t n, Double_t max)
 
void SetIPzAxis (const TString &spec)
 
void SetPhiAxis (Int_t n, Double_t min, Double_t max)
 
void SetPhiAxis (Int_t n, Double_t max)
 
void SetEtaAxis (Int_t n, Double_t min, Double_t max)
 
void SetEtaAxis (Int_t n, Double_t max)
 
void SetEtaAxis (const TString &spec)
 
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)
 
Bool_t Connect (const char *sumFile=0, const char *resFile=0)
 
- Public Member Functions inherited from AliTrackletAODUtils
 AliTrackletAODUtils ()
 
virtual ~AliTrackletAODUtils ()
 

Protected Member Functions

 ClassDef (AliTrackletAODWeightedMCdNdeta, 1)
 
Tracklet selection and inspection
Bool_t WorkerInit ()
 
virtual Double_t LookupWeight (AliAODTracklet *tracklet, Double_t cent, Double_t ipz)
 
Finalize the job
Bool_t MasterFinalize (Container *results)
 
- Protected Member Functions inherited from AliTrackletAODMCdNdeta
 ClassDef (AliTrackletAODMCdNdeta, 1)
 
virtual
AliTrackletAODdNdeta::CentBin
MakeCentBin (Float_t c1, Float_t c2)
 
virtual const char * GetBranchName () const
 
- Protected Member Functions inherited from AliTrackletAODdNdeta
 ClassDef (AliTrackletAODdNdeta, 2)
 
Bool_t InitCentBins (Container *existing)
 
virtual CentBinInitCentBin (Int_t bin, Float_t c1, Float_t c2, Container *existing, const TAxis &deltaAxis)
 
virtual UShort_t CheckTracklet (AliAODTracklet *tracklet) const
 
void ProcessEvent (UInt_t status, Double_t cent, const AliVVertex *ip, TClonesArray *tracklets)
 
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 ()
 
- Protected Member Functions inherited from AliTrackletAODUtils
 ClassDef (AliTrackletAODUtils, 1)
 

Protected Attributes

AliTrackletBaseWeightsfWeights
 
TProfile2D * fEtaWeight
 
TH2fWeightCorr
 
- Protected Attributes inherited from AliTrackletAODdNdeta
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
 

Additional Inherited Members

- Static Public Member Functions inherited from AliTrackletAODdNdeta
static AliTrackletAODdNdetaCreate (Bool_t mc=false, const char *weights=0, const char *sumFile=0, const char *resFile=0)
 
- 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)
 
- Static Protected Member Functions inherited from AliTrackletAODdNdeta
static TH1MakeStatus (Container *container)
 
static UInt_t Bin2Flag (UInt_t bin)
 

Detailed Description

Task to analyse AOD tracklets for dNch/deta

Definition at line 1407 of file AliTrackletAODdNdeta.C.

Member Typedef Documentation

Type of containers

Definition at line 1411 of file AliTrackletAODdNdeta.C.

Constructor & Destructor Documentation

AliTrackletAODWeightedMCdNdeta::AliTrackletAODWeightedMCdNdeta ( )
inline

Default constructor - for ROOT I/O only

Definition at line 1415 of file AliTrackletAODdNdeta.C.

AliTrackletAODWeightedMCdNdeta::AliTrackletAODWeightedMCdNdeta ( const char *  name)
inline

Named - user - constructor

Definition at line 1424 of file AliTrackletAODdNdeta.C.

AliTrackletAODWeightedMCdNdeta::AliTrackletAODWeightedMCdNdeta ( const AliTrackletAODWeightedMCdNdeta o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 1435 of file AliTrackletAODdNdeta.C.

virtual AliTrackletAODWeightedMCdNdeta::~AliTrackletAODWeightedMCdNdeta ( )
inlinevirtual

Destructor

Definition at line 1444 of file AliTrackletAODdNdeta.C.

Member Function Documentation

AliTrackletAODWeightedMCdNdeta::ClassDef ( AliTrackletAODWeightedMCdNdeta  ,
 
)
protected
Double_t AliTrackletAODWeightedMCdNdeta::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 from AliTrackletAODdNdeta.

Definition at line 2642 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODWeightedMCdNdeta::MasterFinalize ( Container results)
protectedvirtual

Finalize the job on the master

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

Reimplemented from AliTrackletAODdNdeta.

Definition at line 3036 of file AliTrackletAODdNdeta.C.

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

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 1711 of file AliTrackletAODdNdeta.C.

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

Print information to standard output

Parameters
optionIgnored

Reimplemented from AliTrackletAODdNdeta.

Definition at line 1803 of file AliTrackletAODdNdeta.C.

void AliTrackletAODWeightedMCdNdeta::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 from AliTrackletAODdNdeta.

Definition at line 1477 of file AliTrackletAODdNdeta.C.

void AliTrackletAODWeightedMCdNdeta::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 from AliTrackletAODdNdeta.

Definition at line 1503 of file AliTrackletAODdNdeta.C.

void AliTrackletAODWeightedMCdNdeta::SetWeightMask ( UChar_t  mask = 0xFF)
inlinevirtual

Set the tracklet type mask to use on weights

Parameters
maskTracklet type mask

Reimplemented from AliTrackletAODdNdeta.

Definition at line 1485 of file AliTrackletAODdNdeta.C.

void AliTrackletAODWeightedMCdNdeta::SetWeights ( AliTrackletBaseWeights w)
inlinevirtual

Set the weights to use

Parameters
w

Reimplemented from AliTrackletAODdNdeta.

Definition at line 1471 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::Create().

void AliTrackletAODWeightedMCdNdeta::SetWeightVeto ( UChar_t  veto = 0x0)
inlinevirtual

Set the tracklet type veto to use on weights

Parameters
vetoTracklet type veto

Reimplemented from AliTrackletAODdNdeta.

Definition at line 1493 of file AliTrackletAODdNdeta.C.

Bool_t AliTrackletAODWeightedMCdNdeta::WorkerInit ( )
protectedvirtual

Initialize the task on worker

Returns
true on success

Reimplemented from AliTrackletAODdNdeta.

Definition at line 1971 of file AliTrackletAODdNdeta.C.

Member Data Documentation

TProfile2D* AliTrackletAODWeightedMCdNdeta::fEtaWeight
protected

Definition at line 1546 of file AliTrackletAODdNdeta.C.

TH2* AliTrackletAODWeightedMCdNdeta::fWeightCorr
protected

Definition at line 1547 of file AliTrackletAODdNdeta.C.

AliTrackletBaseWeights* AliTrackletAODWeightedMCdNdeta::fWeights
protected

Definition at line 1545 of file AliTrackletAODdNdeta.C.

Referenced by Print().


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