Functions | |
bool | hasEnding (std::string const &fullString, std::string const &ending) |
TMVA::IMethod * | loadTMVAWeights (TMVA::Reader *reader, const std::string &method, const std::string &weightFile, bool verbose=false) |
char * | readGzipFile (const std::string &weightFile) |
bool reco::details::hasEnding | ( | std::string const & | fullString, |
std::string const & | ending | ||
) |
Definition at line 11 of file TMVAZipReader.cc.
Referenced by MuonHLTSeedMVAClassifier::checkMVAFileConsistency(), and loadTMVAWeights().
TMVA::IMethod * reco::details::loadTMVAWeights | ( | TMVA::Reader * | reader, |
const std::string & | method, | ||
const std::string & | weightFile, | ||
bool | verbose = false |
||
) |
Definition at line 52 of file TMVAZipReader.cc.
References DummyCfis::c, gather_cfg::cout, Exception, free(), hasEnding(), AlcaSiPixelAliHarvester0T_cff::method, DQM::reader, readGzipFile(), AlCaHLTBitMon_QueryRunRegistry::string, verbose, and HLT_2024v14_cff::weightFile.
Referenced by BaseMVAValueMapProducer< pat::Muon >::BaseMVAValueMapProducer(), cms::PileupJPTJetIdAlgo::bookMVAReader(), MVAJetPuId::bookReader(), l1t::HGC3DClusterTMVASelector::HGC3DClusterTMVASelector(), TMVAEvaluator::initialize(), and l1tpf::HGC3DClusterEgID::prepareTMVA().
char * reco::details::readGzipFile | ( | const std::string & | weightFile | ) |
Definition at line 19 of file TMVAZipReader.cc.
References edmScanValgrind::buffer, submitPVResolutionJobs::err, Exception, f, geometryDiff::file, free(), malloc(), and HLT_2024v14_cff::weightFile.
Referenced by loadTMVAWeights().