//Check if run number and requested geometry correspond to the same geometry as
//in real data taking. To prevent errors in official simulation productions
//Check if run number and requested geometry correspond to the same geometry as
//in real data taking. To prevent errors in official simulation productions
{
// Check the transport model name and option, set sampling fraction depending on it
if(!fCheckRunNumberAndGeoVersion){// Set geometry with the name used in the configuration file
{
// Check the transport model name and option, set sampling fraction depending on it
if(!fCheckRunNumberAndGeoVersion){// Set geometry with the name used in the configuration file
return AliEMCALGeometry::GetInstance(GetTitle(),"EMCAL",mcname,mctitle) ;
}
else
return AliEMCALGeometry::GetInstance(GetTitle(),"EMCAL",mcname,mctitle) ;
}
else
if(runNumber >= 104064 && runNumber < 140000 ){//2009-2010 runs
//First year geometry, 4 SM.
if(runNumber >= 104064 && runNumber < 140000 ){//2009-2010 runs
//First year geometry, 4 SM.