CMS 3D CMS Logo

lat_code_maker.py
Go to the documentation of this file.
1 filename = "basic_lats.txt"
2 
3 with open(filename) as f:
4  lines = f.readlines()
5 
6 for iline, line in enumerate(lines):
7  line = line.strip().split("/")
8  text = "lat_combinations.push_back({ %s, %s, %s });" % (line[0], line[1], line[2])
9  print(text)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47