diff --git a/src/detectors/B0ECAL/B0ECAL.cc b/src/detectors/B0ECAL/B0ECAL.cc index 9d912a822..10e8be761 100644 --- a/src/detectors/B0ECAL/B0ECAL.cc +++ b/src/detectors/B0ECAL/B0ECAL.cc @@ -33,11 +33,12 @@ extern "C" { {"B0ECalRawHits"}, #endif { - .eRes = {0.0 * sqrt(dd4hep::GeV), 0.02, 0.0 * dd4hep::GeV}, + // The stocastic term is set using light yield in PbOW4 of N_photons = 145.75 / GeV / mm, for 6x6 mm2 sensors with PDE=0.18 (a=1/sqrt(145.75*36*0.18)) + .eRes = {0.0326 * sqrt(dd4hep::GeV), 0.00, 0.0 * dd4hep::GeV}, .tRes = 0.0 * dd4hep::ns, .threshold= 5.0 * dd4hep::MeV, .capADC = 16384, - .dyRangeADC = 20 * dd4hep::GeV, + .dyRangeADC = 170 * dd4hep::GeV, .pedMeanADC = 100, .pedSigmaADC = 1, .resolutionTDC = 1e-11, @@ -50,12 +51,12 @@ extern "C" { "B0ECalRecHits", {"B0ECalRawHits"}, {"B0ECalRecHits"}, { .capADC = 16384, - .dyRangeADC = 20. * dd4hep::GeV, + .dyRangeADC = 170. * dd4hep::GeV, .pedMeanADC = 100, .pedSigmaADC = 1, .resolutionTDC = 1e-11, .thresholdFactor = 0.0, - .thresholdValue = 0.0, + .thresholdValue = 1.0, // using threshold of 10 photons = 10 MeV = 1 ADC .sampFrac = "0.998", .readout = "B0ECalHits", .sectorField = "sector",