File indexing completed on 2025-09-16 08:53:41
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 #include <string>
0017
0018 #include "IrtGeo.h"
0019 #include "services/geometry/richgeo/RichGeo.h"
0020
0021 namespace richgeo {
0022 class IrtGeoDRICH : public IrtGeo {
0023
0024 public:
0025 IrtGeoDRICH(gsl::not_null<const dd4hep::Detector*> det_,
0026 gsl::not_null<const dd4hep::rec::CellIDPositionConverter*> conv_,
0027 std::shared_ptr<spdlog::logger> log_)
0028 : IrtGeo("DRICH", det_, conv_, log_) {
0029 DD4hep_to_IRT();
0030 }
0031 ~IrtGeoDRICH();
0032 TVector3 GetSensorSurfaceNorm(CellIDType);
0033
0034 protected:
0035 void DD4hep_to_IRT() override;
0036
0037 private:
0038
0039 FlatSurface* m_surfEntrance;
0040 CherenkovPhotonDetector* m_irtPhotonDetector;
0041 FlatSurface* m_aerogelFlatSurface;
0042 FlatSurface* m_filterFlatSurface;
0043 SphericalSurface* m_mirrorSphericalSurface;
0044 OpticalBoundary* m_mirrorOpticalBoundary;
0045 FlatSurface* m_sensorFlatSurface;
0046 };
0047 }