: TObject(),
fCharge(0.),
fChi2(0.),
- fPads(0x0)
+ fPads(0x0),
+ fLabel(-1)
{
/// default constructor
fXYZ[0] = fXYZ[1] = fXYZ[2] = 0.;
: TObject(cluster),
fCharge(cluster.fCharge),
fChi2(cluster.fChi2),
- fPads(0x0)
+ fPads(0x0),
+ fLabel(cluster.fLabel)
{
/// Copy constructor
fXYZ[0] = cluster.fXYZ[0];
fCharge = cluster.fCharge;
fChi2 = cluster.fChi2;
+ fLabel = cluster.fLabel;
delete fPads;
if (cluster.fPads) {
}
//__________________________________________________________________________
-void AliESDMuonCluster::Clear(Option_t* opt)
+void AliESDMuonCluster::Clear(Option_t* /*opt*/)
{
/// Clear arrays
- if (fPads) fPads->Clear(opt);
+ delete fPads;
+ fPads = 0x0;
}
//_____________________________________________________________________________
cout<<Form(" position=(%5.2f, %5.2f, %5.2f), sigma=(%5.2f, %5.2f, 0.0)",
GetX(),GetY(),GetZ(),GetErrX(),GetErrY())<<endl;
- cout<<Form(" charge=%5.2f, chi2=%5.2f", GetCharge(), GetChi2())<<endl;
+ cout<<Form(" charge=%5.2f, chi2=%5.2f, MClabel=%d", GetCharge(), GetChi2(), GetLabel())<<endl;
if (PadsStored()) {
cout<<" pad infos:"<<endl;