1 #ifndef ALIESDCALOCLUSTER_H 2 #define ALIESDCALOCLUSTER_H 36 virtual void Copy(TObject &)
const;
37 void Clear(
const Option_t*);
53 else AliInfo(Form(
"Bad index for position array, i = %d\n",ipos));}
68 else AliInfo(Form(
"Bad index for PID array, i = %d \n",i));}
104 fLabels =
new TArrayI(size,array);
129 void GetMomentum(TLorentzVector&
p,
const Double_t * vertexPosition )
const;
Int_t GetTrackMatchedIndex(Int_t i=0) const
Double_t GetTrackDx(void) const
Double_t GetDispersion() const
Double_t GetUserDefEnergy(Int_t t) const
Double32_t fCoreEnergy
Energy of the core of cluster. Used by PHOS.
void SetM02(Double_t m02)
UShort_t * GetClusterMCEdepFraction() const
Int_t GetCellAbsId(Int_t i) const
void AddTracksMatched(TArrayI &array)
TArrayI * GetLabelsArray() const
Bool_t fIsExotic
! Cluster marked as "exotic" (high energy deposition concentrated in a single cell) ...
Double_t GetCoreEnergy() const
void SetPositionAt(Float_t pos, Int_t ipos)
TArrayI * GetTracksMatched() const
void AddLabels(TArrayI &array)
void GetCellMCEdepFractionArray(Int_t cellIndex, Float_t *eDep) const
Bool_t GetIsExotic() const
Double_t fUserDefEnergy[kLastUserDefEnergy+1]
!energy of the cluster after other higher level corrections (e.g. non-linearity, hadronic correction...
AliESDCaloCluster & operator=(const AliESDCaloCluster &source)
void SetCoreEnergy(Double_t e)
void SetClusterMCEdepFraction(UShort_t *array)
void SetCellsAbsId(UShort_t *array)
void SetUserDefEnergyCorrFactor(VCluUserDefEnergy_t t, Double_t f)
void SetType(Char_t type)
TArrayI * fTracksMatched
Index of tracks close to cluster. First entry is the most likely match.
Double32_t fChi2
Chi2 of cluster fit (unfolded clusters)
Double32_t fTrackDx
Distance to closest track in phi.
Virtual class for calorimeter cluster data handling.
void SetIsExotic(Bool_t b)
Double_t GetDistanceToBadChannel() const
Int_t GetLabelAt(UInt_t i) const
Double32_t fTrackDz
Distance to closest track in z.
UShort_t * GetCellsAbsId()
Double32_t fDistToBadChannel
Distance to nearest bad channel.
Double_t fTOF
Cluster time-of-flight.
void GetMomentum(TLorentzVector &p, const Double_t *vertexPosition) const
UChar_t fNExMax
Number of Local (Ex-)maxima before unfolding.
Double32_t fEnergy
Energy measured by calorimeter in GeV.
void SetDispersion(Double_t disp)
Double32_t fM02
2-nd moment along the main eigen axis.
void SetEmcCpvDistance(Double_t dEmcCpv)
void SetChi2(Double_t chi2)
void SetUserDefEnergy(Int_t t, Double_t e)
Double32_t * fCellsAmpFraction
void SetPIDAt(Float_t p, Int_t i)
Int_t GetNTracksMatched() const
void SetM20(Double_t m20)
Char_t fClusterType
Flag for different cluster type/versions. See enum VClu_t in AliVCluster.
void SetTrackDistance(Double_t dx, Double_t dz)
void SetMCEnergyFraction(Double_t e)
Double_t GetTrackDz(void) const
VCluUserDefEnergy_t
Define the correction types.
void SetClusterMCEdepFractionFromEdepArray(Float_t *array)
UInt_t GetNLabels() const
Int_t * GetLabels() const
TArrayI * fLabels
List of MC particles that generated the cluster, ordered in deposited energy.
UInt_t fNLabel
Number of MC particles associated to the cluster.
UChar_t GetNExMax() const
Double_t GetCellAmplitudeFraction(Int_t i) const
Calorimeter cluster data container.
void SetNExMax(UChar_t nExMax)
Double_t GetUserDefEnergy(VCluUserDefEnergy_t t) const
UShort_t * fClusterMCEdepFraction
Array with fraction of deposited energy per MC particle contributing to the cluster.
UShort_t * fCellsAbsId
Array of cell absolute Id numbers.
void Clear(const Option_t *)
virtual ~AliESDCaloCluster()
virtual Double_t GetUserDefEnergy(VCluUserDefEnergy_t) const
virtual void Copy(TObject &) const
Double_t GetEmcCpvDistance() const
virtual void SetUserDefEnergy(VCluUserDefEnergy_t, Double_t)
Double32_t fM20
2-nd moment along the second eigen axis.
Int_t fID
Unique Id of the cluster.
Double_t fMCEnergyFraction
! MC energy (embedding)
void SetLabel(Int_t *array, UInt_t size)
Double32_t fGlobalPos[3]
Position in global coordinate system (cm).
UInt_t PackMCEdepFraction(Float_t *eDep) const
Int_t fNCells
Number of cells in cluster.
UInt_t * fCellsMCEdepFractionMap
Double32_t fDispersion
Cluster shape dispersion.
void SetCellsAmplitudeFraction(Double32_t *array)
UInt_t * GetCellsMCEdepFractionMap() const
Double32_t * GetCellsAmplitudeFraction()
void GetPosition(Float_t *x) const
void SetCellsMCEdepFractionMap(UInt_t *array)
Double_t GetMCEnergyFraction() const
void SetPosition(Float_t *x)
void SetDistanceToBadChannel(Double_t dist)
Double32_t fEmcCpvDistance
the distance from PHOS EMC rec.point to the closest CPV rec.point.
void SetUserDefEnergy(VCluUserDefEnergy_t t, Double_t e)
const Double_t * GetPID() const
Double32_t fPID[AliPID::kSPECIESCN]
Detector response probabilities for the PID.
void SetPID(const Float_t *pid)
void SetTOF(Double_t tof)