|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKDETDESCRALGS_MATERIALVALIDATION_H
10 #define TRKDETDESCRALGS_MATERIALVALIDATION_H
14 #include "GaudiKernel/IRndmGenSvc.h"
15 #include "GaudiKernel/RndmGenerators.h"
16 #include "GaudiKernel/ToolHandle.h"
24 class IMaterialMapper;
79 const EventContext& ctx)
const
92 {
this,
"TrackingGeometryReadKey",
"",
"Key of the TrackingGeometry conditions data."};
109 const Trk::TrackingGeometry *tracking_geometry = retrieveTrackingGeometry(Gaudi::Hive::currentContext());
110 if (!tracking_geometry){
111 ATH_MSG_FATAL(
"Did not get valid TrackingGeometry. Aborting." );
112 throw GaudiException(
"MaterialValidation",
"Problem with TrackingGeometry loading.", StatusCode::FAILURE);
114 return *tracking_geometry;
int m_maxMaterialValidationEvents
limit the number of validation records to avoid 2G files
bool m_runNativeNavigation
validate the native TG navigation
const TrackingGeometry & trackingGeometry() const
const Trk::Surface * bSurface
StatusCode finalize()
standard Athena-Algorithm method
VolumeExit(const Trk::TrackingVolume *itv=0, const Trk::Surface *ibs=0, Amg::Vector3D iexit=Amg::Vector3D(0., 0., 0.))
~MaterialValidation()
Default Destructor.
StatusCode initialize()
standard Athena-Algorithm method
const TrackingGeometry * retrieveTrackingGeometry(const EventContext &ctx) const
double m_etaMin
eta boundary
void throwFailedToGetTrackingGeometry() const
const Trk::TrackingVolume * nVolume
ToolHandle< IMaterialMapper > m_materialMapper
Mapper and Inspector.
StatusCode execute()
standard Athena-Algorithm method
PositionAtBoundary collectMaterialAndExit(const Trk::TrackingVolume &tvol, const Amg::Vector3D &position, const Amg::Vector3D &direction)
::StatusCode StatusCode
StatusCode definition for legacy code.
Rndm::Numbers * m_flatDist
Random generator for flat distribution.
double m_etaMax
eta boundary
SG::ReadCondHandleKey< TrackingGeometry > m_trackingGeometryReadKey
Ensure that the ATLAS eigen extensions are properly loaded.
double m_accTinX0
accumulated t in X0
Eigen::Matrix< double, 3, 1 > Vector3D
const_pointer_type cptr()
std::pair< Amg::Vector3D, const Trk::TrackingVolume * > PositionAtBoundary
MaterialValidation(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.