1 #ifndef AliAODCluster_H 2 #define AliAODCluster_H 45 void Clear(
const Option_t*);
82 void Print(
const Option_t *opt =
"")
const;
90 void SetLabel(Int_t *label, UInt_t size);
95 else printf(
"Bad index for position array, i = %d\n",i);}
98 else printf(
"Bad index for PID array, i = %d\n",i);}
100 if(pid)
for(Int_t i=0; i<13; ++i)
fPID[i]=pid[i];
103 if(pid) {
for(Int_t i=0; i<11; ++i)
fPID[i]=pid[i];
fPID[11]=0;
fPID[12]=0;}
printf("Chi2/npoints = %f\n", TMath::Sqrt(chi2/npoints))
Double32_t fPID[13]
Pointer to PID object, array with bayesian probability weights.
Int_t fID
Unique cluster ID, points back to the ESD cluster.
const Double_t * GetPID() const
AliAODCluster & operator=(const AliAODCluster &clus)
void SetMCEnergyFraction(Double_t e)
UInt_t GetNLabels() const
Int_t fNLabel
Number of original MC particles generating this cluster.
UShort_t * GetClusterMCEdepFraction() const
void GetPosition(Float_t *x) const
Int_t GetLabelAt(UInt_t i) const
void SetClusterMCEdepFraction(UShort_t *array)
Virtual class for calorimeter cluster data handling.
void SetPID(const Float_t *pid)
void SetPosition(Float_t *x)
Bool_t TestFilterBit(UInt_t filterBit) const
void SetPIDFromESD(const T *pid)
Double32_t fPosition[3]
Position of the cluster.
void Clear(const Option_t *)
UShort_t * fClusterMCEdepFraction
Array with fraction of deposited energy per MC particle contributing to the cluster.
void SetPIDAt(Float_t x, Int_t i)
Int_t * fLabel
Particle label array, points back to MC particles that generated the cluster.
void SetType(Char_t ttype)
void SetLabel(Int_t *label, UInt_t size)
Double32_t fChi2
Chi2 of unfolding fit (probably not necessary for PMD).
Int_t * GetLabels() const
void SetChi2(Double_t chi2)
void SetPositionAt(Float_t x, Int_t i)
void Print(const Option_t *opt="") const
Double_t fMCEnergyFraction
! MC energy (embedding)
Double_t GetMCEnergyFraction() const
void SetE(Double32_t energy)
void SetClusterMCEdepFractionFromEdepArray(Float_t *array)
Double32_t fEnergy
Cluster energy.
Base class for calorimeter cluster data handling.
UShort_t GetMostProbablePID() const
UInt_t fFilterMap
Filter information, one bit per set of cuts.