hi there,
I am looking at a file with the following data:
$> root-ls -sinfos ./o.root
=== [./o.root] ===
version: 61600
streamer-infos:
StreamerInfo for "Event" version=1 title=""
TString Beg offset= 0 type= 65 size= 24
short I16 offset= 0 type= 2 size= 2
int I32 offset= 0 type= 3 size= 4
long I64 offset= 0 type= 4 size= 8
unsigned short U16 offset= 0 type= 12 size= 2
unsigned int U32 offset= 0 type= 13 size= 4
unsigned long U64 offset= 0 type= 14 size= 8
float F32 offset= 0 type= 5 size= 4
double F64 offset= 0 type= 8 size= 8
TString Str offset= 0 type= 65 size= 24
P3 P3 offset= 0 type= 62 size= 24
short ArrayI16 offset= 0 type= 22 size= 20
int ArrayI32 offset= 0 type= 23 size= 40
long ArrayI64 offset= 0 type= 24 size= 80
unsigned short ArrayU16 offset= 0 type= 32 size= 20
unsigned int ArrayU32 offset= 0 type= 33 size= 40
unsigned long ArrayU64 offset= 0 type= 34 size= 80
float ArrayF32 offset= 0 type= 25 size= 40
double ArrayF64 offset= 0 type= 28 size= 80
int N offset= 0 type= 6 size= 4
short* SliceI16 offset= 0 type= 42 size= 2 [N]
int* SliceI32 offset= 0 type= 43 size= 4 [N]
long* SliceI64 offset= 0 type= 44 size= 8 [N]
unsigned short* SliceU16 offset= 0 type= 52 size= 2 [N]
unsigned int* SliceU32 offset= 0 type= 53 size= 4 [N]
unsigned long* SliceU64 offset= 0 type= 54 size= 8 [N]
float* SliceF32 offset= 0 type= 45 size= 4 [N]
double* SliceF64 offset= 0 type= 48 size= 8 [N]
string StdStr offset= 0 type=500 size= 32
vector<short> StlVecI16 offset= 0 type=500 size= 24
vector<int> StlVecI32 offset= 0 type=500 size= 24
vector<long> StlVecI64 offset= 0 type=500 size= 24
vector<unsigned short> StlVecU16 offset= 0 type=500 size= 24
vector<unsigned int> StlVecU32 offset= 0 type=500 size= 24
vector<unsigned long> StlVecU64 offset= 0 type=500 size= 24
vector<float> StlVecF32 offset= 0 type=500 size= 24
vector<double> StlVecF64 offset= 0 type=500 size= 24
vector<string> StlVecStr offset= 0 type=500 size= 24
TString End offset= 0 type= 65 size= 24
StreamerInfo for "P3" version=1 title=""
int Px offset= 0 type= 3 size= 4
double Py offset= 0 type= 8 size= 8
int Pz offset= 0 type= 3 size= 4
---
Event evt object title (cycle=1)
inspecting it further, I see that the StreamerInfo
version for StlVecXXX
and StlStr
are:
vers[string]= 9
vers[vector<short>]= 9
vers[vector<int>]= 9
vers[vector<long>]= 9
vers[vector<unsigned short>]= 9
vers[vector<unsigned int>]= 9
vers[vector<unsigned long>]= 9
vers[vector<float>]= 9
vers[vector<double>]= 9
vers[vector<string>]= 9
where is this information stored in ROOT? (not the ROOT file, obviously I managed to extract it from that file :P)
and under which conditions is the version subject to be bumped?
are all the versions of all STL containers bumped together? (std::string
, std::vector
, std::set
, std::map
, …)
thanks,
-s
ROOT Version: 6.16/00
Platform: Linux/amd64
Compiler: Not Provided