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;
void findPi0Road(ESDetId strip, EcalPreshowerNavigator &theESNav, int plane, std::vector< ESDetId > &vout)
float GetNNOutput(float EE_Et)
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 > O_Thresh_all
std::map< DetId, EcalRecHit > RecHitsMap
std::vector< float > const & get_input_vector() const
EndcapPiZeroDiscriminatorAlgo()
double preshStripEnergyCut_
void readWeightFile(const char *WFile, int &Layers, int &Indim, int &Hidden, int &Outdim)
std::vector< float > input_var
std::vector< float > findPreshVector(ESDetId strip, RecHitsMap *rechits_map, CaloSubdetectorTopology *topology_p)
float getNNoutput(int sel_wfile, int Layers, int Indim, int Hidden, int Outdim, int barrelstart) const
std::vector< float > I_H_Weight_all
float GetBarrelNNOutput(float EB_Et)
bool goodPi0Strip(RecHitsMap::iterator candidate_it, ESDetId lastID)
std::vector< float > H_O_Weight_all
std::map< DetId, EcalRecHit > RecHitsMap
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