|
Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/geom_svc/GeomSvc.h>
Public Member Functions | |
| void | init () |
| Initialization, either from MySQL or from ascii file. More... | |
| void | initPlaneDirect () |
| void | initPlaneDbSvc () |
| void | initWireLUT () |
| void | loadCalibration (const std::string &calibrateFile) |
| void | loadAlignment (const std::string &alignmentFile_chamber, const std::string &alignmentFile_hodo, const std::string &alignmentFile_prop) |
| void | loadMilleAlignment (const std::string &alignmentFile_mille) |
| void | close () |
| Close the geometry service before exit or starting a new one. More... | |
| void | toLocalDetectorName (std::string &detectorName, int &eID) |
| Convert the official detectorName to local detectorName. More... | |
| void | setDetectorX0 (const std::string detectorName, const double val) |
| TODO temp solution to overwrite the y0 of a plane. More... | |
| void | setDetectorY0 (const std::string detectorName, const double val) |
| void | setDetectorZ0 (const std::string detectorName, const double val) |
| double | getDetectorX0 (const std::string detectorName) const |
| double | getDetectorY0 (const std::string detectorName) const |
| double | getDetectorZ0 (const std::string detectorName) const |
| int | getDetectorID (const std::string &detectorName) const |
| Get the plane position. More... | |
| std::string | getDetectorName (const int &detectorID) const |
| std::vector< int > | getDetectorIDs (std::string pattern) |
| bool | findPatternInDetector (int detectorID, std::string pattern) |
| Plane | getPlane (int detectorID) const |
| double | getPlanePosition (int detectorID) const |
| double | getPlaneSpacing (int detectorID) const |
| double | getPlaneOverlap (int detectorID) const |
| double | getCellWidth (int detectorID) |
| double | getCostheta (int detectorID) const |
| double | getSintheta (int detectorID) const |
| double | getTantheta (int detectorID) const |
| double | getPlaneScaleX (int detectorID) |
| double | getPlaneScaleY (int detectorID) |
| double | getPlaneScaleZ (int detectorID) |
| int | getTriggerLv (int detectorID) |
| int | getPlaneNElements (int detectorID) |
| double | getPlaneResolution (int detectorID) const |
| double | getPlaneCenterX (int detectorID) |
| double | getPlaneCenterY (int detectorID) |
| double | getPlaneCenterZ (int detectorID) |
| double | getRotationInX (int detectorID) |
| double | getRotationInY (int detectorID) |
| double | getRotationInZ (int detectorID) |
| double | getPlaneZOffset (int detectorID) |
| double | getPlanePhiOffset (int detectorID) |
| double | getPlaneWOffset (int detectorID) |
| double | getPlaneWOffset (int detectorID, int moduleID) |
| int | getPlaneType (int detectorID) const |
| int | getHodoStation (const int detectorID) const |
| int | getHodoStation (const std::string detectorName) const |
| double | getKMAGCenter () |
| double | getKMAGUpstream () |
| double | getKMAGDownstream () |
| double | getInterception (int detectorID, double tx, double ty, double x0, double y0) const |
| Get the interception of a line an a plane. More... | |
| double | getInterceptionFast (int detectorID, double tx, double ty, double x0, double y0) const |
| double | getInterceptionFast (int detectorID, double x_exp, double y_exp) const |
| double | getDCA (int detectorID, int elementID, double tx, double ty, double x0, double y0) |
| void | getMeasurement (int detectorID, int elementID, double &measurement, double &dmeasurement) |
| Convert the detectorID and elementID to the actual hit position. More... | |
| double | getMeasurement (int detectorID, int elementID) |
| void | getEndPoints (int detectorID, int elementID, TVectorD &ep1, TVectorD &ep2) |
| void | getEndPoints (int detectorID, int elementID, TVector3 &ep1, TVector3 &ep2) |
| void | get2DBoxSize (int detectorID, int elementID, double &x_min, double &x_max, double &y_min, double &y_max) |
| void | getWireEndPoints (int detectorID, int elementID, double &x_min, double &x_max, double &y_min, double &y_max) |
| int | getExpElementID (int detectorID, double pos_exp) |
| bool | isCalibrationLoaded () |
| Calibration related. More... | |
| double | getDriftDistance (int detectorID, double tdcTime) |
| bool | isInTime (int detectorID, double tdcTime) |
| TSpline3 * | getRTCurve (int detectorID) |
| double | getYinStereoPlane (int detectorID, double x, double u) |
| Convert the stereo hits to Y value. More... | |
| double | getUinStereoPlane (int detectorID, double x, double y) |
| double | getXinStereoPlane (int detectorID, double u, double y) |
| bool | isInPlane (int detectorID, double x, double y) |
| See if a point is in a plane. More... | |
| bool | isInElement (int detectorID, int elementID, double x, double y, double tolr=0.) |
| bool | isInKMAG (double x, double y) |
| double | Z_KMAG_BEND () const |
| Getter/setters for a set of fixed parameters - should not be changed unless absolutely necessary. More... | |
| void | Z_KMAG_BEND (const double v) |
| double | Z_FMAG_BEND () const |
| void | Z_FMAG_BEND (const double v) |
| double | Z_KFMAG_BEND () const |
| void | Z_KFMAG_BEND (const double v) |
| double | ELOSS_KFMAG () const |
| void | ELOSS_KFMAG (const double v) |
| double | ELOSS_ABSORBER () const |
| void | ELOSS_ABSORBER (const double v) |
| double | Z_ST2 () const |
| void | Z_ST2 (const double v) |
| double | Z_ABSORBER () const |
| void | Z_ABSORBER (const double v) |
| double | Z_REF () const |
| void | Z_REF (const double v) |
| double | Z_TARGET () const |
| void | Z_TARGET (const double v) |
| double | Z_DUMP () const |
| void | Z_DUMP (const double v) |
| double | Z_ST1 () const |
| void | Z_ST1 (const double v) |
| double | Z_ST3 () const |
| void | Z_ST3 (const double v) |
| double | FMAG_HOLE_LENGTH () const |
| void | FMAG_HOLE_LENGTH (const double v) |
| double | FMAG_HOLE_RADIUS () const |
| void | FMAG_HOLE_RADIUS (const double v) |
| double | FMAG_LENGTH () const |
| void | FMAG_LENGTH (const double v) |
| double | Z_UPSTREAM () const |
| void | Z_UPSTREAM (const double v) |
| double | Z_DOWNSTREAM () const |
| void | Z_DOWNSTREAM (const double v) |
| void | printAlignPar () |
| Debugging print of the content. More... | |
| void | printTable () |
| void | printWirePosition () |
Static Public Member Functions | |
| static GeomSvc * | instance () |
| singlton instance More... | |
| static void | UseDbSvc (const bool val) |
| static bool | UseDbSvc () |
| void GeomSvc::close | ( | void | ) |
Close the geometry service before exit or starting a new one.
Definition at line 222 of file GeomSvc.cxx.
References nChamberPlanes, nDarkPhotonPlanes, nHodoPlanes, nPropPlanes, NULL, and Plane::rtprofile.
|
inline |
Definition at line 271 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 272 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 269 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 270 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:| bool GeomSvc::findPatternInDetector | ( | int | detectorID, |
| std::string | pattern | ||
| ) |
Definition at line 744 of file GeomSvc.cxx.
|
inline |
Definition at line 287 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 288 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 289 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 290 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 291 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 292 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:| void GeomSvc::get2DBoxSize | ( | int | detectorID, |
| int | elementID, | ||
| double & | x_min, | ||
| double & | x_max, | ||
| double & | y_min, | ||
| double & | y_max | ||
| ) |
Definition at line 830 of file GeomSvc.cxx.
References Plane::cellWidth, getDetectorName(), Plane::x1, Plane::x2, Plane::y1, and Plane::y2.
Referenced by EventReducer::initHodoMaskLUT(), and isInElement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 200 of file GeomSvc.h.
References Plane::cellWidth.
Referenced by SQDigitizer::digitizePlane(), and SQGenFit::GFMeasurement::GFMeasurement().
Here is the caller graph for this function:
|
inline |
Definition at line 201 of file GeomSvc.h.
References Plane::costheta.
Referenced by KalmanTrack::getAlignment(), Tracklet::getExpPositionW(), KalmanTrack::getSagittaInSuperDetector(), mTrkEveDisplay::hit_to_wire(), and Node::Node().
Here is the caller graph for this function:| double GeomSvc::getDCA | ( | int | detectorID, |
| int | elementID, | ||
| double | tx, | ||
| double | ty, | ||
| double | x0, | ||
| double | y0 | ||
| ) |
Definition at line 940 of file GeomSvc.cxx.
References getEndPoints().
Referenced by Tracklet::calcChisq(), and SQDigitizer::digitizePlane().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Get the plane position.
Definition at line 184 of file GeomSvc.h.
Referenced by CalibParamInTimeTaiwan::Add(), CalibParamXT::Add(), ChanMapTaiwan::Add(), CalibParamInTimeV1495::Add(), ChanMapV1495::Add(), mTrkEveDisplay::draw_tracks(), UtilSQHit::FindFirstHits(), UtilSQHit::FindHits(), getDetectorX0(), getDetectorY0(), getDetectorZ0(), EventReducer::initHodoMaskLUT(), AnaRealDst::InitRun(), OnlMonH4::InitRunOnlMon(), AnaRealDst::process_event(), RndmEmbed::process_event(), DPTriggerAnalyzer::process_event(), OnlMonTrigNim::ProcessEventOnlMon(), OnlMonTrigSig::ProcessEventOnlMon(), AnaModule::registerDetector(), setDetectorX0(), setDetectorY0(), setDetectorZ0(), and SetupSensitiveDetectors().
Here is the caller graph for this function:| std::vector< int > GeomSvc::getDetectorIDs | ( | std::string | pattern | ) |
Definition at line 724 of file GeomSvc.cxx.
Referenced by OnlMonCham::InitRunOnlMon(), OnlMonProp::InitRunOnlMon(), and TriggerAnalyzer::TriggerAnalyzer().
Here is the caller graph for this function:
|
inline |
Definition at line 188 of file GeomSvc.h.
Referenced by TriggerAnalyzer::buildData(), get2DBoxSize(), getHodoStation(), SQDigitizer::Init(), AnaEffCham::Init(), OnlMonProp::InitRunOnlMon(), OnlMonCham::InitRunOnlMon(), loadCalibration(), TriggerRoad::makeRoadList(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 170 of file GeomSvc.h.
References getDetectorID(), and Plane::x0.
Referenced by Fun4TrkDev(), and SetupSensitiveDetectors().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 174 of file GeomSvc.h.
References getDetectorID(), and Plane::y0.
Referenced by SetupSensitiveDetectors().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 178 of file GeomSvc.h.
References getDetectorID(), and Plane::z0.
Referenced by SetupSensitiveDetectors().
Here is the call graph for this function:
Here is the caller graph for this function:| double GeomSvc::getDriftDistance | ( | int | detectorID, |
| double | tdcTime | ||
| ) |
Definition at line 909 of file GeomSvc.cxx.
References Plane::cellWidth, NULL, and Plane::rtprofile.
Referenced by KalmanTrack::KalmanTrack(), and EventReducer::reduceEvent().
Here is the caller graph for this function:| void GeomSvc::getEndPoints | ( | int | detectorID, |
| int | elementID, | ||
| TVectorD & | ep1, | ||
| TVectorD & | ep2 | ||
| ) |
Definition at line 792 of file GeomSvc.cxx.
Referenced by getDCA(), and SQGenFit::GFMeasurement::GFMeasurement().
Here is the caller graph for this function:| void GeomSvc::getEndPoints | ( | int | detectorID, |
| int | elementID, | ||
| TVector3 & | ep1, | ||
| TVector3 & | ep2 | ||
| ) |
Definition at line 798 of file GeomSvc.cxx.
| int GeomSvc::getExpElementID | ( | int | detectorID, |
| double | pos_exp | ||
| ) |
Definition at line 807 of file GeomSvc.cxx.
References Plane::cellWidth, Plane::elementPos, nChamberPlanes, Plane::nElements, nHodoPlanes, nPropPlanes, and Plane::spacing.
Referenced by SQDigitizer::digitizePlane(), EventReducer::initHodoMaskLUT(), main(), AnaModule::process_event(), SimpleTree::process_event(), and TriggerRoad::TriggerRoad().
Here is the caller graph for this function:| int GeomSvc::getHodoStation | ( | const int | detectorID | ) | const |
Definition at line 897 of file GeomSvc.cxx.
References getDetectorName().
Referenced by DPTriggerAnalyzer::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| int GeomSvc::getHodoStation | ( | const std::string | detectorName | ) | const |
Definition at line 902 of file GeomSvc.cxx.
|
inline |
Get the interception of a line an a plane.
Definition at line 232 of file GeomSvc.h.
References Plane::intercept().
Referenced by SQDigitizer::digitizePlane().
Here is the call graph for this function:
Here is the caller graph for this function:| double GeomSvc::getInterceptionFast | ( | int | detectorID, |
| double | tx, | ||
| double | ty, | ||
| double | x0, | ||
| double | y0 | ||
| ) | const |
Definition at line 935 of file GeomSvc.cxx.
References Plane::costheta, and Plane::zc.
Referenced by SQGenFit::GFMeasurement::print().
Here is the caller graph for this function:
|
inline |
Definition at line 234 of file GeomSvc.h.
References Plane::getW().
Here is the call graph for this function:| void GeomSvc::getMeasurement | ( | int | detectorID, |
| int | elementID, | ||
| double & | measurement, | ||
| double & | dmeasurement | ||
| ) |
Convert the detectorID and elementID to the actual hit position.
Definition at line 781 of file GeomSvc.cxx.
References Plane::resolution.
Referenced by SQDigitizer::digitizePlane(), GetRoad::get_mc_roads(), GetRoad::get_old_roads(), mTrkEveDisplay::hit_to_wire(), KalmanTrack::KalmanTrack(), main(), RndmEmbed::process_event(), SRawEventEmbed::process_event(), EventReducer::reduceEvent(), and TriggerAnalyzer::trimEvent().
Here is the caller graph for this function:| double GeomSvc::getMeasurement | ( | int | detectorID, |
| int | elementID | ||
| ) |
Definition at line 787 of file GeomSvc.cxx.
|
inline |
Definition at line 196 of file GeomSvc.h.
Referenced by mTrkEveDisplay::hit_to_wire(), and RndmEmbed::process_event().
Here is the caller graph for this function:
|
inline |
Definition at line 211 of file GeomSvc.h.
References Plane::xc.
Referenced by UtilHodo::GetPlanePos(), KalmanFastTracking::printAtDetectorBack(), KalmanDSTrk::printAtDetectorBack(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 212 of file GeomSvc.h.
References Plane::yc.
Referenced by UtilHodo::GetPlanePos(), KalmanFastTracking::printAtDetectorBack(), KalmanDSTrk::printAtDetectorBack(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 213 of file GeomSvc.h.
References Plane::zc.
Referenced by mTrkEveDisplay::clear(), mTrkEveDisplay::draw_tracks(), UtilHodo::GetPlanePos(), KalmanFitter::KalmanFitter(), mTrkEveDisplay::mTrkEveDisplay(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 208 of file GeomSvc.h.
References Plane::nElements.
Referenced by SQDigitizer::digitizePlane(), UtilHodo::GetElementPos(), TriggerRoad::getLR(), AnaEffCham::Init(), EventReducer::initHodoMaskLUT(), AnaRealDst::InitRun(), OnlMonProp::InitRunOnlMon(), OnlMonCham::InitRunOnlMon(), OnlMonHodo::InitRunOnlMon(), OnlMonH4::InitRunOnlMon(), OnlMonV1495::InitRunOnlMon(), AnaModule::process_event(), SimpleTree::process_event(), and TriggerRoad::reflectLR().
Here is the caller graph for this function:
|
inline |
Definition at line 199 of file GeomSvc.h.
References Plane::overlap.
Referenced by SQDigitizer::digitizePlane().
Here is the caller graph for this function:
|
inline |
Definition at line 219 of file GeomSvc.h.
References Plane::rotZ.
|
inline |
Definition at line 197 of file GeomSvc.h.
References Plane::zc.
Referenced by SQDigitizer::digitizePlane(), PropSegment::fit(), PropSegment::fit_2hits(), GetRoad::get_mc_roads(), GetRoad::get_old_roads(), Tracklet::getExpPositionW(), KalmanTrack::getSagittaInSuperDetector(), Tracklet::getSRecTrack(), SQGenFit::GFMeasurement::GFMeasurement(), EventReducer::initHodoMaskLUT(), PropSegment::linearFit_iterative(), PropSegment::linearFit_simple(), Node::Node(), KalmanFastTracking::printAtDetectorBack(), KalmanDSTrk::printAtDetectorBack(), AnaModule::process_event(), SimpleTree::process_event(), KalmanDSTrk::processOneTracklet(), EventReducer::sagittaReducer(), KalmanTrack::setTracklet(), and TriggerRoad::TriggerRoad().
Here is the caller graph for this function:
|
inline |
Definition at line 209 of file GeomSvc.h.
References Plane::resolution.
Referenced by Tracklet::calcChisq(), SQGenFit::GFMeasurement::GFMeasurement(), main(), Node::Node(), KalmanFastTracking::resolveLeftRight(), and KalmanDSTrk::resolveLeftRight().
Here is the caller graph for this function:
|
inline |
Definition at line 204 of file GeomSvc.h.
References Plane::x1, and Plane::x2.
Referenced by KalmanFastTracking::printAtDetectorBack(), KalmanDSTrk::printAtDetectorBack(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 205 of file GeomSvc.h.
References Plane::y1, and Plane::y2.
Referenced by KalmanFastTracking::printAtDetectorBack(), KalmanDSTrk::printAtDetectorBack(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 206 of file GeomSvc.h.
References Plane::z1, and Plane::z2.
Referenced by SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 198 of file GeomSvc.h.
References Plane::spacing.
Referenced by Tracklet::calcChisq(), UtilHodo::GetElementPos(), and KalmanTrack::getExpPosError().
Here is the caller graph for this function:
|
inline |
Definition at line 223 of file GeomSvc.h.
References Plane::planeType.
Referenced by KalmanFastTracking::buildBackPartialTracks(), KalmanDSTrk::buildBackPartialTracks(), KalmanFastTracking::getExtrapoWindowsInSt1(), KalmanDSTrk::getExtrapoWindowsInSt1(), KalmanFastTracking::getSagittaWindowsInSt1(), KalmanDSTrk::getSagittaWindowsInSt1(), EventReducer::initHodoMaskLUT(), Tracklet::isValid(), EventReducer::reduceEvent(), KalmanFastTracking::removeBadHits(), KalmanDSTrk::removeBadHits(), EventReducer::sagittaReducer(), and Tracklet::updateNHits().
Here is the caller graph for this function:
|
inline |
Definition at line 220 of file GeomSvc.h.
References Plane::deltaW.
|
inline |
Definition at line 221 of file GeomSvc.h.
References Plane::deltaW_module.
|
inline |
Definition at line 218 of file GeomSvc.h.
References Plane::deltaZ.
|
inline |
Definition at line 214 of file GeomSvc.h.
References Plane::rX.
Referenced by KalmanFitter::KalmanFitter(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 215 of file GeomSvc.h.
References Plane::rY.
Referenced by KalmanFitter::KalmanFitter(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 216 of file GeomSvc.h.
References Plane::rZ.
Referenced by KalmanFitter::KalmanFitter(), and SetupSensitiveDetectors().
Here is the caller graph for this function:
|
inline |
Definition at line 250 of file GeomSvc.h.
References Plane::rtprofile.
|
inline |
Definition at line 202 of file GeomSvc.h.
References Plane::sintheta.
Referenced by KalmanTrack::getAlignment(), Tracklet::getExpPositionW(), KalmanTrack::getSagittaInSuperDetector(), mTrkEveDisplay::hit_to_wire(), and Node::Node().
Here is the caller graph for this function:
|
inline |
Definition at line 203 of file GeomSvc.h.
References Plane::tantheta.
|
inline |
Definition at line 207 of file GeomSvc.h.
Referenced by SQDigitizer::getTriggerLv().
Here is the caller graph for this function:
|
inline |
Definition at line 254 of file GeomSvc.h.
References Plane::getW().
Referenced by KalmanFastTracking::getExtrapoWindowsInSt1(), KalmanDSTrk::getExtrapoWindowsInSt1(), KalmanFastTracking::getSagittaWindowsInSt1(), KalmanDSTrk::getSagittaWindowsInSt1(), KalmanFastTracking::resolveLeftRight(), and KalmanDSTrk::resolveLeftRight().
Here is the call graph for this function:
Here is the caller graph for this function:| void GeomSvc::getWireEndPoints | ( | int | detectorID, |
| int | elementID, | ||
| double & | x_min, | ||
| double & | x_max, | ||
| double & | y_min, | ||
| double & | y_max | ||
| ) |
Definition at line 855 of file GeomSvc.cxx.
References Plane::nElements, Plane::spacing, Plane::xc, Plane::xoffset, Plane::y1, and Plane::y2.
Referenced by EventReducer::initHodoMaskLUT().
Here is the caller graph for this function:
|
inline |
Definition at line 255 of file GeomSvc.h.
References Plane::getX().
Here is the call graph for this function:
|
inline |
Convert the stereo hits to Y value.
Definition at line 253 of file GeomSvc.h.
References Plane::getY().
Here is the call graph for this function:| void GeomSvc::init | ( | ) |
Initialization, either from MySQL or from ascii file.
Initialize channel mapping — not needed at the moment
Definition at line 239 of file GeomSvc.cxx.
References initPlaneDbSvc(), initPlaneDirect(), initWireLUT(), recoConsts::instance(), loadAlignment(), loadCalibration(), loadMilleAlignment(), nChamberPlanes, nDarkPhotonPlanes, nHodoPlanes, and nPropPlanes.
Referenced by instance().
Here is the call graph for this function:
Here is the caller graph for this function:| void GeomSvc::initPlaneDbSvc | ( | ) |
Definition at line 566 of file GeomSvc.cxx.
References GeomParamPlane::Plane::angle_from_vert, GeomParamPlane::Plane::cell_spacing, GeomParamPlane::Plane::cell_width, GeomParamPlane::Plane::det_name, GeomParamPlane::Plane::height, GeomParamPlane::Plane::n_ele, nChamberPlanes, nDarkPhotonPlanes, nHodoPlanes, nPropPlanes, run(), GeomParamPlane::Plane::theta_x, GeomParamPlane::Plane::theta_y, GeomParamPlane::Plane::theta_z, toLocalDetectorName(), GeomParamPlane::Plane::width, GeomParamPlane::Plane::x0, GeomParamPlane::Plane::xoffset, GeomParamPlane::Plane::y0, and GeomParamPlane::Plane::z0.
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void GeomSvc::initPlaneDirect | ( | ) |
Initialize the geometrical variables which should be from MySQL database
Definition at line 407 of file GeomSvc.cxx.
References loadMilleAlignment(), nChamberPlanes, nDarkPhotonPlanes, nHodoPlanes, nPropPlanes, and toLocalDetectorName().
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void GeomSvc::initWireLUT | ( | ) |
Initialize the position look up table for all wires, hodos, and tubes
Definition at line 675 of file GeomSvc.cxx.
References Plane::costheta, Plane::deltaW, Plane::deltaW_module, Plane::elementPos, nChamberPlanes, nDarkPhotonPlanes, Plane::nElements, nHodoPlanes, nPropPlanes, Plane::sintheta, Plane::spacing, Plane::x0, Plane::xoffset, and Plane::y0.
Referenced by init(), setDetectorX0(), setDetectorY0(), and setDetectorZ0().
Here is the caller graph for this function:
|
static |
singlton instance
Definition at line 211 of file GeomSvc.cxx.
Referenced by CalibParamInTimeTaiwan::Add(), CalibParamXT::Add(), ChanMapTaiwan::Add(), CalibParamInTimeV1495::Add(), ChanMapV1495::Add(), TriggerAnalyzer::buildData(), mTrkEveDisplay::draw_tracks(), EventDisplay4Sim(), EventReducer::EventReducer(), UtilSQHit::FindFirstHits(), UtilSQHit::FindHits(), Fun4CODA(), Fun4DQ(), Fun4DST(), Fun4DumpGeom(), Fun4E1039Shielding(), Fun4EMCal(), Fun4HodoAccGap(), Fun4MainDaq(), Fun4PatternDB(), Fun4Sim(), Fun4Sim_TrkQA(), Fun4SimDst(), Fun4SimMicroDst(), Fun4SRawEvent(), Fun4TrkDev(), KalmanTrack::getAlignment(), UtilHodo::GetElementPos(), KalmanTrack::getExpPosError(), TriggerRoad::getLR(), UtilHodo::GetPlanePos(), KalmanTrack::getSagittaInSuperDetector(), SQGenFit::GFMeasurement::GFMeasurement(), SQDigitizer::Init(), AnaEffCham::Init(), AnaRealDst::InitRun(), RndmEmbed::InitRun(), PatternDBGen::InitRun(), SRawEventEmbed::InitRun(), AnaTrkQA::InitRun(), OnlMonProp::InitRunOnlMon(), OnlMonCham::InitRunOnlMon(), OnlMonH4::InitRunOnlMon(), OnlMonHodo::InitRunOnlMon(), OnlMonV1495::InitRunOnlMon(), UtilHodo::IsHodoX(), KalmanDSTrk::KalmanDSTrk(), KalmanFastTracking::KalmanFastTracking(), KalmanFitter::KalmanFitter(), KalmanTrack::KalmanTrack(), main(), TriggerRoad::makeRoadList(), mTrkEveDisplay::mTrkEveDisplay(), Node::Node(), SQGenFit::GFMeasurement::print(), AnaRealDst::process_event(), DPTriggerAnalyzer::process_event(), OnlMonTrigNim::ProcessEventOnlMon(), OnlMonTrigSig::ProcessEventOnlMon(), RecoE1039Data(), RecoE1039Sim(), RecoE906Data(), TriggerRoad::reflectLR(), run(), run_GetRoad(), KalmanTrack::setTracklet(), SetupSensitiveDetectors(), TriggerAnalyzer::TriggerAnalyzer(), and TriggerRoad::TriggerRoad().
Here is the call graph for this function:
|
inline |
| bool GeomSvc::isInElement | ( | int | detectorID, |
| int | elementID, | ||
| double | x, | ||
| double | y, | ||
| double | tolr = 0. |
||
| ) |
Definition at line 760 of file GeomSvc.cxx.
References get2DBoxSize().
Here is the call graph for this function:| bool GeomSvc::isInKMAG | ( | double | x, |
| double | y | ||
| ) |
Definition at line 773 of file GeomSvc.cxx.
Referenced by KalmanFastTracking::acceptTracklet(), and KalmanDSTrk::acceptTracklet().
Here is the caller graph for this function:| bool GeomSvc::isInPlane | ( | int | detectorID, |
| double | x, | ||
| double | y | ||
| ) |
See if a point is in a plane.
Definition at line 752 of file GeomSvc.cxx.
Referenced by SQDigitizer::digitizePlane(), KalmanFastTracking::muonID_search(), KalmanDSTrk::muonID_search(), AnaModule::process_event(), SimpleTree::process_event(), and TriggerRoad::TriggerRoad().
Here is the caller graph for this function:| bool GeomSvc::isInTime | ( | int | detectorID, |
| double | tdcTime | ||
| ) |
Definition at line 1129 of file GeomSvc.cxx.
References Plane::tmax, and Plane::tmin.
| void GeomSvc::loadAlignment | ( | const std::string & | alignmentFile_chamber, |
| const std::string & | alignmentFile_hodo, | ||
| const std::string & | alignmentFile_prop | ||
| ) |
Definition at line 954 of file GeomSvc.cxx.
References nChamberPlanes, nHodoPlanes, and nPropPlanes.
Referenced by init().
Here is the caller graph for this function:| void GeomSvc::loadCalibration | ( | const std::string & | calibrateFile | ) |
Definition at line 1091 of file GeomSvc.cxx.
References getDetectorName(), and NULL.
Referenced by init().
Here is the call graph for this function:
Here is the caller graph for this function:| void GeomSvc::loadMilleAlignment | ( | const std::string & | alignmentFile_mille | ) |
Definition at line 1052 of file GeomSvc.cxx.
References nChamberPlanes.
Referenced by init(), and initPlaneDirect().
Here is the caller graph for this function:| void GeomSvc::printAlignPar | ( | ) |
Debugging print of the content.
Definition at line 1154 of file GeomSvc.cxx.
References Plane::deltaW, Plane::deltaZ, nChamberPlanes, nHodoPlanes, nPropPlanes, and Plane::rotZ.
| void GeomSvc::printTable | ( | ) |
Definition at line 1164 of file GeomSvc.cxx.
References nChamberPlanes, nHodoPlanes, and nPropPlanes.
Referenced by Fun4Sim_TrkQA(), main(), and RecoE1039Sim().
Here is the caller graph for this function:| void GeomSvc::printWirePosition | ( | ) |
Definition at line 1134 of file GeomSvc.cxx.
References Plane::cellWidth, nChamberPlanes, Plane::nElements, nHodoPlanes, and nPropPlanes.
|
inline |
TODO temp solution to overwrite the y0 of a plane.
Definition at line 151 of file GeomSvc.h.
References getDetectorID(), initWireLUT(), Plane::update(), and Plane::x0.
Referenced by Fun4TrkDev().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 157 of file GeomSvc.h.
References getDetectorID(), initWireLUT(), Plane::update(), and Plane::y0.
Referenced by Fun4E1039Shielding(), and Fun4HodoAccGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 163 of file GeomSvc.h.
References getDetectorID(), initWireLUT(), Plane::update(), and Plane::z0.
Here is the call graph for this function:| void GeomSvc::toLocalDetectorName | ( | std::string & | detectorName, |
| int & | eID | ||
| ) |
Convert the official detectorName to local detectorName.
Definition at line 865 of file GeomSvc.cxx.
Referenced by CalibParamInTimeTaiwan::Add(), ChanMapTaiwan::Add(), CalibParamXT::Add(), ChanMapV1495::Add(), CalibParamInTimeV1495::Add(), initPlaneDbSvc(), and initPlaneDirect().
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 304 of file GeomSvc.h.
Referenced by EventDisplay4Sim(), Fun4CODA(), Fun4DQ(), Fun4DST(), Fun4DumpGeom(), Fun4EMCal(), Fun4MainDaq(), Fun4Sim(), Fun4Sim_TrkQA(), Fun4SimDst(), Fun4SimMicroDst(), Fun4SRawEvent(), main(), RecoE1039Data(), RecoE1039Sim(), RecoE906Data(), run(), and run_GetRoad().
Here is the caller graph for this function:
|
inline |
Definition at line 275 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 276 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 295 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 296 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 281 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 282 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 265 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 266 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 267 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 268 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Getter/setters for a set of fixed parameters - should not be changed unless absolutely necessary.
Definition at line 263 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 264 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 277 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 278 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 283 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 284 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 273 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 274 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 285 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 286 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 279 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 280 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 293 of file GeomSvc.h.
References PHFlag::get_DoubleFlag().
Here is the call graph for this function:
|
inline |
Definition at line 294 of file GeomSvc.h.
References PHFlag::set_DoubleFlag().
Here is the call graph for this function: