ATLAS Offline Software
getEFTrackSample.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 
4 
5 
6 import argparse
7 
8 # Parsing arguments
9 parser = argparse.ArgumentParser( description = "MakePlots.py options:" )
10 parser.add_argument( "-s", "--sampleName", help="Short name of the sample to get" )
11 
12 MyArgs = parser.parse_args()
13 sampleName = MyArgs.sampleName
14 
15 
17 samplesDict = {
18  "ttbar_pu200" : [
19  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/RDO/ATLAS-P2-RUN4-03-00-01/mc21_14TeV.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.recon.RDO.e8514_s4345_r15583_tid39626672_00/RDO.39626672._001121.pool.root.1",
20  ],
21  "ttbar_pu200_noFPT" : [
22  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/InDetTrackPerfMon/input_RDOs/mc21_14TeV.601229.PhPy8EG_A14_ttbar_hdamp258p75_SingleLep.recon.RDO.e8514_s4422_r16130_tid41929901_00/RDO.41929901._000470.pool.root.1",
23  ],
24  "Zee_pu200" : [
25  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/InDetTrackPerfMon/input_RDOs/mc21_14TeV.601189.PhPy8EG_AZNLO_Zee.recon.RDO.e8557_s4422_r16130_tid41978797_00/RDO.41978797._000284.pool.root.1",
26  ],
27  "Zmumu_pu200" : [
28  "/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/InDetTrackPerfMon/input_RDOs/mc21_14TeV.601190.PhPy8EG_AZNLO_Zmumu.recon.RDO.e8557_s4422_r16130_tid41929981_00/RDO.41929981._000001.pool.root.1",
29  ],
30 }
31 
32 if sampleName in samplesDict:
33  print( ','.join( samplesDict[ sampleName ] ) )
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:26
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10