LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "OpDetLookup.h"
Public Member Functions | |
~OpDetLookup () | |
void | AddPhysicalVolume (G4VPhysicalVolume *) |
int | GetOpDet (G4VPhysicalVolume *) |
int | GetOpDet (std::string) |
int | GetN () |
int | FindClosestOpDet (G4VPhysicalVolume *vol, double &Distance) |
Static Public Member Functions | |
static OpDetLookup * | Instance () |
Protected Member Functions | |
OpDetLookup () | |
Private Attributes | |
std::map< std::string, int > | fTheOpDetMap |
int | fTheTopOpDet |
Definition at line 44 of file OpDetLookup.h.
|
inline |
Definition at line 47 of file OpDetLookup.h.
References AddPhysicalVolume(), FindClosestOpDet(), GetN(), GetOpDet(), Instance(), and OpDetLookup().
|
protected |
Definition at line 25 of file OpDetLookup.cxx.
References fTheTopOpDet.
Referenced by Instance(), and ~OpDetLookup().
void larg4::OpDetLookup::AddPhysicalVolume | ( | G4VPhysicalVolume * | volume | ) |
Definition at line 94 of file OpDetLookup.cxx.
References FindClosestOpDet(), and fTheOpDetMap.
Referenced by larg4::OpDetReadoutGeometry::Construct(), and ~OpDetLookup().
int larg4::OpDetLookup::FindClosestOpDet | ( | G4VPhysicalVolume * | vol, |
double & | Distance | ||
) |
Definition at line 55 of file OpDetLookup.cxx.
References geo::OpDetGeo::GetCenter(), geo::GeometryCore::NOpDets(), and geo::GeometryCore::OpDetGeoFromOpDet().
Referenced by AddPhysicalVolume(), and ~OpDetLookup().
int larg4::OpDetLookup::GetN | ( | ) |
Definition at line 116 of file OpDetLookup.cxx.
References fTheTopOpDet.
Referenced by ~OpDetLookup().
int larg4::OpDetLookup::GetOpDet | ( | G4VPhysicalVolume * | TheVolume | ) |
Definition at line 46 of file OpDetLookup.cxx.
Referenced by larg4::OpDetSensitiveDetector::ProcessHits(), and ~OpDetLookup().
int larg4::OpDetLookup::GetOpDet | ( | std::string | TheName | ) |
Definition at line 40 of file OpDetLookup.cxx.
References fTheOpDetMap.
|
static |
Definition at line 31 of file OpDetLookup.cxx.
References OpDetLookup(), and larg4::TheOpDetLookup.
Referenced by larg4::OpDetReadoutGeometry::Construct(), larg4::OpDetSensitiveDetector::OpDetSensitiveDetector(), and ~OpDetLookup().
|
private |
Definition at line 60 of file OpDetLookup.h.
Referenced by AddPhysicalVolume(), and GetOpDet().
|
private |
Definition at line 61 of file OpDetLookup.h.
Referenced by GetN(), and OpDetLookup().