Classes | |
class | CaptureVertexAlg |
Functions | |
def | configure |
def | run |
Variables | |
int | TH1F = 1 |
int | TH2F = 2 |
Detector = gbl.DayaBay.Detector | |
AdPmtSensor = gbl.DayaBay.AdPmtSensor | |
ServiceMode = gbl.ServiceMode | |
ReconStatus = gbl.ReconStatus | |
string | acuAxis = 'A' |
float | scale = 1.0 |
def ACUNeutronCaptureVertex::configure | ( | argv = [] |
) |
Configure this module with ACU unit
Definition at line 235 of file ACUNeutronCaptureVertex.py.
00235 : 00236 """Configure this module with ACU unit""" 00237 import sys, getopt 00238 opts,args = getopt.getopt(argv,"a:s:;") 00239 for opt,arg in opts: 00240 if opt == "-a": 00241 global acuAxis 00242 acuAxis = arg 00243 print acuAxis 00244 if opt == "-s": 00245 global scale 00246 scale = float(arg) 00247 print scale 00248 00249 00250 from StatisticsSvc.StatisticsSvcConf import StatisticsSvc 00251 statsSvc = StatisticsSvc() 00252 statsSvc.Output ={"file0":"CaptureVertex.root"} 00253 import DataSvc 00254 DataSvc.Configure() 00255 00256 return 00257 def run(app):
def ACUNeutronCaptureVertex::run | ( | app | ) |
Configure and add an algorithm to job
Definition at line 258 of file ACUNeutronCaptureVertex.py.
00258 : 00259 ''' 00260 Configure and add an algorithm to job 00261 ''' 00262 app.ExtSvc += ["StaticCableSvc", "StatisticsSvc"] 00263 captureVertexAlg = CaptureVertexAlg("MyCaptureVertex") 00264 app.addAlgorithm(captureVertexAlg) 00265 pass 00266
int ACUNeutronCaptureVertex::TH1F = 1 [static] |
Definition at line 18 of file ACUNeutronCaptureVertex.py.
int ACUNeutronCaptureVertex::TH2F = 2 [static] |
Definition at line 19 of file ACUNeutronCaptureVertex.py.
Definition at line 23 of file ACUNeutronCaptureVertex.py.
Definition at line 24 of file ACUNeutronCaptureVertex.py.
Definition at line 25 of file ACUNeutronCaptureVertex.py.
Definition at line 26 of file ACUNeutronCaptureVertex.py.
string ACUNeutronCaptureVertex::acuAxis = 'A' [static] |
Definition at line 232 of file ACUNeutronCaptureVertex.py.
float ACUNeutronCaptureVertex::scale = 1.0 [static] |
Definition at line 233 of file ACUNeutronCaptureVertex.py.