#include <EgammaObject.h>
Classes | |
struct | VarComparer |
Public Member Functions | |
void | clearVars () |
EgammaObject () | |
EgammaObject (int id, float pt, float eta, float phi, float mass) | |
EgammaObject (const reco::RecoEcalCandidate &ecalCand) | |
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 |
Public Member Functions inherited from trigger::TriggerObject | |
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... | |
TriggerObject (int id, float pt, float eta, float phi, float mass) | |
template<typename T > | |
TriggerObject (int id, const T &o) | |
any type T object implementing the methods pt(), eta(), phi(), mass() More... | |
template<typename T > | |
TriggerObject (const T &o) | |
... and pdgId() More... | |
Private Attributes | |
reco::GsfTrackRefVector | gsfTracks_ |
bool | hasPixelMatch_ |
reco::ElectronSeedRefVector | seeds_ |
reco::SuperClusterRef | superCluster_ |
std::vector< std::pair< std::string, float > > | vars_ |
Definition at line 17 of file EgammaObject.h.
|
inline |
Definition at line 19 of file EgammaObject.h.
|
inline |
Definition at line 21 of file EgammaObject.h.
trigger::EgammaObject::EgammaObject | ( | const reco::RecoEcalCandidate & | ecalCand | ) |
Definition at line 8 of file EgammaObject.cc.
|
inline |
Definition at line 41 of file EgammaObject.h.
References vars_.
|
inline |
bool trigger::EgammaObject::hasVar | ( | const std::string & | varName | ) | const |
Definition at line 22 of file EgammaObject.cc.
|
inline |
|
inline |
Definition at line 30 of file EgammaObject.h.
References gsfTracks_, eostools::move(), and hltEgammaHLTExtra_cfi::trks.
Referenced by EgammaHLTExtraProducer::setGsfTracks().
void trigger::EgammaObject::setSeeds | ( | reco::ElectronSeedRefVector | seeds | ) |
Definition at line 11 of file EgammaObject.cc.
References eostools::move(), fileCollector::seed, and HLT_FULL_cff::seeds.
Referenced by EgammaHLTExtraProducer::setSeeds().
|
inline |
Definition at line 29 of file EgammaObject.h.
References superCluster_.
void trigger::EgammaObject::setVars | ( | std::vector< std::pair< std::string, float >> | vars | ) |
Definition at line 60 of file EgammaObject.cc.
References eostools::move(), and jetUpdater_cfi::sort.
Referenced by EgammaHLTExtraProducer::setVars().
|
inline |
Definition at line 25 of file EgammaObject.h.
References superCluster_.
Referenced by Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), EgammaHLTExtraProducer::setGsfTracks(), and EgammaHLTExtraProducer::setSeeds().
float trigger::EgammaObject::var | ( | const std::string & | varName, |
bool | raiseExcept = true |
||
) | const |
Definition at line 26 of file EgammaObject.cc.
References SiStripPI::max.
Referenced by tree.Tree::copyStructure().
std::vector< std::string > trigger::EgammaObject::varNames | ( | ) | const |
Definition at line 40 of file EgammaObject.cc.
References names, and trigObjTnPSource_cfi::var.
std::string trigger::EgammaObject::varNamesStr | ( | ) | const |
Definition at line 49 of file EgammaObject.cc.
References Skims_PA_cff::name, names, AlCaHLTBitMon_QueryRunRegistry::string, and varNames.
|
inline |
Definition at line 35 of file EgammaObject.h.
References vars_.
|
private |
Definition at line 57 of file EgammaObject.h.
Referenced by gsfTracks(), and setGsfTracks().
|
private |
Definition at line 53 of file EgammaObject.h.
|
private |
Definition at line 59 of file EgammaObject.h.
Referenced by seeds().
|
private |
Definition at line 56 of file EgammaObject.h.
Referenced by setSuperCluster(), and superCluster().
|
private |
Definition at line 54 of file EgammaObject.h.
Referenced by clearVars(), and vars().