#include <FiducialVolume.h>
Public Member Functions | |
void | addActivePoint (const GlobalPoint &point) |
add a point that belongs to the active volume More... | |
void | determinInnerDimensions () |
FiducialVolume (double tolerance=1.0) | |
bool | isValid () const |
check whether the volume is properly defined More... | |
double | maxR (bool withTolerance=true) const |
double | maxZ (bool withTolerance=true) const |
double | minR (bool withTolerance=true) const |
double | minZ (bool withTolerance=true) const |
void | reset () |
invalidate the volume More... | |
Private Attributes | |
double | maxR_ |
double | maxZ_ |
double | minR_ |
double | minZ_ |
double | tolerance_ |
The detector active volume is determined estimated as a non-zero thickness cylinder with outter dimensions maxZ and maxR. The inner dimensions are found as minimum R and Z for two cases "barrel" (|eta|<1) and "endcap" (|eta|>1.7) correspondingly
Definition at line 25 of file FiducialVolume.h.
|
inline |
void FiducialVolume::addActivePoint | ( | const GlobalPoint & | point | ) |
add a point that belongs to the active volume
Definition at line 21 of file FiducialVolume.cc.
References maxR_, maxZ_, minR_, minZ_, and point.
Referenced by DetIdAssociator::buildMap().
void FiducialVolume::determinInnerDimensions | ( | ) |
finilize dimension calculations, fixes dimensions in a case of missing barrel or endcap
Definition at line 39 of file FiducialVolume.cc.
References maxR_, maxZ_, minR_, and minZ_.
Referenced by DetIdAssociator::buildMap().
bool FiducialVolume::isValid | ( | void | ) | const |
check whether the volume is properly defined
Definition at line 19 of file FiducialVolume.cc.
Referenced by ntupleDataFormat._Object::_checkIsValid(), CachedTrajectory::getTrajectory(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 43 of file FiducialVolume.h.
References maxR_, and tolerance_.
Referenced by DetIdAssociator::buildMap(), and CachedTrajectory::getTrajectory().
|
inline |
Definition at line 55 of file FiducialVolume.h.
References maxZ_, and tolerance_.
Referenced by DetIdAssociator::buildMap(), and CachedTrajectory::getTrajectory().
|
inline |
Definition at line 37 of file FiducialVolume.h.
References minR_, and tolerance_.
Referenced by DetIdAssociator::buildMap(), CachedTrajectory::getTrajectory(), and TrackExtrapolator::propagateTrackToVolume().
|
inline |
Definition at line 49 of file FiducialVolume.h.
References minZ_, and tolerance_.
Referenced by DetIdAssociator::buildMap(), CachedTrajectory::getTrajectory(), and TrackExtrapolator::propagateTrackToVolume().
void FiducialVolume::reset | ( | void | ) |
|
private |
Definition at line 64 of file FiducialVolume.h.
Referenced by addActivePoint(), determinInnerDimensions(), maxR(), and reset().
|
private |
Definition at line 66 of file FiducialVolume.h.
Referenced by addActivePoint(), determinInnerDimensions(), maxZ(), and reset().
|
private |
Definition at line 63 of file FiducialVolume.h.
Referenced by addActivePoint(), determinInnerDimensions(), isValid(), minR(), and reset().
|
private |
Definition at line 65 of file FiducialVolume.h.
Referenced by addActivePoint(), determinInnerDimensions(), isValid(), minZ(), and reset().