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 12 of file TMVAZipReader.cc.
Referenced by GBRForestTools::createGBRForest(), and loadTMVAWeights().
TMVA::IMethod * reco::details::loadTMVAWeights | ( | TMVA::Reader * | reader, |
const std::string & | method, | ||
const std::string & | weightFile, | ||
bool | verbose = false |
||
) |
Definition at line 57 of file TMVAZipReader.cc.
References EnergyCorrector::c, gather_cfg::cout, Exception, hasEnding(), readGzipFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GBRForestWriter::analyze(), BaseMVAValueMapProducer< pat::Jet >::BaseMVAValueMapProducer(), cms::PileupJPTJetIdAlgo::bookMVAReader(), MVAJetPuId::bookReader(), GBRForestTools::createGBRForest(), PileupJetIdAlgo::AlgoGBRForestsAndConstants::getMVA(), and TMVAEvaluator::initialize().
char * reco::details::readGzipFile | ( | const std::string & | weightFile | ) |
Definition at line 21 of file TMVAZipReader.cc.
References edmScanValgrind::buffer, Exception, f, FrontierConditions_GlobalTag_cff::file, and findQualityFiles::size.
Referenced by GBRForestTools::createGBRForest(), and loadTMVAWeights().