I get
[code]root [0] .L TElectron.C+
root [1] .L TJet.C+
root [2] .L Vertex.C+
root [3] .L TriggerInfo.C+
root [4] .L TriggerMap.C+
root [5] .L TruthParticle.C+
root [6] .L Muon.C+
root [7] .L TEvent.C+
root [8] .L MuL1.C+
root [9] .L TMET.C+
root [10] TClass::GetClass("TruthParticle")->GetStreamerInfo()->ls();
StreamerInfo for class: TruthParticle, version=6, checksum=0x2004d9d0
TObject BASE offset= 0 type=66 Basic ROOT object
Float_t m_pt offset= 12 type= 5
Float_t m_m offset= 16 type= 5
Float_t m_eta offset= 20 type= 5
Float_t m_phi offset= 24 type= 5
Int_t m_status offset= 28 type= 3
Int_t m_barcode offset= 32 type= 3
vector<int> m_parents offset= 36 type=300 ,stl=1, ctype=3,
vector<int> m_children offset= 48 type=300 ,stl=1, ctype=3,
Int_t m_pdgId offset= 60 type= 3
Float_t m_charge offset= 64 type= 5
Float_t m_vx_x offset= 68 type= 5
Float_t m_vx_y offset= 72 type= 5
Float_t m_vx_z offset= 76 type= 5
vector<int> m_child_index offset= 80 type=300 ,stl=1, ctype=3,
vector<int> m_parent_index offset= 92 type=300 ,stl=1, ctype=3,
i= 0, TObject type= 66, offset= 0, len=1, method=0
i= 1, m_pt type= 25, offset= 12, len=4, method=0
i= 2, m_status type= 23, offset= 28, len=2, method=0
i= 3, m_parents type=300, offset= 36, len=1, method=0
i= 4, m_children type=300, offset= 48, len=1, method=0
i= 5, m_pdgId type= 3, offset= 60, len=1, method=0
i= 6, m_charge type= 25, offset= 64, len=4, method=0
i= 7, m_child_index type=300, offset= 80, len=1, method=0
i= 8, m_parent_index type=300, offset= 92, len=1, method=0
[/code]
and
[code]root [0] f=new TFile("output.root")
Warning in <TClass::TClass>: no dictionary for class TEvent is available
Warning in <TClass::TClass>: no dictionary for class TriggerInfo is available
Warning in <TClass::TClass>: no dictionary for class TMET is available
Warning in <TClass::TClass>: no dictionary for class Muon is available
Warning in <TClass::TClass>: no dictionary for class Vertex is available
Warning in <TClass::TClass>: no dictionary for class TJet is available
Warning in <TClass::TClass>: no dictionary for class MuL1 is available
Warning in <TClass::TClass>: no dictionary for class TruthParticle is available
Warning in <TClass::TClass>: no dictionary for class TElectron is available
Warning in <TClass::TClass>: no dictionary for class TriggerMap is available
(class TFile*)0x9973d38
root [1] TClass::GetClass("TruthParticle")->GetStreamerInfo()->ls();
StreamerInfo for class: TruthParticle, version=6, checksum=0xc566e920
TObject BASE offset= 0 type=66 Basic ROOT object
Float_t m_pt offset= 12 type= 5
Float_t m_m offset= 16 type= 5
Float_t m_eta offset= 20 type= 5
Float_t m_phi offset= 24 type= 5
Int_t m_status offset= 28 type= 3
Int_t m_barcode offset= 32 type= 3
vector<Int_t> m_parents offset= 36 type=300 ,stl=1, ctype=3,
vector<Int_t> m_children offset= 48 type=300 ,stl=1, ctype=3,
Int_t m_pdgId offset= 60 type= 3
Float_t m_charge offset= 64 type= 5
Float_t m_vx_x offset= 68 type= 5
Float_t m_vx_y offset= 72 type= 5
Float_t m_vx_z offset= 76 type= 5
vector<Int_t> m_child_index offset= 80 type=300 ,stl=1, ctype=3,
vector<Int_t> m_parent_index offset= 92 type=300 ,stl=1, ctype=3,
i= 0, TObject type= 66, offset= 0, len=1, method=0
i= 1, m_pt type= 5, offset= 12, len=1, method=0
i= 2, m_m type= 5, offset= 16, len=1, method=0
i= 3, m_eta type= 5, offset= 20, len=1, method=0
i= 4, m_phi type= 5, offset= 24, len=1, method=0
i= 5, m_status type= 3, offset= 28, len=1, method=0
i= 6, m_barcode type= 3, offset= 32, len=1, method=0
i= 7, m_parents type=300, offset= 36, len=1, method=0
i= 8, m_children type=300, offset= 48, len=1, method=0
i= 9, m_pdgId type= 3, offset= 60, len=1, method=0
i=10, m_charge type= 5, offset= 64, len=1, method=0
i=11, m_vx_x type= 5, offset= 68, len=1, method=0
i=12, m_vx_y type= 5, offset= 72, len=1, method=0
i=13, m_vx_z type= 5, offset= 76, len=1, method=0
i=14, m_child_index type=300, offset= 80, len=1, method=0
i=15, m_parent_index type=300, offset= 92, len=1, method=0
[/code]
I get
[code]root [0] .L TElectron.C+
root [1] .L TJet.C+
root [2] .L Vertex.C+
root [3] .L TriggerInfo.C+
root [4] .L TriggerMap.C+
root [5] .L TruthParticle.C+
root [6] .L Muon.C+
root [7] .L TEvent.C+
root [8] .L MuL1.C+
root [9] .L TMET.C+
root [10] TClass::GetClass(“TruthParticle”)->GetStreamerInfo()->ls();
StreamerInfo for class: TruthParticle, version=6, checksum=0x2004d9d0
TObject BASE offset= 0 type=66 Basic ROOT object
Float_t m_pt offset= 12 type= 5
Float_t m_m offset= 16 type= 5
Float_t m_eta offset= 20 type= 5
Float_t m_phi offset= 24 type= 5
Int_t m_status offset= 28 type= 3
Int_t m_barcode offset= 32 type= 3
vector m_parents offset= 36 type=300 ,stl=1, ctype=3,
vector m_children offset= 48 type=300 ,stl=1, ctype=3,
Int_t m_pdgId offset= 60 type= 3
Float_t m_charge offset= 64 type= 5
Float_t m_vx_x offset= 68 type= 5
Float_t m_vx_y offset= 72 type= 5
Float_t m_vx_z offset= 76 type= 5
vector m_child_index offset= 80 type=300 ,stl=1, ctype=3,
vector m_parent_index offset= 92 type=300 ,stl=1, ctype=3,
i= 0, TObject type= 66, offset= 0, len=1, method=0
i= 1, m_pt type= 25, offset= 12, len=4, method=0
i= 2, m_status type= 23, offset= 28, len=2, method=0
i= 3, m_parents type=300, offset= 36, len=1, method=0
i= 4, m_children type=300, offset= 48, len=1, method=0
i= 5, m_pdgId type= 3, offset= 60, len=1, method=0
i= 6, m_charge type= 25, offset= 64, len=4, method=0
i= 7, m_child_index type=300, offset= 80, len=1, method=0
i= 8, m_parent_index type=300, offset= 92, len=1, method=0
[/code]
and
[code]root [0] f=new TFile(“output.root”)
Warning in TClass::TClass: no dictionary for class TEvent is available
Warning in TClass::TClass: no dictionary for class TriggerInfo is available
Warning in TClass::TClass: no dictionary for class TMET is available
Warning in TClass::TClass: no dictionary for class Muon is available
Warning in TClass::TClass: no dictionary for class Vertex is available
Warning in TClass::TClass: no dictionary for class TJet is available
Warning in TClass::TClass: no dictionary for class MuL1 is available
Warning in TClass::TClass: no dictionary for class TruthParticle is available
Warning in TClass::TClass: no dictionary for class TElectron is available
Warning in TClass::TClass: no dictionary for class TriggerMap is available
(class TFile*)0x9973d38
root [1] TClass::GetClass(“TruthParticle”)->GetStreamerInfo()->ls();
StreamerInfo for class: TruthParticle, version=6, checksum=0xc566e920
TObject BASE offset= 0 type=66 Basic ROOT object
Float_t m_pt offset= 12 type= 5
Float_t m_m offset= 16 type= 5
Float_t m_eta offset= 20 type= 5
Float_t m_phi offset= 24 type= 5
Int_t m_status offset= 28 type= 3
Int_t m_barcode offset= 32 type= 3
vector<Int_t> m_parents offset= 36 type=300 ,stl=1, ctype=3,
vector<Int_t> m_children offset= 48 type=300 ,stl=1, ctype=3,
Int_t m_pdgId offset= 60 type= 3
Float_t m_charge offset= 64 type= 5
Float_t m_vx_x offset= 68 type= 5
Float_t m_vx_y offset= 72 type= 5
Float_t m_vx_z offset= 76 type= 5
vector<Int_t> m_child_index offset= 80 type=300 ,stl=1, ctype=3,
vector<Int_t> m_parent_index offset= 92 type=300 ,stl=1, ctype=3,
i= 0, TObject type= 66, offset= 0, len=1, method=0
i= 1, m_pt type= 5, offset= 12, len=1, method=0
i= 2, m_m type= 5, offset= 16, len=1, method=0
i= 3, m_eta type= 5, offset= 20, len=1, method=0
i= 4, m_phi type= 5, offset= 24, len=1, method=0
i= 5, m_status type= 3, offset= 28, len=1, method=0
i= 6, m_barcode type= 3, offset= 32, len=1, method=0
i= 7, m_parents type=300, offset= 36, len=1, method=0
i= 8, m_children type=300, offset= 48, len=1, method=0
i= 9, m_pdgId type= 3, offset= 60, len=1, method=0
i=10, m_charge type= 5, offset= 64, len=1, method=0
i=11, m_vx_x type= 5, offset= 68, len=1, method=0
i=12, m_vx_y type= 5, offset= 72, len=1, method=0
i=13, m_vx_z type= 5, offset= 76, len=1, method=0
i=14, m_child_index type=300, offset= 80, len=1, method=0
i=15, m_parent_index type=300, offset= 92, len=1, method=0
[/code]