}
//_______________________________________________________________________________________________
-const void AliHFEmcQA::PostAnalyze()
+void AliHFEmcQA::PostAnalyze()
{
}
fHistComm[iq][icut].fDeDistance->Fill(grandMa->Pt(),dedistance.P());
return;
}
- }
+ }
partMother = grandMa;
} // end of iteration
}
//__________________________________________
-const Float_t AliHFEmcQA::GetRapidity(TParticle *part)
+Float_t AliHFEmcQA::GetRapidity(TParticle *part)
{
// return rapidity
else rapidity = 0.5*(TMath::Log((part->Energy()+part->Pz()) / (part->Energy()-part->Pz())));
return rapidity;
}
+
virtual ~AliHFEmcQA();
- const void PostAnalyze();
+ void PostAnalyze();
void CreateHistograms(const Int_t kquark, Int_t icut, TString hnopt=""); // create histograms for mc qa analysis
void SetStack(AliStack* const stack){fStack=stack;} // set stack pointer
void Init();
void ReportStrangeness(Int_t &motherID, Int_t &mothertype, Int_t &motherlabel); // report if the quark production process is unknown
Bool_t IsFromInitialShower(Int_t inputmotherlabel, Int_t &motherID, Int_t &mothertype, Int_t &motherlabel); // check if the quark is produced from initial parton shower
Bool_t IsFromFinalParton(Int_t inputmotherlabel, Int_t &motherID, Int_t &mothertype, Int_t &motherlabel); // check if the quark is produced from final parton shower
- const Float_t GetRapidity(TParticle *part); // return rapidity
+ Float_t GetRapidity(TParticle *part); // return rapidity
AliStack* fStack; // stack pointer
Int_t fParentSelect[2][7]; // heavy hadron species
- ClassDef(AliHFEmcQA,0);
+ ClassDef(AliHFEmcQA,0); // QA for MC electrons
};
#endif
+