diff --git a/Digitization/DigiCalo/src/EcalDigiAlg.cpp b/Digitization/DigiCalo/src/EcalDigiAlg.cpp index f6c0e5a1ee451761b3714f563494f1bf01fc193d..7e0af0cb28602c356206e7a6b5ce5a24504493d3 100644 --- a/Digitization/DigiCalo/src/EcalDigiAlg.cpp +++ b/Digitization/DigiCalo/src/EcalDigiAlg.cpp @@ -939,10 +939,12 @@ double EcalDigiAlg::GetBarLength(CaloBar& bar){ if(bar.getSlayer()==1) return 374.667; else{ if(bar.getModule()%2 == 0){ - return 288 + (bar.getDlayer()-1)*12.7080; + // return 288 + (bar.getDlayer()-1)*12.7080; + return 288 + (bar.getDlayer()-1)*19.062; // TODO: Get the correct length from the geometry } else{ - return 409 - (bar.getDlayer()-1)*4.6670; + // return 409 - (bar.getDlayer()-1)*4.6670; + return 409 - (bar.getDlayer()-1)*7.001; // TODO: Get the correct length from the geometry } } diff --git a/Reconstruction/RecPFACyber/script/digi.py b/Reconstruction/RecPFACyber/script/digi.py index 5dc667aa889672196f5589a54d952408f51d1ce6..78c790b0eb166cd0ec3f1f2b5c725f00e33da10c 100644 --- a/Reconstruction/RecPFACyber/script/digi.py +++ b/Reconstruction/RecPFACyber/script/digi.py @@ -72,13 +72,13 @@ EcalDigi.SkipEvt = 0 EcalDigi.Seed = 2079 #Digitalization parameters EcalDigi.TimeResolution = 0.7 # 0.7 ns -EcalDigi.EcalMIPEnergy = 8.9 # MIP energy 8.9 MeV for 1 cm BGO +EcalDigi.EcalMIPEnergy = 13.35 # MIP energy 13.35 MeV for 1.5 cm BGO EcalDigi.EcalMIP_Thre = 0.05 # 0.05 mip at each side, 0.1 mip for one bar EcalDigi.UseRealisticDigi = 1 # scintillation EcalDigi.UseDigiScint = 1 EcalDigi.EcalCryIntLY = 8200 #intrinsic LY 8200 [p.e./MIP] -EcalDigi.EcalCryMipLY = 200 #Detected effective LY 200 [p.e./MIP] +EcalDigi.EcalCryMipLY = 300 #Detected effective LY 300 [p.e./MIP] EcalDigi.AttenuationLength = 1e8 # 8000 mm for 5% non-uniformity # SiPM EcalDigi.SiPMDigiVerbose = 2 # 0:w/o response, w/o correction; 1:w/ response, w/o correction; 2:w/ response, w/ simple correction; 3:w/ response, w/ full correction