CMS 3D CMS Logo

GenericMVAComputerCache.h
Go to the documentation of this file.
1 #ifndef RecoBTau_JetTagComputer_GenericMVAComputerCache_h
2 #define RecoBTau_JetTagComputer_GenericMVAComputerCache_h
3 
4 #include <string>
5 #include <vector>
6 #include <memory>
7 
11 
13 public:
14  GenericMVAComputerCache(const std::vector<std::string> &labels);
16 
18 
19  GenericMVAComputer const *getComputer(int index) const;
20 
21  bool isEmpty() const;
22 
23 private:
28 
30  std::unique_ptr<GenericMVAComputer> computer;
32  };
33 
34  std::vector<IndividualComputer> computers;
37  bool empty;
39 };
40 
41 #endif // RecoBTau_JetTagComputer_GenericMVAComputerCache_h
SummaryClient_cfi.labels
labels
Definition: SummaryClient_cfi.py:61
PhysicsTools::Calibration::MVAComputerContainer::CacheId
unsigned int CacheId
Definition: MVAComputer.h:262
GenericMVAComputerCache::isEmpty
bool isEmpty() const
Definition: GenericMVAComputerCache.cc:44
GenericMVAComputerCache::IndividualComputer::cacheId
PhysicsTools::Calibration::MVAComputer::CacheId cacheId
Definition: GenericMVAComputerCache.h:31
GenericMVAComputerCache::IndividualComputer::~IndividualComputer
~IndividualComputer()
Definition: GenericMVAComputerCache.cc:17
GenericMVAComputer
Definition: GenericMVAComputer.h:13
GenericMVAComputerCache::errorUpdatingLabel
std::string errorUpdatingLabel
Definition: GenericMVAComputerCache.h:38
GenericMVAComputerCache::update
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
Definition: GenericMVAComputerCache.cc:53
GenericMVAComputerCache::empty
bool empty
Definition: GenericMVAComputerCache.h:37
GenericMVAComputerCache::getComputer
const GenericMVAComputer * getComputer(int index) const
Definition: GenericMVAComputerCache.cc:35
MVAComputer.h
calib
Definition: CalibElectron.h:12
PhysicsTools::Calibration::MVAComputer::CacheId
unsigned int CacheId
Definition: MVAComputer.h:233
GenericMVAComputerCache::IndividualComputer::computer
std::unique_ptr< GenericMVAComputer > computer
Definition: GenericMVAComputerCache.h:30
GenericMVAComputerCache::IndividualComputer::IndividualComputer
IndividualComputer()
Definition: GenericMVAComputerCache.cc:12
BaseTagInfo.h
GenericMVAComputerCache::~GenericMVAComputerCache
~GenericMVAComputerCache()
Definition: GenericMVAComputerCache.cc:33
GenericMVAComputerCache::GenericMVAComputerCache
GenericMVAComputerCache(const std::vector< std::string > &labels)
Definition: GenericMVAComputerCache.cc:19
GenericMVAComputerCache::IndividualComputer
Definition: GenericMVAComputerCache.h:24
GenericMVAComputerCache::computers
std::vector< IndividualComputer > computers
Definition: GenericMVAComputerCache.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
GenericMVAComputerCache
Definition: GenericMVAComputerCache.h:12
PhysicsTools::Calibration::MVAComputerContainer
Definition: MVAComputer.h:250
GenericMVAComputerCache::initialized
bool initialized
Definition: GenericMVAComputerCache.h:36
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
GenericMVAComputer.h
GenericMVAComputerCache::cacheId
PhysicsTools::Calibration::MVAComputerContainer::CacheId cacheId
Definition: GenericMVAComputerCache.h:35
GenericMVAComputerCache::IndividualComputer::label
std::string label
Definition: GenericMVAComputerCache.h:29