message: set DCal acceptance selection for Photon and Invariant Mass analysis
diff: @@ -217,7 +217,11 @@ AliAnaPhoton* ConfigurePhotonAnalysis(TString col, Bool_t simulation,
  ana->SwitchOffRealCaloAcceptance();
  - ana->SwitchOffFiducialCut();
  + ana->SwitchOnFiducialCut();
  + if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 80, 187) ; // EMC
  + else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 260, 327) ; // DMC
  +
  + if ( calorimeter.Contains("CAL") ) ana->GetFiducialCut()->DoEMCALFiducialCut(kTRUE);
  ana->SetCalorimeter(calorimeter);
  if(calorimeter == "DCAL")
  @@ -565,13 +569,19 @@ AliAnaPi0* ConfigureInvariantMassAnalysis
  // Calorimeter settings
  ana->SetCalorimeter(calorimeter);
  + if(calorimeter == "DCAL")
  + {
  + TString calo = "EMCAL";
  + ana->SetCalorimeter(calo);
  + }
  // Acceptance plots
  - // ana->SwitchOnFiducialCut(); // Needed to fill acceptance plots with predefined calorimeter acceptances
  - // ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 100, 180) ;
  - // ana->GetFiducialCut()->DoEMCALFiducialCut(kTRUE);
  + ana->SwitchOnFiducialCut();
  + if ( calorimeter == "EMCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 80, 187) ; // EMC
  + else if ( calorimeter == "DCAL" ) ana->GetFiducialCut()->SetSimpleEMCALFiducialCut(0.7, 260, 327) ; // DMC
  +
  + if ( calorimeter.Contains("CAL") ) ana->GetFiducialCut()->DoEMCALFiducialCut(kTRUE);
  - ana->SwitchOffFiducialCut();
  ana->SwitchOffRealCaloAcceptance();
  // settings for pp collision mixing
  