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 
17  bool
19 
20  GenericMVAComputer const* getComputer(int index) const;
21 
22  bool isEmpty() const;
23 
24  private:
29 
31  std::auto_ptr<GenericMVAComputer> computer;
33  };
34 
35  std::vector<IndividualComputer> computers;
38  bool empty;
40 };
41 
42 #endif // RecoBTau_JetTagComputer_GenericMVAComputerCache_h
PhysicsTools::Calibration::MVAComputerContainer::CacheId cacheId
PhysicsTools::Calibration::MVAComputer::CacheId cacheId
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
GenericMVAComputerCache(const std::vector< std::string > &labels)
GenericMVAComputer const * getComputer(int index) const
std::vector< IndividualComputer > computers
std::auto_ptr< GenericMVAComputer > computer