File indexing completed on 2025-07-14 08:14:44
0001
0002
0003
0004
0005 #pragma once
0006
0007 #include <DD4hep/Detector.h>
0008 #include <DDRec/CellIDPositionConverter.h>
0009 #include <IRT/CherenkovPhotonDetector.h>
0010 #include <IRT/OpticalBoundary.h>
0011 #include <IRT/ParametricSurface.h>
0012 #include <TVector3.h>
0013 #include <spdlog/logger.h>
0014 #include <gsl/pointers>
0015 #include <memory>
0016
0017 #include "IrtGeo.h"
0018 #include "services/geometry/richgeo/RichGeo.h"
0019
0020 namespace richgeo {
0021 class IrtGeoDRICH : public IrtGeo {
0022
0023 public:
0024 IrtGeoDRICH(gsl::not_null<const dd4hep::Detector*> det_,
0025 gsl::not_null<const dd4hep::rec::CellIDPositionConverter*> conv_,
0026 std::shared_ptr<spdlog::logger> log_)
0027 : IrtGeo("DRICH", det_, conv_, log_) {
0028 DD4hep_to_IRT();
0029 }
0030 ~IrtGeoDRICH();
0031 TVector3 GetSensorSurfaceNorm(CellIDType);
0032
0033 protected:
0034 void DD4hep_to_IRT() override;
0035
0036 private:
0037
0038 FlatSurface* m_surfEntrance;
0039 CherenkovPhotonDetector* m_irtPhotonDetector;
0040 FlatSurface* m_aerogelFlatSurface;
0041 FlatSurface* m_filterFlatSurface;
0042 SphericalSurface* m_mirrorSphericalSurface;
0043 OpticalBoundary* m_mirrorOpticalBoundary;
0044 FlatSurface* m_sensorFlatSurface;
0045 };
0046 }