message: Fix sneaky auto-enum-based deref bug in latest improvements
diff: @@ -727,10 +727,10 @@ void AliMultSelectionTask::UserCreateOutputObjects()
  //Automatic Loop for linking directly to AliMultInput
  for( Long_t iVar=0; iVar<fInput->GetNVariables(); iVar++) {
  if(lStoreIfLight[iVar]){
  - if( !fInput->GetVariable(iVar)->IsInteger() ) {
  - fTreeEvent->Branch(fInput->GetVariable(iVar)->GetName(), &fInput->GetVariable(iVar)->GetRValue(), Form("%s/F",fInput->GetVariable(iVar)->GetName()) );
  + if( !fInput->GetVariable(AliMultInput::VarName[iVar])->IsInteger() ) {
  + fTreeEvent->Branch(fInput->GetVariable(AliMultInput::VarName[iVar])->GetName(), &fInput->GetVariable(AliMultInput::VarName[iVar])->GetRValue(), Form("%s/F",fInput->GetVariable(AliMultInput::VarName[iVar])->GetName()) );
  } else {
  - fTreeEvent->Branch(fInput->GetVariable(iVar)->GetName(), &fInput->GetVariable(iVar)->GetRValueInteger(), Form("%s/I",fInput->GetVariable(iVar)->GetName()) );
  + fTreeEvent->Branch(fInput->GetVariable(AliMultInput::VarName[iVar])->GetName(), &fInput->GetVariable(AliMultInput::VarName[iVar])->GetRValueInteger(), Form("%s/I",fInput->GetVariable(AliMultInput::VarName[iVar])->GetName()) );
  }
  }
  }
  