Skip to content

Instantly share code, notes, and snippets.

@ndawe
Created January 22, 2013 20:11
Show Gist options
  • Save ndawe/4597982 to your computer and use it in GitHub Desktop.
Save ndawe/4597982 to your computer and use it in GitHub Desktop.
roosh group.phys-higgs.167777_057599.161617._00003.hhskim.mc12_p1130_hadhad.root
WARNING:ROOT.TClass.TClass] no dictionary for class AttributeListLayout is available
WARNING:ROOT.TClass.TClass] no dictionary for class pair<string,string> is available
Welcome to the ROOSH terminal
type help for help
group.phys..adhad.root > ls
cutflow_event tau
cutflow_event_mc_weight tauMeta
group.phys..adhad.root > load tau
group.phys..adhad.root > tau.to_array(['jet_pt'])
[([93599.7109375, 49419.5078125, 35575.90625, 11279.26953125],)
([76206.828125, 69566.7265625, 35923.71875, 26973.205078125, 13272.8984375],)
([89028.75, 88955.21875, 55916.58984375, 39297.29296875, 12533.71484375, 12160.3466796875],)
...,
([88673.21875, 58053.9609375, 49810.87890625, 30025.5234375, 16364.3974609375, 12982.78515625, 11172.568359375],)
([212989.21875, 69990.25, 64627.3984375, 56965.16015625, 35652.80859375, 23102.06640625, 21671.48828125, 17818.48828125, 16918.419921875, 17034.509765625, 15622.0380859375, 15990.2080078125, 12369.4697265625, 13734.4833984375, 14561.90234375, 14273.150390625, 14141.369140625, 14413.91796875, 14695.0, 12253.6142578125, 10471.1171875],)
([115694.9140625, 108191.0, 46614.609375, 32712.853515625, 14141.7392578125, 14622.53125, 15182.9892578125, 15753.55078125, 14715.2001953125],)]
group.phys..adhad.root > tau.GetBranch('jet_pt').GetClassName()
vector<float>
group.phys..adhad.root >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment