ATLAS Offline Software
EgEfficiencyCorr_testFixedInput.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 # Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 import subprocess
4 
5 if __name__ == "__main__":
6 
7  recFile = "ElectronEfficiencyCorrection/2015_2017/rel21.2/Summer2017_Prerec_v1/offline/efficiencySF.offline.LooseAndBLayerLLH_d0z0_v13.root"
8  models = ["FULL", "COMBMCTOYS"]
9  etas = ["-2.469", "0.0", "2.469"]
10  pts = ["7001", "10001", "20001", "100001"]
11  runnumbers = ["999888"]
12  for runnumber in runnumbers:
13  for model in models:
14  for eta in etas:
15  for pt in pts:
16  cmdopts = ["EgEfficiencyCorr_testEgEfficiencyCorrWithoutFile",
17  "-f" + recFile,
18  "-tFullSim",
19  "-c"+model,
20  "-r" + runnumber,
21  "-e" + eta,
22  "-p" + pt]
23  rawoutput = subprocess.check_output(
24  cmdopts, universal_newlines=True)
25  maplines = rawoutput.split('\n')
26  print(str(maplines[1]))
Muon::print
std::string print(const MuPatSegment &)
Definition: MuonTrackSteering.cxx:28
str
Definition: BTagTrackIpAccessor.cxx:11