1 from __future__
import print_function
5 from ROOT
import gSystem, TFile
8 gSystem.Load(
"libFWCoreFWLite.so")
9 ROOT.FWLiteEnabler.enable()
12 gSystem.Load(
"libIOPoolTFileAdaptor")
17 theFile = TFile.Open(
"castor:/castor/cern.ch/cms/store/CSA06/CSA06-106-os-Jets-0/AOD/CMSSW_1_0_6-AODSIM-H15a59ba7b4c3d9e291172f60a399301f/1025/96C3197B-0264-DB11-9A9C-00304885AD72.root")
21 print(
"==============================")
22 print(
"Loading event tree")
23 events = EventTree(theFile)
25 print(
"Start looping over some events")
27 photons = event.photons
28 print(
" Number of photons in event %i: %i" % (event, len(photons)))
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)