Skip to content

Commit 6ba169b

Browse files
committed
build: bump coatjava to 13.8.0, and print accumulated charge in xcharge
1 parent d49cb39 commit 6ba169b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.jlab.coat</groupId>
3737
<artifactId>coat-libs</artifactId>
38-
<version>13.6.0</version>
38+
<version>13.8.0</version>
3939
<type>jar</type>
4040
</dependency>
4141
<!-- https://mvnrepository.com/artifact/org.apache.groovy/groovy-all -->

qa-physics/charge_analysis/analyze_charge.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ def main():
300300
fig2.savefig(f'{output_dir}/chunked_fcupgated_comparison_{run_number}_{output_suffix}.png', bbox_inches='tight', dpi=300)
301301
plt.close(fig2)
302302

303+
print(f'TOTAL UNGATED CHARGE = {fcups[-1]-fcups[0]}')
304+
print(f'TOTAL GATED CHARGE = {fcupgateds[-1]-fcupgateds[0]}')
305+
303306

304307
if __name__ == "__main__":
305308
main()

0 commit comments

Comments
 (0)