Go to the documentation of this file. 1 #ifndef RecoEcal_EgammaClusterAlgos_EndcapPiZeroDiscriminatorAlgo_h
2 #define RecoEcal_EgammaClusterAlgos_EndcapPiZeroDiscriminatorAlgo_h
30 std::vector<float>& vph1, std::vector<float>& vph2,
float pS1_max,
float pS9_max,
float pS25_max,
int EScorr);
53 void readWeightFile(
const char* WFile,
int& Layers,
int& Indim,
int& Hidden,
int& Outdim);
54 float getNNoutput(
int sel_wfile,
int Layers,
int Indim,
int Hidden,
int Outdim,
int barrelstart)
const;
float GetNNOutput(float EE_Et)
std::vector< float > O_Thresh_all
std::map< DetId, EcalRecHit > RecHitsMap
EndcapPiZeroDiscriminatorAlgo()
void readWeightFile(const char *WFile, int &Layers, int &Indim, int &Hidden, int &Outdim)
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)
std::vector< float > findPreshVector(ESDetId strip, RecHitsMap *rechits_map, CaloSubdetectorTopology *topology_p)
std::vector< float > const & get_input_vector() const
float getNNoutput(int sel_wfile, int Layers, int Indim, int Hidden, int Outdim, int barrelstart) const
double preshStripEnergyCut_
std::vector< float > input_var
std::map< DetId, EcalRecHit > RecHitsMap
float GetBarrelNNOutput(float EB_Et)
bool goodPi0Strip(RecHitsMap::iterator candidate_it, ESDetId lastID)
std::vector< float > H_O_Weight_all
std::vector< float > I_H_Weight_all
bool calculateNNInputVariables(std::vector< float > &vph1, std::vector< float > &vph2, float pS1_max, float pS9_max, float pS25_max, int EScorr)
float Activation_fun(float SUM) const
std::vector< float > H_Thresh_all
void findPi0Road(ESDetId strip, EcalPreshowerNavigator &theESNav, int plane, std::vector< ESDetId > &vout)