7#ifndef XAODEGAMMA_VERSIONS_ELECTRON_V1_H
8#define XAODEGAMMA_VERSIONS_ELECTRON_V1_H
11#include "AthLinks/ElementLink.h"
72 virtual Type::ObjectType
type()
const override final;
81 virtual
double m()
const override final;
128 const std::array<
double, 4> &deltaEta,
130 const std::array<
double, 4> &deltaPhiRescaled,
131 const double deltaPhiLast
#define DATAVECTOR_BASE_FIN(T, B)
Used to finish up a forward declaration.
ElementLink implementation for ROOT usage.
bool trackCaloMatchValue(float &value, const EgammaParameters::TrackCaloMatchType information) const
Accessor for Track to Calo Match Values.
void setCharge(float charge)
set the charge of the object
std::vector< ElementLink< TrackParticleContainer > > TPELVec_t
Helper type definition.
float charge() const
Obtain the charge of the object.
float trackParticleSummaryFloatValue(const SummaryType information, int index=0) const
Electron_v1 & operator=(const Electron_v1 &el)
Assignment Operator. Ends up using the assignment of AuxElement for the store.
const xAOD::TrackParticle * trackParticle(size_t index=0) const
Pointer to the xAOD::TrackParticle/s that match the electron candidate.
virtual Type::ObjectType type() const override final
The type of the object as a simple enumeration.
const TPELVec_t & trackParticleLinks() const
Get all the track particles.
bool trackParticleSummaryValue(uint8_t &value, const SummaryType information, int index=0) const
Accessor to the matching track(s) float information (index = 0 is the best match) If 'information' is...
void setTrackParticleLinks(const TPELVec_t &links)
Set the ElementLinks to the xAOD::TrackParticle/s that match the electron candidate.
size_t nTrackParticles() const
Return the number xAOD::TrackParticles that match the electron candidate.
bool setTrackCaloMatchValue(const float value, const EgammaParameters::TrackCaloMatchType information)
Set method for Track to Calo Match values.
const ElementLink< TrackParticleContainer > & trackParticleLink(size_t index=0) const
ElementLink to the xAOD::TrackParticle/s that match the electron candidate.
Electron_v1()
Default constructor. No store is attached.
uint8_t trackParticleSummaryIntValue(const SummaryType information, int index=0) const
Accessor to the matching track(s) int information (index = 0 is the best match) Will lead to an excep...
virtual double m() const override final
The invariant mass of the particle.
bool setTrackCaloMatchValues(const std::array< double, 4 > &deltaEta, const std::array< double, 4 > &deltaPhi, const std::array< double, 4 > &deltaPhiRescaled, const double deltaPhiLast)
Convinience wrapper for setTrackCaloMatchValue.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
SummaryType
Enumerates the different types of information stored in Summary.