fEta(AliFMDFloatMap::kMaxDetectors,
AliFMDFloatMap::kMaxRings,
1,
- AliFMDFloatMap::kMaxStrips)
+ AliFMDFloatMap::kMaxStrips),
+ fNoiseFactor(0),
+ fAngleCorrected(kFALSE)
{
// Default CTOR
}
AliESDFMD::AliESDFMD(const AliESDFMD& other)
: TObject(other),
fMultiplicity(other.fMultiplicity),
- fEta(other.fEta)
+ fEta(other.fEta),
+ fNoiseFactor(other.fNoiseFactor),
+ fAngleCorrected(other.fAngleCorrected)
{
// Default CTOR
}
AliESDFMD::operator=(const AliESDFMD& other)
{
// Default CTOR
- fMultiplicity = other.fMultiplicity;
- fEta = other.fEta;
+ if(this!=&other){
+ TObject::operator=(other);
+ fMultiplicity = other.fMultiplicity;
+ fEta = other.fEta;
+ }
return *this;
}
+void AliESDFMD::Copy(TObject &obj) const{
+ // this overwrites the virtual TOBject::Copy()
+ // to allow run time copying without casting
+ // in AliESDEvent
+
+ if(this==&obj)return;
+ AliESDFMD *robj = dynamic_cast<AliESDFMD*>(&obj);
+ if(!robj)return; // not an AliESDFMD
+ *robj = *this;
+}
+
+//____________________________________________________________________
+void
+AliESDFMD::CheckNeedUShort(TFile* file)
+{
+ fMultiplicity.CheckNeedUShort(file);
+ fEta.CheckNeedUShort(file);
+}
+
//____________________________________________________________________
void
AliESDFMD::Clear(Option_t* )