![]() |
AliPhysics
914d8ff (914d8ff)
|
#include <AliFMDMCTrackELoss.h>
Classes | |
struct | Event |
struct | Hit |
struct | State |
Public Member Functions | |
AliFMDMCTrackELoss () | |
AliFMDMCTrackELoss (const char *name) | |
AliFMDMCTrackELoss (const AliFMDMCTrackELoss &o) | |
AliFMDMCTrackELoss & | operator= (const AliFMDMCTrackELoss &o) |
virtual | ~AliFMDMCTrackELoss () |
Bool_t | Calculate (const AliESDFMD &esd, const AliMCEvent &event, const TVector3 &ip, Double_t cent) |
void | CreateOutputObjects (TList *list) |
void | Print (Option_t *option="") const |
Options | |
void | SetUseTree (Bool_t use=true) |
void | SetMaxConsequtiveStrips (UShort_t n) |
Access to cache | |
void | Clear (Option_t *opt="") |
AliFMDFloatMap & | GetPrimaries () |
const AliFMDFloatMap & | GetPrimaries () const |
AliFMDFloatMap & | GetSecondaries () |
const AliFMDFloatMap & | GetSecondaries () const |
AliFMDFloatMap & | GetAll () |
const AliFMDFloatMap & | GetAll () const |
AliFMDFloatMap & | GetEta () |
const AliFMDFloatMap & | GetEta () const |
TTree * | GetTree () const |
TClonesArray * | GetHits () const |
TH2 * | GetBetaGammadEdx () const |
TH2 * | GetBetaGammaEta () const |
TH2 * | GetDEdxEta () const |
![]() | |
AliBaseMCTrackDensity () | |
AliBaseMCTrackDensity (const char *name) | |
AliBaseMCTrackDensity (const AliBaseMCTrackDensity &o) | |
AliBaseMCTrackDensity & | operator= (const AliBaseMCTrackDensity &o) |
virtual | ~AliBaseMCTrackDensity () |
void | SetUseOnlyPrimary (Bool_t use) |
void | SetUseFlowWeights (Bool_t use) |
void | SetTrackGammaToPi0 (Bool_t use) |
void | SetDebug (Bool_t debug=true) |
void | SetWeights (AliBaseMCWeights *weights) |
void | SetTruthWeights (AliBaseMCWeights *weights) |
Protected Member Functions | |
Int_t | GetDetectorId () const |
AliTrackReference * | ProcessRef (AliMCParticle *particle, const AliMCParticle *mother, AliTrackReference *ref) |
void | BeginTrackRefs () |
void | EndTrackRefs (Int_t nRefs) |
Double_t | StoreParticle (AliMCParticle *particle, const AliMCParticle *mother, AliTrackReference *ref) const |
ClassDef (AliFMDMCTrackELoss, 1) | |
![]() | |
Bool_t | ProcessTracks (const AliMCEvent &event, const TVector3 &ip, TH2D *primary) |
Bool_t | ProcessTrack (AliMCParticle *particle, const AliMCParticle *mother) |
virtual Bool_t | CheckTrackRef (AliTrackReference *) const |
Bool_t | GetCollisionParameters (const AliMCEvent &event) |
Double_t | GetTrackRefTheta (const AliTrackReference *ref) const |
const AliMCParticle * | GetMother (Int_t iTr, const AliMCEvent &event) const |
Double_t | CalculateWeight (const AliMCParticle *p, Bool_t isPrimary) const |
Double_t | CalculateTruthWeight (const AliMCParticle *p) const |
ClassDef (AliBaseMCTrackDensity, 6) | |
Protected Attributes | |
struct AliFMDMCTrackELoss::State | fState |
Event | fEvent |
State. More... | |
UShort_t | fMaxConsequtiveStrips |
Bool_t | fUseTree |
TClonesArray * | fHits |
TTree * | fTree |
TH1D * | fNr |
TH1D * | fNt |
TH1D * | fNc |
TH2D * | fNcr |
TH2 * | fBetaGammadEdx |
TH2 * | fBetaGammaEta |
TH2 * | fDEdxEta |
AliFMDFloatMap | fPrimaries |
AliFMDFloatMap | fSecondaries |
AliFMDFloatMap | fAll |
AliFMDFloatMap | fEta |
![]() | |
Bool_t | fUseOnlyPrimary |
TH2D * | fBinFlow |
TH2D * | fEtaBinFlow |
TH2D * | fPhiBinFlow |
TH1D * | fNRefs |
AliBaseMCWeights * | fWeights |
AliBaseMCWeights * | fTruthWeights |
TVector3 | fIP |
Double_t | fB |
Double_t | fPhiR |
Bool_t | fDebug |
Bool_t | fTrackGammaToPi0 |
A class to calculate the particle eloss from track references. This code is used both in AliForwardMCCorrectionsTask and AliFMDMCEloss calculator.
Definition at line 37 of file AliFMDMCTrackELoss.h.
AliFMDMCTrackELoss::AliFMDMCTrackELoss | ( | ) |
Default constructor. Do not use - for ROOT I/O system use only
Definition at line 78 of file AliFMDMCTrackELoss.cxx.
AliFMDMCTrackELoss::AliFMDMCTrackELoss | ( | const char * | name | ) |
|
inline |
Copy constructor
o | Object to copy from |
Definition at line 55 of file AliFMDMCTrackELoss.h.
|
inlinevirtual |
Destructor.
Definition at line 67 of file AliFMDMCTrackELoss.h.
|
protectedvirtual |
Called at before loop over track references
Reimplemented from AliBaseMCTrackDensity.
Definition at line 260 of file AliFMDMCTrackELoss.cxx.
Bool_t AliFMDMCTrackELoss::Calculate | ( | const AliESDFMD & | esd, |
const AliMCEvent & | event, | ||
const TVector3 & | ip, | ||
Double_t | cent | ||
) |
Loops over all the particles in the passed event. If primary is not null, then that histogram is filled with the primary particle information - irrespective of whether the particle actually hits the FMD or not. For each track (primary or secondary, unless only primary information is requested - see SetUseOnlyPrimary) loop over all track references to that particle and check if they come from the FMD. In that case, figure out which strip(s) to assign the track to, and fill the hits structure.
esd | FMD ESD structure |
event | MC event |
ip | IP coordinates |
cent | Event centrality |
Definition at line 427 of file AliFMDMCTrackELoss.cxx.
Referenced by AliFMDMCTrackInspector::Event().
|
protected |
void AliFMDMCTrackELoss::Clear | ( | Option_t * | opt = "" | ) |
|
virtual |
Define ouputs
list | List to add outputs to |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 166 of file AliFMDMCTrackELoss.cxx.
Referenced by AliFMDMCTrackInspector::CreateOutputObjects().
|
protectedvirtual |
Called at before loop over track references
nRefs | Number of references |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 267 of file AliFMDMCTrackELoss.cxx.
|
inline |
Get reference to cache of eloss for all
Definition at line 153 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::PostEvent().
|
inline |
Get constant reference to cache of eloss for all
Definition at line 159 of file AliFMDMCTrackELoss.h.
|
inline |
Definition at line 181 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::CreateOutputObjects().
|
inline |
Definition at line 182 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::CreateOutputObjects().
|
inline |
Definition at line 183 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::CreateOutputObjects().
|
protectedvirtual |
Must be defined to return the track-reference ID for this detector
Implements AliBaseMCTrackDensity.
Definition at line 253 of file AliFMDMCTrackELoss.cxx.
|
inline |
Get reference to cache of psuedo-rapidity ( \( \eta\))
Definition at line 165 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::PostEvent().
|
inline |
Get constant reference to cache of psuedo-rapidity ( \( \eta\))
Definition at line 171 of file AliFMDMCTrackELoss.h.
|
inline |
Definition at line 179 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::PostEvent().
|
inline |
Get reference to cache of eloss per primary
Definition at line 129 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::PostEvent().
|
inline |
Get constant reference to cache of eloss per primary
Definition at line 135 of file AliFMDMCTrackELoss.h.
|
inline |
Get reference to cache of eloss per secondary
Definition at line 141 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspector::PostEvent().
|
inline |
Get constant reference to cache of eloss per secondary
Definition at line 147 of file AliFMDMCTrackELoss.h.
|
inline |
Get pointer to NTutple if defined
Definition at line 178 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspectorTask::Event(), and AliFMDMCTrackInspectorTask::PreData().
|
inline |
Assignment operator
o | Object to assign from |
Definition at line 63 of file AliFMDMCTrackELoss.h.
|
virtual |
Print this task
option | Not used |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 476 of file AliFMDMCTrackELoss.cxx.
|
protectedvirtual |
Process a track reference
particle | Particle |
mother | Ultimate mother (if not primary) |
ref | Reference |
Implements AliBaseMCTrackDensity.
Definition at line 276 of file AliFMDMCTrackELoss.cxx.
|
inline |
Set maximum number of strips per 'cluster'
n | Maximum number of strips per 'cluster' |
Definition at line 84 of file AliFMDMCTrackELoss.h.
Referenced by AddTaskFMDMCTracks().
|
inline |
Whether to make an output nTree
use | If true, make an nTree of hits |
Definition at line 78 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackInspectorTask::AliFMDMCTrackInspectorTask().
|
protectedvirtual |
Store a particle hit in Basedr[s,t] in output
particle | Particle to store |
mother | Ultimate mother of particle |
ref | Longest track reference |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 368 of file AliFMDMCTrackELoss.cxx.
Referenced by ProcessRef().
|
mutableprotected |
Definition at line 331 of file AliFMDMCTrackELoss.h.
Referenced by Clear(), GetAll(), and StoreParticle().
|
protected |
Definition at line 326 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), GetBetaGammadEdx(), and StoreParticle().
|
protected |
Definition at line 327 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), GetBetaGammaEta(), and StoreParticle().
|
protected |
Definition at line 328 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), GetDEdxEta(), and StoreParticle().
|
protected |
Definition at line 332 of file AliFMDMCTrackELoss.h.
Referenced by Calculate(), Clear(), GetEta(), and StoreParticle().
|
protected |
Definition at line 315 of file AliFMDMCTrackELoss.h.
Referenced by Calculate(), and CreateOutputObjects().
|
protected |
Definition at line 320 of file AliFMDMCTrackELoss.h.
Referenced by AliFMDMCTrackELoss(), Clear(), CreateOutputObjects(), GetHits(), and StoreParticle().
|
protected |
Definition at line 318 of file AliFMDMCTrackELoss.h.
Referenced by Print(), ProcessRef(), and SetMaxConsequtiveStrips().
|
protected |
Definition at line 324 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), and EndTrackRefs().
|
protected |
Definition at line 325 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), and EndTrackRefs().
|
protected |
Definition at line 322 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), and StoreParticle().
|
protected |
Definition at line 323 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), and StoreParticle().
|
mutableprotected |
Definition at line 329 of file AliFMDMCTrackELoss.h.
Referenced by Clear(), GetPrimaries(), and StoreParticle().
|
mutableprotected |
Definition at line 330 of file AliFMDMCTrackELoss.h.
Referenced by Clear(), GetSecondaries(), and StoreParticle().
|
protected |
Referenced by BeginTrackRefs(), EndTrackRefs(), ProcessRef(), and StoreParticle().
|
protected |
Definition at line 321 of file AliFMDMCTrackELoss.h.
Referenced by Calculate(), CreateOutputObjects(), and GetTree().
|
protected |
Definition at line 319 of file AliFMDMCTrackELoss.h.
Referenced by CreateOutputObjects(), and SetUseTree().