Skip to content

Commit 74ae8f1

Browse files
committed
Adding LibraryVersion to metadata classes
1 parent 246eb16 commit 74ae8f1

9 files changed

+13
-2
lines changed

src/TRestDetectorHitsToTrackFastProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ void TRestDetectorHitsToTrackFastProcess::LoadDefaultConfig() {
4848
//______________________________________________________________________________
4949
void TRestDetectorHitsToTrackFastProcess::Initialize() {
5050
SetSectionName(this->ClassName());
51+
SetLibraryVersion(LIBRARY_VERSION);
5152

5253
fCellResolution = 10.;
5354
fNetSize = 1000.;

src/TRestDetectorHitsToTrackProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ void TRestDetectorHitsToTrackProcess::LoadDefaultConfig() {
4646
//______________________________________________________________________________
4747
void TRestDetectorHitsToTrackProcess::Initialize() {
4848
SetSectionName(this->ClassName());
49+
SetLibraryVersion(LIBRARY_VERSION);
4950

5051
fClusterDistance = 1.;
5152

src/TRestDetectorSignalToRawSignalProcess.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ TRestDetectorSignalToRawSignalProcess::TRestDetectorSignalToRawSignalProcess(cha
143143
///////////////////////////////////////////////
144144
/// \brief Default destructor
145145
///
146-
TRestDetectorSignalToRawSignalProcess::~TRestDetectorSignalToRawSignalProcess() { delete fOutputRawSignalEvent; }
146+
TRestDetectorSignalToRawSignalProcess::~TRestDetectorSignalToRawSignalProcess() {
147+
delete fOutputRawSignalEvent;
148+
}
147149

148150
///////////////////////////////////////////////
149151
/// \brief Function to load the default config in absence of RML input
@@ -182,6 +184,7 @@ void TRestDetectorSignalToRawSignalProcess::LoadConfig(std::string cfgFilename,
182184
///
183185
void TRestDetectorSignalToRawSignalProcess::Initialize() {
184186
SetSectionName(this->ClassName());
187+
SetLibraryVersion(LIBRARY_VERSION);
185188

186189
fInputSignalEvent = NULL;
187190
fOutputRawSignalEvent = new TRestRawSignalEvent();

src/TRestGeant4ToDetectorHitsProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ void TRestGeant4ToDetectorHitsProcess::LoadDefaultConfig() {
107107
///
108108
void TRestGeant4ToDetectorHitsProcess::Initialize() {
109109
SetSectionName(this->ClassName());
110+
SetLibraryVersion(LIBRARY_VERSION);
110111

111112
fG4Event = NULL;
112113
fHitsEvent = new TRestDetectorHitsEvent();

src/TRestRawReadoutAnalysisProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ TRestRawReadoutAnalysisProcess::~TRestRawReadoutAnalysisProcess() {}
3232
//______________________________________________________________________________
3333
void TRestRawReadoutAnalysisProcess::Initialize() {
3434
SetSectionName(this->ClassName());
35+
SetLibraryVersion(LIBRARY_VERSION);
3536

3637
fSignalEvent = NULL;
3738

src/TRestRawSignalRecoverChannelsProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ void TRestRawSignalRecoverChannelsProcess::LoadDefaultConfig() {
114114
///
115115
void TRestRawSignalRecoverChannelsProcess::Initialize() {
116116
SetSectionName(this->ClassName());
117+
SetLibraryVersion(LIBRARY_VERSION);
117118

118119
fInputSignalEvent = NULL;
119120
fOutputSignalEvent = new TRestRawSignalEvent();

src/TRestRawSignalToSignalProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ void TRestRawSignalToSignalProcess::LoadDefaultConfig() {
133133
///
134134
void TRestRawSignalToSignalProcess::Initialize() {
135135
SetSectionName(this->ClassName());
136+
SetLibraryVersion(LIBRARY_VERSION);
136137

137138
fInputSignalEvent = NULL;
138139
fOutputSignalEvent = new TRestDetectorSignalEvent();

src/TRestRawZeroSuppresionProcess.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
/// <hr>
8787
///
8888

89-
#include <numeric>
9089
#include "TRestRawZeroSuppresionProcess.h"
90+
#include <numeric>
9191
using namespace std;
9292

9393
const double cmTomm = 10.;
@@ -160,6 +160,7 @@ void TRestRawZeroSuppresionProcess::LoadConfig(std::string cfgFilename, std::str
160160
///
161161
void TRestRawZeroSuppresionProcess::Initialize() {
162162
SetSectionName(this->ClassName());
163+
SetLibraryVersion(LIBRARY_VERSION);
163164

164165
fRawSignalEvent = NULL;
165166
fSignalEvent = new TRestDetectorSignalEvent();

src/TRestTrackToDetectorHitsProcess.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ void TRestTrackToDetectorHitsProcess::LoadDefaultConfig() {
3535
//______________________________________________________________________________
3636
void TRestTrackToDetectorHitsProcess::Initialize() {
3737
SetSectionName(this->ClassName());
38+
SetLibraryVersion(LIBRARY_VERSION);
3839

3940
fInputTrackEvent = NULL;
4041
fOutputHitsEvent = new TRestDetectorHitsEvent();

0 commit comments

Comments
 (0)