Skip to content
Snippets Groups Projects
Commit 533290f7 authored by Theodore Efremov's avatar Theodore Efremov :hibiscus:
Browse files

Some bug hunting on the EtotInit

parent a15b619a
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline #358221 passed
...@@ -107,7 +107,7 @@ void TICPhysics::BuildPhysicalEvent() { ...@@ -107,7 +107,7 @@ void TICPhysics::BuildPhysicalEvent() {
for (int Seg = 0; Seg<10; Seg++){ for (int Seg = 0; Seg<10; Seg++){
if (Seg == 0 && m_Data_Year == 2024 ){ if (Seg == 0 && m_Data_Year == 2024 ){
EtotInit += 0.75 * Cal->GetValue("IC/INIT_SEG"+NPL::itoa(Seg)+"_ALIGN",0)* fIC_raw[1]; EtotInit += 0.75 * Cal->GetValue("IC/INIT_SEG"+NPL::itoa(Seg+1)+"_ALIGN",0)* fIC_raw[1];
} }
else { else {
...@@ -317,6 +317,7 @@ void TICPhysics::Clear() { ...@@ -317,6 +317,7 @@ void TICPhysics::Clear() {
for(int i=0; i<11; i++){ for(int i=0; i<11; i++){
fIC[i] = 0; fIC[i] = 0;
fIC_raw[i] = 0; fIC_raw[i] = 0;
fIC_Init[i] = 0;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment