Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:44

0001 #!/usr/bin/env python
0002 
0003 """ This is script runs all the macros in the local Macros dir
0004 """
0005 
0006 import os
0007 
0008 from ROOT import gROOT
0009 
0010 firstFile = "\"Ideal\""
0011 secondFile = "\"Fake\""
0012 thirdFile = "\"Smear\""
0013 
0014 resonanceType = "Z"
0015 
0016 macrosDir = os.popen("echo $CMSSW_BASE", "r").read().strip()
0017 macrosDir += "/src/MuonAnalysis/MomentumScaleCalibration/test/Macros/"
0018 
0019 gROOT.ProcessLine(".x "+macrosDir+"ComparisonAfterSmearing.cc("+firstFile+", "+secondFile+", "+thirdFile+")")
0020 
0021 
0022