ATLAS Offline Software
Functions | Variables
dumpTgcDigiJitter Namespace Reference

Functions

def setupArgParser ()
 

Variables

def args = setupArgParser().parse_args()
 
 resolver = PathResolver()
 
 resolvedInFile = resolver.find_file(args.inFile, "DATAPATH")
 
list jitterFields = []
 translate the station name indices into the string staiton name More...
 
list tokens = [x.strip() for x in line.split(" ") if len(x.strip())]
 
list angle = tokens[0]
 
list nBins = tokens[1]
 
list timeJitters = tokens[2:]
 
string jitterEntry
 

Function Documentation

◆ setupArgParser()

def dumpTgcDigiJitter.setupArgParser ( )

Definition at line 3 of file dumpTgcDigiJitter.py.

3 def setupArgParser():
4  from argparse import ArgumentParser
5 
6  parser = ArgumentParser()
7  parser.add_argument("--inFile", help="Input file to be translated",
8  default="TGC_Digitization_timejitter.dat")
9  parser.add_argument("--outFile", help="Output JSON file",
10  default="TGC_Digitization_timejitter.json")
11  return parser
12 

Variable Documentation

◆ angle

list dumpTgcDigiJitter.angle = tokens[0]

Definition at line 28 of file dumpTgcDigiJitter.py.

◆ args

def dumpTgcDigiJitter.args = setupArgParser().parse_args()

Definition at line 14 of file dumpTgcDigiJitter.py.

◆ jitterEntry

string dumpTgcDigiJitter.jitterEntry
Initial value:
1 = "\n".join([ " {",
2  " \"angle\" : {angle},".format(angle = angle),
3  " \"nBins\" : {nBins},".format(nBins = nBins),
4  " \"values\" : [{timeJitters}]".format(timeJitters = ",".join(timeJitters)),
5  " }"])

Definition at line 31 of file dumpTgcDigiJitter.py.

◆ jitterFields

list dumpTgcDigiJitter.jitterFields = []

translate the station name indices into the string staiton name

Definition at line 23 of file dumpTgcDigiJitter.py.

◆ nBins

list dumpTgcDigiJitter.nBins = tokens[1]

Definition at line 29 of file dumpTgcDigiJitter.py.

◆ resolvedInFile

dumpTgcDigiJitter.resolvedInFile = resolver.find_file(args.inFile, "DATAPATH")

Definition at line 18 of file dumpTgcDigiJitter.py.

◆ resolver

dumpTgcDigiJitter.resolver = PathResolver()

Definition at line 16 of file dumpTgcDigiJitter.py.

◆ timeJitters

list dumpTgcDigiJitter.timeJitters = tokens[2:]

Definition at line 30 of file dumpTgcDigiJitter.py.

◆ tokens

list dumpTgcDigiJitter.tokens = [x.strip() for x in line.split(" ") if len(x.strip())]

Definition at line 26 of file dumpTgcDigiJitter.py.

vtune_athena.format
format
Definition: vtune_athena.py:14
dumpTgcDigiJitter.setupArgParser
def setupArgParser()
Definition: dumpTgcDigiJitter.py:3
TCS::join
std::string join(const std::vector< std::string > &v, const char c=',')
Definition: Trigger/TrigT1/L1Topo/L1TopoCommon/Root/StringUtils.cxx:10