Great, I'm able to compile NPLib now, thanks a lot ! I did not mention it before..but I've let the default C++ standard(14) used by my compiler(gnu 9.3.0). I searched on the net how to change the default standard of my compilers, but it seems like the only valide possibility is to install a previous version of gnu, add it the alternatives etc..
So all NPTOOL compilation I tried were done with the standard 14, I did not find an option to force compilation with standard 11. I'm also able to compile NPsimulation but I get these warnings :
[ 47%] Building CXX object Detectors/ForwardArray/CMakeFiles/NPSForwardArray.dir/ForwardArray.cc.o /home/dz/products/nptool/NPSimulation/Detectors/Actar/Actar.cc: In member function ‘G4LogicalVolume* Actar::BuildDetector()’: /home/dz/products/nptool/NPSimulation/Detectors/Actar/Actar.cc:444:24: warning: ‘PosX’ may be used uninitialized in this function [-Wmaybe-uninitialized] 444 | double PosX; | ^~~~ /home/dz/products/nptool/NPSimulation/Detectors/Actar/Actar.cc:406:24: warning: ‘PosY’ may be used uninitialized in this function [-Wmaybe-uninitialized] 406 | double PosY; | ^~~~ [ 47%] Built target npsimulation . . . [ 60%] Linking CXX shared library ../../lib/libNPSGeTAMU.so /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.cc: In member function ‘void Minos::SimulateGainAndDigitizer(std::vector<double>*, std::vector<double>*, std::vector<int>&, std::vector<int>&)’: /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.cc:557:111: warning: declaration of ‘Q’ shadows a member of ‘Minos’ [-Wshadow] 557 | void Minos::SimulateGainAndDigitizer(vector<double>* rawT, vector<double>* rawQ,vector<int>& T, vector<int>& Q){ | ^ In file included from /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.cc:59: /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.hh:140:18: note: shadowed declaration is here 140 | vector<int> Q, T; | ^ /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.cc:557:111: warning: declaration of ‘T’ shadows a member of ‘Minos’ [-Wshadow] 557 | void Minos::SimulateGainAndDigitizer(vector<double>* rawT, vector<double>* rawQ,vector<int>& T, vector<int>& Q){ | ^ In file included from /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.cc:59: /home/dz/products/nptool/NPSimulation/Detectors/Minos/Minos.hh:140:21: note: shadowed declaration is here 140 | vector<int> Q, T; | ^ [ 60%] Built target NPSMDM . . [ 65%] Building CXX object Detectors/Paris/CMakeFiles/NPSParis.dir/Paris.cc.o /home/dz/products/nptool/NPSimulation/Detectors/Nebula/Nebula.cc: In member function ‘virtual void Nebula::ReadSensitive(const G4Event*)’: /home/dz/products/nptool/NPSimulation/Detectors/Nebula/Nebula.cc:227:14: warning: unused variable Time’ [-Wunused-variable] 227 | double Time = RandGauss::shoot(Scorer->GetTime(i),Nebula_NS::ResoTime); | ^~~~ /home/dz/products/nptool/NPSimulation/Detectors/Nebula/Nebula.cc:228:11: warning: unused variable DetectorNbr’ [-Wunused-variable] 228 | int DetectorNbr = level[0]; | ^~~~~~~~~~~ [ 65%] Built target NPSMiniball . . [ 71%] Linking CXX shared library ../../lib/libNPSNana.so /home/dz/products/nptool/NPSimulation/Detectors/Plastic/Plastic.cc: In member function ‘virtual void Plastic::ReadSensitive(const G4Event*)’: /home/dz/products/nptool/NPSimulation/Detectors/Plastic/Plastic.cc:342:44: warning: unused parameter ‘event’ [-Wunused-parameter] 342 | void Plastic::ReadSensitive(const G4Event* event){ | ~~~~~~~~~~~~~~~^~~~~ [ 72%] Linking CXX shared library ../../lib/libNPSMugast.so . . [ 75%] Building CXX object Detectors/Sweeper/CMakeFiles/NPSSweeper.dir/Sweeper.cc.o /home/dz/products/nptool/NPSimulation/Detectors/Sofia/Sofia.cc: In member function ‘virtual void Sofia::ReadSensitive(const G4Event*)’: /home/dz/products/nptool/NPSimulation/Detectors/Sofia/Sofia.cc:402:11: warning: unused variable ‘DetectorNbr’ [-Wunused-variable] 402 | int DetectorNbr = level[0]; | ^~~~~~~~~~~ [ 75%] Built target NPSPlastic . . [ 81%] Linking CXX shared library ../../lib/libNPSSofia.so /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/Sweeper.cc: In member function ‘G4LogicalVolume* Sweeper::BuildMotherVolume()’: /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/Sweeper.cc:187:64: warning: the address of ‘static const G4VisAttributes& G4VisAttributes::GetInvisible()’ will never be NULL [-Waddress] 187 | m_MotherLog->SetVisAttributes(G4VisAttributes::GetInvisible); | ^ [ 81%] Built target NPSQQQ . . [ 83%] Building CXX object Detectors/Tigress/CMakeFiles/NPSTigress.dir/Tigress.cc.o /home/dz/products/nptool/NPSimulation/Detectors/TACTIC/TACTIC.cc: In member function ‘G4LogicalVolume* TACTIC::BuildCylindricalDetector()’: /home/dz/products/nptool/NPSimulation/Detectors/TACTIC/TACTIC.cc:130:17: warning: unused variable Cu’ [-Wunused-variable] 130 | G4Material* Cu = MaterialManager::getInstance()->GetMaterialFromLibrary("Cu"); | ^~ [ 83%] Built target NPSSofia . . [ 88%] Building CXX object Detectors/TACTIC/CMakeFiles/NPSTACTIC.dir/TACTICScorer.cc.o /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/SweeperScorers.cc: In member function ‘virtual G4bool SweeperScorers::PS_Sweeper::ProcessHits(G4Step*, G4TouchableHistory*)’: /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/SweeperScorers.cc:41:14: warning: unused variable ‘fGeomDetectedNeutron’ [-Wunused-variable] 41 | bool fGeomDetectedNeutron=true; | ^~~~~~~~~~~~~~~~~~~~ [ 88%] Built target NPSStrasse . . [ 96%] Built target NPSbeam_dump /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/MagField.cc: In member function ‘void MagField::LoadMagneticField(TString)’: /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/MagField.cc:37:52: warning: format not a string literal and no format arguments [-Wformat-security] 37 | std::ifstream magfilebin(Form(magbinfile.Data()),std::ios::in|std::ios::binary); | ^ [ 97%] Linking CXX shared library ../../lib/libNPSTACTIC.so /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/MagField.cc: In member function ‘virtual void MagField::GetFieldValue(const G4double*, G4double*) const’: /home/dz/products/nptool/NPSimulation/Detectors/Sweeper/MagField.cc:137:12: warning: unused variable ‘x’ [-Wunused-variable] 137 | G4double x[3], d[3], dsqt[3], mdsq[3]; | ^ [ 97%] Built target NPSTiara
I'm trully sorry in advance if these isssues were comming from the fact that I kept the standard 14..
Regards
yes, you were right aha
[ 63%] Building CXX object Detectors/SiLi/CMakeFiles/NPSiLi.dir/TSiLiPhysics.cxx.o In file included from /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIODataDict.cxx:38: /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h:34:4: error: ‘vector’ does not name a type 34 | vector<UShort_t> fSpeg_CHIO_Energy; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h: In member function ‘void TSpegCHIOData::SetSpegCHIOEnergy(UShort_t)’: /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h:46:46: error: ‘fSpeg_CHIO_Energy’ was not declared in this scope; did you mean ‘SetSpegCHIOEnergy’? 46 | void SetSpegCHIOEnergy(UShort_t Energy) {fSpeg_CHIO_Energy.push_back(Energy);} | ^~~~~~~~~~~~~~~~~ | SetSpegCHIOEnergy /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h: In member function ‘UShort_t TSpegCHIOData::GetSpegCHIOEnergy(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h:50:48: error: ‘fSpeg_CHIO_Energy’ was not declared in this scope; did you mean ‘SetSpegCHIOEnergy’? 50 | UShort_t GetSpegCHIOEnergy(Int_t i) {return fSpeg_CHIO_Energy.at(i);} | ^~~~~~~~~~~~~~~~~ | SetSpegCHIOEnergy /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h: In member function ‘UShort_t TSpegCHIOData::GetMultSpegCHIOEnergy()’: /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIOData.h:51:61: error: ‘fSpeg_CHIO_Energy’ was not declared in this scope; did you mean ‘SetSpegCHIOEnergy’? 51 | UShort_t GetMultSpegCHIOEnergy() {return fSpeg_CHIO_Energy.size();} | ^~~~~~~~~~~~~~~~~ | SetSpegCHIOEnergy /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIODataDict.cxx: In member function ‘virtual void TSpegCHIOData::Streamer(TBuffer&)’: /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIODataDict.cxx:124:38: error: ‘fSpeg_CHIO_Energy’ was not declared in this scope; did you mean ‘SetSpegCHIOEnergy’? 124 | vector<UShort_t> &R__stl = fSpeg_CHIO_Energy; | ^~~~~~~~~~~~~~~~~ | SetSpegCHIOEnergy /home/dz/products/nptool/NPLib/Detectors/SPEG/TSpegCHIODataDict.cxx:140:38: error: ‘fSpeg_CHIO_Energy’ was not declared in this scope; did you mean ‘SetSpegCHIOEnergy’? 140 | vector<UShort_t> &R__stl = fSpeg_CHIO_Energy; | ^~~~~~~~~~~~~~~~~ | SetSpegCHIOEnergy make[2]: *** [Detectors/SPEG/CMakeFiles/NPSPEG.dir/build.make:131: Detectors/SPEG/CMakeFiles/NPSPEG.dir/TSpegCHIODataDict.cxx.o] Error 1 make[2]: *** Waiting for unfinished jobs....
I compiled ROOT and GEANT4 with sudo, maybe these issues comes from ? These issues I'm reporting where obtained without sudo compiling nptool with sudo gives other errors
Regards
Thanks for your fast answer, unfortunatly there is new issues like you can see:
[ 47%] Built target NPHYDE2 [ 47%] Building CXX object Physics/CMakeFiles/NPPhysics.dir/NPBeam.cxx.o In file included from /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:38: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:51:3: error: ‘vector’ does not name a type 51 | vector<UShort_t> fMaya_PAD_Nbr; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:52:3: error: ‘vector’ does not name a type 52 | vector<UShort_t> fMaya_PAD_Col; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:53:3: error: ‘vector’ does not name a type 53 | vector<UShort_t> fMaya_PAD_Row; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:54:3: error: ‘vector’ does not name a type 54 | vector<UShort_t> fMaya_PAD_E; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:55:3: error: ‘vector’ does not name a type 55 | vector<Float_t> fMaya_PAD_x; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:56:3: error: ‘vector’ does not name a type 56 | vector<Float_t> fMaya_PAD_y; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:58:3: error: ‘map’ does not name a type 58 | map<UShort_t,UShort_t> fMaya_PAD_map_idx ; //! | ^~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:64:3: error: ‘vector’ does not name a type 64 | vector<vector<Float_t> > fMaya_PAD_E_calpar;//! | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:65:3: error: ‘vector’ does not name a type 65 | vector<Float_t> fMaya_PAD_E_cal ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:66:3: error: ‘vector’ does not name a type 66 | vector<UShort_t> fMaya_PAD_Neighbors ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:81:3: error: ‘vector’ does not name a type 81 | vector<UShort_t> fMaya_QFIL_E_Nbr ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:82:3: error: ‘vector’ does not name a type 82 | vector<UShort_t> fMaya_QFIL_T_Nbr ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:84:3: error: ‘vector’ does not name a type 84 | vector<vector<Float_t> > fMaya_QFIL_E_calpar;//! | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:85:3: error: ‘vector’ does not name a type 85 | vector<UShort_t> fMaya_QFIL_E ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:86:3: error: ‘vector’ does not name a type 86 | vector<Float_t> fMaya_QFIL_E_cal ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:87:3: error: ‘vector’ does not name a type 87 | vector<vector<Float_t> > fMaya_QFIL_T_calpar;//! | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:88:3: error: ‘vector’ does not name a type 88 | vector<UShort_t> fMaya_QFIL_T ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:89:3: error: ‘vector’ does not name a type 89 | vector<Float_t> fMaya_QFIL_T_cal ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:102:3: error: ‘vector’ does not name a type 102 | vector<UShort_t> fMaya_Si_E_Nbr; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:103:3: error: ‘vector’ does not name a type 103 | vector<UShort_t> fMaya_Si_E; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:104:3: error: ‘vector’ does not name a type 104 | vector<vector<Float_t> > fMaya_Si_E_calpar;//! | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:105:3: error: ‘vector’ does not name a type 105 | vector<Float_t> fMaya_Si_E_cal; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:108:3: error: ‘vector’ does not name a type 108 | vector<UShort_t> fMaya_Si_T_Nbr; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:109:3: error: ‘vector’ does not name a type 109 | vector<UShort_t> fMaya_Si_T; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:110:3: error: ‘vector’ does not name a type 110 | vector<vector<Float_t> > fMaya_Si_T_calpar;//! | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:111:3: error: ‘vector’ does not name a type 111 | vector<Float_t> fMaya_Si_T_cal; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:114:3: error: ‘vector’ does not name a type 114 | vector<UShort_t> fMaya_QFil_Pulse_E; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:115:3: error: ‘vector’ does not name a type 115 | vector<UShort_t> fMaya_QFil_Pulse_Nbr; // sample number | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:116:3: error: ‘vector’ does not name a type 116 | vector<UShort_t> fMaya_QFil_Pulse_Ch; // FADC channel: [0:3] | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:117:3: error: ‘map’ does not name a type 117 | map<UShort_t, UShort_t> fMaya_QFil_Pulse_map_Current_Nbr; //! keep track of current FADC sanple number within on channel, not save | ^~~ In file included from /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:38: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:118:3: error: ‘vector’ does not name a type 118 | vector<ULong64_t> fMaya_QFil_Pulse_Sum ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:119:3: error: ‘vector’ does not name a type 119 | vector<ULong64_t> fMaya_QFil_Pulse_Sum_Ch ; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetEsize()’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:136:39: error: ‘fMaya_PAD_E’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 136 | UShort_t GetEsize(void) {return fMaya_PAD_E.size();} | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetEnergy(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:137:39: error: ‘fMaya_PAD_E’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 137 | UShort_t GetEnergy(Int_t i) {return fMaya_PAD_E.at(i);} | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetNbr(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:138:39: error: ‘fMaya_PAD_Nbr’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 138 | UShort_t GetNbr(Int_t i) {return fMaya_PAD_Nbr.at(i);} | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetCol(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:139:49: error: ‘fMaya_PAD_Nbr’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 139 | UShort_t GetCol(Int_t i) {return GetPadCol(fMaya_PAD_Nbr.at(i));} | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetRow(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:140:49: error: ‘fMaya_PAD_Nbr’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 140 | UShort_t GetRow(Int_t i) {return GetPadRow(fMaya_PAD_Nbr.at(i));} | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘Float_t TMayaData::GetEnergy_cal(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:142:42: error: ‘fMaya_PAD_E_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 142 | Float_t GetEnergy_cal(Int_t i) {return fMaya_PAD_E_cal.at(i);} | ^~~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetEnergySi(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:156:43: error: ‘fMaya_Si_E’ was not declared in this scope 156 | UShort_t GetEnergySi(Int_t i) { return fMaya_Si_E.at(i) ;} // for backward compatibility | ^~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetSi_E_size()’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:158:40: error: ‘fMaya_Si_E_Nbr’ was not declared in this scope 158 | UShort_t GetSi_E_size() {return fMaya_Si_E_Nbr.size();} | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetSi_E(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:159:40: error: ‘fMaya_Si_E’ was not declared in this scope 159 | UShort_t GetSi_E(Int_t i) {return fMaya_Si_E.at(i);} | ^~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘Float_t TMayaData::GetSi_E_cal(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:160:42: error: ‘fMaya_Si_E_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 160 | Float_t GetSi_E_cal(Int_t i) {return fMaya_Si_E_cal.at(i);} | ^~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetSi_E_Nbr(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:161:43: error: ‘fMaya_Si_E_Nbr’ was not declared in this scope 161 | UShort_t GetSi_E_Nbr(Int_t i) {return fMaya_Si_E_Nbr.at(i);} | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetSi_T_size()’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:163:40: error: ‘fMaya_Si_T_Nbr’ was not declared in this scope 163 | UShort_t GetSi_T_size() {return fMaya_Si_T_Nbr.size();} | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetSi_T(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:164:40: error: ‘fMaya_Si_T’ was not declared in this scope 164 | UShort_t GetSi_T(Int_t i) {return fMaya_Si_T.at(i);} | ^~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetSi_T_Nbr(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:165:43: error: ‘fMaya_Si_T_Nbr’ was not declared in this scope 165 | UShort_t GetSi_T_Nbr(Int_t i) {return fMaya_Si_T_Nbr.at(i);} | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil_E_size()’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:169:42: error: ‘fMaya_QFIL_E_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 169 | UShort_t GetQFil_E_size() {return fMaya_QFIL_E_Nbr.size();} | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil_E(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:170:42: error: ‘fMaya_QFIL_E’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 170 | UShort_t GetQFil_E(Int_t i) {return fMaya_QFIL_E.at(i);} | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:171:40: error: ‘fMaya_QFIL_E’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 171 | UShort_t GetQFil(Int_t i) {return fMaya_QFIL_E.at(i);} // for backward compatibility | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil_E_Nbr(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:172:45: error: ‘fMaya_QFIL_E_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 172 | UShort_t GetQFil_E_Nbr(Int_t i) {return fMaya_QFIL_E_Nbr.at(i);} | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil_T_size()’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:174:42: error: ‘fMaya_QFIL_T_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 174 | UShort_t GetQFil_T_size() {return fMaya_QFIL_T_Nbr.size();} | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil_T(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:175:42: error: ‘fMaya_QFIL_T’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 175 | UShort_t GetQFil_T(Int_t i) {return fMaya_QFIL_T.at(i);} | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘Float_t TMayaData::GetQFil_T_cal(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:176:45: error: ‘fMaya_QFIL_T_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 176 | Float_t GetQFil_T_cal(Int_t i) {return fMaya_QFIL_T_cal.at(i);} | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFil_T_Nbr(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:177:45: error: ‘fMaya_QFIL_T_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 177 | UShort_t GetQFil_T_Nbr(Int_t i) {return fMaya_QFIL_T_Nbr.at(i);} | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFilPulse_size()’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:179:47: error: ‘fMaya_QFil_Pulse_E’ was not declared in this scope 179 | UShort_t GetQFilPulse_size(void) {return fMaya_QFil_Pulse_E.size();} | ^~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFilPulse(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:180:45: error: ‘fMaya_QFil_Pulse_E’ was not declared in this scope 180 | UShort_t GetQFilPulse(Int_t i) {return fMaya_QFil_Pulse_E.at(i);} | ^~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFilPulseCh(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:181:47: error: ‘fMaya_QFil_Pulse_Ch’ was not declared in this scope 181 | UShort_t GetQFilPulseCh(Int_t i) {return fMaya_QFil_Pulse_Ch.at(i);} | ^~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFilPulseNbr(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:182:48: error: ‘fMaya_QFil_Pulse_Nbr’ was not declared in this scope 182 | UShort_t GetQFilPulseNbr(Int_t i) {return fMaya_QFil_Pulse_Nbr.at(i);} | ^~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘ULong64_t TMayaData::GetQFilPulseSum(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:183:49: error: ‘fMaya_QFil_Pulse_Sum’ was not declared in this scope 183 | ULong64_t GetQFilPulseSum(Int_t i) {return fMaya_QFil_Pulse_Sum.at(i);} | ^~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘UShort_t TMayaData::GetQFilPulseSumCh(Int_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:184:50: error: ‘fMaya_QFil_Pulse_Sum_Ch’ was not declared in this scope 184 | UShort_t GetQFilPulseSumCh(Int_t i) {return fMaya_QFil_Pulse_Sum_Ch.at(i);} | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘void TMayaData::SetQfil(UShort_t, UShort_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:202:5: error: ‘fMaya_QFIL_E_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 202 | fMaya_QFIL_E_Nbr.push_back(N); | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:203:5: error: ‘fMaya_QFIL_E’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 203 | fMaya_QFIL_E.push_back(E) ; | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:205:7: error: ‘fMaya_QFIL_E_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 205 | fMaya_QFIL_E_cal.push_back(-1) ; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h: In member function ‘void TMayaData::SetTfil(UShort_t, UShort_t)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:210:5: error: ‘fMaya_QFIL_T_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 210 | fMaya_QFIL_T_Nbr.push_back(N); | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:211:5: error: ‘fMaya_QFIL_T’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 211 | fMaya_QFIL_T.push_back(T) ; | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaData.h:213:7: error: ‘fMaya_QFIL_T_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 213 | fMaya_QFIL_T_cal.push_back(-1) ; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx: In member function ‘virtual void TMayaData::Streamer(TBuffer&)’: /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:124:38: error: ‘fMaya_PAD_Nbr’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 124 | vector<UShort_t> &R__stl = fMaya_PAD_Nbr; | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:136:38: error: ‘fMaya_PAD_Col’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 136 | vector<UShort_t> &R__stl = fMaya_PAD_Col; | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:148:38: error: ‘fMaya_PAD_Row’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 148 | vector<UShort_t> &R__stl = fMaya_PAD_Row; | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:160:38: error: ‘fMaya_PAD_E’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 160 | vector<UShort_t> &R__stl = fMaya_PAD_E; | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:172:37: error: ‘fMaya_PAD_x’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 172 | vector<Float_t> &R__stl = fMaya_PAD_x; | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:184:37: error: ‘fMaya_PAD_y’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 184 | vector<Float_t> &R__stl = fMaya_PAD_y; | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:198:37: error: ‘fMaya_PAD_E_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 198 | vector<Float_t> &R__stl = fMaya_PAD_E_cal; | ^~~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:210:38: error: ‘fMaya_PAD_Neighbor ’ was not declared in this scope; did you mean ‘fMaya_PAD_Neighbors_Min’? 210 | vector<UShort_t> &R__stl = fMaya_PAD_Neighbors; | ^~~~~~~~~~~~~~~~~~~ | fMaya_PAD_Neighbors_Min /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:232:38: error: ‘fMaya_QFIL_E_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 232 | vector<UShort_t> &R__stl = fMaya_QFIL_E_Nbr; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:244:38: error: ‘fMaya_QFIL_T_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 244 | vector<UShort_t> &R__stl = fMaya_QFIL_T_Nbr; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:256:38: error: ‘fMaya_QFIL_E’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 256 | vector<UShort_t> &R__stl = fMaya_QFIL_E; | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:268:37: error: ‘fMaya_QFIL_E_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 268 | vector<Float_t> &R__stl = fMaya_QFIL_E_cal; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:280:38: error: ‘fMaya_QFIL_T’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 280 | vector<UShort_t> &R__stl = fMaya_QFIL_T; | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:292:37: error: ‘fMaya_QFIL_T_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 292 | vector<Float_t> &R__stl = fMaya_QFIL_T_cal; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:307:38: error: ‘fMaya_Si_E_Nbr’ was not declared in this scope 307 | vector<UShort_t> &R__stl = fMaya_Si_E_Nbr; | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:319:38: error: ‘fMaya_Si_E’ was not declared in this scope 319 | vector<UShort_t> &R__stl = fMaya_Si_E; | ^~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:331:37: error: ‘fMaya_Si_E_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 331 | vector<Float_t> &R__stl = fMaya_Si_E_cal; | ^~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:343:38: error: ‘fMaya_Si_T_Nbr’ was not declared in this scope 343 | vector<UShort_t> &R__stl = fMaya_Si_T_Nbr; | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:355:38: error: ‘fMaya_Si_T’ was not declared in this scope 355 | vector<UShort_t> &R__stl = fMaya_Si_T; | ^~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:367:37: error: ‘fMaya_Si_T_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 367 | vector<Float_t> &R__stl = fMaya_Si_T_cal; | ^~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:379:38: error: ‘fMaya_QFil_Pulse_E’ was not declared in this scope 379 | vector<UShort_t> &R__stl = fMaya_QFil_Pulse_E; | ^~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:391:38: error: ‘fMaya_QFil_Pulse_Nbr’ was not declared in this scope 391 | vector<UShort_t> &R__stl = fMaya_QFil_Pulse_Nbr; | ^~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:403:38: error: ‘fMaya_QFil_Pulse_C ’ was not declared in this scope 403 | vector<UShort_t> &R__stl = fMaya_QFil_Pulse_Ch; | ^~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:415:39: error: ‘fMaya_QFil_Pulse_Sum’ was not declared in this scope 415 | vector<ULong64_t> &R__stl = fMaya_QFil_Pulse_Sum; | ^~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:427:39: error: ‘fMaya_QFil_Pulse_Sum_Ch’ was not declared in this scope 427 | vector<ULong64_t> &R__stl = fMaya_QFil_Pulse_Sum_Ch; | ^~~~~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:446:38: error: ‘fMaya_PAD_Nbr’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 446 | vector<UShort_t> &R__stl = fMaya_PAD_Nbr; | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:457:38: error: ‘fMaya_PAD_Col’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 457 | vector<UShort_t> &R__stl = fMaya_PAD_Col; | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:468:38: error: ‘fMaya_PAD_Row’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 468 | vector<UShort_t> &R__stl = fMaya_PAD_Row; | ^~~~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:479:38: error: ‘fMaya_PAD_E’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 479 | vector<UShort_t> &R__stl = fMaya_PAD_E; | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:490:37: error: ‘fMaya_PAD_x’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 490 | vector<Float_t> &R__stl = fMaya_PAD_x; | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:501:37: error: ‘fMaya_PAD_y’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum’? 501 | vector<Float_t> &R__stl = fMaya_PAD_y; | ^~~~~~~~~~~ | fMaya_PAD_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:514:37: error: ‘fMaya_PAD_E_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 514 | vector<Float_t> &R__stl = fMaya_PAD_E_cal; | ^~~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:525:38: error: ‘fMaya_PAD_Neighbor ’ was not declared in this scope; did you mean ‘fMaya_PAD_Neighbors_Min’? 525 | vector<UShort_t> &R__stl = fMaya_PAD_Neighbors; | ^~~~~~~~~~~~~~~~~~~ | fMaya_PAD_Neighbors_Min /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:546:38: error: ‘fMaya_QFIL_E_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 546 | vector<UShort_t> &R__stl = fMaya_QFIL_E_Nbr; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:557:38: error: ‘fMaya_QFIL_T_Nbr’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 557 | vector<UShort_t> &R__stl = fMaya_QFIL_T_Nbr; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:568:38: error: ‘fMaya_QFIL_E’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 568 | vector<UShort_t> &R__stl = fMaya_QFIL_E; | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:579:37: error: ‘fMaya_QFIL_E_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 579 | vector<Float_t> &R__stl = fMaya_QFIL_E_cal; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:590:38: error: ‘fMaya_QFIL_T’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum’? 590 | vector<UShort_t> &R__stl = fMaya_QFIL_T; | ^~~~~~~~~~~~ | fMaya_QFIL_Sum /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:601:37: error: ‘fMaya_QFIL_T_cal’ was not declared in this scope; did you mean ‘fMaya_QFIL_Sum_cal’? 601 | vector<Float_t> &R__stl = fMaya_QFIL_T_cal; | ^~~~~~~~~~~~~~~~ | fMaya_QFIL_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:615:38: error: ‘fMaya_Si_E_Nbr’ was not declared in this scope 615 | vector<UShort_t> &R__stl = fMaya_Si_E_Nbr; | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:626:38: error: ‘fMaya_Si_E’ was not declared in this scope 626 | vector<UShort_t> &R__stl = fMaya_Si_E; | ^~~~~~~~~~ [ 47%] Building CXX object Detectors/Maya/CMakeFiles/NPMaya.dir/ConfigReader.cxx.o /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:637:37: error: ‘fMaya_Si_E_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 637 | vector<Float_t> &R__stl = fMaya_Si_E_cal; | ^~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:648:38: error: ‘fMaya_Si_T_Nbr’ was not declared in this scope 648 | vector<UShort_t> &R__stl = fMaya_Si_T_Nbr; | ^~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:659:38: error: ‘fMaya_Si_T’ was not declared in this scope 659 | vector<UShort_t> &R__stl = fMaya_Si_T; | ^~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:670:37: error: ‘fMaya_Si_T_cal’ was not declared in this scope; did you mean ‘fMaya_PAD_Sum_cal’? 670 | vector<Float_t> &R__stl = fMaya_Si_T_cal; | ^~~~~~~~~~~~~~ | fMaya_PAD_Sum_cal /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:681:38: error: ‘fMaya_QFil_Pulse_E’ was not declared in this scope 681 | vector<UShort_t> &R__stl = fMaya_QFil_Pulse_E; | ^~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:692:38: error: ‘fMaya_QFil_Pulse_Nbr’ was not declared in this scope 692 | vector<UShort_t> &R__stl = fMaya_QFil_Pulse_Nbr; | ^~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:703:38: error: ‘fMaya_QFil_Pulse_C ’ was not declared in this scope 703 | vector<UShort_t> &R__stl = fMaya_QFil_Pulse_Ch; | ^~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:714:39: error: ‘fMaya_QFil_Pulse_Sum’ was not declared in this scope 714 | vector<ULong64_t> &R__stl = fMaya_QFil_Pulse_Sum; | ^~~~~~~~~~~~~~~~~~~~ /home/dz/products/nptool/NPLib/Detectors/Maya/TMayaDataDict.cxx:725:39: error: ‘fMaya_QFil_Pulse_Sum_Ch’ was not declared in this scope 725 | vector<ULong64_t> &R__stl = fMaya_QFil_Pulse_Sum_Ch; | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Detectors/Maya/CMakeFiles/NPMaya.dir/build.make:97: Detectors/Maya/CMakeFiles/NPMaya.dir/TMayaDataDict.cxx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 47%] Building CXX object Physics/CMakeFiles/NPPhysics.dir/NPEnergyLoss.cxx.o [ 48%] Building CXX object Physics/CMakeFiles/NPPhysics.dir/NPFunction.cxx.o [ 49%] Generating TMicroballPhysicsDict.cxx [ 49%] Generating TMicroballDataDict.cxx [ 50%] Generating TMiniballPhysicsDict.cxx [ 50%] Generating TMiniballDataDict.cxx make[1]: *** [CMakeFiles/Makefile2:2770: Detectors/Maya/CMakeFiles/NPMaya.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 50%] Building CXX object Detectors/MUST2/CMakeFiles/NPMUST2.dir/TMust2DataDict.cxx.o
Hi, finally I've rebuild ROOT and GEANT4 with the standard 11, but I still have some issues :
[ 36%] Building CXX object Detectors/LaBr3/CMakeFiles/NPLaBr3.dir/TLaBr3Physics.cxx.o In file included from /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacDataDict.cxx:38: /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacData.h:37:4: error: ‘vector’ does not name a type 37 | vector<UShort_t> fTAC_MM_HF_DetectorNbr; | ^~~~~~ /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacData.h: In member function ‘Double_t TTacData::GetTAC_MM_HF_DetectorNbr(Int_t) const’: /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacData.h:69:67: error: ‘fTAC_MM_HF_DetectorNbr’ was not declared in this scope; did you mean ‘GetTAC_MM_HF_DetectorNbr’? 69 | Double_t GetTAC_MM_HF_DetectorNbr(const Int_t i) const {return fTAC_MM_HF_DetectorNbr[i];} | ^~~~~~~~~~~~~~~~~~~~~~ | GetTAC_MM_HF_DetectorNbr /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacData.h: In member function ‘void TTacData::SetTAC_MM_HF_DetectorNbr(UShort_t)’: /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacData.h:91:58: error: ‘fTAC_MM_HF_DetectorNbr’ was not declared in this scope; did you mean ‘GetTAC_MM_HF_DetectorNbr’? 91 | void SetTAC_MM_HF_DetectorNbr(const UShort_t DetNbr) {fTAC_MM_HF_DetectorNbr.push_back(DetNbr);} | ^~~~~~~~~~~~~~~~~~~~~~ | GetTAC_MM_HF_DetectorNbr /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacDataDict.cxx: In member function ‘virtual void TTacData::Streamer(TBuffer&)’: /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacDataDict.cxx:130:38: error: ‘fTAC_MM_HF_DetectorNbr’ was not declared in this scope; did you mean ‘GetTAC_MM_HF_DetectorNbr’? 130 | vector<UShort_t> &R__stl = fTAC_MM_HF_DetectorNbr; | ^~~~~~~~~~~~~~~~~~~~~~ | GetTAC_MM_HF_DetectorNbr /home/dz/products/nptool/NPLib/Detectors/GANIL/TTacDataDict.cxx:164:38: error: ‘fTAC_MM_HF_DetectorNbr’ was not declared in this scope; did you mean ‘GetTAC_MM_HF_DetectorNbr’? 164 | vector<UShort_t> &R__stl = fTAC_MM_HF_DetectorNbr; | ^~~~~~~~~~~~~~~~~~~~~~ | GetTAC_MM_HF_DetectorNbr [ 36%] Building CXX object Detectors/LaBr3/CMakeFiles/NPLaBr3.dir/TLaBr3DataDict.cxx.o make[2]: *** [Detectors/GANIL/CMakeFiles/NPGANIL.dir/build.make:114: Detectors/GANIL/CMakeFiles/NPGANIL.dir/TTacDataDict.cxx.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2472: Detectors/GANIL/CMakeFiles/NPGANIL.dir/all] Error 2
I added these lines to the Cmakelist.txt in NPLib but still not working :
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF)
Regards
Hi
I'm using ubuntu 20.04. I compiled from source latest ROOT version and it was done (by default) with C++14 standard, so I forced compilation with C++14 also for GEANT4. How I can check/change the C++ standard used for nptool compilation ? here are the arguments I used :
sudo cmake -Dgdml=ON -Dminuit2=ON -DCMAKE_INSTALL_PREFIX=/home/dz/products/ROOT6.24.00/ /home/dz/products/root-6.24.00/
sudo cmake -DCMAKE_INSTALL_PREFIX=../GEANT4.10.07.p01 -DGEANT4_BUILD_MULTITHREADED=ON -DGEANT4_INSTALL_DATA=ON -DGEANT4_USE_QT=ON -DGEANT4_USE_RAYTRACER_X11=OFF -DGEANT4_USE_OPENGL_X11=ON -DGEANT4_USE_GDML=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEANT4_USE_XM=OFF -DGEANT4_ENABLE_TESTING=OFF -DGEANT4_BUILD_CXXSTD=14 -DGEANT4_USE_RAYTRACER_X11=OFF -DGEANT4_USE_SYSTEM_CLHEP=OFF -DGEANT4_USE_SYSTEM_ZLIB=OFF ../geant4.10.07.p01
When I execute "make -j8 install" I get these errors :
[ 0%] Building CXX object Core/CMakeFiles/NPCore.dir/NPRandom.cxx.o In file included from /home/dz/products/ROOT6.24.00/include/TString.h:29, from /home/dz/products/ROOT6.24.00/include/TNamed.h:26, from /home/dz/products/ROOT6.24.00/include/TRandom.h:25, from /home/dz/products/ROOT6.24.00/include/TRandom1.h:25, from /home/dz/products/nptool/NPLib/Core/NPRandom.h:29, from /home/dz/products/nptool/NPLib/Core/NPRandom.cxx:22: /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:32:37: error: ‘experimental’ in namespace ‘std’ does not name a type 32 | using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>; | ^~~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:35:12: error: ‘basic_string_view’ does not name a type 35 | typedef basic_string_view string_view; | ^~~~~~~~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:36:12: error: ‘basic_string_view’ does not name a type 36 | typedef basic_string_view<char16_t> u16string_view; | ^~~~~~~~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:37:12: error: ‘basic_string_view’ does not name a type 37 | typedef basic_string_view<char32_t> u32string_view; | ^~~~~~~~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:38:12: error: ‘basic_string_view’ does not name a type 38 | typedef basic_string_view<wchar_t> wstring_view; | ^~~~~~~~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:48:28: error: ‘string_view’ is not a member of ‘std’ 48 | inline double stod(std::string_view str, size_t pos) | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:48:28: note: ‘std::string_view’ is only available from C++17 onwards /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:48:52: error: expected primary-expression before ‘’ token 48 | inline double stod(std::string_view str, size_t *pos) | ^ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:48:53: error: ‘pos’ was not declared in this scope; did you mean ‘pow’? 48 | inline double stod(std::string_view str, size_t *pos) | ^~~ | pow /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:48:56: error: expression list treated as compound expression in initializer [-fpermissive] 48 | inline double stod(std::string_view str, size_t *pos) | ^ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:65:56: error: ‘std::string_view’ has not been declared 65 | inline std::string &operator+=(std::string &left, std::string_view right) | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx: In function ‘std::string& std::__ROOT::operator+=(std::string&, int)’: /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:67:29: error: request for member ‘data’ in ‘right’, which is of non-class type ‘int’ 67 | return left.append(right.data(), right.size()); | ^~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:67:43: error: request for member ‘size’ in ‘right’, which is of non-class type ‘int’ 67 | return left.append(right.data(), right.size()); | ^~~~ /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx: At global scope: /home/dz/products/ROOT6.24.00/include/ROOT/RStringView.hxx:84:17: error: expected type-specifier 84 | operator std::string_view() const { return std::string_view(fData,fLength); } | ^~~ In file included from /home/dz/products/ROOT6.24.00/include/TNamed.h:26, from /home/dz/products/ROOT6.24.00/include/TRandom.h:25, from /home/dz/products/ROOT6.24.00/include/TRandom1.h:25, from /home/dz/products/nptool/NPLib/Core/NPRandom.h:29, from /home/dz/products/nptool/NPLib/Core/NPRandom.cxx:22: /home/dz/products/ROOT6.24.00/include/TString.h:115:13: error: expected type-specifier 115 | operator std::string_view() const { return std::string_view(Data(),fExtent); } | ^~~ /home/dz/products/ROOT6.24.00/include/TString.h:280:32: error: ‘string_view’ in namespace ‘std’ does not name a type 280 | explicit TString(const std::string_view &sub); | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:280:27: note: ‘std::string_view’ is only available from C++17 onwards 280 | explicit TString(const std::string_view &sub); | ^~~ /home/dz/products/ROOT6.24.00/include/TString.h:317:37: error: ‘string_view’ in namespace ‘std’ does not name a type 317 | TString &operator=(const std::string_view &s); | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:317:32: note: ‘std::string_view’ is only available from C++17 onwards 317 | TString &operator=(const std::string_view &s); | ^~~ /home/dz/products/ROOT6.24.00/include/TString.h:444:9: error: ‘string_view’ in namespace ‘std’ does not name a type 444 | std::string_view View() const { return std::string_view(GetPointer(),Length()); } | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:444:4: note: ‘std::string_view’ is only available from C++17 onwards 444 | std::string_view View() const { return std::string_view(GetPointer(),Length()); } | ^~~ In file included from /home/dz/products/ROOT6.24.00/include/TNamed.h:26, from /home/dz/products/ROOT6.24.00/include/TRandom.h:25, from /home/dz/products/ROOT6.24.00/include/TRandom1.h:25, from /home/dz/products/nptool/NPLib/Core/NPRandom.h:29, from /home/dz/products/nptool/NPLib/Core/NPRandom.cxx:22: /home/dz/products/ROOT6.24.00/include/TString.h:839:53: error: ‘string_view’ in namespace ‘std’ does not name a type 839 | inline Bool_t operator==(const char *s1, const std::string_view &s2) | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:839:48: note: ‘std::string_view’ is only available from C++17 onwards 839 | inline Bool_t operator==(const char s1, const std::string_view &s2) | ^~~ /home/dz/products/ROOT6.24.00/include/TString.h:839:15: error: ‘Bool_t operator==(const char, const int&)’ must have an argument of class or enumerated type 839 | inline Bool_t operator==(const char *s1, const std::string_view &s2) | ^~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:844:37: error: ‘string_view’ in namespace ‘std’ does not name a type 844 | inline Bool_t operator==(const std::string_view &s1, const char s2) | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:844:32: note: ‘std::string_view’ is only available from C++17 onwards 844 | inline Bool_t operator==(const std::string_view &s1, const char s2) | ^~~ /home/dz/products/ROOT6.24.00/include/TString.h:844:15: error: ‘Bool_t operator==(const int&, const char)’ must have an argument of class or enumerated type 844 | inline Bool_t operator==(const std::string_view &s1, const char s2) | ^~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:857:37: error: ‘string_view’ in namespace ‘std’ does not name a type 857 | std::string printValue(const std::string_view val); | ^~~~~~~~~~~ /home/dz/products/ROOT6.24.00/include/TString.h:857:32: note: ‘std::string_view’ is only available from C++17 onwards 857 | std::string printValue(const std::string_view val); | ^~~ make[2]: *** [Core/CMakeFiles/NPCore.dir/build.make:88: Core/CMakeFiles/NPCore.dir/NPRandom.cxx.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3746: Core/CMakeFiles/NPCore.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
Tell me if you need more informations on my system!
Regards Mehdi