Skip to content
Snippets Groups Projects
Commit 8e175764 authored by Hugo Jacob's avatar Hugo Jacob
Browse files

TDC is a float

parent ea058873
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
...@@ -43,7 +43,7 @@ class TExogamCalData : public TObject { ...@@ -43,7 +43,7 @@ class TExogamCalData : public TObject {
std::vector<float> cExo_E; std::vector<float> cExo_E;
std::vector<float> cExo_E_HG; // High gain x20 std::vector<float> cExo_E_HG; // High gain x20
std::vector<uint64_t> cExo_TS; std::vector<uint64_t> cExo_TS;
std::vector<uint16_t> cExo_TDC; std::vector<float> cExo_TDC;
std::vector<float> cExo_BGO; std::vector<float> cExo_BGO;
std::vector<float> cExo_CsI; std::vector<float> cExo_CsI;
std::vector<float> cExo_Outer1; std::vector<float> cExo_Outer1;
...@@ -54,7 +54,7 @@ class TExogamCalData : public TObject { ...@@ -54,7 +54,7 @@ class TExogamCalData : public TObject {
///////////////////// SETTERS //////////////////////// ///////////////////// SETTERS ////////////////////////
inline void SetExo(const uint16_t& Crystal,const float& Energy, inline void SetExo(const uint16_t& Crystal,const float& Energy,
const float& Energy_HG,const uint64_t& TS,const uint16_t& TDC, const float& Energy_HG,const uint64_t& TS,const float& TDC,
const float& BGO,const float& CsI,const float& Outer1, const float& BGO,const float& CsI,const float& Outer1,
const float& Outer2,const float& Outer3,const float& Outer4) { const float& Outer2,const float& Outer3,const float& Outer4) {
cExo_Crystal.push_back(Crystal); cExo_Crystal.push_back(Crystal);
...@@ -75,7 +75,7 @@ class TExogamCalData : public TObject { ...@@ -75,7 +75,7 @@ class TExogamCalData : public TObject {
inline float GetExoE(const uint16_t& i) const { return cExo_E[i]; } inline float GetExoE(const uint16_t& i) const { return cExo_E[i]; }
inline float GetExoEHG(const uint16_t& i) const { return cExo_E_HG[i]; } inline float GetExoEHG(const uint16_t& i) const { return cExo_E_HG[i]; }
inline uint64_t GetExoTS(const uint16_t& i) const { return cExo_TS[i]; } inline uint64_t GetExoTS(const uint16_t& i) const { return cExo_TS[i]; }
inline uint16_t GetExoTDC(const uint16_t& i) const { return cExo_TDC[i]; } inline float GetExoTDC(const uint16_t& i) const { return cExo_TDC[i]; }
inline float GetExoBGO(const uint16_t& i) const { return cExo_BGO[i]; } inline float GetExoBGO(const uint16_t& i) const { return cExo_BGO[i]; }
inline float GetExoCsI(const uint16_t& i) const { return cExo_CsI[i]; } inline float GetExoCsI(const uint16_t& i) const { return cExo_CsI[i]; }
inline float GetExoOuter1(const uint16_t& i) const { return cExo_Outer1[i]; } inline float GetExoOuter1(const uint16_t& i) const { return cExo_Outer1[i]; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment