#include <EndcapPiZeroDiscriminatorAlgo.h>
Public Types | |
typedef std::map< DetId, EcalRecHit > | RecHitsMap |
Public Member Functions | |
void | calculateBarrelNNInputVariables (float et, double s1, double s9, double s25, double m2, double cee, double cep, double cpp, double s4, double s6, double ratio, double xcog, double ycog) |
bool | calculateNNInputVariables (std::vector< float > &vph1, std::vector< float > &vph2, float pS1_max, float pS9_max, float pS25_max, int EScorr) |
EndcapPiZeroDiscriminatorAlgo () | |
EndcapPiZeroDiscriminatorAlgo (double stripEnergyCut, int nStripCut, const std::string &path) | |
void | findPi0Road (ESDetId strip, EcalPreshowerNavigator &theESNav, int plane, std::vector< ESDetId > &vout) |
std::vector< float > | findPreshVector (ESDetId strip, RecHitsMap *rechits_map, CaloSubdetectorTopology *topology_p) |
std::vector< float > const & | get_input_vector () const |
float | GetBarrelNNOutput (float EB_Et) |
float | GetNNOutput (float EE_Et) |
bool | goodPi0Strip (RecHitsMap::iterator candidate_it, ESDetId lastID) |
Private Member Functions | |
float | Activation_fun (float SUM) const |
float | getNNoutput (int sel_wfile, int Layers, int Indim, int Hidden, int Outdim, int barrelstart) const |
void | readWeightFile (const char *WFile, int &Layers, int &Indim, int &Hidden, int &Outdim) |
Private Attributes | |
int | debugLevel_ |
int | EB_Hidden |
int | EB_Indim |
int | EB_Layers |
int | EB_Outdim |
int | EE_Hidden |
int | EE_Indim |
int | EE_Layers |
int | EE_Outdim |
std::vector< float > | H_O_Weight_all |
std::vector< float > | H_Thresh_all |
std::vector< float > | I_H_Weight_all |
std::vector< float > | input_var |
std::vector< float > | O_Thresh_all |
int | preshSeededNstr_ |
double | preshStripEnergyCut_ |
Definition at line 16 of file EndcapPiZeroDiscriminatorAlgo.h.
typedef std::map<DetId, EcalRecHit> EndcapPiZeroDiscriminatorAlgo::RecHitsMap |
Definition at line 20 of file EndcapPiZeroDiscriminatorAlgo.h.
|
inline |
Definition at line 22 of file EndcapPiZeroDiscriminatorAlgo.h.
References calculateBarrelNNInputVariables(), calculateNNInputVariables(), stringResolutionProvider_cfi::et, findPi0Road(), findPreshVector(), GetBarrelNNOutput(), GetNNOutput(), goodPi0Strip(), callgraph::path, particleFlowDisplacedVertex_cfi::ratio, AlCaHLTBitMon_QueryRunRegistry::string, and digitizers_cfi::strip.
EndcapPiZeroDiscriminatorAlgo::EndcapPiZeroDiscriminatorAlgo | ( | double | stripEnergyCut, |
int | nStripCut, | ||
const std::string & | path | ||
) |
|
private |
Definition at line 321 of file EndcapPiZeroDiscriminatorAlgo.cc.
References JetChargeProducer_cfi::exp.
Referenced by get_input_vector().
void EndcapPiZeroDiscriminatorAlgo::calculateBarrelNNInputVariables | ( | float | et, |
double | s1, | ||
double | s9, | ||
double | s25, | ||
double | m2, | ||
double | cee, | ||
double | cep, | ||
double | cpp, | ||
double | s4, | ||
double | s6, | ||
double | ratio, | ||
double | xcog, | ||
double | ycog | ||
) |
Definition at line 460 of file EndcapPiZeroDiscriminatorAlgo.cc.
References particleFlowDisplacedVertex_cfi::ratio, and mathSSE::sqrt().
Referenced by EndcapPiZeroDiscriminatorAlgo().
bool EndcapPiZeroDiscriminatorAlgo::calculateNNInputVariables | ( | std::vector< float > & | vph1, |
std::vector< float > & | vph2, | ||
float | pS1_max, | ||
float | pS9_max, | ||
float | pS25_max, | ||
int | EScorr | ||
) |
Definition at line 335 of file EndcapPiZeroDiscriminatorAlgo.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, gen::k, GetRecoTauVFromDQM_MC_cff::kk, and LogTrace.
Referenced by EndcapPiZeroDiscriminatorAlgo().
void EndcapPiZeroDiscriminatorAlgo::findPi0Road | ( | ESDetId | strip, |
EcalPreshowerNavigator & | theESNav, | ||
int | plane, | ||
std::vector< ESDetId > & | vout | ||
) |
Definition at line 145 of file EndcapPiZeroDiscriminatorAlgo.cc.
References CaloNavigator< T, TOPO >::east(), CaloNavigator< T, TOPO >::home(), LogTrace, GetRecoTauVFromDQM_MC_cff::next, CaloNavigator< T, TOPO >::north(), CaloNavigator< T, TOPO >::setHome(), CaloNavigator< T, TOPO >::south(), digitizers_cfi::strip, and CaloNavigator< T, TOPO >::west().
Referenced by EndcapPiZeroDiscriminatorAlgo().
vector< float > EndcapPiZeroDiscriminatorAlgo::findPreshVector | ( | ESDetId | strip, |
RecHitsMap * | rechits_map, | ||
CaloSubdetectorTopology * | topology_p | ||
) |
Definition at line 44 of file EndcapPiZeroDiscriminatorAlgo.cc.
References mps_fire::i, LogTrace, particleFlowRecHitECAL_cfi::navigator, ESDetId::plane(), CaloNavigator< T, TOPO >::setHome(), and ESDetId::strip().
Referenced by EndcapPiZeroDiscriminatorAlgo().
|
inline |
Definition at line 49 of file EndcapPiZeroDiscriminatorAlgo.h.
References Activation_fun(), getNNoutput(), input_var, readWeightFile(), and SUM.
float EndcapPiZeroDiscriminatorAlgo::GetBarrelNNOutput | ( | float | EB_Et | ) |
Definition at line 576 of file EndcapPiZeroDiscriminatorAlgo.cc.
References LogTrace, and findQualityFiles::v.
Referenced by EndcapPiZeroDiscriminatorAlgo().
float EndcapPiZeroDiscriminatorAlgo::GetNNOutput | ( | float | EE_Et | ) |
Definition at line 537 of file EndcapPiZeroDiscriminatorAlgo.cc.
References LogTrace, and findQualityFiles::v.
Referenced by EndcapPiZeroDiscriminatorAlgo().
|
private |
Definition at line 289 of file EndcapPiZeroDiscriminatorAlgo.cc.
References h, mps_fire::i, LogTrace, CastorDigiReco::o1, and CfgNavigationSchool_cfi::OUT.
Referenced by get_input_vector().
bool EndcapPiZeroDiscriminatorAlgo::goodPi0Strip | ( | RecHitsMap::iterator | candidate_it, |
ESDetId | lastID | ||
) |
Definition at line 124 of file EndcapPiZeroDiscriminatorAlgo.cc.
References LogTrace.
Referenced by EndcapPiZeroDiscriminatorAlgo().
|
private |
Definition at line 220 of file EndcapPiZeroDiscriminatorAlgo.cc.
References Exception, mps_fire::i, geometryCSVtoXML::line, LogTrace, and create_public_lumi_plots::weights.
Referenced by get_input_vector().
|
private |
Definition at line 59 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 62 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 62 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 62 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 62 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 61 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 61 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 61 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 61 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 65 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 66 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 64 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 69 of file EndcapPiZeroDiscriminatorAlgo.h.
Referenced by get_input_vector().
|
private |
Definition at line 67 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 58 of file EndcapPiZeroDiscriminatorAlgo.h.
|
private |
Definition at line 57 of file EndcapPiZeroDiscriminatorAlgo.h.