diff --git a/macros/CCEScan/landauFit.C b/macros/CCEScan/landauFit.C index 8090a7a..5b3d2c0 100755 --- a/macros/CCEScan/landauFit.C +++ b/macros/CCEScan/landauFit.C @@ -194,12 +194,20 @@ if (radius == 45) { radmax = 45.0; } else if (radius == 75) { - radmax = 75.0; radmin = 45.0; + radmax = 75.0; + } else if (radius == 175) { + // This setting is the only one for the IT + radmin = 0.0; + radmax = 175.0; } else if (radius == 40) { // Placeholder for "rest of the sector" // r < 40 mm has too little statistics anyways! radmin = 75.0; + if (strcmp(det.Data(),"IT")==0) { + // The only radius for the IT is 175 mm + radmin = 175.0; + } radmax = 2000.0; } } @@ -212,6 +220,8 @@ Info("landauFit","Analyse: "); Printf(" Sector: %d",sector); Printf(" Radius: %4.2f mm",radius); + Printf(" Rad min: %4.2f mm",radmin); + Printf(" Rad max: %4.2f mm",radmax); Printf(" Fill: %d",fill); Printf(" Detector: %s",det.Data()); Printf(" Layer: %s",lay.Data());