1 #include "../interface/Electron.hh" 
    2 #include "../interface/city.h" 
    3 #include "boost/format.hpp" 
   10       dr03_ecal_rechit_sum_et_(0.),
 
   11       dr03_hcal_tower_sum_et_(0.),
 
   12       ecal_pf_cluster_iso_(0.),
 
   13       hcal_pf_cluster_iso_(0.),
 
   14       dr03_pfiso_charged_all_(0.),
 
   15       dr03_pfiso_charged_(0.),
 
   16       dr03_pfiso_neutral_(0.),
 
   17       dr03_pfiso_gamma_(0.),
 
   19       dr04_pfiso_charged_all_(0.),
 
   20       dr04_pfiso_charged_(0.),
 
   21       dr04_pfiso_neutral_(0.),
 
   22       dr04_pfiso_gamma_(0.),
 
   24       hadronic_over_em_(0.),
 
   25       full5x5_sigma_IetaIeta_(0.),
 
   27       dphi_sc_tk_at_vtx_(0.),
 
   28       deta_sc_tk_at_vtx_(0.),
 
   41       has_matched_conversion_(false),
 
   53   return elec_idiso_.count(
CityHash64(name)) > 0;
 
   57   UFmap::const_iterator iter = elec_idiso_.find(
CityHash64(name));
 
   58   if (iter != elec_idiso_.end()) {
 
   61     std::cerr << 
"Warning in <Electron::GetIdIso>: Label \"" 
   62         << name << 
"\" not found" << std::endl;
 
   68   std::cout << 
"-sc_eta: " << this->
sc_eta() << std::endl;
 
   69   std::cout << 
"-sigma_IetaIeta: " << this->
sigma_IetaIeta() << std::endl;
 
   73   std::cout << 
"-gsf_tk_nhits: " << this->
gsf_tk_nhits() << std::endl;
 
   76   std::cout << 
"-dxy_vertex: " << this->
dxy_vertex() << std::endl;
 
   77   std::cout << 
"-dz_vertex:  " << this->
dz_vertex() << std::endl;
 
   86   std::cout << 
"-dr04_pfiso_pu " << this->
dr04_pfiso_pu() << std::endl;
 
float sc_eta() const 
Supercluster . 
 
float sigma_IetaIeta() const 
Weighted cluster RMS in the -direction, measured in units of crystals in a 5x5 block centred on the s...
 
double dxy_vertex() const 
Transverse impact parameter of the GSF track with the primary vertex. 
 
uint64 CityHash64(const char *buf, size_t len)
 
int gsf_tk_nhits() const 
Number of tracker layers between the vertex and the first detected hit the electron should have trave...
 
float dr04_pfiso_pu() const 
PF isolation, using charged pileup in a cone with . 
 
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 
 
bool HasIdIso(std::string const &name) const 
Check if a value with label name has already been defined. 
 
float dr04_pfiso_charged() const 
PF isolation, using charged hadrons in a cone with . 
 
Stores a four-momentum, charge and identifier, and is the base class for most other physics objects...
 
float dr04_pfiso_gamma() const 
PF isolation, using photons in a cone with . 
 
float dr04_pfiso_neutral() const 
PF isolation, using neutral hadrons in a cone with . 
 
float deta_sc_tk_at_vtx() const 
 between the supercluster and track, where the latter is evaluated from the vertex position ...
 
double dz_vertex() const 
Longitudinal impact parameter of the GSF track with the primary vertex. 
 
float dr04_pfiso_charged_all() const 
PF isolation, using all charged particles in a cone with . 
 
float dphi_sc_tk_at_vtx() const 
 between the supercluster and track, where the latter is evaluated from the vertex position ...
 
float hadronic_over_em() const 
Ratio of HCAL to supercluster energy in the region of the electron hit. 
 
bool has_matched_conversion() const 
True if electron is matched to a conversion vertex. 
 
float GetIdIso(std::string const &name) const 
Get the value associated to a label.