}
//_____________________________________________________________________________
-AliRsnLoopEffDaughter::AliRsnLoopEffDaughter(const AliRsnLoopEffDaughter& copy) :
+AliRsnLoopEffDaughter::AliRsnLoopEffDaughter(const AliRsnLoopEffDaughter ©) :
AliRsnLoopEff(copy),
fDef(copy.fDef)
{
}
//_____________________________________________________________________________
-AliRsnLoopEffDaughter& AliRsnLoopEffDaughter::operator=(const AliRsnLoopEffDaughter& copy)
+AliRsnLoopEffDaughter &AliRsnLoopEffDaughter::operator=(const AliRsnLoopEffDaughter ©)
{
//
// Assignment operator.
AliRsnLoopEff::operator=(copy);
if (this == ©)
- return *this;
+ return *this;
fDef = copy.fDef;
-
+
return (*this);
}
// Check step with MC
//
- AliRsnCutSet *cuts = (AliRsnCutSet*)fStepsMC[istep];
+ AliRsnCutSet *cuts = (AliRsnCutSet *)fStepsMC[istep];
return cuts->IsSelected(target);
}
// Check step with MC
//
- AliRsnCutSet *cuts = (AliRsnCutSet*)fStepsRec[istep];
+ AliRsnCutSet *cuts = (AliRsnCutSet *)fStepsRec[istep];
return cuts->IsSelected(target);
}
for (ipart = 0; ipart < stack->GetNprimary(); ipart++) {
// MC particle
- daughter.SetRefMC((AliMCParticle*)mc->GetTrack(ipart));
+ daughter.SetRefMC((AliMCParticle *)mc->GetTrack(ipart));
// search for reconstructed track
// if no tracks are found with that label, rec ref is set to zero
//
AliAODEvent *aod = fRsnEvent[0].GetRefAOD();
- TClonesArray *mcArray = (TClonesArray*)aod->GetList()->FindObject(AliAODMCParticle::StdBranchName());
+ TClonesArray *mcArray = (TClonesArray *)aod->GetList()->FindObject(AliAODMCParticle::StdBranchName());
if (!mcArray) return;
TArrayI indexes;
Int_t imax, istep, icheck, itrack, ipart;
// loop on the MC list of particles
TObjArrayIter next(mcArray);
AliAODMCParticle *particle;
- while ((particle = (AliAODMCParticle*)next())) {
+ while ((particle = (AliAODMCParticle *)next())) {
// MC particle
daughter.SetRefMC(particle);