Functions | |
bool | hasEnding (std::string const &fullString, std::string const &ending) |
void | 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 loadTMVAWeights().
void 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 trackerHits::c, gather_cfg::cout, edm::hlt::Exception, hasEnding(), readGzipFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cms::PileupJPTJetIdAlgo::bookMVAReader(), and PileupJetIdAlgo::bookReader().
char * reco::details::readGzipFile | ( | const std::string & | weightFile | ) |
Definition at line 21 of file TMVAZipReader.cc.
References edm::hlt::Exception, f, mergeVDriftHistosByStation::file, NULL, and findQualityFiles::size.
Referenced by loadTMVAWeights().