Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
+4 -4
View File
@@ -5,13 +5,13 @@
#define tools_version
#define TOOLS_MAJOR_VERSION 6
#define TOOLS_MINOR_VERSION 2
#define TOOLS_MINOR_VERSION 3
#define TOOLS_PATCH_VERSION 0
#define TOOLS_VERSION "6.2.0"
#define TOOLS_VERSION_VRP "v6r2p0"
#define TOOLS_VERSION "6.3.0"
#define TOOLS_VERSION_VRP "v6r3p0"
namespace tools {
inline unsigned int version() {return 60200;}
inline unsigned int version() {return 60300;}
}
#endif
+12 -1
View File
@@ -278,6 +278,12 @@ public:
key::std_string_record_size(m_path) +
key::std_string_record_size(m_title);
uint32 nbytes = namelen + m_root_directory.record_size();
//TUUID version 1:
nbytes += sizeof(unsigned int);
nbytes += 2*sizeof(unsigned short);
nbytes += 8*sizeof(unsigned char);
wroot::key key(m_out,*this,0,m_path,m_title,"TFile",nbytes); // It does a (*this).set_END().
// m_nbytes_name = start point of directory info from key head.
@@ -297,7 +303,12 @@ public:
wbuf wb(m_out,byte_swap(),key.eob(),pos);
if(!wb.write(m_path)) return;
if(!wb.write(m_title)) return;
if(!m_root_directory.to_buffer(wb)) return;}
if(!m_root_directory.to_buffer(wb)) return;
//TUUID version 1:
if(!wb.write((unsigned int)0)) return;
if(!wb.write((unsigned short)0)) return;
if(!wb.write((unsigned short)0)) return;
{for(size_t count=0;count<8;count++) if(!wb.write((unsigned char)0)) return;}}
if(m_verbose) {
m_out << "tools::wroot::file::file :"