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
std::vector< std::string > varNames() 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
std::string varNamesStr() const
Single trigger physics object (e.g., an isolated muon)
float var(const std::string &varName, bool raiseExcept=true) const
const reco::SuperClusterRef & superCluster() const
const reco::GsfTrackRefVector & gsfTracks() const
void setGsfTracks(reco::GsfTrackRefVector trks)
reco::SuperClusterRef superCluster_
reco::ElectronSeedRefVector seeds_
const reco::ElectronSeedRefVector & seeds() const
EgammaObject(int id, float pt, float eta, float phi, float mass)
bool operator()(const std::string &lhs, const std::pair< std::string, float > &rhs) const
void setSeeds(reco::ElectronSeedRefVector seeds)
void setSuperCluster(const reco::SuperClusterRef &sc)
reco::GsfTrackRefVector gsfTracks_
bool hasVar(const std::string &varName) const
std::vector< std::pair< std::string, float > > vars_