CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BTagCalibration.h
Go to the documentation of this file.
1 #ifndef BTagCalibration_H
2 #define BTagCalibration_H
3 
18 #include <map>
19 #include <vector>
20 #include <string>
21 #include <istream>
22 #include <ostream>
23 
26 
28 {
29 public:
34 
35  std::string tagger() const {return tagger_;}
36 
37  void addEntry(const BTagEntry &entry);
38  const std::vector<BTagEntry>& getEntries(const BTagEntry::Parameters &par) const;
39 
40  void readCSV(std::istream &s);
41  void readCSV(const std::string &s);
42  void makeCSV(std::ostream &s) const;
43  std::string makeCSV() const;
44 
45 protected:
46  static std::string token(const BTagEntry::Parameters &par);
47 
49  std::map<std::string, std::vector<BTagEntry> > data_;
50 
52 };
53 
54 #endif // BTagCalibration_H
void readCSV(std::istream &s)
const std::vector< BTagEntry > & getEntries(const BTagEntry::Parameters &par) const
std::string makeCSV() const
std::string tagger() const
void addEntry(const BTagEntry &entry)
#define COND_SERIALIZABLE
Definition: Serializable.h:37
tuple filename
Definition: lut2db_cfg.py:20
std::string tagger_
static std::string token(const BTagEntry::Parameters &par)
std::map< std::string, std::vector< BTagEntry > > data_