9 #ifndef ISF_DNNCALOSIMSVC_H
10 #define ISF_DNNCALOSIMSVC_H 1
16 #include "GaudiKernel/IChronoStatSvc.h"
33 #include "lwtnn/LightweightGraph.hh"
35 #include "CLHEP/Units/PhysicalConstants.h"
41 class HepRandomEngine;
75 typedef std::map<std::
string, std::map<std::
string,
double> >
NetworkInputs ;
81 virtual
StatusCode setupEvent() override final;
84 virtual
StatusCode releaseEvent() override final;
86 std::
string m_paramsFilename;
87 std::
string m_paramsInputArchitecture;
89 std::unique_ptr<
lwt::LightweightGraph> m_graph;
95 ToolHandle<
Trk::ITimedExtrapolator> m_extrapolator;
100 CLHEP::HepRandomEngine* m_randomEngine;
101 std::
string m_randomEngineName;
111 int m_GANLatentSize = 0;
112 double m_logTrueEnergyMean = 0.;
113 double m_logTrueEnergyScale = 0.;
114 double m_riImpactEtaMean = 0.;
115 double m_riImpactEtaScale = 0.;
116 double m_riImpactPhiMean = 0.;
117 double m_riImpactPhiScale = 0.;
120 const int m_numberOfCellsForDNN = 266;
121 const double m_middleCellWidthEta = 0.025;
123 const double m_etaRawMiddleCut = m_middleCellWidthEta * 3.5;
124 const double m_etaRawBackCut = m_middleCellWidthEta * 4.;
125 const double m_phiRawMiddleCut = m_middleCellWidthPhi * 3.5;
126 const double m_phiRawStripCut = m_middleCellWidthPhi * 6.0;
129 std::
string m_caloCellsOutputName;
134 #endif //> !ISF_DNNCALOSIMSVC_H