/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Variables
DetHelpers::pmtCoords Namespace Reference

Classes

class  InitAlg

Variables

 _ROOT = ROOT
tuple conf = ApplicationMgr()
tuple pgisvc = PmtGeomInfoSvc("PmtGeomInfoSvc")
tuple app = AppMgr()
tuple initalg = InitAlg("InitAlg")
 ROOT = _ROOT
tuple pmtSvc = initalg.svc("IPmtGeomInfoSvc","PmtGeomInfoSvc")
int site = 0x01
 From here on out, we treat this like a normal ROOT script.
int ad = 1
int ring = 1
int col = 1
tuple pmtid = (site<<24)
string pmtPath = "/dd/Structure/AdPmtStructure/db-ad/db-ad1-ring8-column1"
tuple pmtGeom_1_1 = pmtSvc.get(pmtid)
tuple pmtGeom_8_1 = pmtSvc.get(pmtPath)
tuple pmtPos_1_1 = pmtGeom_1_1.localPosition()
tuple pmtPos_8_1 = pmtGeom_8_1.localPosition()
tuple pmtGPos_1_1 = pmtGeom_1_1.globalPosition()
tuple pmtGPos_8_1 = pmtGeom_8_1.globalPosition()
tuple adDetector = pmtGeom_1_1.parentDetector()
tuple adName = adDetector.name()
tuple origin = gbl.Gaudi.XYZPoint(0,0,0)
tuple adPos = adDetector.geometry()
int nRings = 8
int nColumns = 24
 nPMTs = nRings*nColumns
tuple pmtHist
tuple meter = float(units.meter)
tuple pos = pmtSvc.get(pmtid)
tuple point = (ring-1)

Variable Documentation

Definition at line 16 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::conf = ApplicationMgr()

Definition at line 27 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pgisvc = PmtGeomInfoSvc("PmtGeomInfoSvc")

Definition at line 29 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::app = AppMgr()

Definition at line 52 of file pmtCoords.py.

Definition at line 56 of file pmtCoords.py.

Definition at line 63 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pmtSvc = initalg.svc("IPmtGeomInfoSvc","PmtGeomInfoSvc")

Definition at line 68 of file pmtCoords.py.

From here on out, we treat this like a normal ROOT script.

Definition at line 74 of file pmtCoords.py.

Definition at line 75 of file pmtCoords.py.

Definition at line 76 of file pmtCoords.py.

Definition at line 77 of file pmtCoords.py.

Definition at line 79 of file pmtCoords.py.

string DetHelpers::pmtCoords::pmtPath = "/dd/Structure/AdPmtStructure/db-ad/db-ad1-ring8-column1"

Definition at line 82 of file pmtCoords.py.

Definition at line 85 of file pmtCoords.py.

Definition at line 86 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pmtPos_1_1 = pmtGeom_1_1.localPosition()

Definition at line 89 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pmtPos_8_1 = pmtGeom_8_1.localPosition()

Definition at line 90 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pmtGPos_1_1 = pmtGeom_1_1.globalPosition()

Definition at line 100 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pmtGPos_8_1 = pmtGeom_8_1.globalPosition()

Definition at line 101 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::adDetector = pmtGeom_1_1.parentDetector()

Definition at line 108 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::adName = adDetector.name()

Definition at line 109 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::origin = gbl.Gaudi.XYZPoint(0,0,0)

Definition at line 111 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::adPos = adDetector.geometry()

Definition at line 113 of file pmtCoords.py.

Definition at line 125 of file pmtCoords.py.

Definition at line 126 of file pmtCoords.py.

Definition at line 127 of file pmtCoords.py.

Initial value:
00001 ROOT.TH3F("pmtHist",
00002                     "PMT Positions",
00003                     200,-2.5,2.5,
00004                     200,-2.5,2.5,
00005                     200,-2.5,2.5)

Definition at line 128 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::meter = float(units.meter)

Definition at line 136 of file pmtCoords.py.

tuple DetHelpers::pmtCoords::pos = pmtSvc.get(pmtid)

Definition at line 140 of file pmtCoords.py.

Definition at line 142 of file pmtCoords.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:27 for DetHelpers by doxygen 1.7.4