Namespaces | Functions | Variables
POTSpillRate.py File Reference

Go to the source code of this file.

Namespaces

 POTSpillRate
 

Functions

def POTSpillRate.get_spills (day, deltaDay, beam)
 
def POTSpillRate.num_spills_between (t0, t1, spills)
 
def POTSpillRate.main ()
 

Variables

 POTSpillRate.view = sys.argv[1]
 
 POTSpillRate.beam = str("numi")
 
int POTSpillRate.ndays = -1
 
int POTSpillRate.interval = -1
 
string POTSpillRate.BASE_DIR = "/nusoft/app/web/htdoc/nova/datacheck/nearline/data/"
 
 POTSpillRate.beamStruct = BeamStruct()
 
 POTSpillRate.f = TFile(BASE_DIR + 'POTSpillRateDay.root','RECREATE')
 
 POTSpillRate.tree = TTree('BeamMetrics','POTtree')