Classes | Functions
checkCalibrationCSV Namespace Reference

Classes

class  NovaCalibTest
 

Functions

def usage ()
 
def main ()
 

Function Documentation

def checkCalibrationCSV.main ( )

1D plots hits vs w //

Definition at line 204 of file checkCalibrationCSV.py.

References if(), print, and usage().

204 def main():
205  if(len(sys.argv)<2):
206  usage()
207  return
208 
209  newDir=sys.argv[1]
210  print("Using files from: "+newDir)
211  nct = NovaCalibTest(newDir)
212  nct.checkAbsRunCoverage()
213  nct.checkAttenRunCoverage()
214  nct.checkAbsFilesForTrailingCommas()
215  nct.checkAttenFilesForTrailingCommas()
216 
217  nct.printSummary()
218  return nct.badMissingRuns+nct.badTrailingCommas
219 
if(dump)
bool print
def checkCalibrationCSV.usage ( )

Definition at line 10 of file checkCalibrationCSV.py.

References print.

Referenced by main().

10 def usage():
11  print("Usage:\n"+sys.argv[0]+" <new dir> <old dir>[Optional]")
12 
bool print