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
PhysicsTools::Calibration::MVAComputerContainer::CacheId cacheId
PhysicsTools::Calibration::MVAComputer::CacheId cacheId
GenericMVAComputer const * getComputer(int index) const
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
std::unique_ptr< GenericMVAComputer > computer
GenericMVAComputerCache(const std::vector< std::string > &labels)
std::vector< IndividualComputer > computers