#include <EgammaObject.h>
|
void | clearVars () |
|
| EgammaObject () |
|
| EgammaObject (const reco::RecoEcalCandidate &ecalCand) |
|
| EgammaObject (int id, float pt, float eta, float phi, float mass) |
|
const reco::GsfTrackRefVector & | gsfTracks () const |
|
bool | hasVar (const std::string &varName) const |
|
const reco::ElectronSeedRefVector & | seeds () const |
|
void | setGsfTracks (reco::GsfTrackRefVector trks) |
|
void | setSeeds (reco::ElectronSeedRefVector seeds) |
|
void | setSuperCluster (const reco::SuperClusterRef &sc) |
|
void | setVars (std::vector< std::pair< std::string, float >> vars) |
|
const reco::SuperClusterRef & | superCluster () const |
|
float | var (const std::string &varName, bool raiseExcept=true) const |
|
std::vector< std::string > | varNames () const |
|
std::string | varNamesStr () const |
|
const std::vector< std::pair< std::string, float > > & | vars () const |
|
float | energy () const |
|
float | et () const |
|
float | eta () const |
|
int | id () const |
| getters More...
|
|
float | mass () const |
|
float | p () const |
|
reco::Particle | particle (reco::Particle::Charge q=0, const reco::Particle::Point &vertex=reco::Particle::Point(0, 0, 0), int status=0, bool integerCharge=true) const |
|
float | phi () const |
|
float | pt () const |
|
float | px () const |
|
float | py () const |
|
float | pz () const |
|
void | setEta (float eta) |
|
void | setId (int id) |
| setters More...
|
|
void | setMass (float mass) |
|
void | setPhi (float phi) |
|
void | setPt (float pt) |
|
| TriggerObject () |
| methods More...
|
|
template<typename T > |
| TriggerObject (const T &o) |
| ... and pdgId() More...
|
|
template<typename T > |
| TriggerObject (int id, const T &o) |
| any type T object implementing the methods pt(), eta(), phi(), mass() More...
|
|
| TriggerObject (int id, float pt, float eta, float phi, float mass) |
|
Definition at line 17 of file EgammaObject.h.
◆ EgammaObject() [1/3]
trigger::EgammaObject::EgammaObject |
( |
| ) |
|
|
inline |
◆ EgammaObject() [2/3]
trigger::EgammaObject::EgammaObject |
( |
int |
id, |
|
|
float |
pt, |
|
|
float |
eta, |
|
|
float |
phi, |
|
|
float |
mass |
|
) |
| |
|
inline |
◆ EgammaObject() [3/3]
◆ clearVars()
void trigger::EgammaObject::clearVars |
( |
| ) |
|
|
inline |
◆ gsfTracks()
◆ hasVar()
bool trigger::EgammaObject::hasVar |
( |
const std::string & |
varName | ) |
const |
◆ seeds()
◆ setGsfTracks()
◆ setSeeds()
◆ setSuperCluster()
◆ setVars()
void trigger::EgammaObject::setVars |
( |
std::vector< std::pair< std::string, float >> |
vars | ) |
|
◆ superCluster()
◆ var()
float trigger::EgammaObject::var |
( |
const std::string & |
varName, |
|
|
bool |
raiseExcept = true |
|
) |
| const |
Definition at line 26 of file EgammaObject.cc.
28 auto varIt = std::equal_range(
vars_.begin(),
vars_.end(), varName, VarComparer());
29 if (varIt.first != varIt.second)
30 return varIt.first->second;
31 else if (raiseExcept) {
33 ex <<
" error variable " << varName <<
" is not present, variables present are " <<
varNamesStr();
References SiStripPI::max.
Referenced by tree.Tree::copyStructure().
◆ varNames()
std::vector< std::string > trigger::EgammaObject::varNames |
( |
| ) |
const |
◆ varNamesStr()
std::string trigger::EgammaObject::varNamesStr |
( |
| ) |
const |
◆ vars()
const std::vector<std::pair<std::string, float> >& trigger::EgammaObject::vars |
( |
| ) |
const |
|
inline |
◆ gsfTracks_
◆ hasPixelMatch_
bool trigger::EgammaObject::hasPixelMatch_ |
|
private |
◆ seeds_
◆ superCluster_
◆ vars_
std::vector<std::pair<std::string, float> > trigger::EgammaObject::vars_ |
|
private |