From 09eb1f2325537d69db2da381c4e5339af6b6d3e0 Mon Sep 17 00:00:00 2001 From: "theodore.efremov" <theodore.efremov@cea.fr> Date: Tue, 10 Dec 2024 16:19:42 +0100 Subject: [PATCH] changed type in convert --- Projects/AlPhaPha/conversion/2024/convert.C | 6 +++--- Projects/AlPhaPha/conversion/2024/convert.h | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Projects/AlPhaPha/conversion/2024/convert.C b/Projects/AlPhaPha/conversion/2024/convert.C index 04911fe82..08455d207 100644 --- a/Projects/AlPhaPha/conversion/2024/convert.C +++ b/Projects/AlPhaPha/conversion/2024/convert.C @@ -78,7 +78,7 @@ void convert(int run=204){ for (int i=0; i<ICRawM; i++){ m_ic->SetIC_TS(ICRawTS[i]); m_ic->SetIC_Section(i+1); - m_ic->SetIC_Charge(IC[i]); + m_ic->SetIC_Charge(ICRaw[i]); } // Time // @@ -267,8 +267,8 @@ void InitInputTree(){ input_tree->SetBranchAddress("MTOF_FP1_T1VTS",&MTOF_FP1_T1VTS); // IC - input_tree->SetBranchStatus("IC","true"); - input_tree->SetBranchAddress("IC",&IC); + input_tree->SetBranchStatus("ICRaw","true"); + input_tree->SetBranchAddress("ICRaw",&ICRaw); input_tree->SetBranchStatus("ICRawTS","true"); input_tree->SetBranchAddress("ICRawTS",&ICRawTS); diff --git a/Projects/AlPhaPha/conversion/2024/convert.h b/Projects/AlPhaPha/conversion/2024/convert.h index 5a0411fd1..58d519283 100644 --- a/Projects/AlPhaPha/conversion/2024/convert.h +++ b/Projects/AlPhaPha/conversion/2024/convert.h @@ -20,10 +20,10 @@ Float_t MTOF_FP1_T0V[92]; Float_t MTOF_FP0_T1V[92]; Float_t MTOF_FP1_T1V[92]; -Int_t MTOF_FP0_T0VN[20]; -Int_t MTOF_FP1_T0VN[20]; -Int_t MTOF_FP0_T1VN[20]; -Int_t MTOF_FP1_T1VN[20]; +short MTOF_FP0_T0VN[20]; +short MTOF_FP1_T0VN[20]; +short MTOF_FP0_T1VN[20]; +short MTOF_FP1_T1VN[20]; long MTOF_FP0_T0VTS[20]; long MTOF_FP0_T1VTS[20]; @@ -49,7 +49,7 @@ ULong64_t fPISTA_TS_sec; ULong64_t PISTA_TS; // IC // -float IC[11]; +UShort_t ICRaw[11]; long ICRawTS[11]; int ICRawM; -- GitLab