Classes | |
class | PmtInfoExampleAlg |
Functions | |
def | configure |
def | run |
Variables | |
int | TH1F = 1 |
int | TH2F = 2 |
gPad = gbl.gPad | |
TimeStamp = gbl.TimeStamp | |
FeeChannelId = gbl.DayaBay.FeeChannelId | |
AdPmtSensor = gbl.DayaBay.AdPmtSensor | |
Detector = gbl.DayaBay.Detector | |
ServiceMode = gbl.ServiceMode | |
Site = gbl.Site |
def PmtInfoExample::configure | ( | argv = [] |
) |
Example of processing raw data
Definition at line 168 of file PmtInfoExample.py.
00168 : 00169 """ Example of processing raw data """ 00170 00171 # Setup root file for output histograms 00172 from StatisticsSvc.StatisticsSvcConf import StatisticsSvc 00173 statsSvc = StatisticsSvc() 00174 statsSvc.Output = {"file1":"pmtInfoResult.root"} 00175 00176 # Setup Service to get PMT position in detectors 00177 from DetHelpers.DetHelpersConf import PmtGeomInfoSvc 00178 pgiSvc = PmtGeomInfoSvc() 00179 pgiSvc.StreamItems = ["/dd/Structure/DayaBay"] 00180 00181 return 00182 def run(app):
def PmtInfoExample::run | ( | app | ) |
Configure and add the algorithm to job
Definition at line 183 of file PmtInfoExample.py.
00183 : 00184 ''' 00185 Configure and add the algorithm to job 00186 ''' 00187 app.ExtSvc += ["StatisticsSvc","StaticCableSvc","PmtGeomInfoSvc"] 00188 myAlg = PmtInfoExampleAlg("MyPmtInfoExampleAlg") 00189 app.addAlgorithm(myAlg) 00190 pass 00191
int PmtInfoExample::TH1F = 1 [static] |
Definition at line 19 of file PmtInfoExample.py.
int PmtInfoExample::TH2F = 2 [static] |
Definition at line 20 of file PmtInfoExample.py.
PmtInfoExample::gPad = gbl.gPad [static] |
Definition at line 21 of file PmtInfoExample.py.
PmtInfoExample::TimeStamp = gbl.TimeStamp [static] |
Definition at line 22 of file PmtInfoExample.py.
Definition at line 23 of file PmtInfoExample.py.
Definition at line 24 of file PmtInfoExample.py.
PmtInfoExample::Detector = gbl.DayaBay.Detector [static] |
Definition at line 25 of file PmtInfoExample.py.
PmtInfoExample::ServiceMode = gbl.ServiceMode [static] |
Definition at line 26 of file PmtInfoExample.py.
PmtInfoExample::Site = gbl.Site [static] |
Definition at line 27 of file PmtInfoExample.py.