message: fix bus error when setting char value and change mode parameter from Int_t to anaModes
diff: #include "AliAODHandler.h"
  #include "AliMultiInputEventHandler.h"
  #include "AliAnalysisDataContainer.h"
  -#include "AliESDtrack.h"
  -#include "AliAODTrack.h"
  // Main AddTasks and associated classes
  #include "AliAnalysisTaskCaloTrackCorrelation.h"
  @@ -157,7 +155,7 @@ Bool_t bEMCCorrFra = kFALSE; /// Use the EMCal correction framework
  Int_t xTalkEmul = 0; /// Activate cross-talk emulation, 0 -no, 1 do not subtract induced energy from reference cell, 2 subtract (preferred)
  Bool_t bAnalysis = kTRUE; /// Do photon/pi0 isolation correlation analysis
  -//Bool_t bAnalysisQA = kFALSE; /// Execute analysis QA train wagon, comment, does not compile with bAnalysis
  +//Bool_t bAnalysisQA = kTRUE; /// Execute analysis QA train wagon, comment, does not compile with bAnalysis
  Bool_t bMultiplicity= kFALSE;/// Execute multiplicity task
  //_________________________________
  @@ -210,7 +208,7 @@ void SetupPar(char* pararchivename)
  //______________________________________
  /// Sets input data and tree strings.
  //______________________________________
  -void CheckInputData(const Int_t mode)
  +void CheckInputData(const anaModes mode)
  {
  TString ocwd = gSystem->WorkingDirectory();
  @@ -320,8 +318,6 @@ void CheckInputData(const Int_t mode)
  // variable XML, if non provided, collection.xml is expected.
  if ( gSystem->Getenv("XML") )
  kXML = (char*) gSystem->Getenv("XML");
  - else
  - sprintf(kXML, "collection.xml") ;
  if ( !TFile::Open(kXML) )
  {
  @@ -465,7 +461,7 @@ void CheckInputData(const Int_t mode)
  //_____________________________________________________________________
  /// Fills chain with data files paths.
  //_____________________________________________________________________
  -void CreateChain(const Int_t mode, TChain * chain, TChain * chainxs)
  +void CreateChain(const anaModes mode, TChain * chain, TChain * chainxs)
  {
  TString ocwd = gSystem->WorkingDirectory();
  @@ -987,11 +983,10 @@ void LoadLibraries(Int_t /*mode*/)
  ///
  /// \param mode: analysis mode defined in enum anaModes
  //________________________
  -void ana(Int_t mode=mLocal)
  +void ana ( anaModes mode = mLocal )
  {
  //--------------------------------------------------------------------
  // Load analysis libraries
  -
  LoadLibraries(mode) ;
  //gSystem->ListLibraries();
  @@ -1363,7 +1358,8 @@ void ana(Int_t mode=mLocal)
  Bool_t printSettings = kFALSE;
  TString cutSelected = "SPDPileUp";//"_ITSonly";
  TString analysisSelected = "Photon_InvMass"; // Activate photon selection and invariant mass analysis
  - //"Photon_InvMass_MergedPi0_Isolation_Correlation_ClusterShape_PerSM_PerTCard_QA_Charged_Bkg"; // More options
  + // More options:
  + // "Photon_InvMass_MergedPi0_Isolation_Correlation_ClusterShape_PerSM_PerTCard_QA_Charged_Bkg";
  gROOT->LoadMacro("$ALICE_PHYSICS/PWGGA/CaloTrackCorrelations/macros/AddTaskGammaHadronCorrelationSelectAnalysis.C");
  