![]() |
AliPhysics
3b4a69f (3b4a69f)
|
#include <AliFMDMCTrackDensity.h>
Classes | |
struct | State |
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 |
![]() | |
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 |
Protected Attributes | |
struct AliFMDMCTrackDensity::State | fState |
UShort_t | fMaxConsequtiveStrips |
State. More... | |
Double_t | fLowCutvalue |
TH1D * | fNr |
TH1D * | fNt |
TH1D * | fNc |
TH2D * | fNcr |
AliESDFMD * | fOutput |
![]() | |
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 density from track references. This code is used both in AliForwardMCCorrectionsTask and AliFMDMCDensity calculator.
Definition at line 32 of file AliFMDMCTrackDensity.h.
AliFMDMCTrackDensity::AliFMDMCTrackDensity | ( | ) |
Default constructor. Do not use - for ROOT I/O system use only
Definition at line 49 of file AliFMDMCTrackDensity.cxx.
AliFMDMCTrackDensity::AliFMDMCTrackDensity | ( | const char * | name | ) |
AliFMDMCTrackDensity::AliFMDMCTrackDensity | ( | const AliFMDMCTrackDensity & | o | ) |
Copy constructor
o | Object to copy from |
Definition at line 79 of file AliFMDMCTrackDensity.cxx.
|
inlinevirtual |
Destructor.
Definition at line 62 of file AliFMDMCTrackDensity.h.
|
protectedvirtual |
Called at before loop over track references
Reimplemented from AliBaseMCTrackDensity.
Definition at line 161 of file AliFMDMCTrackDensity.cxx.
Referenced by SetLowCutvalue().
Bool_t AliFMDMCTrackDensity::Calculate | ( | const AliESDFMD & | esd, |
const AliMCEvent & | event, | ||
const TVector3 & | ip, | ||
AliESDFMD & | output, | ||
TH2D * | primary | ||
) |
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 |
output | Output of FMD hits |
primary | Primary information, if available. |
Definition at line 310 of file AliFMDMCTrackDensity.cxx.
Referenced by AliFMDMCSharingFilter::FilterMC(), AliForwardMCCorrectionsTask::ProcessESD(), and SetLowCutvalue().
|
virtual |
Define ouputs
list | List to add outputs to |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 114 of file AliFMDMCTrackDensity.cxx.
Referenced by AliFMDMCSharingFilter::CreateOutputObjects(), and SetLowCutvalue().
|
protectedvirtual |
Called at before loop over track references
nRefs | Number of references |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 168 of file AliFMDMCTrackDensity.cxx.
Referenced by SetLowCutvalue().
|
protectedvirtual |
Must be defined to return the track-reference ID for this detector
Implements AliBaseMCTrackDensity.
Definition at line 154 of file AliFMDMCTrackDensity.cxx.
Referenced by SetLowCutvalue().
AliFMDMCTrackDensity & AliFMDMCTrackDensity::operator= | ( | const AliFMDMCTrackDensity & | o | ) |
Assignment operator
o | Object to assign from |
Definition at line 95 of file AliFMDMCTrackDensity.cxx.
|
virtual |
Print information to standard out
option | Not used |
Reimplemented from AliBaseMCTrackDensity.
Definition at line 360 of file AliFMDMCTrackDensity.cxx.
Referenced by AliForwardMCCorrectionsTask::Print(), AliFMDMCSharingFilter::Print(), and SetLowCutvalue().
|
protectedvirtual |
Process a track reference
particle | Particle |
mother | Ultimate mother (if not primary) |
ref | Reference |
Implements AliBaseMCTrackDensity.
Definition at line 177 of file AliFMDMCTrackDensity.cxx.
Referenced by SetLowCutvalue().
|
inline |
Set minimum dE for strip to be part of 'cluster'
v | Set minimum dE for strip to be part of 'cluster' |
Definition at line 77 of file AliFMDMCTrackDensity.h.
|
inline |
Set maximum number of strips per 'cluster'
n | Maximum number of strips per 'cluster' |
Definition at line 69 of file AliFMDMCTrackDensity.h.
Referenced by AddTaskForwardMCCorr().
|
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 276 of file AliFMDMCTrackDensity.cxx.
Referenced by ProcessRef(), and SetLowCutvalue().
|
protected |
Definition at line 188 of file AliFMDMCTrackDensity.h.
Referenced by operator=(), ProcessRef(), and SetLowCutvalue().
|
protected |
Definition at line 187 of file AliFMDMCTrackDensity.h.
Referenced by operator=(), Print(), ProcessRef(), and SetMaxConsequtiveStrips().
|
protected |
Definition at line 191 of file AliFMDMCTrackDensity.h.
Referenced by CreateOutputObjects(), EndTrackRefs(), and operator=().
|
protected |
Definition at line 192 of file AliFMDMCTrackDensity.h.
Referenced by CreateOutputObjects(), EndTrackRefs(), and operator=().
|
protected |
Definition at line 189 of file AliFMDMCTrackDensity.h.
Referenced by CreateOutputObjects(), operator=(), and StoreParticle().
|
protected |
Definition at line 190 of file AliFMDMCTrackDensity.h.
Referenced by CreateOutputObjects(), operator=(), and StoreParticle().
|
protected |
Definition at line 193 of file AliFMDMCTrackDensity.h.
Referenced by Calculate(), operator=(), and StoreParticle().
|
protected |
Referenced by BeginTrackRefs(), EndTrackRefs(), operator=(), ProcessRef(), and StoreParticle().