From ecb1ce1d6fe95c1fab31f5f7c4ea3f426c3686e1 Mon Sep 17 00:00:00 2001 From: moukaddam <mhd.moukaddam@gmail.com> Date: Thu, 17 Nov 2016 15:43:18 +0000 Subject: [PATCH] Updating the Dump function --- NPLib/Detectors/GeTAMU/TGeTAMUData.cxx | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/NPLib/Detectors/GeTAMU/TGeTAMUData.cxx b/NPLib/Detectors/GeTAMU/TGeTAMUData.cxx index d33b673a5..0d14c4651 100644 --- a/NPLib/Detectors/GeTAMU/TGeTAMUData.cxx +++ b/NPLib/Detectors/GeTAMU/TGeTAMUData.cxx @@ -9,10 +9,10 @@ * Original Author: Adrien MATTA contact address: a.matta@surrey.ac.uk * * * * Creation Date : November 2012 * - * Last update : * + * Last update : November 2016 * *---------------------------------------------------------------------------* * Decription: * - * This class hold the GeTAMU raw data (Made for GeTAMU10 card) * + * This class hold the GeTAMU raw data * * * *---------------------------------------------------------------------------* * Comment: * @@ -51,4 +51,21 @@ void TGeTAMUData::Clear(){ ///////////////////////// void TGeTAMUData::Dump() const{ + + cout << "Core Multiplicity = " << GetMultiplicityCore() << endl; + for (UShort_t i = 0; i < GetMultiplicityCore(); i++){ + cout << " Clover: " << fGeTAMU_Core_CloverNbr[i] << endl; + << " Crystal: " << fGeTAMU_Core_CristalNbr[i] << endl; + << " Energy: " << fGeTAMU_Core_Energy[i] << endl; + << " Time: " << fGeTAMU_Core_Time[i] << endl; + } + + cout << "Segment Multiplicity = " << GetMultiplicityCore() << endl; + for (UShort_t i = 0; i < GetMultiplicityCore(); i++){ + cout << " Clover: " << fGeTAMU_Segment_CloverNbr[i] << endl; + << " Segment: " << fGeTAMU_Segment_SegmentNbr[i] << endl; + << " Energy: " << fGeTAMU_Segment_Energy[i] << endl; + << " Time: " << fGeTAMU_Segment_Time[i] << endl; + } + } -- GitLab