![]() |
AliPhysics
34df632 (34df632)
|
Classes | |
struct | CentBin |
Public Types | |
enum | { kPrimaries = 0x8, kSecondaries = 0x10, kCombinatorics = 0x20, kUncorrCombinatorics = 0x40 } |
![]() | |
enum | { kNormal = 0x1, kInjection = 0x2, kRotation = 0x4 } |
enum | { kAll =1, kEvent, kMultiplicity, kClusters, kTrigger, kIP, kCentrality, kReconstructed, kInjected, kRotated, kCompleted } |
![]() | |
typedef TList | Container |
Protected Member Functions | |
ClassDef (AliTrackletdNdetaMCTask, 1) | |
AliTrackletdNdetaMCTask (const AliTrackletdNdetaMCTask &o) | |
AliTrackletdNdetaMCTask & | operator= (const AliTrackletdNdetaMCTask &o) |
Other functions | |
virtual void | Print (Option_t *option) const |
![]() | |
virtual void | InitCentBins (Container *existing) |
virtual Bool_t | InitCDB () |
virtual Bool_t | InitGeometry () |
virtual Int_t | GetCDBReferenceRun () const |
ClassDef (AliTrackletdNdetaTask, 1) | |
virtual void | WorkerFinalize () |
virtual TTree * | FindClusters (Bool_t needed) |
virtual Double_t | FindCentrality (AliVEvent *event) |
virtual const AliVVertex * | FindIP (AliVEvent *event, Double_t maxDispersion=0.04, Double_t maxZError=0.25) |
virtual Bool_t | FindTrigger () |
virtual Bool_t | ProcessTracklets (TList &toRun, AliITSMultRecBg *reco, Double_t cent, Double_t ipZ, AliMultiplicity *mult) |
UShort_t | FindMode (AliITSMultRecBg *reco) const |
virtual Bool_t | Reconstruct (TList &toRun, UShort_t mode, TTree *clusters, Double_t cent, const AliVVertex *ip) |
virtual void | FillClusters (AliITSMultRecBg *reco) |
virtual void | FillClusters (AliMultiplicity *mult, Double_t ipZ) |
virtual void | ProcessEvent (Double_t cent, const AliVVertex *ip, AliMultiplicity *mult, TTree *clusters) |
AliTrackletdNdetaTask (const AliTrackletdNdetaTask &o) | |
AliTrackletdNdetaTask & | operator= (const AliTrackletdNdetaTask &o) |
![]() | |
ClassDef (AliTrackletdNdetaUtils, 1) | |
Static Protected Member Functions | |
static Int_t * | PdgArray (Int_t &size) |
static Int_t * | SortedPdgArray (Int_t &size) |
static Int_t | FindPdg (Int_t pdg) |
static TAxis * | MakePdgAxis () |
Protected Attributes | |
TH1 * | fMCStatus |
Bool_t | fReweigh |
![]() | |
Container * | fContainer |
Container * | fCentBins |
TString | fCentMethod |
TAxis | fCentAxis |
TAxis | fIPzAxis |
TAxis | fEtaAxis |
TAxis | fPhiAxis |
TH1 * | fCent |
TH1 * | fIPz |
TH2 * | fEtaPhi |
TH2 * | fUsedClusters0 |
TH2 * | fUsedClusters1 |
TH2 * | fAllClusters0 |
TH2 * | fAllClusters1 |
TH1 * | fStatus |
UShort_t | fRecMode |
Bool_t | fScaleDTheta |
Double_t | fMaxDelta |
Double_t | fTailDelta |
Double_t | fDPhiShift |
Double_t | fShiftedDPhiCut |
Double_t | fScaledDThetaCut |
Double_t | fDeltaCut |
Double_t | fDThetaWindow |
Double_t | fDPhiWindow |
Double_t | fPhiOverlapCut |
Double_t | fZEtaOverlapCut |
Double_t | fPhiRotation |
Interface | |
enum | { kAllMC = 1, kMCEvent, kStack, kGenHeader, kDataOK, kMCTruth, kReweighed, kMCCompleted } |
virtual const char * | GetCDBReferenceURL () const |
virtual void | WorkerInit () |
virtual Bool_t | CheckEvent (Double_t ¢, const AliVVertex *&ip, AliMultiplicity *&mult, TTree *&clusters) |
virtual void | MasterFinalize (Container *results) |
virtual Double_t | TrackletWeight (Int_t trackletNumber, const AliMultiplicity *mult) const |
void | ReweighStack (Double_t cent) const |
Double_t | LookupWeight (Int_t trackNo, TParticle *particle, Double_t cent) const |
virtual Double_t | LookupWeight (TParticle *particle, Double_t cent) const |
virtual Bool_t | FillPrimaries (Double_t cent, Double_t ipZ, Double_t genIPz, Bool_t dataOK) |
Bool_t | HaveCommonParent (const Float_t *labels0, const Float_t *labels1) const |
virtual void | FillBins (TList &toRun, AliITSMultRecBg *reco, AliMultiplicity *mult, Int_t trackletNumber, 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) const |
Additional Inherited Members | |
![]() | |
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 TObject * | GetO (Container *parent, const char *name, TClass *cls) |
static TObject * | GetO (TDirectory *parent, const char *name, TClass *cls) |
static TH1 * | GetH1 (Container *parent, const char *name) |
static TH2 * | GetH2 (Container *parent, const char *name) |
static Container * | GetC (Container *parent, const char *name) |
static Container * | GetC (TDirectory *parent, const char *name) |
static Double_t | GetD (Container *parent, const char *name, Double_t def=-1) |
static Int_t | GetI (Container *parent, const char *name, Int_t def=-1) |
static Int_t | GetB (Container *parent, const char *name, Bool_t def=false) |
static TH1 * | CopyH1 (Container *parent, const char *name, const char *newName=0) |
static TH2 * | CopyH2 (Container *parent, const char *name, const char *newName=0) |
static TH1 * | Make1D (Container &c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis) |
static TH2 * | Make2D (Container &c, const TString &name, const TString &title, Color_t color, Style_t style, const TAxis &xAxis, const TAxis &yAxis) |
static TH1 * | Scale (TH1 *h, Double_t x, Double_t xe) |
static TH2 * | Scale (TH2 *h, Double_t x, Double_t xe) |
static TH2 * | Scale (TH2 *h, TH1 *s) |
static void | FixAxis (TAxis &axis, const char *title=0) |
static void | ScaleAxis (TAxis &axis, 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 TH2 * | ScaleToIPz (TH2 *h, TH1 *ipZ, Bool_t full=false) |
static TH1 * | AverageOverIPz (TH2 *h, const char *name, UShort_t mode, TH1 *ipz, TH2 *mask=0) |
static TObject * | CloneAndAdd (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) |
A task to analyse SPD tracklet data for the charged particle pseudorapidity density - simulated data case
Definition at line 2237 of file AliTrackletdNdetaTask.C.
|
protected |
Enumerator | |
---|---|
kAllMC | |
kMCEvent | |
kStack | |
kGenHeader | |
kDataOK | |
kMCTruth | |
kReweighed | |
kMCCompleted |
Definition at line 2516 of file AliTrackletdNdetaTask.C.
anonymous enum |
Enumerator | |
---|---|
kPrimaries | |
kSecondaries | |
kCombinatorics | |
kUncorrCombinatorics |
Definition at line 2240 of file AliTrackletdNdetaTask.C.
|
inline |
Constructor
Definition at line 2452 of file AliTrackletdNdetaTask.C.
|
inline |
Constructor
Definition at line 2460 of file AliTrackletdNdetaTask.C.
|
inlineprotected |
Constructor
Definition at line 2487 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Check the event. Side effect is to set the internal pointer to the MC stack.
cent | On return, the centrality |
ip | On return, the IP coordiantes |
mult | On return, the container of tracklets |
clusters | On return, the clusters - if requested |
Reimplemented from AliTrackletdNdetaTask.
Definition at line 3091 of file AliTrackletdNdetaTask.C.
|
protected |
|
protectedvirtual |
Fill selected centrality bins with tracklet information
toRun | Selected centrality bins |
reco | Reconstructor |
mult | Container of tracklets |
trackletNumber | Tracklet number |
isSignal | If this is considered a signal |
ipz | Reconstructed IP z coordinate |
eta | Pseudorapidity of tracklet |
dPhi | Azimuthal opening angle |
dPhiS | Shifted azimuthal opening angle |
dTheta | Polar opening angle |
dThetaX | Scaled polar opening angle |
delta | Tracklet \(\chi^2\) |
weight | Tracklet weight (for MC) |
Reimplemented from AliTrackletdNdetaTask.
Definition at line 3328 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Fill primary information
cent | Centrality |
ipZ | Reconstructed IP Z coordinate |
genIPz | Generated IP Z coordinate |
dataOK | True if event is selected |
Definition at line 3212 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
Find the index of a PDG in the sorted array of PDGs. Note, if the PDG is 1B or larger, it will be considered valid. If the exact PDG isn't found, then the size of the array will be returned.
pdg | PDG code to look up |
Definition at line 3493 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::CentBin::FillPrimary(), and AliTrackletdNdetaMCTask::CentBin::FillSpecie().
|
inlineprotectedvirtual |
Get the CDB reference URL
Reimplemented from AliTrackletdNdetaTask.
Definition at line 2531 of file AliTrackletdNdetaTask.C.
|
protected |
Check if two particle labels eventually leads back to the same mother particle.
labels0 | First label |
labels1 | Second label |
Definition at line 3277 of file AliTrackletdNdetaTask.C.
Referenced by FillBins().
|
protected |
Look-up weight of a particle (secondary or primary). This is done by recursively calling this function until we hit the primary mother particle.
trackNo | Track number |
particle | Particle information |
cent | Event centrality |
Definition at line 3192 of file AliTrackletdNdetaTask.C.
Referenced by ReweighStack().
|
inlineprotectedvirtual |
Function to return the weight of a primary particle. Here, it always returns 1, but it can be overloaded to do more.
particle | Primary particle to look-up weight for |
cent | Event centrality |
Definition at line 2603 of file AliTrackletdNdetaTask.C.
|
inlinevirtual |
Make a centrality bin
c1 | Low edge |
c2 | High edge |
recFlags | Reconstruction flags |
Reimplemented from AliTrackletdNdetaTask.
Definition at line 2474 of file AliTrackletdNdetaTask.C.
|
staticprotected |
Make an axis of PDG codes. Note, the axis is sorted by PDG number - not abundance.
Definition at line 3505 of file AliTrackletdNdetaTask.C.
Referenced by AliTrackletdNdetaMCTask::CentBin::WorkerInit().
|
protectedvirtual |
Called on master on merged result.
results | Output container for results |
Reimplemented from AliTrackletdNdetaTask.
Definition at line 3143 of file AliTrackletdNdetaTask.C.
|
inlineprotected |
Assingment operator
Definition at line 2497 of file AliTrackletdNdetaTask.C.
Return an array of interesting PDG codes.
size | On return, the size of the array |
Definition at line 3414 of file AliTrackletdNdetaTask.C.
Referenced by SortedPdgArray().
|
inlineprotectedvirtual |
Reimplemented from AliTrackletdNdetaTask.
Definition at line 2505 of file AliTrackletdNdetaTask.C.
|
protected |
Reweigh the input stack. We do this by assigning weights to each particle according to the primary mother particle of each particle.
cent | Event centrality |
Definition at line 3179 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent().
Return pointer to a sorted array of interesting PDG codes
size | On return, the size of the array |
Definition at line 3470 of file AliTrackletdNdetaTask.C.
Referenced by FindPdg(), and MakePdgAxis().
|
protectedvirtual |
Get weight of a tracklet (for MC)
trackletNumber | Tracklet number |
mult | Tracklet container |
Reimplemented from AliTrackletdNdetaTask.
Definition at line 3154 of file AliTrackletdNdetaTask.C.
|
protectedvirtual |
Initialize histograms. Called on worker
Reimplemented from AliTrackletdNdetaTask.
Definition at line 3050 of file AliTrackletdNdetaTask.C.
|
protected |
Definition at line 2700 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent(), MasterFinalize(), and WorkerInit().
|
protected |
Definition at line 2701 of file AliTrackletdNdetaTask.C.
Referenced by CheckEvent(), Print(), ReweighStack(), and TrackletWeight().