diff --git a/Projects/AlPhaPha/conversion/2024/convert.C b/Projects/AlPhaPha/conversion/2024/convert.C index 04911fe829ae80292b17d31fef90b6986600ea22..08455d207b623bdb3b9a78a97f2f49c49229d16a 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 5a0411fd19594b54c7cf5a43614ab62e29d6e715..58d519283dc94f40822850e5299ba5df1a4570f7 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;