|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISF_PUNCHTHROUGHTOOLS_SRC_PUNCHTHROUGHCLASSIFIER_H
6 #define ISF_PUNCHTHROUGHTOOLS_SRC_PUNCHTHROUGHCLASSIFIER_H 1
21 #include "lwtnn/LightweightGraph.hh"
54 std::map<std::
string, std::map<std::
string,
double> >
scaleInputs(std::map<std::
string, std::map<std::
string,
double> >&
inputs)
const;
83 #endif //ISF_PUNCHTHROUGHTOOLS_SRC_PUNCHTHROUGHCLASSIFIER_H
std::map< std::string, double > m_scalerMaxMap
std::unique_ptr< lwt::LightweightGraph > m_graph
NN graph.
std::map< double, double > m_calibrationMap
double calibrateOutput(double &networkOutput) const
calibrate NN output using isotonic regressor
StatusCode initializeScaler(const std::string &scalerConfigFile)
input variable MinMaxScaler initialize method
bool const RAWDATA *ch2 const
double m_scalerMin
input variable MinMaxScaler members
virtual StatusCode initialize() override final
AlgTool initialize method.
static std::map< std::string, std::map< std::string, double > > computeInputs(const ISF::ISFParticle &isfp, const TFCSSimulationState &simulstate)
calcalate NN inputs based on isfp and simulstate
std::map< std::string, std::map< std::string, double > > scaleInputs(std::map< std::string, std::map< std::string, double > > &inputs) const
scale NN inputs using MinMaxScaler
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~PunchThroughClassifier()=default
Destructor.
StatusCode initializeNetwork(const std::string &networkConfigFile)
neural network initialize method
std::string m_calibratorConfigFileName
virtual double computePunchThroughProbability(const ISF::ISFParticle &isfp, const TFCSSimulationState &simulstate) const override
interface method to return probability prediction of punch through
StatusCode initializeCalibrator(const std::string &calibratorConfigFile)
isotonic regressor calibrator initialize method
std::string m_scalerConfigFileName
PunchThroughClassifier(const std::string &, const std::string &, const IInterface *)
Constructor.
std::string m_calibratorConfigFile
isotonic regressor calibrator members
std::string m_networkConfigFileName
std::map< std::string, double > m_scalerMinMap