for (Int_t sm=0; sm<kNEMCALMatrix; sm++) fEMCALMatrix[sm]=NULL;
for (Int_t i = 0; i < 6; i++) fITSClusters[i] = 0;
for (Int_t j=0; j<64; ++j) fVZEROEqFactors[j]=-1;
+ for (Int_t i=0; i<kT0SpreadSize;i++) fT0spread[i]=0;
}
//______________________________________________________________________________
for (Int_t m=0; m<kNPHOSMatrix; m++) fPHOSMatrix[m]=NULL;
for (Int_t sm=0; sm<kNEMCALMatrix; sm++) fEMCALMatrix[sm]=NULL;
for (Int_t j=0; j<64; ++j) fVZEROEqFactors[j]=-1;
+ for (Int_t i=0; i<kT0SpreadSize;i++) fT0spread[i]=0;
}
//______________________________________________________________________________
for (Int_t sm=0; sm<kNEMCALMatrix; sm++) fEMCALMatrix[sm]=NULL;
for (Int_t i = 0; i < 6; i++) fITSClusters[i] = 0;
if (vzeroEqFactors) for (Int_t j=0; j<64; ++j) fVZEROEqFactors[j] = vzeroEqFactors[j];
+ for (Int_t i=0; i<kT0SpreadSize;i++) fT0spread[i]=0;
}
//______________________________________________________________________________
}
for (Int_t i = 0; i < 6; i++) fITSClusters[i] = hdr.fITSClusters[i];
for (Int_t j=0; j<64; ++j) fVZEROEqFactors[j]=hdr.fVZEROEqFactors[j];
+ for (Int_t i=0; i<kT0SpreadSize;i++) fT0spread[i]=hdr.fT0spread[i];
+
}
//______________________________________________________________________________
for (Int_t i = 0; i < 6; i++) fITSClusters[i] = hdr.fITSClusters[i];
for (Int_t j=0; j<64; ++j) fVZEROEqFactors[j] = hdr.fVZEROEqFactors[j];
+ for (Int_t i=0; i<kT0SpreadSize;i++) fT0spread[i]=hdr.fT0spread[i];
+
return *this;
}
void Clear(Option_t* = "");
enum {kNPHOSMatrix = 5};
enum {kNEMCALMatrix = 12};
+ enum {kT0SpreadSize = 4};
void SetVZEROEqFactors(const Float_t* factors) {
if (factors)
for (Int_t i = 0; i < 64; ++i) fVZEROEqFactors[i] = factors[i];}
const Float_t* GetVZEROEqFactors() const {return fVZEROEqFactors;}
Float_t GetVZEROEqFactors(Int_t i) const {return fVZEROEqFactors[i];}
+ Float_t GetT0spread(Int_t i) const {
+ return ((i >= 0) && (i<kT0SpreadSize)) ? fT0spread[i] : 0;}
+ void SetT0spread(Int_t i, Float_t t) {
+ if ((i>=0)&&(i<kT0SpreadSize)) fT0spread[i]=t;}
+
private :
AliCentrality* fCentralityP; // Pointer to full centrality information
AliEventplane* fEventplaneP; // Pointer to full event plane information
Float_t fVZEROEqFactors[64]; // V0 channel equalization factors for event-plane reconstruction
- ClassDef(AliAODHeader, 17);
+ Float_t fT0spread[kT0SpreadSize]; // spread of time distributions: (TOA+T0C/2), T0A, T0C, (T0A-T0C)/2
+ ClassDef(AliAODHeader, 18);
};
inline
void AliAODHeader::SetCentrality(const AliCentrality* cent) {