![]() |
ATLAS Offline Software
|
#include <PunchThroughClassifier.h>
Public Member Functions | |
| PunchThroughClassifier (const std::string &, const std::string &, const IInterface *) | |
| Constructor. | |
| virtual | ~PunchThroughClassifier ()=default |
| Destructor. | |
| virtual StatusCode | initialize () override final |
| AlgTool initialize method. | |
| StatusCode | initializeScaler (const std::string &scalerConfigFile) |
| input variable MinMaxScaler initialize method | |
| StatusCode | initializeNetwork (const std::string &networkConfigFile) |
| neural network initialize method | |
| StatusCode | initializeCalibrator (const std::string &calibratorConfigFile) |
| isotonic regressor calibrator initialize method | |
| virtual double | computePunchThroughProbability (const ISF::ISFParticle &isfp, const TFCSSimulationState &simulstate) const override |
| interface method to return probability prediction of punch through | |
| 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 | |
| double | calibrateOutput (double &networkOutput) const |
| calibrate NN output using isotonic regressor | |
Static Public Member Functions | |
| 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 | |
Private Attributes | |
| std::unique_ptr< lwt::LightweightGraph > | m_graph {} |
| NN graph. | |
| double | m_scalerMin {} |
| input variable MinMaxScaler members | |
| double | m_scalerMax {} |
| std::map< std::string, double > | m_scalerMinMap |
| std::map< std::string, double > | m_scalerMaxMap |
| std::string | m_calibratorConfigFile |
| isotonic regressor calibrator members | |
| double | m_calibrationMin {} |
| double | m_calibrationMax {} |
| std::map< double, double > | m_calibrationMap |
| std::string | m_networkConfigFileName |
| std::string | m_scalerConfigFileName |
| std::string | m_calibratorConfigFileName |
Definition at line 26 of file PunchThroughClassifier.h.
| ISF::PunchThroughClassifier::PunchThroughClassifier | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor.
Definition at line 24 of file PunchThroughClassifier.cxx.
|
virtualdefault |
Destructor.
| double ISF::PunchThroughClassifier::calibrateOutput | ( | double & | networkOutput | ) | const |
calibrate NN output using isotonic regressor
Definition at line 198 of file PunchThroughClassifier.cxx.
|
static |
calcalate NN inputs based on isfp and simulstate
Definition at line 157 of file PunchThroughClassifier.cxx.
|
overridevirtual |
interface method to return probability prediction of punch through
Definition at line 32 of file PunchThroughClassifier.cxx.
|
finaloverridevirtual |
AlgTool initialize method.
Definition at line 46 of file PunchThroughClassifier.cxx.
| StatusCode ISF::PunchThroughClassifier::initializeCalibrator | ( | const std::string & | calibratorConfigFile | ) |
isotonic regressor calibrator initialize method
Definition at line 126 of file PunchThroughClassifier.cxx.
| StatusCode ISF::PunchThroughClassifier::initializeNetwork | ( | const std::string & | networkConfigFile | ) |
neural network initialize method
Definition at line 105 of file PunchThroughClassifier.cxx.
| StatusCode ISF::PunchThroughClassifier::initializeScaler | ( | const std::string & | scalerConfigFile | ) |
input variable MinMaxScaler initialize method
Definition at line 71 of file PunchThroughClassifier.cxx.
| std::map< std::string, std::map< std::string, double > > ISF::PunchThroughClassifier::scaleInputs | ( | std::map< std::string, std::map< std::string, double > > & | inputs | ) | const |
scale NN inputs using MinMaxScaler
Definition at line 179 of file PunchThroughClassifier.cxx.
|
private |
Definition at line 73 of file PunchThroughClassifier.h.
|
private |
Definition at line 72 of file PunchThroughClassifier.h.
|
private |
Definition at line 71 of file PunchThroughClassifier.h.
|
private |
isotonic regressor calibrator members
Definition at line 70 of file PunchThroughClassifier.h.
|
private |
Definition at line 78 of file PunchThroughClassifier.h.
|
private |
|
private |
Definition at line 76 of file PunchThroughClassifier.h.
|
private |
Definition at line 77 of file PunchThroughClassifier.h.
|
private |
Definition at line 65 of file PunchThroughClassifier.h.
|
private |
Definition at line 67 of file PunchThroughClassifier.h.
|
private |
|
private |
Definition at line 66 of file PunchThroughClassifier.h.