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_;
const std::vector< std::pair< std::string, float > > & vars() const
const reco::SuperClusterRef & superCluster() const
bool operator()(const std::string &lhs, const std::pair< std::string, float > &rhs) const
void setVars(std::vector< std::pair< std::string, float >> vars)
bool operator()(const std::pair< std::string, float > &lhs, const std::string &rhs) const
const reco::ElectronSeedRefVector & seeds() const
void setGsfTracks(reco::GsfTrackRefVector trks)
std::vector< std::string > varNames() const
reco::SuperClusterRef superCluster_
const reco::GsfTrackRefVector & gsfTracks() const
reco::ElectronSeedRefVector seeds_
EgammaObject(int id, float pt, float eta, float phi, float mass)
bool hasVar(const std::string &varName) const
void setSeeds(reco::ElectronSeedRefVector seeds)
void setSuperCluster(const reco::SuperClusterRef &sc)
reco::GsfTrackRefVector gsfTracks_
std::string varNamesStr() const
std::vector< std::pair< std::string, float > > vars_
float var(const std::string &varName, bool raiseExcept=true) const