88 assert( egEnum.size() == egID.size() );
90 for (
unsigned int i=0; i< egID.size(); i++ ) {
158 for (
unsigned int i=0; i<nbOfEgammaIDs; i++ ) {
162 egID.push_back(tmpID);
ElementLinkVector implementation for standalone ROOT.
ElementLink implementation for ROOT usage.
CLHEP::HepLorentzVector hlv() const
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
ConversionLinkCnv_t m_conversionCnv
virtual void transToPers(const egamma *transObj, egamma_p4 *persObj, MsgStream &msg) override final
Method creating the persistent representation egamma_p4 from its transient representation egamma.
P4ImplEEtaPhiMCnv_p2 m_momCnv
ParticleBaseCnv_p2 m_partBaseCnv
TrackLinkCnv_t m_trackCnv
EgDetailsCnv_t m_egDetailsCnv
virtual void persToTrans(const egamma_p4 *persObj, egamma *transObj, MsgStream &msg) override final
Method creating the transient representation of egamma from its persistent representation egamma_p4.
ClusterLinkCnv_t m_clusterCnv
P4EEtaPhiMFloat_p2 m_momentumCluster
the 4-mom part for the Cluster
ElementLinkIntVector_p1 m_trackParticle
links to tracks
std::vector< double > m_egammaDblPIDs
P4EEtaPhiMFloat_p2 m_momentum
the 4-mom part
std::vector< unsigned int > m_egammaEnumPIDs
egamma PID
ParticleBase_p2 m_particleBase
the ParticleBase part
ElementLinkIntVector_p1 m_egDetails
links to egDetails
ElementLinkIntVector_p1 m_conversion
links to tracks
ElementLinkInt_p3 m_cluster
links to clusters
const momentum_type & get4Mom(egamma::eg4MomType type=egamma::Combined) const
return the combined or additional uncombined cluster 4mom
unsigned int isemse(unsigned int mask=egammaPIDObs::ALL) const
ID flag with cuts for softe, 0:e, >1:jet.
unsigned int isem(unsigned int mask=egammaPIDObs::ALL, egammaPIDObs::PID pid=egammaPIDObs::IsEM) const
ID flag with cuts, 0:e, >1:jet.
void setTrackParticleElementLinkVector(const ElementLinkVector< Rec::TrackParticleContainer > &v)
void setUncombined4Mom(const I4Momentum &theI4Mom)
set uncombined all 4-mom from another I4Momentum reference
double egammaID(egammaPIDObs::PID, bool *found) const
access to PID information, as double to work for IsEM and all possible weights as likelihood
unsigned int author() const
Reconstruction Author.
const ElementLinkVector< Rec::TrackParticleContainer > & trackParticleElementLinkVector() const
bool set_egammaIDint(egammaPIDObs::PID id, unsigned int result)
set_egamma ID, for usigned int values
void setConversionElementLinkVector(const ElementLinkVector< VxContainer > &link)
egammaImpl_t::momentum_type momentum_type
unsigned int isgoodoq(unsigned int mask=egammaPIDObs::ALLOQ, bool *found=nullptr) const
void setDetailElementLinkVector(const ElementLinkVector< egDetailContainer > &v)
bool set_egammaID(egammaPIDObs::PID id, double result)
set_egamma ID, for doubles and all possible weights as likelihood
const ElementLinkVector< egDetailContainer > & detailElementLinkVector() const
void resetRings()
Reset Cluster.
void setClusterElementLink(const ElementLink< CaloClusterContainer > &link)
Set Cluster Element Link.
const ElementLinkVector< VxContainer > & conversionElementLinkVector() const
const ElementLink< CaloClusterContainer > & clusterElementLink() const
element link to cluster
const unsigned int EgPidUndefined
@ IsGoodOQ
Object Quality variable.
@ SofteIsEM
cut-based identification for softe electrons in jets (for btag)
@ LastEgammaPID
Default for the last enum (don't change it !)
@ IsEM
cut-based identification for egamma objects (cluster and track-based)
const unsigned int ALL
all cuts