Difference: WISComputingGuide (22 vs. 23)

Revision 232008-01-10 - OhadSilbert

Line: 1 to 1
 

WIS Computing guide

Atlas Terms on Babylon

Line: 1029 to 1029
 and a user guide can be found at:
http://root.cern.ch/root/html/ClassHierarchy.html
Added:
>
>

Using Tree Friend

It is convinient to use tree friends when dumping data in HighPtView into different files (for example trigger/Truth/Reco). In the following example The CollectionTree has inside keys for the Truth tree and the Reco tree.
TChain * ch_Reco = new TChain("RecoTree");
ch_Reco->Add("RecoFiles*");
TChain * ch_CT = new TChain("CollectionTree");
ch_CT->Add("CTFiles*");
TChain * ch_Truth = new TChain("TruthTree");
ch_Truth->Add("TruthFiles*");
ch_CT->AddFriend(ch_Truth);
ch_CT->AddFriend(ch_Reco);
ch_CT->Draw("var1");
ch_CT->Draw("RecoTree.var2-TruthTree.var3");
 

Bibliography

https://twiki.cern.ch/twiki/bin/view/Atlas/WorkBook
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback