Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
16 samplesDict = {
17  "ttbar_pu200" : [
18  "/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",
19  ],
20 }
21 
22 if sampleName in samplesDict:
23  print( ','.join( samplesDict[ sampleName ] ) )
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:25
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10