AliLog::EType_t debugType = AliLog::kInfo, // debug depth for some classes
Bool_t useTPCOnly = kFALSE, // use TPC only PID
const char *outFile = "rsn.root", // output file name
- Bool_t sourceESD = kTRUE, // if true, the source of data is ESD, otherwise is AOD from filter task
+ Bool_t sourceESD = kTRUE // if true, the source of data is ESD, otherwise is AOD from filter task
)
{
// retrieve analysis manager
cout << "SET PID SCHEME" << endl;
// setup cuts for events (good primary vertex)
+ /* Commented out by AK - not working
AliRsnCutPrimaryVertex *cutVertex = new AliRsnCutPrimaryVertex("cutVertex", 3);
AliRsnCutSet *cutSetEvent = new AliRsnCutSet("eventCuts");
+ */
+
+ /* Commented out by AK - not working
cutSetEvent->AddCut(cutVertex);
cutSetEvent->SetCutScheme("cutVertex");
task->SetEventCuts(cutSetEvent);
+ */
cout << "SET EVENT CUT SCHEME" << endl;
// add the task to manager
return fcn;
}
+/* Commented out by AK - not working
AliRsnFunction* DefineFunctionP1P2()
{
//
return fcn;
}
+*/
AliRsnPairManager* CreatePairsNoPID
(
// === FUNCTIONS ================================================================================
AliRsnFunction *fcn = DefineFunctionIM();
+ /* Commented out by AK - not working
AliRsnFunction *fcnPP = DefineFunctionP1P2();
-
+ */
for (i = 0; i < nArray; i++) {
for (j = 0; j < 4; j++) {
noPID[i][j]->AddFunction(fcn);
+ /* Commented out by AK - not working
if (j < 2) noPID[i][j]->AddFunction(fcnPP);
+ */
}
}
// === FUNCTIONS ================================================================================
AliRsnFunction *fcn = DefineFunctionIM();
+ /* Commented out by AK - not working
AliRsnFunction *fcnPP = DefineFunctionP1P2();
+ */
for (i = 0; i < nArray; i++) {
for (j = 0; j < 4; j++) {
perfectPID[i][j]->AddFunction(fcn);
realisticPID[i][j]->AddFunction(fcn);
- if (j < 2) {
+ /* Commented out by AK - not working
+ if (j < 2) {
perfectPID[i][j]->AddFunction(fcnPP);
realisticPID[i][j]->AddFunction(fcnPP);
}
+ */
+
}
}