![]() |
ATLAS Offline Software
|
#include <PunchThroughG4Classifier.h>
Public Member Functions | |
| PunchThroughG4Classifier (const std::string &, const std::string &, const IInterface *) | |
| Constructor. | |
| virtual | ~PunchThroughG4Classifier ()=default |
| Destructor. | |
| virtual StatusCode | initialize () override |
| AlgTool initialize method. | |
| virtual StatusCode | finalize () override |
| AlgTool finalize 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 G4FastTrack &fastTrack, const double simE, const std::vector< double > &simEfrac) 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 G4FastTrack &fastTrack, const double simE, const std::vector< double > &simEfrac) |
| calcalate NN inputs based on G4FastTrack 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 |
| StringProperty | m_scalerConfigFileName {this, "ScalerConfigFileName", "", ""} |
| StringProperty | m_networkConfigFileName {this, "NetworkConfigFileName", "", ""} |
| StringProperty | m_calibratorConfigFileName {this, "CalibratorConfigFileName", "", ""} |
Definition at line 22 of file PunchThroughG4Classifier.h.
| PunchThroughG4Classifier::PunchThroughG4Classifier | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor.
Definition at line 30 of file PunchThroughG4Classifier.cxx.
|
virtualdefault |
Destructor.
| double PunchThroughG4Classifier::calibrateOutput | ( | double & | networkOutput | ) | const |
calibrate NN output using isotonic regressor
Definition at line 234 of file PunchThroughG4Classifier.cxx.
|
static |
calcalate NN inputs based on G4FastTrack and simulstate
Definition at line 193 of file PunchThroughG4Classifier.cxx.
|
overridevirtual |
interface method to return probability prediction of punch through
Definition at line 180 of file PunchThroughG4Classifier.cxx.
|
overridevirtual |
AlgTool finalize method.
Definition at line 50 of file PunchThroughG4Classifier.cxx.
|
overridevirtual |
AlgTool initialize method.
Definition at line 34 of file PunchThroughG4Classifier.cxx.
| StatusCode PunchThroughG4Classifier::initializeCalibrator | ( | const std::string & | calibratorConfigFile | ) |
isotonic regressor calibrator initialize method
Definition at line 131 of file PunchThroughG4Classifier.cxx.
| StatusCode PunchThroughG4Classifier::initializeNetwork | ( | const std::string & | networkConfigFile | ) |
neural network initialize method
Definition at line 111 of file PunchThroughG4Classifier.cxx.
| StatusCode PunchThroughG4Classifier::initializeScaler | ( | const std::string & | scalerConfigFile | ) |
input variable MinMaxScaler initialize method
Definition at line 57 of file PunchThroughG4Classifier.cxx.
| std::map< std::string, std::map< std::string, double > > PunchThroughG4Classifier::scaleInputs | ( | std::map< std::string, std::map< std::string, double > > & | inputs | ) | const |
scale NN inputs using MinMaxScaler
Definition at line 215 of file PunchThroughG4Classifier.cxx.
|
private |
Definition at line 71 of file PunchThroughG4Classifier.h.
|
private |
Definition at line 70 of file PunchThroughG4Classifier.h.
|
private |
Definition at line 69 of file PunchThroughG4Classifier.h.
|
private |
isotonic regressor calibrator members
Definition at line 68 of file PunchThroughG4Classifier.h.
|
private |
Definition at line 78 of file PunchThroughG4Classifier.h.
|
private |
|
private |
Definition at line 77 of file PunchThroughG4Classifier.h.
|
private |
Definition at line 76 of file PunchThroughG4Classifier.h.
|
private |
Definition at line 63 of file PunchThroughG4Classifier.h.
|
private |
Definition at line 65 of file PunchThroughG4Classifier.h.
|
private |
|
private |
Definition at line 64 of file PunchThroughG4Classifier.h.