message: Fix several default arguments of AliAnalysisTaskEmcalLight
  Were overlooked when adding handling for
  Herwig and HepMC MC input. Without default
  handling the parameters might artificially be set
  to true, leading in MC information from headers
  being overwritten with 0.
diff: @@ -74,6 +74,8 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight() :
  fCentralityEstimation(kNewCentrality),
  fAliEventCuts(),
  fIsPythia(kFALSE),
  + fIsHerwig(kFALSE),
  + fIsHepMC(kFALSE),
  fIsMonteCarlo(kFALSE),
  fMCEventHeaderName(),
  fCaloCellsName(),
  @@ -109,10 +111,10 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight() :
  fLocalInitialized(kFALSE),
  fWarnMissingCentrality(kTRUE),
  fDataType(kAOD),
  - fGeom(0),
  - fCaloCells(0),
  - fCaloTriggers(0),
  - fTriggerPatchInfo(0),
  + fGeom(nullptr),
  + fCaloCells(nullptr),
  + fCaloTriggers(nullptr),
  + fTriggerPatchInfo(nullptr),
  fCent(-1),
  fCentBin(-1),
  fEPV0(-1.0),
  @@ -124,7 +126,9 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight() :
  fFiredTriggerClasses(),
  fBeamType(kNA),
  fMCHeader(0),
  - fPythiaHeader(0),
  + fPythiaHeader(nullptr),
  + fHerwigHeader(nullptr),
  + fHepMCHeader(nullptr),
  fUseXsecFromHeader(false),
  fPtHardBin(0),
  fPtHard(0),
  @@ -132,7 +136,7 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight() :
  fXsection(0),
  fEventWeight(1),
  fGeneratorName(),
  - fOutput(0),
  + fOutput(nullptr),
  fHistograms()
  {
  fVertex[0] = 0;
  @@ -154,6 +158,8 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight(const char *name, Bool_t hi
  fCentralityEstimation(kNewCentrality),
  fAliEventCuts(),
  fIsPythia(kFALSE),
  + fIsHerwig(kFALSE),
  + fIsHepMC(kFALSE),
  fIsMonteCarlo(kFALSE),
  fMCEventHeaderName(),
  fCaloCellsName(),
  @@ -189,10 +195,10 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight(const char *name, Bool_t hi
  fLocalInitialized(kFALSE),
  fWarnMissingCentrality(kTRUE),
  fDataType(kAOD),
  - fGeom(0),
  - fCaloCells(0),
  - fCaloTriggers(0),
  - fTriggerPatchInfo(0),
  + fGeom(nullptr),
  + fCaloCells(nullptr),
  + fCaloTriggers(nullptr),
  + fTriggerPatchInfo(nullptr),
  fCent(0),
  fCentBin(-1),
  fEPV0(-1.0),
  @@ -203,8 +209,10 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight(const char *name, Bool_t hi
  fFiredTriggerBitMap(0),
  fFiredTriggerClasses(),
  fBeamType(kNA),
  - fMCHeader(0),
  - fPythiaHeader(0),
  + fMCHeader(nullptr),
  + fPythiaHeader(nullptr),
  + fHerwigHeader(nullptr),
  + fHepMCHeader(nullptr),
  fUseXsecFromHeader(false),
  fPtHardBin(0),
  fPtHard(0),
  @@ -212,7 +220,7 @@ AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight(const char *name, Bool_t hi
  fXsection(0),
  fEventWeight(1),
  fGeneratorName(),
  - fOutput(0),
  + fOutput(nullptr),
  fHistograms()
  {
  fVertex[0] = 0;
  