message: Allowing to select year in config for bb femto analysis
diff: @@ -31,7 +31,8 @@ int runSys[nSys] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
  bool separationCuts;
  -AliFemtoEventReaderAODMultSelection* GetReader(bool mcAnalysis);
  +AliFemtoEventReaderAODMultSelection* GetReader2015(bool mcAnalysis);
  +AliFemtoEventReaderAODChain* GetReader2011(bool mcAnalysis);
  AliFemtoVertexMultAnalysis* GetAnalysis(double multMin, double multMax);
  AliFemtoBasicEventCut* GetEventCut();
  AliFemtoV0TrackCut* GetV0TrackCut(EPart particle);
  @@ -44,7 +45,7 @@ AliFemtoPairCutRadialDistance* GetTracksPairCut(ESys system);
  void GetParticlesForSystem(ESys system, EPart &firstParticle, EPart &secondParticle);
  //________________________________________________________________________
  -AliFemtoManager* ConfigFemtoAnalysis(bool mcAnalysis=false, bool sepCuts=false)
  +AliFemtoManager* ConfigFemtoAnalysis(bool mcAnalysis=false, bool sepCuts=false, int year=2015)
  {
  separationCuts = sepCuts;
  @@ -53,8 +54,16 @@ AliFemtoManager* ConfigFemtoAnalysis(bool mcAnalysis=false, bool sepCuts=false)
  AliFemtoModelManager *modelMgr = new AliFemtoModelManager();
  // add event reader
  - AliFemtoEventReaderAODMultSelection* Reader = GetReader(mcAnalysis);
  - Manager->SetEventReader(Reader);
  + if(year==2015)
  + {
  + AliFemtoEventReaderAODMultSelection* Reader2015 = GetReader2015(mcAnalysis);
  + Manager->SetEventReader(Reader2015);
  + }
  + else if(year==2011)
  + {
  + AliFemtoEventReaderAODChain* Reader2011 = GetReader2011(mcAnalysis);
  + Manager->SetEventReader(Reader2011);
  + }
  // declare necessary objects
  AliFemtoVertexMultAnalysis *femtoAnalysis[nSys*nMult];
  @@ -182,7 +191,7 @@ AliFemtoManager* ConfigFemtoAnalysis(bool mcAnalysis=false, bool sepCuts=false)
  return Manager;
  }
  -AliFemtoEventReaderAODMultSelection* GetReader(bool mcAnalysis)
  +AliFemtoEventReaderAODMultSelection* GetReader2015(bool mcAnalysis)
  {
  AliFemtoEventReaderAODMultSelection* Reader = new AliFemtoEventReaderAODMultSelection();
  Reader->SetFilterBit(7);
  @@ -194,6 +203,20 @@ AliFemtoEventReaderAODMultSelection* GetReader(bool mcAnalysis)
  return Reader;
  }
  +
  +AliFemtoEventReaderAODChain* GetReader2011(bool mcAnalysis)
  +{
  + AliFemtoEventReaderAODChain* Reader = new AliFemtoEventReaderAODChain();
  + Reader->SetFilterBit(7);
  + Reader->SetReadV0(1);
  + Reader->SetUseMultiplicity(AliFemtoEventReaderAOD::kCentrality);
  + Reader->SetEPVZERO(kTRUE);
  + Reader->SetCentralityFlattening(kTRUE);
  + if(mcAnalysis) Reader->SetReadMC(kTRUE);
  +
  + return Reader;
  +}
  +
  AliFemtoVertexMultAnalysis* GetAnalysis(double multMin, double multMax)
  {
  AliFemtoVertexMultAnalysis *analysis = new AliFemtoVertexMultAnalysis(8, -8.0, 8.0, 4, multMin, multMax);
  