// Class AliRsnAnalysisME
//
// TODO
+// TODO
//
// authors: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
// Martin Vala (martin.vala@cern.ch)
//
+#include "AliESDEvent.h"
+#include "AliMCEvent.h"
+#include "AliAODEvent.h"
+
#include "AliRsnAnalysisME.h"
ClassImp(AliRsnAnalysisME)
fPIDIndex(0),
fPIDIndexMix(0),
fEvent(),
- fEventMix(),
- fESDCuts(0)
+ fEventMix()
{
//
// Default constructor
fPIDIndex(copy.fPIDIndex),
fPIDIndexMix(copy.fPIDIndexMix),
fEvent(copy.fEvent),
- fEventMix(copy.fEvent),
- fESDCuts(copy.fESDCuts)
+ fEventMix(copy.fEvent)
{
AliDebug(AliLog::kDebug+2,"<-");
AliDebug(AliLog::kDebug+2,"->");
//_____________________________________________________________________________
void AliRsnAnalysisME::RsnUserCreateOutputObjects()
{
+//
+// TODO
+//
AliLog::SetClassDebugLevel(GetName(), fLogType);
AliDebug(AliLog::kDebug+2,"<-");
// AliRsnVAnalysisTaskME::UserCreateOutputObjects();
//
// fOutList->Add(fTaskInfo.GenerateInfoList());
- fOutList->Add(fRsnAnalysisManager.InitAllPairMgrs());
+// fOutList->Add();
+ fRsnAnalysisManager.InitAllPairMgrs(fOutList);
// fRsnAnalysisManager.Print();
AliDebug(AliLog::kDebug+2,"->");
}
-void AliRsnAnalysisME::RsnUserExec(Option_t* )
+void AliRsnAnalysisME::RsnUserExec(Option_t*)
{
+//
+// TODO
+//
+
AliDebug(AliLog::kDebug+2,"<-");
if (fESDEvent) {
AliDebug(AliLog::kDebug+1,Form("fESDEvent if %p",fESDEvent));
// sort tracks w.r. to PID
fPIDIndex.ResetAll(fEvent.GetMultiplicity());
- fPIDIndex.SetPriorProbability(fPrior);
- fPIDIndex.FillFromEvent(&fEvent, fESDCuts);
+ fEvent.SetPriorProbability(fPrior);
+ fPIDIndex.FillFromEvent(&fEvent);
fPIDIndex.SetCorrectIndexSize();
fPIDIndexMix.ResetAll(fEventMix.GetMultiplicity());
- fPIDIndexMix.SetPriorProbability(fPrior);
- fPIDIndexMix.FillFromEvent(&fEventMix, fESDCuts);
+ fEventMix.SetPriorProbability(fPrior);
+ fPIDIndexMix.FillFromEvent(&fEventMix);
fPIDIndexMix.SetCorrectIndexSize();
fRsnAnalysisManager.ProcessAllPairMgrs(&fPIDIndex, &fEvent, &fPIDIndexMix, &fEventMix);
//_____________________________________________________________________________
-void AliRsnAnalysisME::RsnTerminate(Option_t* )
+void AliRsnAnalysisME::RsnTerminate(Option_t*)
{
+//
+// TODO
+//
+
AliDebug(AliLog::kDebug+2,"<-");
AliDebug(AliLog::kDebug+2,"->");
}
+//_____________________________________________________________________________
AliRsnAnalysisManager* AliRsnAnalysisME::GetAnalysisManager(TString name)
{
+//
+// Gets all prior probabilities to out
+//
+
if (!name.IsNull()) {
SetAnalysisManagerName(name.Data());
}
}
//_____________________________________________________________________________
-void AliRsnAnalysisME::GetPriorProbability(Double_t *out)
+void AliRsnAnalysisME::GetPriorProbability(Double_t *out) const
{
+//
+// Gets all prior probabilities to out
+//
Int_t i;
for (i=0;i<AliPID::kSPECIES;i++) {