,"ALL"
};
+//______________________________________________________
+Bool_t AliTRDpwg1Helper::DoTask(Int_t idx, Int_t map)
+{
+ return TESTBIT(map, idx);
+}
+
//______________________________________________________
Int_t AliTRDpwg1Helper::ParseOptions(Char_t *trd)
{
AliTRDpwg1Helper();
~AliTRDpwg1Helper();
+ static Bool_t DoTask(Int_t idx, Int_t map);
static Int_t GetTaskIndex(const Char_t *name);
static Bool_t HasReadMCData(Char_t *opt);
static Bool_t HasReadFriendData(Char_t *opt);
Info("AddTrainPerformanceTRD", Form("TRD wagons \"%s\"", trd));
Int_t bitmap = AliTRDpwg1Helper::ParseOptions(trd);
for(Int_t it=0; it<AliTRDpwg1Helper::kNTRDQATASKS; it++){
- //if(!TESTBIT(bitmap, it)) continue;
if(gROOT->LoadMacro(Form("%s/Add%s.C+", addMacroPath, TString(AliTRDpwg1Helper::TaskClassName(it))(3,20).Data()))) {
Error("AddTrainPerformanceTRD()", Form("Error loading %s task.", AliTRDpwg1Helper::TaskClassName(it)));
return kFALSE;
}
+ if(!AliTRDpwg1Helper::DoTask(it, bitmap)) continue;
switch(it){
case AliTRDpwg1Helper::kCheckESD: