Skip to content

Commit

Permalink
Adding LibraryVersion to metadata classes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalan committed Feb 9, 2021
1 parent 246eb16 commit 74ae8f1
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/TRestDetectorHitsToTrackFastProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ void TRestDetectorHitsToTrackFastProcess::LoadDefaultConfig() {
//______________________________________________________________________________
void TRestDetectorHitsToTrackFastProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fCellResolution = 10.;
fNetSize = 1000.;
Expand Down
1 change: 1 addition & 0 deletions src/TRestDetectorHitsToTrackProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ void TRestDetectorHitsToTrackProcess::LoadDefaultConfig() {
//______________________________________________________________________________
void TRestDetectorHitsToTrackProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fClusterDistance = 1.;

Expand Down
5 changes: 4 additions & 1 deletion src/TRestDetectorSignalToRawSignalProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -182,6 +184,7 @@ void TRestDetectorSignalToRawSignalProcess::LoadConfig(std::string cfgFilename,
///
void TRestDetectorSignalToRawSignalProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fInputSignalEvent = NULL;
fOutputRawSignalEvent = new TRestRawSignalEvent();
Expand Down
1 change: 1 addition & 0 deletions src/TRestGeant4ToDetectorHitsProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ void TRestGeant4ToDetectorHitsProcess::LoadDefaultConfig() {
///
void TRestGeant4ToDetectorHitsProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fG4Event = NULL;
fHitsEvent = new TRestDetectorHitsEvent();
Expand Down
1 change: 1 addition & 0 deletions src/TRestRawReadoutAnalysisProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ TRestRawReadoutAnalysisProcess::~TRestRawReadoutAnalysisProcess() {}
//______________________________________________________________________________
void TRestRawReadoutAnalysisProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fSignalEvent = NULL;

Expand Down
1 change: 1 addition & 0 deletions src/TRestRawSignalRecoverChannelsProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ void TRestRawSignalRecoverChannelsProcess::LoadDefaultConfig() {
///
void TRestRawSignalRecoverChannelsProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fInputSignalEvent = NULL;
fOutputSignalEvent = new TRestRawSignalEvent();
Expand Down
1 change: 1 addition & 0 deletions src/TRestRawSignalToSignalProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ void TRestRawSignalToSignalProcess::LoadDefaultConfig() {
///
void TRestRawSignalToSignalProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fInputSignalEvent = NULL;
fOutputSignalEvent = new TRestDetectorSignalEvent();
Expand Down
3 changes: 2 additions & 1 deletion src/TRestRawZeroSuppresionProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
/// <hr>
///

#include <numeric>
#include "TRestRawZeroSuppresionProcess.h"
#include <numeric>
using namespace std;

const double cmTomm = 10.;
Expand Down Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions src/TRestTrackToDetectorHitsProcess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ void TRestTrackToDetectorHitsProcess::LoadDefaultConfig() {
//______________________________________________________________________________
void TRestTrackToDetectorHitsProcess::Initialize() {
SetSectionName(this->ClassName());
SetLibraryVersion(LIBRARY_VERSION);

fInputTrackEvent = NULL;
fOutputHitsEvent = new TRestDetectorHitsEvent();
Expand Down

0 comments on commit 74ae8f1

Please sign in to comment.