fEMCRecPoints(NULL),
fCPVRecPoints(NULL),
fTrackSegments(NULL),
- fRecParticles(NULL)
+ fRecParticles(NULL),
+ fEnergyCorrectionOn(kTRUE)
{
// ctor
}
fEMCRecPoints(NULL),
fCPVRecPoints(NULL),
fTrackSegments(NULL),
- fRecParticles(NULL)
+ fRecParticles(NULL),
+ fEnergyCorrectionOn(kTRUE)
{
// ctor
fEMCRecPoints = new TObjArray(100) ;
fEMCRecPoints(pid.fEMCRecPoints),
fCPVRecPoints(pid.fCPVRecPoints),
fTrackSegments(pid.fTrackSegments),
- fRecParticles(pid.fRecParticles)
+ fRecParticles(pid.fRecParticles),
+ fEnergyCorrectionOn(pid.fEnergyCorrectionOn)
{
// Copy constructor
}
fCPVRecPoints->Delete();
delete fCPVRecPoints;
}
+ if (fRecParticles) {
+ fRecParticles->Delete();
+ delete fRecParticles;
+ }
}
//____________________________________________________________________________