# Import everything from ROOT import ROOT ROOT.gROOT.Macro("rootlogon.C") # Import stuff from FWLite import sys from DataFormats.FWLite import Events, Handle ROOT.gSystem.Load('libCondFormatsJetMETObjects') ROOT.gSystem.Load('libPhysicsToolsUtilities') from PyFWLiteJetColl import PyFWLiteJetColl, printRawColl from HistsGroomed import HistsGroomed from TrigHelper import TrigHelper trigHelper = TrigHelper() ############################# # Utility for finding bin ############################# def findBin( x, bins ) : for ibin in xrange(len(bins) - 1) : if x >= bins[ibin] and x < bins[ibin+1] : return ibin return None ############################# # Get the input files, # and split them to increase
# Import everything from ROOT import ROOT ROOT.gROOT.Macro("rootlogon.C") # Import stuff from FWLite import sys from DataFormats.FWLite import Events, Handle ROOT.gSystem.Load('libCondFormatsJetMETObjects') ROOT.gSystem.Load('libPhysicsToolsUtilities') from PyFWLiteJetColl import PyFWLiteJetColl, printRawColl, findJetInColl from HistsGroomed import HistsGroomed from TrigHelper import TrigHelper trigHelper = TrigHelper() ############################# # Utility for finding bin ############################# def findBin( x, bins ) : for ibin in xrange(len(bins) - 1) : if x >= bins[ibin] and x < bins[ibin+1] : return ibin return None ############################# # Get the input files,
# Import everything from ROOT import ROOT ROOT.gROOT.Macro("rootlogon.C") # Import stuff from FWLite import sys from DataFormats.FWLite import Events, Handle ROOT.gSystem.Load('libCondFormatsJetMETObjects') ROOT.gSystem.Load('libPhysicsToolsUtilities') from PyFWLiteJetColl import PyFWLiteJetColl, printRawColl from HistsGroomed import HistsGroomed from TrigHelper import TrigHelper trigHelper = TrigHelper() ############################# # Utility for finding bin ############################# def findBin( x, bins ) : for ibin in xrange(len(bins) - 1) : if x >= bins[ibin] and x < bins[ibin+1] : return ibin return None ############################# # Get the input files,