File indexing completed on 2024-04-06 12:22:45
0001
0002
0003 """ This is script runs the resolution macros
0004 """
0005
0006 import os
0007
0008 from ROOT import gROOT
0009
0010 firstFile = "\"0\""
0011 secondFile = "\"2\""
0012 resonanceType = "JPsi"
0013
0014 macrosDir = os.popen("echo $CMSSW_BASE", "r").read().strip()
0015 macrosDir += "/src/MuonAnalysis/MomentumScaleCalibration/test/Macros/"
0016
0017
0018
0019
0020
0021 gROOT.ProcessLine(".x "+macrosDir+"ResolDraw.cc++("+firstFile+", false, 100, 1, 2)")
0022 gROOT.ProcessLine(".x "+macrosDir+"ResolDraw.cc++("+secondFile+", false, 100, 1, 2)")
0023 gROOT.ProcessLine(".x "+macrosDir+"ResolCompare.cc("+firstFile+", "+secondFile+", true)")