From cf84a0816757f454a058a9f48e0a59f6231a10b8 Mon Sep 17 00:00:00 2001 From: Luis Antonio Obis Aparicio <35803280+lobis@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:26:25 +0100 Subject: [PATCH] Code Review (#46) * code review * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- inc/TRestTrack.h | 4 +- inc/TRestTrack2DAnalysisProcess.h | 4 +- inc/TRestTrack3DAnalysisProcess.h | 4 +- inc/TRestTrackAnalysisProcess.h | 4 +- inc/TRestTrackBlobAnalysisProcess.h | 4 +- inc/TRestTrackDetachIsolatedNodesProcess.h | 4 +- inc/TRestTrackEvent.h | 1 + inc/TRestTrackLineAnalysisProcess.h | 4 +- inc/TRestTrackLinearizationProcess.h | 4 +- inc/TRestTrackPathMinimizationProcess.h | 6 +- inc/TRestTrackPointLikeAnalysisProcess.h | 4 +- inc/TRestTrackReconnectionProcess.h | 4 +- inc/TRestTrackReductionProcess.h | 4 +- inc/TRestTrackViewerProcess.h | 2 +- src/TRestTrack.cxx | 2 +- src/TRestTrack2DAnalysisProcess.cxx | 32 ++--- src/TRestTrack3DAnalysisProcess.cxx | 15 +-- src/TRestTrackAnalysisProcess.cxx | 128 +++++++++---------- src/TRestTrackBlobAnalysisProcess.cxx | 81 ++++++------ src/TRestTrackDetachIsolatedNodesProcess.cxx | 3 - src/TRestTrackEvent.cxx | 6 +- src/TRestTrackLineAnalysisProcess.cxx | 12 +- src/TRestTrackLinearizationProcess.cxx | 1 + src/TRestTrackReconnectionProcess.cxx | 14 +- src/TRestTrackViewerProcess.cxx | 2 +- 25 files changed, 166 insertions(+), 183 deletions(-) diff --git a/inc/TRestTrack.h b/inc/TRestTrack.h index 6d10bb5..eafb73e 100644 --- a/inc/TRestTrack.h +++ b/inc/TRestTrack.h @@ -25,7 +25,7 @@ #include -class TRestTrack : public TObject { +class TRestTrack { protected: Int_t fTrackID; ///< Track ID Int_t fParentID; ///< Parent ID @@ -81,6 +81,6 @@ class TRestTrack : public TObject { // Destructor ~TRestTrack(); - ClassDef(TRestTrack, 2); + ClassDef(TRestTrack, 3); }; #endif diff --git a/inc/TRestTrack2DAnalysisProcess.h b/inc/TRestTrack2DAnalysisProcess.h index 37b863c..bb37b1d 100644 --- a/inc/TRestTrack2DAnalysisProcess.h +++ b/inc/TRestTrack2DAnalysisProcess.h @@ -23,9 +23,9 @@ #ifndef RestCore_TRestTrack2DAnalysisProcess #define RestCore_TRestTrack2DAnalysisProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" //! An analysis REST process to extract valuable information from Track type of data. class TRestTrack2DAnalysisProcess : public TRestEventProcess { diff --git a/inc/TRestTrack3DAnalysisProcess.h b/inc/TRestTrack3DAnalysisProcess.h index 237e242..80e2c06 100644 --- a/inc/TRestTrack3DAnalysisProcess.h +++ b/inc/TRestTrack3DAnalysisProcess.h @@ -23,9 +23,9 @@ #ifndef RestCore_TRestTrack3DAnalysisProcess #define RestCore_TRestTrack3DAnalysisProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" //! An analysis REST process to extract valuable information from Track type of data. class TRestTrack3DAnalysisProcess : public TRestEventProcess { diff --git a/inc/TRestTrackAnalysisProcess.h b/inc/TRestTrackAnalysisProcess.h index 35705fa..ab2cd7e 100644 --- a/inc/TRestTrackAnalysisProcess.h +++ b/inc/TRestTrackAnalysisProcess.h @@ -23,9 +23,9 @@ #ifndef RestCore_TRestTrackAnalysisProcess #define RestCore_TRestTrackAnalysisProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" //! An analysis REST process to extract valuable information from Track type of data. class TRestTrackAnalysisProcess : public TRestEventProcess { diff --git a/inc/TRestTrackBlobAnalysisProcess.h b/inc/TRestTrackBlobAnalysisProcess.h index 8f0b5e9..a541a68 100644 --- a/inc/TRestTrackBlobAnalysisProcess.h +++ b/inc/TRestTrackBlobAnalysisProcess.h @@ -12,9 +12,9 @@ #ifndef RestCore_TRestTrackBlobAnalysisProcess #define RestCore_TRestTrackBlobAnalysisProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" class TRestTrackBlobAnalysisProcess : public TRestEventProcess { private: diff --git a/inc/TRestTrackDetachIsolatedNodesProcess.h b/inc/TRestTrackDetachIsolatedNodesProcess.h index c797acc..ce91a42 100644 --- a/inc/TRestTrackDetachIsolatedNodesProcess.h +++ b/inc/TRestTrackDetachIsolatedNodesProcess.h @@ -12,9 +12,9 @@ #ifndef RestCore_TRestTrackDetachIsolatedNodesProcess #define RestCore_TRestTrackDetachIsolatedNodesProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" class TRestTrackDetachIsolatedNodesProcess : public TRestEventProcess { private: diff --git a/inc/TRestTrackEvent.h b/inc/TRestTrackEvent.h index 2020c13..b7251db 100644 --- a/inc/TRestTrackEvent.h +++ b/inc/TRestTrackEvent.h @@ -136,4 +136,5 @@ class TRestTrackEvent : public TRestEvent { ClassDef(TRestTrackEvent, 1); // REST event superclass }; + #endif diff --git a/inc/TRestTrackLineAnalysisProcess.h b/inc/TRestTrackLineAnalysisProcess.h index 83ae619..9145195 100644 --- a/inc/TRestTrackLineAnalysisProcess.h +++ b/inc/TRestTrackLineAnalysisProcess.h @@ -23,9 +23,9 @@ #ifndef RestCore_TRestTrackLineAnalysisProcess #define RestCore_TRestTrackLineAnalysisProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" //! A process to identify and extrack origin and end of a track assuming a linear track class TRestTrackLineAnalysisProcess : public TRestEventProcess { diff --git a/inc/TRestTrackLinearizationProcess.h b/inc/TRestTrackLinearizationProcess.h index ed9638a..e6e6fe8 100644 --- a/inc/TRestTrackLinearizationProcess.h +++ b/inc/TRestTrackLinearizationProcess.h @@ -23,9 +23,9 @@ #ifndef RestCore_TRestTrackLinearizationProcess #define RestCore_TRestTrackLinearizationProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" //! A process to perform track linearization class TRestTrackLinearizationProcess : public TRestEventProcess { diff --git a/inc/TRestTrackPathMinimizationProcess.h b/inc/TRestTrackPathMinimizationProcess.h index dbb8477..f48e250 100644 --- a/inc/TRestTrackPathMinimizationProcess.h +++ b/inc/TRestTrackPathMinimizationProcess.h @@ -12,10 +12,10 @@ #ifndef RestCore_TRestTrackPathMinimizationProcess #define RestCore_TRestTrackPathMinimizationProcess -#include -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" +#include "trackMinimization.h" class TRestTrackPathMinimizationProcess : public TRestEventProcess { private: diff --git a/inc/TRestTrackPointLikeAnalysisProcess.h b/inc/TRestTrackPointLikeAnalysisProcess.h index cd9d053..c6b82ca 100644 --- a/inc/TRestTrackPointLikeAnalysisProcess.h +++ b/inc/TRestTrackPointLikeAnalysisProcess.h @@ -12,9 +12,9 @@ #ifndef RestCore_TRestTrackPointLikeAnalysisProcess #define RestCore_TRestTrackPointLikeAnalysisProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" class TRestTrackPointLikeAnalysisProcess : public TRestEventProcess { private: diff --git a/inc/TRestTrackReconnectionProcess.h b/inc/TRestTrackReconnectionProcess.h index 1c8a085..689a964 100644 --- a/inc/TRestTrackReconnectionProcess.h +++ b/inc/TRestTrackReconnectionProcess.h @@ -12,9 +12,9 @@ #ifndef RestCore_TRestTrackReconnectionProcess #define RestCore_TRestTrackReconnectionProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" class TRestTrackReconnectionProcess : public TRestEventProcess { private: diff --git a/inc/TRestTrackReductionProcess.h b/inc/TRestTrackReductionProcess.h index 51db472..7eb1a9b 100644 --- a/inc/TRestTrackReductionProcess.h +++ b/inc/TRestTrackReductionProcess.h @@ -12,9 +12,9 @@ #ifndef RestCore_TRestTrackReductionProcess #define RestCore_TRestTrackReductionProcess -#include +#include -#include "TRestEventProcess.h" +#include "TRestTrackEvent.h" class TRestTrackReductionProcess : public TRestEventProcess { private: diff --git a/inc/TRestTrackViewerProcess.h b/inc/TRestTrackViewerProcess.h index b5568b6..0ac2b55 100644 --- a/inc/TRestTrackViewerProcess.h +++ b/inc/TRestTrackViewerProcess.h @@ -25,8 +25,8 @@ #include #include +#include -#include "TRestEventProcess.h" #include "TRestTrackEvent.h" //! A generic viewer REST process to visualize track events diff --git a/src/TRestTrack.cxx b/src/TRestTrack.cxx index 272ebe1..63dbb72 100644 --- a/src/TRestTrack.cxx +++ b/src/TRestTrack.cxx @@ -55,7 +55,7 @@ void TRestTrack::RemoveVolumeHits() { /// track based on the most energetic hit. The origin is defined as the further /// hit deposition edge to the most energetic hit, while the track end is defined /// as the closest edge to the most energetic hit. The hits are expected to be -/// ordered following the minimim path. +/// ordered following the minimum path. /// void TRestTrack::GetBoundaries(TVector3& orig, TVector3& end) { const int nHits = fVolumeHits.GetNumberOfHits(); diff --git a/src/TRestTrack2DAnalysisProcess.cxx b/src/TRestTrack2DAnalysisProcess.cxx index 9c0ae3d..5d346d6 100644 --- a/src/TRestTrack2DAnalysisProcess.cxx +++ b/src/TRestTrack2DAnalysisProcess.cxx @@ -98,6 +98,7 @@ ///////////////////////////////////////////////////////////////////////////// #include "TRestTrack2DAnalysisProcess.h" + using namespace std; // Comparator function for sorting in descending order @@ -111,7 +112,9 @@ TRestTrack2DAnalysisProcess::TRestTrack2DAnalysisProcess() { Initialize(); } TRestTrack2DAnalysisProcess::TRestTrack2DAnalysisProcess(const char* configFilename) { Initialize(); - if (LoadConfigFromFile(configFilename)) LoadDefaultConfig(); + if (LoadConfigFromFile(configFilename)) { + LoadDefaultConfig(); + } } TRestTrack2DAnalysisProcess::~TRestTrack2DAnalysisProcess() { delete fTrackEvent; } @@ -142,7 +145,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { Double_t XZ_TotalEnergyX; Double_t YZ_TotalEnergyY; - /// Number of traks per type + /// Number of tracks per type int NTracksX; int NTracksY; @@ -176,7 +179,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { map XZ_YZ_GaussSigmaXYBalance; map XZ_YZ_GaussSigmaZBalance; - /// Espacial measuremets + /// Spatial measurements map XZ_LengthX; map YZ_LengthY; @@ -205,7 +208,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { NTracksX = fTrackEvent->GetNumberOfTracks("X"); NTracksY = fTrackEvent->GetNumberOfTracks("Y"); - /// Map oservables + /// Map observables for (int tck = 0; tck < fTrackEvent->GetNumberOfTracks(); tck++) { if (!fTrackEvent->isTopLevel(tck)) continue; @@ -291,10 +294,10 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { /// From map to vector map::iterator it; for (it = XZ_EnergyX.begin(); it != XZ_EnergyX.end(); it++) { - energiesX.push_back(make_pair(it->first, it->second)); + energiesX.emplace_back(it->first, it->second); } for (it = YZ_EnergyY.begin(); it != YZ_EnergyY.end(); it++) { - energiesY.push_back(make_pair(it->first, it->second)); + energiesY.emplace_back(it->first, it->second); } /// Sort the vector by decreasing order of its pair's second value @@ -343,7 +346,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { YZ_TotalEnergyY += pair.second; } - /// Skew and sigm Z observables combining max traks in XZ and YZ + /// Skew and sigma Z observables combining max tracks in XZ and YZ TRestHits hits; TRestHits* hitsXZ = nullptr; TRestHits* hitsYZ = nullptr; @@ -454,7 +457,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { std::cerr << "Error: energiesY is empty. The observables are set to 0." << std::endl; } - if (!energiesX.empty() & !energiesY.empty()) { + if (!energiesX.empty() && !energiesY.empty()) { Double_t energiesX0SecondKey = energiesX[0].second; Double_t energiesY0SecondKey = energiesY[0].second; @@ -518,7 +521,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { SetObservableValue("SecondMaxTrack_XZ_YZ_GaussSigmaXYBalance", XZ_YZ_GaussSigmaXYBalance[1]); SetObservableValue("SecondMaxTrack_XZ_YZ_GaussSigmaZBalance", XZ_YZ_GaussSigmaZBalance[1]); - if (!energiesX.empty() & !energiesY.empty()) { + if (!energiesX.empty() && !energiesY.empty()) { Double_t energiesX1SecondKey = energiesX[1].second; Double_t energiesY1SecondKey = energiesY[1].second; @@ -538,7 +541,7 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { std::cerr << "Error: energiesX or energiesY is empty. The observables are set to 0." << std::endl; } - // --- Distance obsevables between first two tracks --- // + // --- Distance observables between first two tracks --- // SetObservableValue("XZ_FirstSecondTracksDistanceXZ", XZ_FirstSecondTracksDistanceXZ); SetObservableValue("YZ_FirstSecondTracksDistanceYZ", YZ_FirstSecondTracksDistanceYZ); SetObservableValue("XZ_YZ_FirstSecondTracksDistanceSum", @@ -554,13 +557,6 @@ TRestEvent* TRestTrack2DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { return fTrackEvent; } -void TRestTrack2DAnalysisProcess::EndProcess() { - // Function to be executed once at the end of the process - // (after all events have been processed) - - // Start by calling the EndProcess function of the abstract class. - // Comment this if you don't want it. - // TRestEventProcess::EndProcess(); -} +void TRestTrack2DAnalysisProcess::EndProcess() {} void TRestTrack2DAnalysisProcess::InitFromConfigFile() {} diff --git a/src/TRestTrack3DAnalysisProcess.cxx b/src/TRestTrack3DAnalysisProcess.cxx index c0e383c..84657ce 100644 --- a/src/TRestTrack3DAnalysisProcess.cxx +++ b/src/TRestTrack3DAnalysisProcess.cxx @@ -150,7 +150,7 @@ TRestEvent* TRestTrack3DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { /// ------------------ COMPUTE OBSERVABLES ------------------- /// /// ---------------------------------------------------------- /// - /// Map oservables + /// Map observables for (int tck = 0; tck < fTrackEvent->GetNumberOfTracks(); tck++) { if (!fTrackEvent->isTopLevel(tck)) continue; @@ -197,7 +197,7 @@ TRestEvent* TRestTrack3DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { /// From map to vector map::iterator it; for (it = XYZ_Energy.begin(); it != XYZ_Energy.end(); it++) { - energies.push_back(make_pair(it->first, it->second)); + energies.emplace_back(make_pair(it->first, it->second)); } /// Sort the vector by decreasing order of its pair's second value @@ -298,19 +298,12 @@ TRestEvent* TRestTrack3DAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { std::cerr << "Error: energies is empty. Some observables will not be set." << std::endl; } - // --- Distance obsevables between first two tracks --- // + // --- Distance observables between first two tracks --- // SetObservableValue("XYZ_FirstSecondTracksDistance", XYZ_FirstSecondTracksDistance); return fTrackEvent; } -void TRestTrack3DAnalysisProcess::EndProcess() { - // Function to be executed once at the end of the process - // (after all events have been processed) - - // Start by calling the EndProcess function of the abstract class. - // Comment this if you don't want it. - // TRestEventProcess::EndProcess(); -} +void TRestTrack3DAnalysisProcess::EndProcess() {} void TRestTrack3DAnalysisProcess::InitFromConfigFile() {} diff --git a/src/TRestTrackAnalysisProcess.cxx b/src/TRestTrackAnalysisProcess.cxx index c3b7818..fd54b8d 100644 --- a/src/TRestTrackAnalysisProcess.cxx +++ b/src/TRestTrackAnalysisProcess.cxx @@ -228,27 +228,27 @@ void TRestTrackAnalysisProcess::InitProcess() { if (fObservables[i].find("nTracks_LE_") != string::npos) { Double_t energy = StringToDouble(fObservables[i].substr(11, fObservables[i].length()).c_str()); - fTrack_LE_EnergyObservables.push_back(fObservables[i]); - fTrack_LE_Threshold.push_back(energy); - nTracks_LE.push_back(0); + fTrack_LE_EnergyObservables.emplace_back(fObservables[i]); + fTrack_LE_Threshold.emplace_back(energy); + nTracks_LE.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) if (fObservables[i].find("nTracks_HE_") != string::npos) { Double_t energy = StringToDouble(fObservables[i].substr(11, fObservables[i].length()).c_str()); - fTrack_HE_EnergyObservables.push_back(fObservables[i]); - fTrack_HE_Threshold.push_back(energy); - nTracks_HE.push_back(0); + fTrack_HE_EnergyObservables.emplace_back(fObservables[i]); + fTrack_HE_Threshold.emplace_back(energy); + nTracks_HE.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) if (fObservables[i].find("nTracks_En_") != string::npos) { Double_t energy = StringToDouble(fObservables[i].substr(11, fObservables[i].length()).c_str()); - fTrack_En_EnergyObservables.push_back(fObservables[i]); - fTrack_En_Threshold.push_back(energy); - nTracks_En.push_back(0); + fTrack_En_EnergyObservables.emplace_back(fObservables[i]); + fTrack_En_Threshold.emplace_back(energy); + nTracks_En.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -256,9 +256,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(9, fObservables[i].length()).c_str()); - fTwistLowObservables.push_back(fObservables[i]); - fTwistLowTailPercentage.push_back(tailPercentage); - fTwistLowValue.push_back(0); + fTwistLowObservables.emplace_back(fObservables[i]); + fTwistLowTailPercentage.emplace_back(tailPercentage); + fTwistLowValue.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -266,9 +266,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(10, fObservables[i].length()).c_str()); - fTwistHighObservables.push_back(fObservables[i]); - fTwistHighTailPercentage.push_back(tailPercentage); - fTwistHighValue.push_back(0); + fTwistHighObservables.emplace_back(fObservables[i]); + fTwistHighTailPercentage.emplace_back(tailPercentage); + fTwistHighValue.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -276,9 +276,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(13, fObservables[i].length()).c_str()); - fTwistBalanceObservables.push_back(fObservables[i]); - fTwistBalanceTailPercentage.push_back(tailPercentage); - fTwistBalanceValue.push_back(0); + fTwistBalanceObservables.emplace_back(fObservables[i]); + fTwistBalanceTailPercentage.emplace_back(tailPercentage); + fTwistBalanceValue.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -286,9 +286,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(11, fObservables[i].length()).c_str()); - fTwistRatioObservables.push_back(fObservables[i]); - fTwistRatioTailPercentage.push_back(tailPercentage); - fTwistRatioValue.push_back(0); + fTwistRatioObservables.emplace_back(fObservables[i]); + fTwistRatioTailPercentage.emplace_back(tailPercentage); + fTwistRatioValue.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -296,9 +296,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(17, fObservables[i].length()).c_str()); - fTwistWeightedLowObservables.push_back(fObservables[i]); - fTwistWeightedLowTailPercentage.push_back(tailPercentage); - fTwistWeightedLowValue.push_back(0); + fTwistWeightedLowObservables.emplace_back(fObservables[i]); + fTwistWeightedLowTailPercentage.emplace_back(tailPercentage); + fTwistWeightedLowValue.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -306,9 +306,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(18, fObservables[i].length()).c_str()); - fTwistWeightedHighObservables.push_back(fObservables[i]); - fTwistWeightedHighTailPercentage.push_back(tailPercentage); - fTwistWeightedHighValue.push_back(0); + fTwistWeightedHighObservables.emplace_back(fObservables[i]); + fTwistWeightedHighTailPercentage.emplace_back(tailPercentage); + fTwistWeightedHighValue.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -316,9 +316,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(11, fObservables[i].length()).c_str()); - fTwistLowObservables_X.push_back(fObservables[i]); - fTwistLowTailPercentage_X.push_back(tailPercentage); - fTwistLowValue_X.push_back(0); + fTwistLowObservables_X.emplace_back(fObservables[i]); + fTwistLowTailPercentage_X.emplace_back(tailPercentage); + fTwistLowValue_X.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -326,9 +326,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(12, fObservables[i].length()).c_str()); - fTwistHighObservables_X.push_back(fObservables[i]); - fTwistHighTailPercentage_X.push_back(tailPercentage); - fTwistHighValue_X.push_back(0); + fTwistHighObservables_X.emplace_back(fObservables[i]); + fTwistHighTailPercentage_X.emplace_back(tailPercentage); + fTwistHighValue_X.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -336,9 +336,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(15, fObservables[i].length()).c_str()); - fTwistBalanceObservables_X.push_back(fObservables[i]); - fTwistBalanceTailPercentage_X.push_back(tailPercentage); - fTwistBalanceValue_X.push_back(0); + fTwistBalanceObservables_X.emplace_back(fObservables[i]); + fTwistBalanceTailPercentage_X.emplace_back(tailPercentage); + fTwistBalanceValue_X.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -346,9 +346,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(13, fObservables[i].length()).c_str()); - fTwistRatioObservables_X.push_back(fObservables[i]); - fTwistRatioTailPercentage_X.push_back(tailPercentage); - fTwistRatioValue_X.push_back(0); + fTwistRatioObservables_X.emplace_back(fObservables[i]); + fTwistRatioTailPercentage_X.emplace_back(tailPercentage); + fTwistRatioValue_X.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -356,9 +356,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(19, fObservables[i].length()).c_str()); - fTwistWeightedLowObservables_X.push_back(fObservables[i]); - fTwistWeightedLowTailPercentage_X.push_back(tailPercentage); - fTwistWeightedLowValue_X.push_back(0); + fTwistWeightedLowObservables_X.emplace_back(fObservables[i]); + fTwistWeightedLowTailPercentage_X.emplace_back(tailPercentage); + fTwistWeightedLowValue_X.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -366,9 +366,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(20, fObservables[i].length()).c_str()); - fTwistWeightedHighObservables_X.push_back(fObservables[i]); - fTwistWeightedHighTailPercentage_X.push_back(tailPercentage); - fTwistWeightedHighValue_X.push_back(0); + fTwistWeightedHighObservables_X.emplace_back(fObservables[i]); + fTwistWeightedHighTailPercentage_X.emplace_back(tailPercentage); + fTwistWeightedHighValue_X.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -376,9 +376,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(11, fObservables[i].length()).c_str()); - fTwistLowObservables_Y.push_back(fObservables[i]); - fTwistLowTailPercentage_Y.push_back(tailPercentage); - fTwistLowValue_Y.push_back(0); + fTwistLowObservables_Y.emplace_back(fObservables[i]); + fTwistLowTailPercentage_Y.emplace_back(tailPercentage); + fTwistLowValue_Y.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -386,9 +386,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(12, fObservables[i].length()).c_str()); - fTwistHighObservables_Y.push_back(fObservables[i]); - fTwistHighTailPercentage_Y.push_back(tailPercentage); - fTwistHighValue_Y.push_back(0); + fTwistHighObservables_Y.emplace_back(fObservables[i]); + fTwistHighTailPercentage_Y.emplace_back(tailPercentage); + fTwistHighValue_Y.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -396,9 +396,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(15, fObservables[i].length()).c_str()); - fTwistBalanceObservables_Y.push_back(fObservables[i]); - fTwistBalanceTailPercentage_Y.push_back(tailPercentage); - fTwistBalanceValue_Y.push_back(0); + fTwistBalanceObservables_Y.emplace_back(fObservables[i]); + fTwistBalanceTailPercentage_Y.emplace_back(tailPercentage); + fTwistBalanceValue_Y.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -406,9 +406,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(13, fObservables[i].length()).c_str()); - fTwistRatioObservables_Y.push_back(fObservables[i]); - fTwistRatioTailPercentage_Y.push_back(tailPercentage); - fTwistRatioValue_Y.push_back(0); + fTwistRatioObservables_Y.emplace_back(fObservables[i]); + fTwistRatioTailPercentage_Y.emplace_back(tailPercentage); + fTwistRatioValue_Y.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -416,9 +416,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(19, fObservables[i].length()).c_str()); - fTwistWeightedLowObservables_Y.push_back(fObservables[i]); - fTwistWeightedLowTailPercentage_Y.push_back(tailPercentage); - fTwistWeightedLowValue_Y.push_back(0); + fTwistWeightedLowObservables_Y.emplace_back(fObservables[i]); + fTwistWeightedLowTailPercentage_Y.emplace_back(tailPercentage); + fTwistWeightedLowValue_Y.emplace_back(0); } for (unsigned int i = 0; i < fObservables.size(); i++) @@ -426,9 +426,9 @@ void TRestTrackAnalysisProcess::InitProcess() { Double_t tailPercentage = StringToDouble(fObservables[i].substr(20, fObservables[i].length()).c_str()); - fTwistWeightedHighObservables_Y.push_back(fObservables[i]); - fTwistWeightedHighTailPercentage_Y.push_back(tailPercentage); - fTwistWeightedHighValue_Y.push_back(0); + fTwistWeightedHighObservables_Y.emplace_back(fObservables[i]); + fTwistWeightedHighTailPercentage_Y.emplace_back(tailPercentage); + fTwistWeightedHighValue_Y.emplace_back(0); } } @@ -1253,7 +1253,7 @@ TRestEvent* TRestTrackAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) { // // void TRestTrackAnalysisProcess::EndOfEventProcess() { -// fPreviousEventTime.push_back(fInputTrackEvent->GetTimeStamp()); +// fPreviousEventTime.emplace_back(fInputTrackEvent->GetTimeStamp()); // if (fPreviousEventTime.size() > 100) fPreviousEventTime.erase(fPreviousEventTime.begin()); //} diff --git a/src/TRestTrackBlobAnalysisProcess.cxx b/src/TRestTrackBlobAnalysisProcess.cxx index fcd7aac..7b64156 100644 --- a/src/TRestTrackBlobAnalysisProcess.cxx +++ b/src/TRestTrackBlobAnalysisProcess.cxx @@ -50,131 +50,134 @@ void TRestTrackBlobAnalysisProcess::InitProcess() { fObservables = TRestEventProcess::ReadObservables(); for (unsigned int i = 0; i < fObservables.size(); i++) { - if (fObservables[i].find("Q1_R") != string::npos) fQ1_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Q2_R") != string::npos) fQ2_Observables.push_back(fObservables[i]); + if (fObservables[i].find("Q1_R") != string::npos) fQ1_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Q2_R") != string::npos) fQ2_Observables.emplace_back(fObservables[i]); - if (fObservables[i].find("Q1_X_R") != string::npos) fQ1_X_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Q2_X_R") != string::npos) fQ2_X_Observables.push_back(fObservables[i]); + if (fObservables[i].find("Q1_X_R") != string::npos) fQ1_X_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Q2_X_R") != string::npos) fQ2_X_Observables.emplace_back(fObservables[i]); - if (fObservables[i].find("Q1_Y_R") != string::npos) fQ1_Y_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Q2_Y_R") != string::npos) fQ2_Y_Observables.push_back(fObservables[i]); + if (fObservables[i].find("Q1_Y_R") != string::npos) fQ1_Y_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Q2_Y_R") != string::npos) fQ2_Y_Observables.emplace_back(fObservables[i]); - if (fObservables[i].find("Qhigh_R") != string::npos) fQhigh_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Qlow_R") != string::npos) fQlow_Observables.push_back(fObservables[i]); + if (fObservables[i].find("Qhigh_R") != string::npos) fQhigh_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Qlow_R") != string::npos) fQlow_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qbalance_R") != string::npos) - fQbalance_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Qratio_R") != string::npos) fQratio_Observables.push_back(fObservables[i]); + fQbalance_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Qratio_R") != string::npos) + fQratio_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qhigh_X_R") != string::npos) - fQhigh_X_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Qlow_X_R") != string::npos) fQlow_X_Observables.push_back(fObservables[i]); + fQhigh_X_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Qlow_X_R") != string::npos) + fQlow_X_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qbalance_X_R") != string::npos) - fQbalance_X_Observables.push_back(fObservables[i]); + fQbalance_X_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qratio_X_R") != string::npos) - fQratio_X_Observables.push_back(fObservables[i]); + fQratio_X_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qhigh_Y_R") != string::npos) - fQhigh_Y_Observables.push_back(fObservables[i]); - if (fObservables[i].find("Qlow_Y_R") != string::npos) fQlow_Y_Observables.push_back(fObservables[i]); + fQhigh_Y_Observables.emplace_back(fObservables[i]); + if (fObservables[i].find("Qlow_Y_R") != string::npos) + fQlow_Y_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qbalance_Y_R") != string::npos) - fQbalance_Y_Observables.push_back(fObservables[i]); + fQbalance_Y_Observables.emplace_back(fObservables[i]); if (fObservables[i].find("Qratio_Y_R") != string::npos) - fQratio_Y_Observables.push_back(fObservables[i]); + fQratio_Y_Observables.emplace_back(fObservables[i]); } for (unsigned int i = 0; i < fQ1_Observables.size(); i++) { Double_t r1 = atof(fQ1_Observables[i].substr(4, fQ1_Observables[i].length() - 4).c_str()); - fQ1_Radius.push_back(r1); + fQ1_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQ2_Observables.size(); i++) { Double_t r2 = atof(fQ2_Observables[i].substr(4, fQ2_Observables[i].length() - 4).c_str()); - fQ2_Radius.push_back(r2); + fQ2_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQ1_X_Observables.size(); i++) { Double_t r1 = atof(fQ1_X_Observables[i].substr(6, fQ1_X_Observables[i].length() - 6).c_str()); - fQ1_X_Radius.push_back(r1); + fQ1_X_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQ2_X_Observables.size(); i++) { Double_t r2 = atof(fQ2_X_Observables[i].substr(6, fQ2_X_Observables[i].length() - 6).c_str()); - fQ2_X_Radius.push_back(r2); + fQ2_X_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQ1_Y_Observables.size(); i++) { Double_t r1 = atof(fQ1_Y_Observables[i].substr(6, fQ1_Y_Observables[i].length() - 6).c_str()); - fQ1_Y_Radius.push_back(r1); + fQ1_Y_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQ2_Y_Observables.size(); i++) { Double_t r2 = atof(fQ2_Y_Observables[i].substr(6, fQ2_Y_Observables[i].length() - 6).c_str()); - fQ2_Y_Radius.push_back(r2); + fQ2_Y_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQhigh_Observables.size(); i++) { Double_t r1 = atof(fQhigh_Observables[i].substr(7, fQhigh_Observables[i].length() - 7).c_str()); - fQhigh_Radius.push_back(r1); + fQhigh_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQlow_Observables.size(); i++) { Double_t r2 = atof(fQlow_Observables[i].substr(6, fQlow_Observables[i].length() - 6).c_str()); - fQlow_Radius.push_back(r2); + fQlow_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQhigh_X_Observables.size(); i++) { Double_t r1 = atof(fQhigh_X_Observables[i].substr(9, fQhigh_X_Observables[i].length() - 9).c_str()); - fQhigh_X_Radius.push_back(r1); + fQhigh_X_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQlow_X_Observables.size(); i++) { Double_t r2 = atof(fQlow_X_Observables[i].substr(8, fQlow_X_Observables[i].length() - 8).c_str()); - fQlow_X_Radius.push_back(r2); + fQlow_X_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQhigh_Y_Observables.size(); i++) { Double_t r1 = atof(fQhigh_Y_Observables[i].substr(9, fQhigh_Y_Observables[i].length() - 9).c_str()); - fQhigh_Y_Radius.push_back(r1); + fQhigh_Y_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQlow_Y_Observables.size(); i++) { Double_t r2 = atof(fQlow_Y_Observables[i].substr(8, fQlow_Y_Observables[i].length() - 8).c_str()); - fQlow_Y_Radius.push_back(r2); + fQlow_Y_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQbalance_Observables.size(); i++) { Double_t r1 = atof(fQbalance_Observables[i].substr(10, fQbalance_Observables[i].length() - 10).c_str()); - fQbalance_Radius.push_back(r1); + fQbalance_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQratio_Observables.size(); i++) { Double_t r2 = atof(fQratio_Observables[i].substr(8, fQratio_Observables[i].length() - 8).c_str()); - fQratio_Radius.push_back(r2); + fQratio_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQbalance_X_Observables.size(); i++) { Double_t r1 = atof(fQbalance_X_Observables[i].substr(12, fQbalance_X_Observables[i].length() - 12).c_str()); - fQbalance_X_Radius.push_back(r1); + fQbalance_X_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQratio_X_Observables.size(); i++) { Double_t r2 = atof(fQratio_X_Observables[i].substr(10, fQratio_X_Observables[i].length() - 10).c_str()); - fQratio_X_Radius.push_back(r2); + fQratio_X_Radius.emplace_back(r2); } for (unsigned int i = 0; i < fQbalance_Y_Observables.size(); i++) { Double_t r1 = atof(fQbalance_Y_Observables[i].substr(12, fQbalance_Y_Observables[i].length() - 12).c_str()); - fQbalance_Y_Radius.push_back(r1); + fQbalance_Y_Radius.emplace_back(r1); } for (unsigned int i = 0; i < fQratio_Y_Observables.size(); i++) { Double_t r2 = atof(fQratio_Y_Observables[i].substr(10, fQratio_Y_Observables[i].length() - 10).c_str()); - fQratio_Y_Radius.push_back(r2); + fQratio_Y_Radius.emplace_back(r2); } } @@ -188,13 +191,13 @@ TRestEvent* TRestTrackBlobAnalysisProcess::ProcessEvent(TRestEvent* inputEvent) vector tracks; TRestTrack* tXYZ = fInputTrackEvent->GetMaxEnergyTrack(); - if (tXYZ) tracks.push_back(tXYZ); + if (tXYZ) tracks.emplace_back(tXYZ); TRestTrack* tX = fInputTrackEvent->GetMaxEnergyTrack("X"); - if (tX) tracks.push_back(tX); + if (tX) tracks.emplace_back(tX); TRestTrack* tY = fInputTrackEvent->GetMaxEnergyTrack("Y"); - if (tY) tracks.push_back(tY); + if (tY) tracks.emplace_back(tY); Double_t x1 = 0, y1 = 0, z1 = 0; Double_t x2 = 0, y2 = 0, z2 = 0; diff --git a/src/TRestTrackDetachIsolatedNodesProcess.cxx b/src/TRestTrackDetachIsolatedNodesProcess.cxx index b7652a0..9005d42 100644 --- a/src/TRestTrackDetachIsolatedNodesProcess.cxx +++ b/src/TRestTrackDetachIsolatedNodesProcess.cxx @@ -71,8 +71,6 @@ TRestEvent* TRestTrackDetachIsolatedNodesProcess::ProcessEvent(TRestEvent* input Int_t nHits = hits->GetNumberOfHits(); - /* {{{ Debug output */ - if (this->GetVerboseLevel() >= TRestStringOutput::REST_Verbose_Level::REST_Debug) { Int_t pId = fInputTrackEvent->GetTrack(tck)->GetParentID(); cout << "Track : " << tck << " TrackID : " << tckId << " ParentID : " << pId << endl; @@ -81,7 +79,6 @@ TRestEvent* TRestTrackDetachIsolatedNodesProcess::ProcessEvent(TRestEvent* input cout << "-----------------" << endl; GetChar(); } - /* }}} */ TRestVolumeHits connectedHits; TRestVolumeHits isolatedHit; diff --git a/src/TRestTrackEvent.cxx b/src/TRestTrackEvent.cxx index 028f2d4..d8f390e 100644 --- a/src/TRestTrackEvent.cxx +++ b/src/TRestTrackEvent.cxx @@ -62,7 +62,7 @@ void TRestTrackEvent::AddTrack(TRestTrack* c) { if (c->isYZ()) fNtracksY++; fNtracks++; - fTrack.push_back(*c); + fTrack.emplace_back(*c); SetLevels(); } @@ -439,14 +439,14 @@ Double_t TRestTrackEvent::GetMaxTrackRelativeZ() { for (size_t i = 0; i < tckX->GetVolumeHits()->GetNumberOfHits(); i++) { double en = tckX->GetVolumeHits()->GetEnergy(i); double z = tckX->GetVolumeHits()->GetZ(i); - zEn.push_back(std::make_pair(z, en)); + zEn.emplace_back(std::make_pair(z, en)); totEn += en; } for (size_t i = 0; i < tckY->GetVolumeHits()->GetNumberOfHits(); i++) { double en = tckY->GetVolumeHits()->GetEnergy(i); double z = tckY->GetVolumeHits()->GetZ(i); - zEn.push_back(std::make_pair(z, en)); + zEn.emplace_back(std::make_pair(z, en)); totEn += en; } diff --git a/src/TRestTrackLineAnalysisProcess.cxx b/src/TRestTrackLineAnalysisProcess.cxx index 06404ed..81a0ced 100644 --- a/src/TRestTrackLineAnalysisProcess.cxx +++ b/src/TRestTrackLineAnalysisProcess.cxx @@ -41,12 +41,12 @@ /// * **trackBalanceXZ**: Track balance between the most energetic track and all tracks in the XZ projection /// * **trackBalanceYZ**: Track balance between the most energetic track and all tracks in the YZ projection /// * **trackBalance**: Total track balance between the most energetic tracks (XZ + YZ) and all tracks -/// * **originX**: Track origin in the X cordinate -/// * **originY**: Track origin in the Y cordinate -/// * **originZ**: Track origin in the Z cordinate -/// * **endX**: Track end in the X cordinate -/// * **endY**: Track end in the Y cordinate -/// * **endZ**: Track end in the Z cordinate +/// * **originX**: Track origin in the X coordinate +/// * **originY**: Track origin in the Y coordinate +/// * **originZ**: Track origin in the Z coordinate +/// * **endX**: Track end in the X coordinate +/// * **endY**: Track end in the Y coordinate +/// * **endZ**: Track end in the Z coordinate /// * **length**: Track length in mm /// * **angle**: Track polar angle in radians /// * **downwards**: (bool) true if the track direction is downwards, false otherwise diff --git a/src/TRestTrackLinearizationProcess.cxx b/src/TRestTrackLinearizationProcess.cxx index 4625e98..5f0d923 100644 --- a/src/TRestTrackLinearizationProcess.cxx +++ b/src/TRestTrackLinearizationProcess.cxx @@ -63,6 +63,7 @@ #include "TRestTrackLinearizationProcess.h" #include "TRestTrackReductionProcess.h" + using namespace std; ClassImp(TRestTrackLinearizationProcess); diff --git a/src/TRestTrackReconnectionProcess.cxx b/src/TRestTrackReconnectionProcess.cxx index e640564..6d55a76 100644 --- a/src/TRestTrackReconnectionProcess.cxx +++ b/src/TRestTrackReconnectionProcess.cxx @@ -186,7 +186,7 @@ void TRestTrackReconnectionProcess::BreakTracks(TRestVolumeHits* hits, vector 0 && hits->GetDistance(n - 1, n) > fMeanDistance + nSigma * fSigma) { - hitSets.push_back(subHits); + hitSets.emplace_back(subHits); subHits.RemoveHits(); } @@ -196,7 +196,7 @@ void TRestTrackReconnectionProcess::BreakTracks(TRestVolumeHits* hits, vector= TRestStringOutput::REST_Verbose_Level::REST_Debug) cout << "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" << endl; @@ -300,13 +300,6 @@ void TRestTrackReconnectionProcess::ReconnectTracks(vector& hit } } } - /* }}} */ - - /* {{{ Debug output - cout << "Tracks" << endl; - cout << tracks[0][0] << " ::: " << tracks[0][1] << endl; - cout << tracks[1][0] << " ::: " << tracks[1][1] << endl; - }}} */ TRestVolumeHits newHits; newHits.RemoveHits(); @@ -342,8 +335,7 @@ void TRestTrackReconnectionProcess::ReconnectTracks(vector& hit hitSets.erase(hitSets.begin() + tck2); hitSets.erase(hitSets.begin() + tck1); - hitSets.push_back(newHits); - /* }}} */ + hitSets.emplace_back(newHits); nSubTracks = hitSets.size(); diff --git a/src/TRestTrackViewerProcess.cxx b/src/TRestTrackViewerProcess.cxx index 57e06bd..b6dc928 100644 --- a/src/TRestTrackViewerProcess.cxx +++ b/src/TRestTrackViewerProcess.cxx @@ -26,7 +26,7 @@ /// ///
/// -/// \warning **⚠ REST is under continous development.** This +/// \warning **⚠ REST is under continuous development.** This /// documentation /// is offered to you by the REST community. Your HELP is needed to keep this /// code