Go to the documentation of this file. 1 #ifndef DataFormats_HLTReco_EgammaObject_h
2 #define DataFormats_HLTReco_EgammaObject_h
13 class RecoEcalCandidate;
34 float var(
const std::string& varName,
bool raiseExcept =
true)
const;
35 const std::vector<std::pair<std::string, float>>&
vars()
const {
return vars_; }
38 std::vector<std::string>
varNames()
const;
46 return lhs < rhs.first;
49 return lhs.first < rhs;
54 std::vector<std::pair<std::string, float>>
vars_;
std::vector< std::pair< std::string, float > > vars_
const std::vector< std::pair< std::string, float > > & vars() const
void setVars(std::vector< std::pair< std::string, float >> vars)
const reco::GsfTrackRefVector & gsfTracks() const
std::vector< std::string > varNames() const
reco::SuperClusterRef superCluster_
bool hasVar(const std::string &varName) const
const reco::ElectronSeedRefVector & seeds() const
bool operator()(const std::pair< std::string, float > &lhs, const std::string &rhs) const
reco::ElectronSeedRefVector seeds_
void setGsfTracks(reco::GsfTrackRefVector trks)
EgammaObject(int id, float pt, float eta, float phi, float mass)
void setSuperCluster(const reco::SuperClusterRef &sc)
void setSeeds(reco::ElectronSeedRefVector seeds)
reco::GsfTrackRefVector gsfTracks_
float var(const std::string &varName, bool raiseExcept=true) const
std::string varNamesStr() const
bool operator()(const std::string &lhs, const std::pair< std::string, float > &rhs) const
const reco::SuperClusterRef & superCluster() const