1 #include "../interface/Muon.hh"
2 #include "../interface/city.h"
9 dr03_ecal_rechit_sum_et_(0.),
10 dr03_hcal_tower_sum_et_(0.),
11 dr03_pfiso_charged_all_(0.),
12 dr03_pfiso_charged_(0.),
13 dr03_pfiso_neutral_(0.),
14 dr03_pfiso_gamma_(0.),
16 dr04_pfiso_charged_all_(0.),
17 dr04_pfiso_charged_(0.),
18 dr04_pfiso_neutral_(0.),
19 dr04_pfiso_gamma_(0.),
21 is_standalone_(false),
26 gt_normalized_chi2_(0.),
27 cq_chi2_localposition_(0.),
29 gt_valid_muon_hits_(0),
33 it_layers_with_measurement_(0),
34 it_valid_fraction_(0),
35 segment_compatibility_(0),
47 return muon_idiso_.count(
CityHash64(name)) > 0;
51 UFmap::const_iterator iter = muon_idiso_.find(
CityHash64(name));
52 if (iter != muon_idiso_.end()) {
55 std::cerr <<
"Warning in <Muon::GetIdIso>: Label \""
56 << name <<
"\" not found" << std::endl;
virtual void Print() const
uint64 CityHash64(const char *buf, size_t len)
float GetIdIso(std::string const &name) const
Get the value associated to a label.
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
bool HasIdIso(std::string const &name) const
Check if a value with label name has already been defined.
void SetIdIso(std::string const &name, float const &value)
Add a new entry, overwriting any existing one with the same name.
virtual void Print() const