diff --git a/NPLib/Detectors/Dali/.emacshist b/NPLib/Detectors/Dali/.emacshist deleted file mode 100644 index a26e296372e33165fafa8eb439a49d7a4ec98dfa..0000000000000000000000000000000000000000 --- a/NPLib/Detectors/Dali/.emacshist +++ /dev/null @@ -1,6 +0,0 @@ -;; -*- mode: emacs-lisp; coding: utf-8-unix -*- -;; Minibuffer history file, automatically generated by `savehist'. - -(setq savehist-minibuffer-history-variables '(query-replace-history extended-command-history)) -(setq query-replace-history '("^\\1" "\\^{\\([0-9]?\\)}" "\\^{\\([0-9]?\\)}" "_\\1" "_{\\([0-9]?\\)}" "_{\\([0-9]?\\)}" "_\\1" "_{\\([0_9]?\\)}" "_{\\([0_9]?\\)}" "_\\&" "_{\\([0_9]?\\)}" "_{\\([0_9]?\\)}" "_" "_{1}")) -(setq extended-command-history '("query-replace-regexp" "query-replace" "query-replace-regexp")) diff --git a/NPLib/Detectors/Dali/TDaliData.h.~1~ b/NPLib/Detectors/Dali/TDaliData.h.~1~ deleted file mode 100644 index 60054de79f045d153428e74d4e55be16ffc00915..0000000000000000000000000000000000000000 --- a/NPLib/Detectors/Dali/TDaliData.h.~1~ +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef __DaliDATA__ -#define __DaliDATA__ -/***************************************************************************** - * Copyright (C) 2009-2018 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: Elidiano Tronchin contact address: elidiano.tronchin@studenti.unipd.it * - * * - * Creation Date : septembre 2018 * - * Last update : * - *---------------------------------------------------------------------------* - * Decription: * - * This class hold Dali Raw data * - * * - *---------------------------------------------------------------------------* - * Comment: * - * * - * * - *****************************************************************************/ - -// STL -#include <vector> -using namespace std; - -// ROOT -#include "TObject.h" - -class TDaliData : public TObject { - ////////////////////////////////////////////////////////////// - // data members are hold into vectors in order - // to allow multiplicity treatment - private: - // Energy - vector<UShort_t> fDali_E_DetectorNbr; - vector<Double_t> fDali_Energy; - - // Time - vector<UShort_t> fDali_T_DetectorNbr; - vector<Double_t> fDali_Time; - - - ////////////////////////////////////////////////////////////// - // Constructor and destructor - public: - TDaliData(); - ~TDaliData(); - - - ////////////////////////////////////////////////////////////// - // Inherited from TObject and overriden to avoid warnings - public: - void Clear(); - void Clear(const Option_t*) {}; - void Dump() const; - - - ////////////////////////////////////////////////////////////// - // Getters and Setters - // Prefer inline declaration to avoid unnecessary called of - // frequently used methods - // add //! to avoid ROOT creating dictionnary for the methods - public: - ////////////////////// SETTERS //////////////////////// - // Energy - inline void SetEnergy(const UShort_t& DetNbr,const Double_t& Energy){ - fDali_E_DetectorNbr.push_back(DetNbr); - fDali_Energy.push_back(Energy); - };//! - - // Time - inline void SetTime(const UShort_t& DetNbr,const Double_t& Time) { - fDali_T_DetectorNbr.push_back(DetNbr); - fDali_Time.push_back(Time); - };//! - - - ////////////////////// GETTERS //////////////////////// - // Energy - inline UShort_t GetMultEnergy() const - {return fDali_E_DetectorNbr.size();} - inline UShort_t GetE_DetectorNbr(const unsigned int &i) const - {return fDali_E_DetectorNbr[i];}//! - inline Double_t Get_Energy(const unsigned int &i) const - {return fDali_Energy[i];}//! - - // Time - inline UShort_t GetMultTime() const - {return fDali_T_DetectorNbr.size();} - inline UShort_t GetT_DetectorNbr(const unsigned int &i) const - {return fDali_T_DetectorNbr[i];}//! - inline Double_t Get_Time(const unsigned int &i) const - {return fDali_Time[i];}//! - - - ////////////////////////////////////////////////////////////// - // Required for ROOT dictionnary - ClassDef(TDaliData,1) // DaliData structure -}; - -#endif diff --git a/NPLib/Detectors/Dali/TDaliData.h.~2~ b/NPLib/Detectors/Dali/TDaliData.h.~2~ deleted file mode 100644 index 60054de79f045d153428e74d4e55be16ffc00915..0000000000000000000000000000000000000000 --- a/NPLib/Detectors/Dali/TDaliData.h.~2~ +++ /dev/null @@ -1,104 +0,0 @@ -#ifndef __DaliDATA__ -#define __DaliDATA__ -/***************************************************************************** - * Copyright (C) 2009-2018 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: Elidiano Tronchin contact address: elidiano.tronchin@studenti.unipd.it * - * * - * Creation Date : septembre 2018 * - * Last update : * - *---------------------------------------------------------------------------* - * Decription: * - * This class hold Dali Raw data * - * * - *---------------------------------------------------------------------------* - * Comment: * - * * - * * - *****************************************************************************/ - -// STL -#include <vector> -using namespace std; - -// ROOT -#include "TObject.h" - -class TDaliData : public TObject { - ////////////////////////////////////////////////////////////// - // data members are hold into vectors in order - // to allow multiplicity treatment - private: - // Energy - vector<UShort_t> fDali_E_DetectorNbr; - vector<Double_t> fDali_Energy; - - // Time - vector<UShort_t> fDali_T_DetectorNbr; - vector<Double_t> fDali_Time; - - - ////////////////////////////////////////////////////////////// - // Constructor and destructor - public: - TDaliData(); - ~TDaliData(); - - - ////////////////////////////////////////////////////////////// - // Inherited from TObject and overriden to avoid warnings - public: - void Clear(); - void Clear(const Option_t*) {}; - void Dump() const; - - - ////////////////////////////////////////////////////////////// - // Getters and Setters - // Prefer inline declaration to avoid unnecessary called of - // frequently used methods - // add //! to avoid ROOT creating dictionnary for the methods - public: - ////////////////////// SETTERS //////////////////////// - // Energy - inline void SetEnergy(const UShort_t& DetNbr,const Double_t& Energy){ - fDali_E_DetectorNbr.push_back(DetNbr); - fDali_Energy.push_back(Energy); - };//! - - // Time - inline void SetTime(const UShort_t& DetNbr,const Double_t& Time) { - fDali_T_DetectorNbr.push_back(DetNbr); - fDali_Time.push_back(Time); - };//! - - - ////////////////////// GETTERS //////////////////////// - // Energy - inline UShort_t GetMultEnergy() const - {return fDali_E_DetectorNbr.size();} - inline UShort_t GetE_DetectorNbr(const unsigned int &i) const - {return fDali_E_DetectorNbr[i];}//! - inline Double_t Get_Energy(const unsigned int &i) const - {return fDali_Energy[i];}//! - - // Time - inline UShort_t GetMultTime() const - {return fDali_T_DetectorNbr.size();} - inline UShort_t GetT_DetectorNbr(const unsigned int &i) const - {return fDali_T_DetectorNbr[i];}//! - inline Double_t Get_Time(const unsigned int &i) const - {return fDali_Time[i];}//! - - - ////////////////////////////////////////////////////////////// - // Required for ROOT dictionnary - ClassDef(TDaliData,1) // DaliData structure -}; - -#endif diff --git a/NPLib/Detectors/Dali/TDaliData.h.~3~ b/NPLib/Detectors/Dali/TDaliData.h.~3~ deleted file mode 100644 index eb96babd2913e106593773d7dd6307ca9f3f218e..0000000000000000000000000000000000000000 --- a/NPLib/Detectors/Dali/TDaliData.h.~3~ +++ /dev/null @@ -1,109 +0,0 @@ -#ifndef __DaliDATA__ -#define __DaliDATA__ -/***************************************************************************** - * Copyright (C) 2009-2018 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: Elidiano Tronchin contact address: elidiano.tronchin@studenti.unipd.it * - * * - * Creation Date : septembre 2018 * - * Last update : * - *---------------------------------------------------------------------------* - * Decription: * - * This class hold Dali Raw data * - * * - *---------------------------------------------------------------------------* - * Comment: * - * * - * * - *****************************************************************************/ - -// STL -#include <vector> -using namespace std; - -// ROOT -#include "TObject.h" - -class TDaliData : public TObject { - ////////////////////////////////////////////////////////////// - // data members are hold into vectors in order - // to allow multiplicity treatment - private: - // Energy - vector<UShort_t> fDali_E_DetectorNbr; - vector<Double_t> fDali_Energy; - - // Time - vector<UShort_t> fDali_T_DetectorNbr; - vector<Double_t> fDali_Time; - - - ////////////////////////////////////////////////////////////// - // Constructor and destructor - public: - TDaliData(); - ~TDaliData(); - - - ////////////////////////////////////////////////////////////// - // Inherited from TObject and overriden to avoid warnings - public: - void Clear(); - void Clear(const Option_t*) {}; - void Dump() const; - - - ////////////////////////////////////////////////////////////// - // Getters and Setters - // Prefer inline declaration to avoid unnecessary called of - // frequently used methods - // add //! to avoid ROOT creating dictionnary for the methods - public: - ////////////////////// SETTERS //////////////////////// - // Energy - inline void SetEnergy(const UShort_t& DetNbr,const Double_t& Energy){ - fDali_E_DetectorNbr.push_back(DetNbr); - fDali_Energy.push_back(Energy); - };//! - - // Time - inline void SetTime(const UShort_t& DetNbr,const Double_t& Time) { - fDali_T_DetectorNbr.push_back(DetNbr); - fDali_Time.push_back(Time); - };//! - // (E&T) - inline void SetEnergyAndTime(const int& N, const double& E, const double& T) - { fPlastic_Energy.push_back(E); - fPlastic_Time.push_back(T) ; - fPlastic_Number.push_back(N); } - // - - ////////////////////// GETTERS //////////////////////// - // Energy - inline UShort_t GetMultEnergy() const - {return fDali_E_DetectorNbr.size();} - inline UShort_t GetE_DetectorNbr(const unsigned int &i) const - {return fDali_E_DetectorNbr[i];}//! - inline Double_t Get_Energy(const unsigned int &i) const - {return fDali_Energy[i];}//! - - // Time - inline UShort_t GetMultTime() const - {return fDali_T_DetectorNbr.size();} - inline UShort_t GetT_DetectorNbr(const unsigned int &i) const - {return fDali_T_DetectorNbr[i];}//! - inline Double_t Get_Time(const unsigned int &i) const - {return fDali_Time[i];}//! - - - ////////////////////////////////////////////////////////////// - // Required for ROOT dictionnary - ClassDef(TDaliData,1) // DaliData structure -}; - -#endif