diff --git a/src/TRestDetectorHitsToTrackFastProcess.cxx b/src/TRestDetectorHitsToTrackFastProcess.cxx index e823868..80066c1 100644 --- a/src/TRestDetectorHitsToTrackFastProcess.cxx +++ b/src/TRestDetectorHitsToTrackFastProcess.cxx @@ -48,6 +48,7 @@ void TRestDetectorHitsToTrackFastProcess::LoadDefaultConfig() { //______________________________________________________________________________ void TRestDetectorHitsToTrackFastProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fCellResolution = 10.; fNetSize = 1000.; diff --git a/src/TRestDetectorHitsToTrackProcess.cxx b/src/TRestDetectorHitsToTrackProcess.cxx index f56e165..83555da 100644 --- a/src/TRestDetectorHitsToTrackProcess.cxx +++ b/src/TRestDetectorHitsToTrackProcess.cxx @@ -46,6 +46,7 @@ void TRestDetectorHitsToTrackProcess::LoadDefaultConfig() { //______________________________________________________________________________ void TRestDetectorHitsToTrackProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fClusterDistance = 1.; diff --git a/src/TRestDetectorSignalToRawSignalProcess.cxx b/src/TRestDetectorSignalToRawSignalProcess.cxx index 59092c0..c7957ff 100644 --- a/src/TRestDetectorSignalToRawSignalProcess.cxx +++ b/src/TRestDetectorSignalToRawSignalProcess.cxx @@ -143,7 +143,9 @@ TRestDetectorSignalToRawSignalProcess::TRestDetectorSignalToRawSignalProcess(cha /////////////////////////////////////////////// /// \brief Default destructor /// -TRestDetectorSignalToRawSignalProcess::~TRestDetectorSignalToRawSignalProcess() { delete fOutputRawSignalEvent; } +TRestDetectorSignalToRawSignalProcess::~TRestDetectorSignalToRawSignalProcess() { + delete fOutputRawSignalEvent; +} /////////////////////////////////////////////// /// \brief Function to load the default config in absence of RML input @@ -182,6 +184,7 @@ void TRestDetectorSignalToRawSignalProcess::LoadConfig(std::string cfgFilename, /// void TRestDetectorSignalToRawSignalProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fInputSignalEvent = NULL; fOutputRawSignalEvent = new TRestRawSignalEvent(); diff --git a/src/TRestGeant4ToDetectorHitsProcess.cxx b/src/TRestGeant4ToDetectorHitsProcess.cxx index 3cb66a4..c9fceaf 100644 --- a/src/TRestGeant4ToDetectorHitsProcess.cxx +++ b/src/TRestGeant4ToDetectorHitsProcess.cxx @@ -107,6 +107,7 @@ void TRestGeant4ToDetectorHitsProcess::LoadDefaultConfig() { /// void TRestGeant4ToDetectorHitsProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fG4Event = NULL; fHitsEvent = new TRestDetectorHitsEvent(); diff --git a/src/TRestRawReadoutAnalysisProcess.cxx b/src/TRestRawReadoutAnalysisProcess.cxx index a825a22..bc04c7b 100644 --- a/src/TRestRawReadoutAnalysisProcess.cxx +++ b/src/TRestRawReadoutAnalysisProcess.cxx @@ -32,6 +32,7 @@ TRestRawReadoutAnalysisProcess::~TRestRawReadoutAnalysisProcess() {} //______________________________________________________________________________ void TRestRawReadoutAnalysisProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fSignalEvent = NULL; diff --git a/src/TRestRawSignalRecoverChannelsProcess.cxx b/src/TRestRawSignalRecoverChannelsProcess.cxx index 7096bfd..765a4f7 100644 --- a/src/TRestRawSignalRecoverChannelsProcess.cxx +++ b/src/TRestRawSignalRecoverChannelsProcess.cxx @@ -114,6 +114,7 @@ void TRestRawSignalRecoverChannelsProcess::LoadDefaultConfig() { /// void TRestRawSignalRecoverChannelsProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fInputSignalEvent = NULL; fOutputSignalEvent = new TRestRawSignalEvent(); diff --git a/src/TRestRawSignalToSignalProcess.cxx b/src/TRestRawSignalToSignalProcess.cxx index 079bfaf..6000b65 100644 --- a/src/TRestRawSignalToSignalProcess.cxx +++ b/src/TRestRawSignalToSignalProcess.cxx @@ -133,6 +133,7 @@ void TRestRawSignalToSignalProcess::LoadDefaultConfig() { /// void TRestRawSignalToSignalProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fInputSignalEvent = NULL; fOutputSignalEvent = new TRestDetectorSignalEvent(); diff --git a/src/TRestRawZeroSuppresionProcess.cxx b/src/TRestRawZeroSuppresionProcess.cxx index c835b8e..cf1c196 100644 --- a/src/TRestRawZeroSuppresionProcess.cxx +++ b/src/TRestRawZeroSuppresionProcess.cxx @@ -86,8 +86,8 @@ ///
/// -#include #include "TRestRawZeroSuppresionProcess.h" +#include using namespace std; const double cmTomm = 10.; @@ -160,6 +160,7 @@ void TRestRawZeroSuppresionProcess::LoadConfig(std::string cfgFilename, std::str /// void TRestRawZeroSuppresionProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fRawSignalEvent = NULL; fSignalEvent = new TRestDetectorSignalEvent(); diff --git a/src/TRestTrackToDetectorHitsProcess.cxx b/src/TRestTrackToDetectorHitsProcess.cxx index 9e2c86a..777f8f4 100644 --- a/src/TRestTrackToDetectorHitsProcess.cxx +++ b/src/TRestTrackToDetectorHitsProcess.cxx @@ -35,6 +35,7 @@ void TRestTrackToDetectorHitsProcess::LoadDefaultConfig() { //______________________________________________________________________________ void TRestTrackToDetectorHitsProcess::Initialize() { SetSectionName(this->ClassName()); + SetLibraryVersion(LIBRARY_VERSION); fInputTrackEvent = NULL; fOutputHitsEvent = new TRestDetectorHitsEvent();