|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAODMUON_VERSIONS_MUON_V1_H
9 #define XAODMUON_VERSIONS_MUON_V1_H
13 #include "AthLinks/ElementLink.h"
31 #include "Math/Vector4D.h"
42 #include "xAODMuon/versions/MuonEnums.def"
58 virtual double pt()
const;
60 virtual double eta()
const;
62 virtual double phi()
const;
64 virtual double m()
const;
66 virtual double e()
const;
80 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >
GenVecFourMom_t;
347 #endif // XAODMUON_VERSIONS_Muon_v1_H
const ElementLink< TrackParticleContainer > & primaryTrackParticleLink() const
void setClusterLink(const ElementLink< CaloClusterContainer > &link)
Set method for cluster links.
uint16_t allAuthors() const
Get all the authors of this Muon.
virtual double rapidity() const
The true rapidity (y) of the particle.
bool isolation(float &value, const Iso::IsolationType information) const
Accessor for Isolation values.
const ElementLink< TrackParticleContainer > & msOnlyExtrapolatedMuonSpectrometerTrackParticleLink() const
Returns an ElementLink to the MS-only Extrapolated Muon Spectrometer TrackParticle used in identifica...
const CaloCluster * cluster() const
Retrieve the associated cluster with a bare pointer.
const TrackParticle * trackParticle(TrackParticleType type) const
Returns a pointer (which can be NULL) to the TrackParticle used in identification of this muon.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
const MuonSegment * muonSegment(size_t i) const
Returns a pointer to the specified MuonSegment.
IsolationFlavour
Enumeration for different ways of calculating isolation in xAOD files.
virtual double phi() const
The azimuthal angle ( ) of the particle.
Quality quality() const
The Muon Quality information is defined on the MCP twiki: https://twiki.cern.ch/twiki/bin/view/Atlas/...
void setTrackParticleLink(TrackParticleType type, const ElementLink< TrackParticleContainer > &link)
Set method for TrackParticle links.
virtual double eta() const
The pseudorapidity ( ) of the particle.
size_t nMuonSegments() const
Number of MuonSegments linked to by this Muon.
int intParameter(const ParamDef parameter) const
Same as bool parameter(float& value, const ParamDef ¶meter) const, but without check (will throw ...
Class describing a MuonSegment.
void setP4(double pt, double eta, double phi)
Set method for IParticle values.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual ~Muon_v1()
Destructor.
Class providing the definition of the 4-vector interface.
MuonSummaryType
Enumerates the different types of information stored in Summary.
void setPassesIDCuts(bool)
Set whether passes the MCP ID hit cuts.
void setEnergyLossType(EnergyLossType type)
Set method for the type.
const std::vector< ElementLink< MuonSegmentContainer > > & muonSegmentLinks() const
Returns a vector of ElementLinks to the MuonSegments used to create this Muon.
IsolationCorrectionParameter
void setIsolation(float value, const Iso::IsolationType information)
Set method for Isolation values.
EnergyLossType energyLossType(void) const
Energy determined from parametrization or not (measured).
TLorentzVector FourMom_t
Definition of the 4-momentum type.
void setParameter(float value, const ParamDef parameter)
Set method for parameter values.
const ElementLink< TrackParticleContainer > & trackParticleLink(TrackParticleType type) const
Returns an ElementLink to the TrackParticle used in identification of this muon.
DATAVECTOR_BASE(xAOD::Muon_v1, xAOD::IParticle)
bool isolationTrackCorrection(float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection type) const
Accessor for Isolation Track correction.
const ElementLink< CaloClusterContainer > & clusterLink() const
Returns an ElementLinkto the cluster associated to this muon.
Description of a calorimeter cluster.
Muon_v1()
inject the enums
SummaryType
Enumerates the different types of information stored in Summary.
IParticle::FourMom_t FourMom_t
Definition of the 4-momentum type.
bool parameter(int &value, const ParamDef parameter) const
Get an integer parameter for this Muon - msInnerMatchDOF for example.
bool isolationCorrectionBitset(std::bitset< 32 > &value, const Iso::IsolationFlavour flavour) const
Accessor for Isolation corection Bitset.
bool summaryValue(uint8_t &value, const SummaryType information) const
Accessor for TrackSummary values (in most cases, retrieved from the 'primary' TrackParticle - though ...
IsolationType
Overall enumeration for isolation types in xAOD files.
bool parameter(float &value, const ParamDef parameter) const
Get a parameter for this Muon - momentumBalanceSignificance for example.
const ElementLink< TrackParticleContainer > & muonSpectrometerTrackParticleLink() const
Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon.
virtual double pt() const
The transverse momentum ( ) of the particle.
void setCharge(float charge)
Set the charge (must be the same as primaryTrackParticle() )
void addAllAuthor(const Author author)
add author to all authors
float floatSummaryValue(const SummaryType information) const
Same as bool summaryValue(float& value, const SummaryType &information) const , but without check (wi...
virtual double m() const
The invariant mass of the particle..
Muon_v1 & operator=(const Muon_v1 &rhs)
Assignment operator.
float floatParameter(const ParamDef parameter) const
Same as bool parameter(float& value, const ParamDef ¶meter) const, but without check (will throw ...
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
float uint8MuonSummaryValue(const MuonSummaryType information) const
Same as bool summaryValue(uint8_t& value, const MuonSummaryType &information) const,...
bool isolationCaloCorrection(float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection type, const Iso::IsolationCorrectionParameter param) const
Accessor for Isolation Calo correction.
bool isAuthor(const Author author) const
Returns 'true' if 'author' is the an author of this muon.
ElementLink implementation for ROOT usage.
bool passesIDCuts() const
Returns true if this Muon passes the MCP ID hit cuts (see the MCP twiki for definitions: https://twik...
uint8_t uint8SummaryValue(const SummaryType information) const
Same as bool summaryValue(uint8_t& value, const SummaryType &information) const, but without check (w...
void setParameter(int value, const ParamDef parameter)
Set method for parameter values.
bool setIsolationCorrectionBitset(uint32_t value, const Iso::IsolationFlavour flavour)
Set method for Isolation corection Bitset.
const ElementLink< TrackParticleContainer > & inDetTrackParticleLink() const
Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon.
An STL vector of pointers that by default owns its pointed-to elements.
IsolationCaloCorrection
Enumeration for different ways of correcting isolation in xAOD files.
void setAuthor(Author auth)
set author
void setSummaryValue(uint8_t value, const SummaryType information)
Set method for storing TrackSummary SummaryType information on the Muon (see Aux to see which is alre...
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for Muon.
bool setIsolationCaloCorrection(float value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection type, const Iso::IsolationCorrectionParameter param)
set method for Isolation Calo Corrections.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : GenVector.
void setMuonSegmentLinks(const std::vector< ElementLink< MuonSegmentContainer > > &segments)
Set the vector of ElementLinks to the MuonSegments used to create this Muon.
const ElementLink< MuonSegmentContainer > & muonSegmentLink(size_t i) const
Returns a link to the specified MuonSegment.
const ElementLink< TrackParticleContainer > & extrapolatedMuonSpectrometerTrackParticleLink() const
Returns an ElementLink to the Extrapolated Muon Spectrometer TrackParticle used in identification of ...
virtual double e() const
The total energy of the particle.
const TrackParticle * primaryTrackParticle() const
Returns a pointer (which should not usually be NULL, but might be if the muon has been stripped of in...
Class describing a TrackParticle.
void setMuonType(MuonType type)
bool setIsolationTrackCorrection(float value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection type)
Set method for Isolation Track Corrections.
ObjectType
Type of objects that have a representation in the xAOD EDM.
Base class for elements of a container that can have aux data.
const ElementLink< TrackParticleContainer > & combinedTrackParticleLink() const
Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon.
void setAllAuthors(uint16_t authors)
MuonType muonType() const