-- ROOT LIBRARIES: /kalinka/software/root-6.24.06_cpp17/lib/libCore.so;/kalinka/software/root-6.24.06_cpp17/lib/libImt.so;/kalinka/software/root-6.24.06_cpp17/lib/libRIO.so;/kalinka/software/root-6.24.06_cpp17/lib/libNet.so;/kalinka/software/root-6.24.06_cpp17/lib/libHist.so;/kalinka/software/root-6.24.06_cpp17/lib/libGraf.so;/kalinka/software/root-6.24.06_cpp17/lib/libGraf3d.so;/kalinka/software/root-6.24.06_cpp17/lib/libGpad.so;/kalinka/software/root-6.24.06_cpp17/lib/libROOTDataFrame.so;/kalinka/software/root-6.24.06_cpp17/lib/libTree.so;/kalinka/software/root-6.24.06_cpp17/lib/libTreePlayer.so;/kalinka/software/root-6.24.06_cpp17/lib/libRint.so;/kalinka/software/root-6.24.06_cpp17/lib/libPostscript.so;/kalinka/software/root-6.24.06_cpp17/lib/libMatrix.so;/kalinka/software/root-6.24.06_cpp17/lib/libPhysics.so;/kalinka/software/root-6.24.06_cpp17/lib/libMathCore.so;/kalinka/software/root-6.24.06_cpp17/lib/libThread.so;/kalinka/software/root-6.24.06_cpp17/lib/libMultiProc.so;/kalinka/software/root-6.24.06_cpp17/lib/libROOTVecOps.so;/kalinka/software/root-6.24.06_cpp17/lib/libGeom.so;/kalinka/software/root-6.24.06_cpp17/lib/libGdml.so;/kalinka/software/root-6.24.06_cpp17/lib/libMinuit.so;/kalinka/software/root-6.24.06_cpp17/lib/libSpectrum.so;/kalinka/software/root-6.24.06_cpp17/lib/libXMLIO.so;/kalinka/software/root-6.24.06_cpp17/lib/libEve.so;/kalinka/software/root-6.24.06_cpp17/lib/libRGL.so -- external include directory: /kalinka/software/root-6.24.06_cpp17/include -- external libraries to link: /kalinka/software/root-6.24.06_cpp17/lib/libCore.so/kalinka/software/root-6.24.06_cpp17/lib/libImt.so/kalinka/software/root-6.24.06_cpp17/lib/libRIO.so/kalinka/software/root-6.24.06_cpp17/lib/libNet.so/kalinka/software/root-6.24.06_cpp17/lib/libHist.so/kalinka/software/root-6.24.06_cpp17/lib/libGraf.so/kalinka/software/root-6.24.06_cpp17/lib/libGraf3d.so/kalinka/software/root-6.24.06_cpp17/lib/libGpad.so/kalinka/software/root-6.24.06_cpp17/lib/libROOTDataFrame.so/kalinka/software/root-6.24.06_cpp17/lib/libTree.so/kalinka/software/root-6.24.06_cpp17/lib/libTreePlayer.so/kalinka/software/root-6.24.06_cpp17/lib/libRint.so/kalinka/software/root-6.24.06_cpp17/lib/libPostscript.so/kalinka/software/root-6.24.06_cpp17/lib/libMatrix.so/kalinka/software/root-6.24.06_cpp17/lib/libPhysics.so/kalinka/software/root-6.24.06_cpp17/lib/libMathCore.so/kalinka/software/root-6.24.06_cpp17/lib/libThread.so/kalinka/software/root-6.24.06_cpp17/lib/libMultiProc.so/kalinka/software/root-6.24.06_cpp17/lib/libROOTVecOps.so/kalinka/software/root-6.24.06_cpp17/lib/libGeom.so/kalinka/software/root-6.24.06_cpp17/lib/libGdml.so/kalinka/software/root-6.24.06_cpp17/lib/libMinuit.so/kalinka/software/root-6.24.06_cpp17/lib/libSpectrum.so/kalinka/software/root-6.24.06_cpp17/lib/libXMLIO.so/kalinka/software/root-6.24.06_cpp17/lib/libEve.so/kalinka/software/root-6.24.06_cpp17/lib/libRGL.so -- Testing disabled (Disabled by default, enabled via -DTEST=ON flag) -- Check for ROOT_DICT_OUTPUT_DIR: /home/ws/kx6822/workspace/rest-framework.git/build/rootdict -- Check for ROOT_DICT_CINT_DEFINITIONS: -- External dependencies: -- Found curl library: /usr/lib/x86_64-linux-gnu/libcurl.so -- making build files for /home/ws/kx6822/workspace/rest-framework.git/source/framework, schema evolution: specified sub-dirs: external/tinyxml;tools;core;analysis Submodule found: libraries/axion. Option: RESTLIB_AXION=OFF Submodule found: libraries/connectors. Option: RESTLIB_CONNECTORS=ON Submodule found: libraries/detector. Option: RESTLIB_DETECTOR=ON Submodule found: libraries/geant4. Option: RESTLIB_GEANT4=ON Empty submodule dir: libraries/model. Option: RESTLIB_MODEL=OFF Submodule found: libraries/raw. Option: RESTLIB_RAW=ON Submodule found: libraries/track. Option: RESTLIB_TRACK=ON Submodule found: packages/restG4. Option: REST_G4=OFF Empty submodule dir: packages/restP3DB. Option: REST_P3DB=OFF Empty submodule dir: packages/restSQL. Option: REST_SQL=OFF -- making build files in /home/ws/kx6822/workspace/rest-framework.git/source/libraries/connectors, dependency: detector;geant4;track;raw -- 8 source files in total, 8 classes to generete, 0 additional source files -- Adding compile definition: REST_ConnectorsLib -- making build files in /home/ws/kx6822/workspace/rest-framework.git/source/libraries/detector, dependency: -- 37 source files in total, 37 classes to generete, 0 additional source files -- Adding compile definition: REST_DetectorLib -- making build files in /home/ws/kx6822/workspace/rest-framework.git/source/libraries/geant4, dependency: -- 15 source files in total, 14 classes to generete, 0 additional source files -- Adding compile definition: REST_Geant4Lib -- making build files in /home/ws/kx6822/workspace/rest-framework.git/source/libraries/raw, dependency: -- 23 source files in total, 23 classes to generete, 0 additional source files -- Adding compile definition: REST_RawLib -- making build files in /home/ws/kx6822/workspace/rest-framework.git/source/libraries/track, dependency: -- 12 source files in total, 12 classes to generete, 5 additional source files -- Adding compile definition: REST_TrackLib -- rest Libraries: -L/home/ws/kx6822/workspace/rest-framework.git/install/master/lib -lRestFramework -lRestConnectors -lRestDetector -lRestGeant4 -lRestRaw -lRestTrack -- rest executables: restManager restRoot -- rest macros: restFit restViewEvents restViewGeometry restMergeFiles restMakeProcess restPrintMetadata restPrintFileContents restSendMessage restGeant4_ViewEvent restGeant4_ViewGeometry REST will be installed in: /home/ws/kx6822/workspace/rest-framework.git/install/master =========================================================== System is: Linux Packages: Libraries: RestFramework;RestConnectors;RestDetector;RestGeant4;RestRaw;RestTrack Features: Eve =========================================================== Check main project README.md to see all available compilation options, packages and libraries -- Configuring done -- Generating done -- Build files have been written to: /home/ws/kx6822/workspace/rest-framework.git/build [1/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4AnalysisProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4AnalysisProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4AnalysisProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4AnalysisProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4AnalysisProcess.cxx.o -c ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4AnalysisProcess.cxx:212: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ [2/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4BlobAnalysisProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4BlobAnalysisProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4BlobAnalysisProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4BlobAnalysisProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4BlobAnalysisProcess.cxx.o -c ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from ../source/libraries/geant4/src/TRestGeant4BlobAnalysisProcess.cxx:17: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ [3/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Event.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Event.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Event.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Event.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Event.cxx.o -c ../source/libraries/geant4/src/TRestGeant4Event.cxx In file included from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/src/TRestGeant4Event.cxx: At global scope: ../source/libraries/geant4/src/TRestGeant4Event.cxx:92:6: error: no declaration matches ‘void TRestGeant4Event::AddActiveVolume(const string&)’ void TRestGeant4Event::AddActiveVolume(const string& volumeName) { ^~~~~~~~~~~~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Event.cxx:18: ../source/libraries/geant4/inc/TRestGeant4Event.h:302:10: note: candidate is: ‘void TRestGeant4Event::AddActiveVolume(const int&)’ void AddActiveVolume(const string& volumeName); ^~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:41:7: note: ‘class TRestGeant4Event’ defined here class TRestGeant4Event : public TRestEvent { ^~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4Event.cxx: In member function ‘void TRestGeant4Event::ClearVolumes()’: ../source/libraries/geant4/src/TRestGeant4Event.cxx:102:24: error: request for member ‘clear’ in ‘((TRestGeant4Event*)this)->TRestGeant4Event::fVolumeStoredNames’, which is of non-class type ‘int’ fVolumeStoredNames.clear(); ^~~~~ ../source/libraries/geant4/src/TRestGeant4Event.cxx: In member function ‘void TRestGeant4Event::PrintActiveVolumes()’: ../source/libraries/geant4/src/TRestGeant4Event.cxx:1115:44: error: request for member ‘size’ in ‘((TRestGeant4Event*)this)->TRestGeant4Event::fVolumeStoredNames’, which is of non-class type ‘int’ for (int i = 0; i < fVolumeStoredNames.size(); i++) { ^~~~ ../source/libraries/geant4/src/TRestGeant4Event.cxx:1117:73: error: invalid types ‘int[int]’ for array subscript cout << "Active volume " << i << ":" << fVolumeStoredNames[i] << " has been stored." << endl; ^ ../source/libraries/geant4/src/TRestGeant4Event.cxx:1118:90: error: invalid types ‘int[int]’ for array subscript cout << "Total energy deposit in volume " << i << ":" << fVolumeStoredNames[i] << " : " ^ ../source/libraries/geant4/src/TRestGeant4Event.cxx:1121:73: error: invalid types ‘int[int]’ for array subscript cout << "Active volume " << i << ":" << fVolumeStoredNames[i] << " has not been stored" << endl; ^ [4/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4EventViewer.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4EventViewer.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4EventViewer.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4EventViewer.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4EventViewer.cxx.o -c ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TEveUtil.h:15, from /kalinka/software/root-6.24.06_cpp17/include/TEveElement.h:15, from /kalinka/software/root-6.24.06_cpp17/include/TEveArrow.h:15, from ../source/framework/core/inc/TRestEveEventViewer.h:18, from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:18, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TEveUtil.h:15, from /kalinka/software/root-6.24.06_cpp17/include/TEveElement.h:15, from /kalinka/software/root-6.24.06_cpp17/include/TEveArrow.h:15, from ../source/framework/core/inc/TRestEveEventViewer.h:18, from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:18, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TEveUtil.h:15, from /kalinka/software/root-6.24.06_cpp17/include/TEveElement.h:15, from /kalinka/software/root-6.24.06_cpp17/include/TEveArrow.h:15, from ../source/framework/core/inc/TRestEveEventViewer.h:18, from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:18, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from ../source/libraries/geant4/src/TRestGeant4EventViewer.cxx:15: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ [5/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Metadata.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Metadata.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Metadata.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Metadata.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4Metadata.cxx.o -c ../source/libraries/geant4/src/TRestGeant4Metadata.cxx In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /usr/include/c++/8/stdexcept:39, from /usr/include/c++/8/array:39, from /usr/include/c++/8/tuple:39, from /usr/include/c++/8/functional:54, from /kalinka/software/root-6.24.06_cpp17/include/TError.h:38, from /kalinka/software/root-6.24.06_cpp17/include/TMath.h:17, from ../source/libraries/geant4/inc/TRestGeant4Metadata.h:26, from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /usr/include/c++/8/stdexcept:39, from /usr/include/c++/8/array:39, from /usr/include/c++/8/tuple:39, from /usr/include/c++/8/functional:54, from /kalinka/software/root-6.24.06_cpp17/include/TError.h:38, from /kalinka/software/root-6.24.06_cpp17/include/TMath.h:17, from ../source/libraries/geant4/inc/TRestGeant4Metadata.h:26, from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /usr/include/c++/8/stdexcept:39, from /usr/include/c++/8/array:39, from /usr/include/c++/8/tuple:39, from /usr/include/c++/8/functional:54, from /kalinka/software/root-6.24.06_cpp17/include/TError.h:38, from /kalinka/software/root-6.24.06_cpp17/include/TMath.h:17, from ../source/libraries/geant4/inc/TRestGeant4Metadata.h:26, from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /usr/include/c++/8/stdexcept:39, from /usr/include/c++/8/array:39, from /usr/include/c++/8/tuple:39, from /usr/include/c++/8/functional:54, from /kalinka/software/root-6.24.06_cpp17/include/TError.h:38, from /kalinka/software/root-6.24.06_cpp17/include/TMath.h:17, from ../source/libraries/geant4/inc/TRestGeant4Metadata.h:26, from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:667:30: error: conflicting declaration ‘std::map, g4_metadata_parameters::generator_types> g4_metadata_parameters::generator_types_map’ map generator_types_map = { ^~~~~~~~~~~~~~~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:42: note: previous declaration as ‘int g4_metadata_parameters::generator_types_map’ extern std::map generator_types_map; ^~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:674:36: error: conflicting declaration ‘std::map, g4_metadata_parameters::generator_shapes> g4_metadata_parameters::generator_shapes_map’ std::map generator_shapes_map = { ^~~~~~~~~~~~~~~~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:43: note: previous declaration as ‘int g4_metadata_parameters::generator_shapes_map’ extern std::map generator_shapes_map; ^~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:680:32: error: conflicting declaration ‘std::map, g4_metadata_parameters::energy_dist_types> g4_metadata_parameters::energy_dist_types_map’ map energy_dist_types_map = { ^~~~~~~~~~~~~~~~~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:44: note: previous declaration as ‘int g4_metadata_parameters::energy_dist_types_map’ extern std::map energy_dist_types_map; ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:687:33: error: conflicting declaration ‘std::map, g4_metadata_parameters::angular_dist_types> g4_metadata_parameters::angular_dist_types_map’ map angular_dist_types_map = { ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4Metadata.cxx:648: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:45: note: previous declaration as ‘int g4_metadata_parameters::angular_dist_types_map’ extern std::map angular_dist_types_map; ^~~~~~~~~~~~~~~~~~~~~~ [6/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4NeutronTaggingProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4NeutronTaggingProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4NeutronTaggingProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4NeutronTaggingProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4NeutronTaggingProcess.cxx.o -c ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:45:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fVetoKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:46:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fCaptureKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:47:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fShieldingKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:17: error: ‘string’ was not declared in this scope std::vector fVetoGroupKeywords; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:23: error: template argument 1 is invalid std::vector fVetoGroupKeywords; //! ^ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:14: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h: In member function ‘virtual void TRestGeant4NeutronTaggingProcess::PrintMetadata()’: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:108:38: error: ‘fVetoKeyword’ was not declared in this scope debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:108:38: note: suggested alternative: ‘fVetoGroupKeywords’ debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ fVetoGroupKeywords ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:112:57: error: request for member ‘size’ in ‘((TRestGeant4NeutronTaggingProcess*)this)->TRestGeant4NeutronTaggingProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ for (unsigned int i = 0; i < fVetoGroupKeywords.size(); i++) { ^~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:113:50: error: invalid types ‘int[unsigned int]’ for array subscript debug << "\t" << fVetoGroupKeywords[i] << endl; ^ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:125:41: error: ‘fCaptureKeyword’ was not declared in this scope debug << "CAPTURE KEYWORD: " << fCaptureKeyword << endl; ^~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:125:41: note: suggested alternative: ‘fCaptureVolumeIds’ debug << "CAPTURE KEYWORD: " << fCaptureKeyword << endl; ^~~~~~~~~~~~~~~ fCaptureVolumeIds ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:136:43: error: ‘fShieldingKeyword’ was not declared in this scope debug << "SHIELDING KEYWORD: " << fShieldingKeyword << endl; ^~~~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:136:43: note: suggested alternative: ‘fShieldingVolumeIds’ debug << "SHIELDING KEYWORD: " << fShieldingKeyword << endl; ^~~~~~~~~~~~~~~~~ fShieldingVolumeIds ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx: In member function ‘virtual void TRestGeant4NeutronTaggingProcess::InitProcess()’: ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:155:47: error: ‘fVetoKeyword’ was not declared in this scope if (volume_name.find(TrimAndLower(fVetoKeyword)) != string::npos) { ^~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:155:47: note: suggested alternative: ‘fVetoGroupKeywords’ if (volume_name.find(TrimAndLower(fVetoKeyword)) != string::npos) { ^~~~~~~~~~~~ fVetoGroupKeywords ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:157:54: error: ‘fCaptureKeyword’ was not declared in this scope } else if (volume_name.find(TrimAndLower(fCaptureKeyword)) != string::npos) { ^~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:157:54: note: suggested alternative: ‘fCaptureVolumeIds’ } else if (volume_name.find(TrimAndLower(fCaptureKeyword)) != string::npos) { ^~~~~~~~~~~~~~~ fCaptureVolumeIds ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:159:54: error: ‘fShieldingKeyword’ was not declared in this scope } else if (volume_name.find(TrimAndLower(fShieldingKeyword)) != string::npos) { ^~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:159:54: note: suggested alternative: ‘fShieldingVolumeIds’ } else if (volume_name.find(TrimAndLower(fShieldingKeyword)) != string::npos) { ^~~~~~~~~~~~~~~~~ fShieldingVolumeIds ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:165:57: error: request for member ‘size’ in ‘((TRestGeant4NeutronTaggingProcess*)this)->TRestGeant4NeutronTaggingProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ for (unsigned int i = 0; i < fVetoGroupKeywords.size(); i++) { ^~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:166:74: error: invalid types ‘int[unsigned int]’ for array subscript string veto_group_keyword = TrimAndLower(fVetoGroupKeywords[i]); ^ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:167:34: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::__cxx11::string’ {aka ‘std::__cxx11::basic_string’}) fVetoGroupVolumeNames[veto_group_keyword] = std::vector{}; ^ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:172:42: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::__cxx11::string’ {aka ‘std::__cxx11::basic_string’}) fVetoGroupVolumeNames[veto_group_keyword].push_back( ^ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx: In member function ‘virtual TRestEvent* TRestGeant4NeutronTaggingProcess::ProcessEvent(TRestEvent*)’: ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:246:29: error: ‘begin’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:246:29: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/range_access.h:105:37: note: ‘std::begin’ template const _Tp* begin(const valarray<_Tp>&); ^~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:246:29: error: ‘end’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:246:29: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/range_access.h:107:37: note: ‘std::end’ template const _Tp* end(const valarray<_Tp>&); ^~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:302:33: error: ‘begin’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:302:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/range_access.h:105:37: note: ‘std::begin’ template const _Tp* begin(const valarray<_Tp>&); ^~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:302:33: error: ‘end’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:302:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:88: /usr/include/c++/8/bits/range_access.h:107:37: note: ‘std::end’ template const _Tp* end(const valarray<_Tp>&); ^~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx: In member function ‘virtual void TRestGeant4NeutronTaggingProcess::InitFromConfigFile()’: ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:550:5: error: ‘fVetoKeyword’ was not declared in this scope fVetoKeyword = TrimAndLower(veto_keyword); ^~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:550:5: note: suggested alternative: ‘veto_keyword’ fVetoKeyword = TrimAndLower(veto_keyword); ^~~~~~~~~~~~ veto_keyword ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:557:28: error: request for member ‘push_back’ in ‘((TRestGeant4NeutronTaggingProcess*)this)->TRestGeant4NeutronTaggingProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ fVetoGroupKeywords.push_back(TrimAndLower(substr)); ^~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:563:5: error: ‘fCaptureKeyword’ was not declared in this scope fCaptureKeyword = TrimAndLower(capture_keyword); ^~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:563:5: note: suggested alternative: ‘capture_keyword’ fCaptureKeyword = TrimAndLower(capture_keyword); ^~~~~~~~~~~~~~~ capture_keyword ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:568:5: error: ‘fShieldingKeyword’ was not declared in this scope fShieldingKeyword = TrimAndLower(shielding_keyword); ^~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4NeutronTaggingProcess.cxx:568:5: note: suggested alternative: ‘shielding_keyword’ fShieldingKeyword = TrimAndLower(shielding_keyword); ^~~~~~~~~~~~~~~~~ shielding_keyword [7/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4ParticleSource.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4ParticleSource.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4ParticleSource.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4ParticleSource.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4ParticleSource.cxx.o -c ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx In file included from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:20: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TString.h:26, from ../source/libraries/geant4/inc/TRestGeant4ParticleSource.h:20, from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:20: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TString.h:26, from ../source/libraries/geant4/inc/TRestGeant4ParticleSource.h:20, from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:20: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TString.h:26, from ../source/libraries/geant4/inc/TRestGeant4ParticleSource.h:20, from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:20: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TString.h:26, from ../source/libraries/geant4/inc/TRestGeant4ParticleSource.h:20, from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:18: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4ParticleSource.cxx:20: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ [8/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4PhysicsLists.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4PhysicsLists.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4PhysicsLists.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4PhysicsLists.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4PhysicsLists.cxx.o -c ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx In file included from ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:19: ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:17: error: ‘string’ was not declared in this scope std::vector fIonLimitStepList; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TApplication.h:28, from ../source/framework/core/inc/TRestMetadata.h:28, from ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:20, from ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:19: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:19: ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:23: error: template argument 1 is invalid std::vector fIonLimitStepList; ^ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:17: error: ‘string’ was not declared in this scope std::vector GetIonStepList() { return fIonLimitStepList; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TApplication.h:28, from ../source/framework/core/inc/TRestMetadata.h:28, from ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:20, from ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:19: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:19: ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:23: error: template argument 1 is invalid std::vector GetIonStepList() { return fIonLimitStepList; } ^ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:23: error: template argument 2 is invalid ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx: In member function ‘virtual void TRestGeant4PhysicsLists::InitFromConfigFile()’: ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:53:72: error: cannot convert ‘std::vector >’ to ‘int’ in assignment fIonLimitStepList = Split(GetParameter("ionLimitStepList", ""), ","); ^ ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx: In member function ‘virtual void TRestGeant4PhysicsLists::PrintMetadata()’: ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:155:27: error: request for member ‘size’ in ‘((TRestGeant4PhysicsLists*)this)->TRestGeant4PhysicsLists::fIonLimitStepList’, which is of non-class type ‘int’ if (fIonLimitStepList.size() > 0) metadata << "List of ions where step limit is affecting" << endl; ^~~~ ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:156:52: error: request for member ‘size’ in ‘((TRestGeant4PhysicsLists*)this)->TRestGeant4PhysicsLists::fIonLimitStepList’, which is of non-class type ‘int’ for (unsigned int n = 0; n < fIonLimitStepList.size(); n++) { ^~~~ ../source/libraries/geant4/src/TRestGeant4PhysicsLists.cxx:157:51: error: invalid types ‘int[unsigned int]’ for array subscript metadata << " - " << fIonLimitStepList[n] << endl; ^ [9/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4VetoAnalysisProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4VetoAnalysisProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4VetoAnalysisProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4VetoAnalysisProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/src/TRestGeant4VetoAnalysisProcess.cxx.o -c ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:41:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fVetoKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:17: error: ‘string’ was not declared in this scope std::vector fVetoGroupKeywords; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:23: error: template argument 1 is invalid std::vector fVetoGroupKeywords; //! ^ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:14: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h: In member function ‘virtual void TRestGeant4VetoAnalysisProcess::PrintMetadata()’: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:87:38: error: ‘fVetoKeyword’ was not declared in this scope debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:87:38: note: suggested alternative: ‘fVetoGroupKeywords’ debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ fVetoGroupKeywords ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:91:57: error: request for member ‘size’ in ‘((TRestGeant4VetoAnalysisProcess*)this)->TRestGeant4VetoAnalysisProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ for (unsigned int i = 0; i < fVetoGroupKeywords.size(); i++) { ^~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:92:50: error: invalid types ‘int[unsigned int]’ for array subscript debug << "\t" << fVetoGroupKeywords[i] << endl; ^ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: error: ‘begin’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/range_access.h:105:37: note: ‘std::begin’ template const _Tp* begin(const valarray<_Tp>&); ^~~~~ In file included from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: error: ‘end’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/range_access.h:107:37: note: ‘std::end’ template const _Tp* end(const valarray<_Tp>&); ^~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx: In member function ‘virtual void TRestGeant4VetoAnalysisProcess::InitProcess()’: ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:128:27: error: request for member ‘clear’ in ‘((TRestGeant4VetoAnalysisProcess*)this)->TRestGeant4VetoAnalysisProcess::fVetoGroupVolumeNames’, which is of non-class type ‘int’ fVetoGroupVolumeNames.clear(); ^~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:134:43: error: ‘fVetoKeyword’ was not declared in this scope if (volume_name.find(clean_string(fVetoKeyword)) != string::npos) { ^~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:134:43: note: suggested alternative: ‘fVetoGroupKeywords’ if (volume_name.find(clean_string(fVetoKeyword)) != string::npos) { ^~~~~~~~~~~~ fVetoGroupKeywords ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:140:53: error: request for member ‘size’ in ‘((TRestGeant4VetoAnalysisProcess*)this)->TRestGeant4VetoAnalysisProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ for (unsigned int i = 0; i < fVetoGroupKeywords.size(); i++) { ^~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:141:70: error: invalid types ‘int[unsigned int]’ for array subscript string veto_group_keyword = clean_string(fVetoGroupKeywords[i]); ^ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:142:30: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::__cxx11::string’ {aka ‘std::__cxx11::basic_string’}) fVetoGroupVolumeNames[veto_group_keyword] = std::vector{}; ^ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:147:38: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::__cxx11::string’ {aka ‘std::__cxx11::basic_string’}) fVetoGroupVolumeNames[veto_group_keyword].push_back( ^ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx: In member function ‘virtual TRestEvent* TRestGeant4VetoAnalysisProcess::ProcessEvent(TRestEvent*)’: ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:184:29: error: ‘begin’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:184:29: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/range_access.h:105:37: note: ‘std::begin’ template const _Tp* begin(const valarray<_Tp>&); ^~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:184:29: error: ‘end’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:184:29: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/range_access.h:107:37: note: ‘std::end’ template const _Tp* end(const valarray<_Tp>&); ^~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:240:33: error: ‘begin’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:240:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/range_access.h:105:37: note: ‘std::begin’ template const _Tp* begin(const valarray<_Tp>&); ^~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:240:33: error: ‘end’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:240:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TGraph.h:24, from ../source/libraries/geant4/inc/TRestGeant4Event.h:26, from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:66: /usr/include/c++/8/bits/range_access.h:107:37: note: ‘std::end’ template const _Tp* end(const valarray<_Tp>&); ^~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx: In member function ‘virtual void TRestGeant4VetoAnalysisProcess::InitFromConfigFile()’: ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:286:5: error: ‘fVetoKeyword’ was not declared in this scope fVetoKeyword = clean_string(veto_keyword); ^~~~~~~~~~~~ ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:286:5: note: suggested alternative: ‘veto_keyword’ fVetoKeyword = clean_string(veto_keyword); ^~~~~~~~~~~~ veto_keyword ../source/libraries/geant4/src/TRestGeant4VetoAnalysisProcess.cxx:293:28: error: request for member ‘push_back’ in ‘((TRestGeant4VetoAnalysisProcess*)this)->TRestGeant4VetoAnalysisProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ fVetoGroupKeywords.push_back(clean_string(substr)); ^~~~~~~~~ [10/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4AnalysisProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4AnalysisProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4AnalysisProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4AnalysisProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4AnalysisProcess.cxx.o -c rootdict/CINT_TRestGeant4AnalysisProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:26, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4AnalysisProcess.h:27, from rootdict/CINT_TRestGeant4AnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ [11/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx.o -c rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:15, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4BlobAnalysisProcess.h:16, from rootdict/CINT_TRestGeant4BlobAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ [12/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Event.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Event.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Event.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Event.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Event.cxx.o -c rootdict/CINT_TRestGeant4Event.cxx In file included from rootdict/CINT_TRestGeant4Event.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Event.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Event.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Event.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Event.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Event.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Event.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ [13/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4EventViewer.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4EventViewer.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4EventViewer.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4EventViewer.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4EventViewer.cxx.o -c rootdict/CINT_TRestGeant4EventViewer.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from rootdict/CINT_TRestGeant4EventViewer.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4EventViewer.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from rootdict/CINT_TRestGeant4EventViewer.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4EventViewer.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from rootdict/CINT_TRestGeant4EventViewer.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4EventViewer.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4EventViewer.h:19, from rootdict/CINT_TRestGeant4EventViewer.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ [14/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Metadata.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Metadata.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Metadata.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Metadata.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4Metadata.cxx.o -c rootdict/CINT_TRestGeant4Metadata.cxx In file included from rootdict/CINT_TRestGeant4Metadata.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Metadata.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Metadata.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Metadata.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Metadata.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Metadata.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Metadata.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4Metadata.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4Metadata.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ [15/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx.o -c rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:26, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:27, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ In file included from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:45:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fVetoKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:46:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fCaptureKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:47:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fShieldingKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:17: error: ‘string’ was not declared in this scope std::vector fVetoGroupKeywords; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:23: error: template argument 1 is invalid std::vector fVetoGroupKeywords; //! ^ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:48:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:14: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4NeutronTaggingProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:34: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:49:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h: In member function ‘virtual void TRestGeant4NeutronTaggingProcess::PrintMetadata()’: ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:108:38: error: ‘fVetoKeyword’ was not declared in this scope debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:108:38: note: suggested alternative: ‘fVetoGroupKeywords’ debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ fVetoGroupKeywords ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:112:57: error: request for member ‘size’ in ‘((TRestGeant4NeutronTaggingProcess*)this)->TRestGeant4NeutronTaggingProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ for (unsigned int i = 0; i < fVetoGroupKeywords.size(); i++) { ^~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:113:50: error: invalid types ‘int[unsigned int]’ for array subscript debug << "\t" << fVetoGroupKeywords[i] << endl; ^ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:125:41: error: ‘fCaptureKeyword’ was not declared in this scope debug << "CAPTURE KEYWORD: " << fCaptureKeyword << endl; ^~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:125:41: note: suggested alternative: ‘fCaptureVolumeIds’ debug << "CAPTURE KEYWORD: " << fCaptureKeyword << endl; ^~~~~~~~~~~~~~~ fCaptureVolumeIds ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:136:43: error: ‘fShieldingKeyword’ was not declared in this scope debug << "SHIELDING KEYWORD: " << fShieldingKeyword << endl; ^~~~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4NeutronTaggingProcess.h:136:43: note: suggested alternative: ‘fShieldingVolumeIds’ debug << "SHIELDING KEYWORD: " << fShieldingKeyword << endl; ^~~~~~~~~~~~~~~~~ fShieldingVolumeIds [16/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4PhysicsLists.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4PhysicsLists.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4PhysicsLists.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4PhysicsLists.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4PhysicsLists.cxx.o -c rootdict/CINT_TRestGeant4PhysicsLists.cxx In file included from rootdict/CINT_TRestGeant4PhysicsLists.cxx:38: ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:17: error: ‘string’ was not declared in this scope std::vector fIonLimitStepList; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4PhysicsLists.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4PhysicsLists.cxx:38: ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:23: error: template argument 1 is invalid std::vector fIonLimitStepList; ^ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:50:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:17: error: ‘string’ was not declared in this scope std::vector GetIonStepList() { return fIonLimitStepList; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4PhysicsLists.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4PhysicsLists.cxx:38: ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:23: error: template argument 1 is invalid std::vector GetIonStepList() { return fIonLimitStepList; } ^ ../source/libraries/geant4/inc/TRestGeant4PhysicsLists.h:59:23: error: template argument 2 is invalid [17/43] Building CXX object source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx.o FAILED: source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx.o /usr/lib/ccache/g++-8 -DLIBRARY_VERSION=\"1.7\" -DREST_Geant4Lib -DRestGeant4_EXPORTS -DUSE_Eve -I/kalinka/software/root-6.24.06_cpp17/include -I../source/framework/external/tinyxml -I../source/framework/external/tinyxml/inc -I../source/framework/tools -I../source/framework/tools/inc -I../source/framework/core -I../source/framework/core/inc -I../source/framework/analysis -I../source/framework/analysis/inc -I../source/libraries/geant4 -I../source/libraries/geant4/inc -fPIC -std=gnu++17 -MD -MT source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx.o -MF source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx.o.d -o source/libraries/geant4/CMakeFiles/RestGeant4.dir/__/__/__/rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx.o -c rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: error: ‘string’ was not declared in this scope std::map PerProcessEnergyInSensitive; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 1 is invalid std::map PerProcessEnergyInSensitive; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:53:30: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: error: ‘string’ was not declared in this scope std::vector fVolumeStoredNames; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 1 is invalid std::vector fVolumeStoredNames; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:187:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4Event.h:302:32: error: ‘string’ does not name a type; did you mean ‘TString’? void AddActiveVolume(const string& volumeName); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Event.h: In member function ‘void TRestGeant4Event::InitializePerProcessEnergyInSensitive()’: ../source/libraries/geant4/inc/TRestGeant4Event.h:57:56: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:58:50: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:59:62: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:60:57: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:61:59: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:62:46: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:63:62: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:64:60: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:65:59: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:66:58: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] = 0; ^ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: error: ‘string’ was not declared in this scope string volume_name; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:68:9: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:26, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Event.h:69:15: error: expected ‘;’ before ‘process_name’ string process_name; ^~~~~~~~~~~~~ ; ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: error: ‘process_name’ was not declared in this scope process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:88:17: note: suggested alternative: ‘Class_Name’ process_name = (string)track->GetProcessName(hits->GetHitProcess(hit_id)); ^~~~~~~~~~~~ Class_Name ../source/libraries/geant4/inc/TRestGeant4Event.h:91:69: error: assignment of read-only location ‘"photoelectric"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["photoelectric"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:93:63: error: assignment of read-only location ‘"compton"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["compton"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:95:75: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:97:70: error: assignment of read-only location ‘"ion_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["ion_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:99:76: error: assignment of read-only location ‘"alpha_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["alpha_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:102:59: error: assignment of read-only location ‘"msc"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["msc"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:104:75: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:106:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:109:72: error: assignment of read-only location ‘"hadronic_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:111:75: error: assignment of read-only location ‘"neutron_elastic"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["neutron_elastic"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:115:79: error: assignment of read-only location ‘"hadronic_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["hadronic_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:116:77: error: assignment of read-only location ‘"proton_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["proton_ionization"] += energy; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Event.h:118:79: error: assignment of read-only location ‘"electron_ionization"[((TRestGeant4Event*)this)->TRestGeant4Event::PerProcessEnergyInSensitive]’ PerProcessEnergyInSensitive["electron_ionization"] += energy; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h: At global scope: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:53:1: error: ‘string’ does not name a type; did you mean ‘TString’? string CleanString(string); ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: error: ‘string’ was not declared in this scope extern std::map generator_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 1 is invalid extern std::map generator_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:61:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: error: ‘string’ was not declared in this scope extern std::map generator_shapes_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 1 is invalid extern std::map generator_shapes_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:71:41: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: error: ‘string’ was not declared in this scope extern std::map energy_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 1 is invalid extern std::map energy_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:79:42: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: error: ‘string’ was not declared in this scope extern std::map angular_dist_types_map; ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:27, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 1 is invalid extern std::map angular_dist_types_map; ^ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:87:43: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4Metadata.h:343:26: error: ‘string’ has not been declared void SetGeometryPath(string path) { fGeometryPath = path; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:346:26: error: ‘string’ has not been declared void SetGdmlFilename(string gdmlFile) { fGdmlFilename = gdmlFile; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:349:27: error: ‘string’ has not been declared void SetGdmlReference(string reference) { fGdmlReference = reference; } ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4Metadata.h:352:32: error: ‘string’ has not been declared void SetMaterialsReference(string reference) { fMaterialsReference = reference; } ^~~~~~ In file included from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:41:5: error: ‘string’ does not name a type; did you mean ‘TString’? string fVetoKeyword = ""; //! ^~~~~~ TString ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:17: error: ‘string’ was not declared in this scope std::vector fVetoGroupKeywords; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:17: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:23: error: template argument 1 is invalid std::vector fVetoGroupKeywords; //! ^ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:42:23: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:14: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:14: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: error: ‘string’ was not declared in this scope std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: note: suggested alternative: In file included from /usr/include/c++/8/string:39, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/stringfwd.h:74:33: note: ‘std::__cxx11::string’ typedef basic_string string; ^~~~~~ In file included from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:34: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 1 is invalid std::map> fVetoGroupVolumeNames; //! ^~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 2 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 3 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:43:40: error: template argument 4 is invalid ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h: In member function ‘virtual void TRestGeant4VetoAnalysisProcess::PrintMetadata()’: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:87:38: error: ‘fVetoKeyword’ was not declared in this scope debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:87:38: note: suggested alternative: ‘fVetoGroupKeywords’ debug << "VETO KEYWORD: " << fVetoKeyword << endl; ^~~~~~~~~~~~ fVetoGroupKeywords ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:91:57: error: request for member ‘size’ in ‘((TRestGeant4VetoAnalysisProcess*)this)->TRestGeant4VetoAnalysisProcess::fVetoGroupKeywords’, which is of non-class type ‘int’ for (unsigned int i = 0; i < fVetoGroupKeywords.size(); i++) { ^~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:92:50: error: invalid types ‘int[unsigned int]’ for array subscript debug << "\t" << fVetoGroupKeywords[i] << endl; ^ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: error: ‘begin’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/range_access.h:105:37: note: ‘std::begin’ template const _Tp* begin(const valarray<_Tp>&); ^~~~~ In file included from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:38: ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: error: ‘end’ was not declared in this scope for (const auto& pair : fVetoGroupVolumeNames) { ^~~~~~~~~~~~~~~~~~~~~ ../source/libraries/geant4/inc/TRestGeant4VetoAnalysisProcess.h:103:33: note: suggested alternative: In file included from /usr/include/c++/8/string:51, from /kalinka/software/root-6.24.06_cpp17/include/TSchemaHelper.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TGenericClassInfo.h:21, from /kalinka/software/root-6.24.06_cpp17/include/Rtypes.h:191, from /kalinka/software/root-6.24.06_cpp17/include/TObject.h:17, from /kalinka/software/root-6.24.06_cpp17/include/TNamed.h:25, from /kalinka/software/root-6.24.06_cpp17/include/TDictionary.h:44, from /kalinka/software/root-6.24.06_cpp17/include/TClass.h:23, from rootdict/CINT_TRestGeant4VetoAnalysisProcess.cxx:14: /usr/include/c++/8/bits/range_access.h:107:37: note: ‘std::end’ template const _Tp* end(const valarray<_Tp>&); ^~~ ninja: build stopped: cannot make progress due to previous errors.