Import Geant4 10.4.0 source tree
This commit is contained in:
@@ -18,7 +18,7 @@ inline void acs(unsigned int& a_cs,int a_n,int* a_dims) {
|
||||
for(int i=0;i<a_n;i++) a_cs = a_cs*3+(unsigned int)a_dims[i];
|
||||
}
|
||||
|
||||
inline void fill_vec(List<StreamerInfo>& a_infos,const std::string& a_type,streamer_info::Type a_si_type) {
|
||||
inline void fill_vec(obj_list<StreamerInfo>& a_infos,const std::string& a_type,streamer_info::Type a_si_type) {
|
||||
unsigned int check = 196608;
|
||||
StreamerInfo* info = new StreamerInfo(std::string("vector<")+a_type+">",4,check);
|
||||
a_infos.push_back(info);
|
||||
@@ -30,7 +30,7 @@ inline int size_VIRTUAL() {return 4;}
|
||||
inline int size_TObject() {return 12;}
|
||||
inline int size_TNamed() {return 28;}
|
||||
|
||||
inline void fill_infos_core(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
inline void fill_infos_core(obj_list<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
// sizeof(TString) = 8 (4 (virtual ~) + 1 + 3 (align))
|
||||
// sizeof(TObject) = 12
|
||||
@@ -358,7 +358,7 @@ inline void fill_infos_core(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
}
|
||||
|
||||
inline void fill_infos_cont(List<StreamerInfo>& a_infos,std::ostream&) {
|
||||
inline void fill_infos_cont(obj_list<StreamerInfo>& a_infos,std::ostream&) {
|
||||
|
||||
// sizeof(TString) = 8 (4 (virtual ~) + 1 + 3 (align))
|
||||
// sizeof(TObject) = 12
|
||||
@@ -438,7 +438,7 @@ inline int size_TAttLine() {return 10;} //12?
|
||||
inline int size_TAttFill() {return 8;}
|
||||
inline int size_TAttMarker() {return 12;}
|
||||
|
||||
inline void fill_infos_graf(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
inline void fill_infos_graf(obj_list<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
//sizeof(Font_t) = 2
|
||||
//sizeof(Style_t) = 2
|
||||
@@ -536,7 +536,7 @@ inline int size_TBranch() {return 264;} //256?
|
||||
inline int size_TLeaf() {return 60;} //52?
|
||||
inline int size_TTree() {return 254;} //240?
|
||||
|
||||
inline void fill_infos_tree(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
inline void fill_infos_tree(obj_list<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
const int size_CHAR = 1;
|
||||
const int size_INT = 4;
|
||||
@@ -1061,7 +1061,7 @@ inline int size_TH1() {return 560;} //568?
|
||||
inline int size_TH2() {return 592;} //600?
|
||||
inline int size_TH2D() {return 604;} //612?
|
||||
|
||||
inline void fill_infos_histo(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
inline void fill_infos_histo(obj_list<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
typedef streamer_basic_type sbt;
|
||||
|
||||
@@ -1561,7 +1561,7 @@ inline void fill_infos_histo(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
}
|
||||
|
||||
inline void fill_infos(List<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
inline void fill_infos(obj_list<StreamerInfo>& a_infos,std::ostream& a_out) {
|
||||
|
||||
fill_infos_core(a_infos,a_out);
|
||||
fill_infos_cont(a_infos,a_out);
|
||||
|
||||
Reference in New Issue
Block a user