1 #ifndef RecoLocalCalo_EcalDeadChannelRecoveryAlgos_EcalDeadChannelRecoveryBDTG_H
2 #define RecoLocalCalo_EcalDeadChannelRecoveryAlgos_EcalDeadChannelRecoveryBDTG_H
15 #include "TMVA/Reader.h"
20 template <
typename DetIdT>
30 const DetIdT
id,
const EcalRecHitCollection &hit_collection,
double single8Cut,
double sum8Cut,
bool *acceptFlag);
std::array< float, 9 > iphi
void setParameters(const edm::ParameterSet &ps)
edm::FileInPath bdtWeightFileCracks_
edm::FileInPath bdtWeightFileNoCracks_
const CaloTopology * topology_
EcalDeadChannelRecoveryBDTG()
std::unique_ptr< TMVA::Reader > readerCrack
std::array< float, 9 > ieta
double recover(const DetIdT id, const EcalRecHitCollection &hit_collection, double single8Cut, double sum8Cut, bool *acceptFlag)
void setCaloTopology(const CaloTopology *topo)
~EcalDeadChannelRecoveryBDTG()
std::unique_ptr< TMVA::Reader > readerNoCrack
void addVariables(TMVA::Reader *reader)
std::array< float, 9 > rEn