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

In This Package:

pmtHits.py File Reference

Go to the source code of this file.


Namespaces

namespace  pmtHits

Classes

class  pmtHits::InitAlg

Variables

 pmtHits::_ROOT = ROOT
tuple pmtHits::conf = ApplicationMgr()
tuple pmtHits::pgisvc = PmtGeomInfoSvc("PmtGeomInfoSvc")
tuple pmtHits::app = AppMgr()
tuple pmtHits::initalg = InitAlg("InitAlg")
 pmtHits::ROOT = _ROOT
tuple pmtHits::pmtSvc = initalg.svc("IPmtGeomInfoSvc","PmtGeomInfoSvc")
tuple pmtHits::output_st = raw_input("Choose to plot as contour (default), exact, exact2d: ")
tuple pmtHits::file_st = raw_input("ROOT file to read (default:electron.root): ")
tuple pmtHits::tree_st = raw_input("Tree file to read (default:DetSimValiTree): ")
tuple pmtHits::f = ROOT.TFile(file_st,'READ')
tuple pmtHits::tree = f.Get(tree_st)
list pmtHits::hist
list pmtHits::gr
list pmtHits::gr
list pmtHits::c = []
tuple pmtHits::meter = float(units.meter)
tuple pmtHits::degree = float(units.degree)
tuple pmtHits::entries = tree.GetEntries()
tuple pmtHits::i = tree.LoadTree(j)
tuple pmtHits::nb = tree.GetEntry(j)
 pmtHits::SimHits = tree.SimHitsEntries
 pmtHits::pmtID = tree.sensID
 pmtHits::hitx = tree.hitx
 pmtHits::hity = tree.hity
 pmtHits::hitz = tree.hitz
list pmtHits::site = pmtID[k]
tuple pmtHits::det = ((site<<24)^pmtID[k])
tuple pmtHits::ring = (((site<<24)|(det<<16))^pmtID[k])
tuple pmtHits::col = (((site<<24)|(det<<16)|(ring<<8))^pmtID[k])
tuple pmtHits::pmtGeom = pmtSvc.get(pmtID[k])
tuple pmtHits::adDetector = pmtGeom.parentDetector()
tuple pmtHits::pmtDetector = pmtGeom.detectorElement()
tuple pmtHits::pmtHit = gbl.Gaudi.XYZPoint(hitx[k],hity[k],hitz[k])
tuple pmtHits::gpHit = pmtDetector.geometry()
tuple pmtHits::lpHit = adDetector.geometry()
tuple pmtHits::x = lpHit.x()
tuple pmtHits::y = lpHit.y()
tuple pmtHits::z = lpHit.z()
tuple pmtHits::rho = ROOT.TMath.Sqrt(x*x + y*y)
int pmtHits::phi = 2
tuple pmtHits::NPoint = int(hist[idx].GetEntries())
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:56:26 2011 for DetSimValidation by doxygen 1.4.7