65 return Type::L2CombinedMuon;
78 static const Accessor< float >
acc(
"pt" );
85 static const Accessor< float >
acc(
"eta" );
92 static const Accessor< float >
acc(
"phi" );
110 errorFlag, setErrorFlag )
114 sigmaPt, setSigmaPt )
122 static const Accessor< ElementLink< TrackParticleContainer > >
123 acc(
"idTrackLink" );
124 if( !
acc.isAvailable( *
this ) ) {
128 if( ! el.isValid() ) {
136 muSATrackLink, setMuSATrackLink )
140 static const Accessor< ElementLink< L2StandAloneMuonContainer > >
141 acc(
"muSATrackLink" );
142 if( !
acc.isAvailable( *
this ) ) {
146 if( ! el.isValid() ) {
161 out <<
"charge: " << mu.charge() <<
"; ";
162 out <<
"pt: " << mu.pt() <<
"; ";
163 out <<
"phi: " << mu.phi() <<
"; ";
164 out <<
"eta: " << mu.eta() <<
"; ";
165 out <<
"strategy: " << mu.strategy() <<
"; ";
166 out <<
"errorFlag: " << mu.errorFlag() <<
"; ";
167 out <<
"matchFlag: " << mu.matchFlag() <<
"; ";
168 out <<
"sigmaPt: " << mu.sigmaPt();
Scalar eta() const
pseudorapidity method
#define AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(CL, PERSTYPE, TRANSTYPE, NAME)
Macro creating a getter function with a type conversion.
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
A number of constexpr particle constants to avoid hardcoding them directly in various places.
ElementLink implementation for ROOT usage.
Class describing combined muon reconstructed in the LVL2 trigger.
virtual double m() const
The invariant mass of the particle.
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
virtual double eta() const
The pseudorapidity ( ) of the particle.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
virtual double rapidity() const
The true rapidity (y) of the particle.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
L2CombinedMuon_v1()
Constructor.
virtual double e() const
The total energy of the particle.
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
const xAOD::TrackParticle * idTrack() const
Get the ID track as a bare pointer.
const xAOD::L2StandAloneMuon * muSATrack() const
Get the SA muon as a bare pointer.
constexpr double muonMassInMeV
the mass of the muon (in MeV)
ObjectType
Type of objects that have a representation in the xAOD EDM.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setStrategy setMatchFlag ElementLink< TrackParticleContainer >
setStrategy setMatchFlag idTrackLink
setRcore setEtHad setFside pt
AUXSTORE_PRIMITIVE_GETTER_WITH_CAST(Muon_v1, uint8_t, Muon_v1::EnergyLossType, energyLossType) AUXSTORE_PRIMITIVE_SETTER_WITH_CAST(Muon_v1
TrackParticle_v1 TrackParticle
Reference the current persistent version:
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
L2StandAloneMuon_v2 L2StandAloneMuon
Define the latest version of the muon SA class.
std::ostream & operator<<(std::ostream &out, const std::pair< FIRST, SECOND > &pair)
Helper print operator.
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.