Go to the documentation of this file. 1 #ifndef DataFormats_BTauReco_DeepBoostedJetFeatures_h
2 #define DataFormats_BTauReco_DeepBoostedJetFeatures_h
6 #include <unordered_map>
26 <<
"[DeepBoostedJetFeatures::fill()] Feature " <<
name <<
" has not been registered";
36 for (
unsigned i = 1;
i <
names.size(); ++
i) {
39 <<
"[DeepBoostedJetFeatures::check_consistency()] Inconsistent variable length " <<
get(
names[
i]).size()
40 <<
" for " <<
names[
i] <<
", should be " << ref_len;
51 <<
"[DeepBoostedJetFeatures::get()] Feature " <<
name <<
" does not exist!";
62 #endif // DataFormats_BTauReco_DeepBoostedJetFeatures_h
size d for d tracks hist hist capacity()
void set(const std::string &name, const std::vector< float > &vec)
void check_consistency(const std::vector< std::string > &names) const
void reserve(const std::string &name, unsigned capacity)
const std::string names[nVars_]
void add(const std::string &name)
const std::vector< float > & get(const std::string &name) const
std::unordered_map< std::string, std::vector< float > > feature_map_
void fill(const std::string &name, float value)