Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*****************************************************************************
* Copyright (C) 2009-2024 this file is part of the NPTool Project *
* *
* For the licensing terms see $NPTOOL/Licence/NPTool_Licence *
* For the list of contributors see $NPTOOL/Licence/Contributors *
*****************************************************************************/
/*****************************************************************************
* Original Author: Audrey Chatillon contact address: audrey.chatillon@cea.fr *
* *
* Creation Date : décembre 2024 *
* Last update : *
*---------------------------------------------------------------------------*
* Decription: *
* This class hold Epic Raw data *
* *
*---------------------------------------------------------------------------*
* Comment: *
* *
* *
*****************************************************************************/
#include "TEpicData.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
ClassImp(TEpicData)
//////////////////////////////////////////////////////////////////////
TEpicData::TEpicData() {
}
//////////////////////////////////////////////////////////////////////
TEpicData::~TEpicData() {
}
//////////////////////////////////////////////////////////////////////
void TEpicData::Clear() {
fEpic_Data.clear();
}
//////////////////////////////////////////////////////////////////////
void TEpicData::Dump() const {
// This method is very useful for debuging and worth the dev.
cout << "XXXXXXXXXXXXXXXXXXXXXXXX New Event [TEpicData::Dump()] XXXXXXXXXXXXXXXXX" << endl;
size_t mysize = GetMultiplicity();
cout << "MultAnodes = : " << mysize << endl;
for (size_t i = 0 ; i < mysize ; i++){
cout << "AnodeNbr: " << GetAnodeNbr(i)
<< " Q1: " << GetQ1(i)
<< " Q2: " << GetQ2(i)
<< " Qmax: " << GetQmax(i)
<< " Time: " << GetTime(i) << endl;