![]() |
ATLAS Offline Software
|
Class describing a Muon. More...
#include <Muon_v1.h>
Public Member Functions | |
| Muon_v1 ()=default | |
| inject the enums | |
| Muon_v1 (const Muon_v1 &rhs) | |
| Copy constructor. | |
| virtual | ~Muon_v1 ()=default |
| Destructor. | |
| Muon_v1 & | operator= (const Muon_v1 &rhs) |
| Assignment operator. | |
| bool | isolationCaloCorrection (float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection type, const Iso::IsolationCorrectionParameter param) const |
| Accessor for Isolation Calo correction. | |
| float | isolationCaloCorrection (const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection type, const Iso::IsolationCorrectionParameter param) const |
| Accessor to Isolation Calo corrections , this just returns the correction without internaly checking if it exists. | |
| bool | setIsolationCaloCorrection (float value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection type, const Iso::IsolationCorrectionParameter param) |
| set method for Isolation Calo Corrections. | |
| bool | isolationTrackCorrection (float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection type) const |
| Accessor for Isolation Track correction. | |
| float | isolationTrackCorrection (const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection type) const |
| Accessor to Isolation Track corrections , this just returns the correction without internaly checking if it exists. | |
| bool | setIsolationTrackCorrection (float value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection type) |
| Set method for Isolation Track Corrections. | |
| bool | isolationCorrectionBitset (std::bitset< 32 > &value, const Iso::IsolationFlavour flavour) const |
| Accessor for Isolation corection Bitset. | |
| std::bitset< 32 > | isolationCorrectionBitset (const Iso::IsolationFlavour flavour) const |
| Accessor to Isolation corection Bitset , this just returns the bitset without internaly checking if it exists. | |
| bool | setIsolationCorrectionBitset (uint32_t value, const Iso::IsolationFlavour flavour) |
| Set method for Isolation corection Bitset. | |
IParticle functions | |
The transverse momentum ( \(p_T\)) of the particle. | |
| typedef IParticle::FourMom_t | FourMom_t |
| Definition of the 4-momentum type. | |
| typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > | GenVecFourMom_t |
| Base 4 Momentum type for Muon. | |
| virtual double | pt () const |
| The transverse momentum ( \(p_T\)) of the particle. | |
| virtual double | eta () const |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| virtual double | phi () const |
| The azimuthal angle ( \(\phi\)) of the particle. | |
| virtual double | m () const |
| The invariant mass of the particle.. | |
| virtual double | e () const |
| The total energy of the particle. | |
| virtual double | rapidity () const |
| The true rapidity (y) of the particle. | |
| void | setP4 (double pt, double eta, double phi) |
| Set method for IParticle values. | |
| virtual FourMom_t | p4 () const |
| The full 4-momentum of the particle. | |
| GenVecFourMom_t | genvecP4 () const |
| The full 4-momentum of the particle : GenVector. | |
| virtual Type::ObjectType | type () const |
| The type of the object as a simple enumeration. | |
Charge | |
Returns the charge. | |
| float | charge () const |
| void | setCharge (float charge) |
| Set the charge (must be the same as primaryTrackParticle() ). | |
Author | |
Methods to query the author(s) of this Muon | |
| Author | author () const |
| bool | isAuthor (const Author author) const |
| Returns 'true' if 'author' is the an author of this muon. | |
| void | setAuthor (Author auth) |
| set author | |
| uint16_t | allAuthors () const |
| Get all the authors of this Muon. | |
| void | setAllAuthors (uint16_t authors) |
| void | addAllAuthor (const Author author) |
| add author to all authors | |
Summary information | |
Return summary information about the muon, such as its MuonType, and the TrackSumary values of the primary TrackParticle. | |
| MuonType | muonType () const |
| void | setMuonType (MuonType type) |
| bool | summaryValue (uint8_t &value, const SummaryType information) const |
| Accessor for TrackSummary values (in most cases, retrieved from the 'primary' TrackParticle - though it could be stored on the Muon, depending on the job configuration) If 'information' is stored in the primary TrackParticle/Muon and is of the correct templated type T, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'. | |
| void | setSummaryValue (uint8_t value, const SummaryType information) |
| Set method for storing TrackSummary SummaryType information on the Muon (see Aux to see which is already defined as static). | |
| bool | summaryValue (float &value, const SummaryType information) const |
| summaryValue(uint8_t& value, const SummaryType information) const; | |
| bool | summaryValue (uint8_t &value, const MuonSummaryType information) const |
| Accessor for MuonSummaryType. | |
| void | setSummaryValue (uint8_t value, const MuonSummaryType information) |
| Set method for MuonSummaryType. | |
| float | floatSummaryValue (const SummaryType information) const |
| Same as bool summaryValue(float& value, const SummaryType &information) const , but without check (will throw exception if value isn't there) Primarily for use in Python. | |
| uint8_t | uint8SummaryValue (const SummaryType information) const |
| Same as bool summaryValue(uint8_t& value, const SummaryType &information) const, but without check (will throw exception if value isn't there) Primarily for use in Python. | |
| float | uint8MuonSummaryValue (const MuonSummaryType information) const |
| Same as bool summaryValue(uint8_t& value, const MuonSummaryType &information) const, but without check (will throw exception if value isn't there) Primarily for use in Python. | |
| bool | parameter (float &value, const ParamDef parameter) const |
| Get a parameter for this Muon - momentumBalanceSignificance for example. | |
| void | setParameter (float value, const ParamDef parameter) |
| Set method for parameter values. | |
| float | floatParameter (const ParamDef parameter) const |
| Same as bool parameter(float& value, const ParamDef ¶meter) const, but without check (will throw exception if value isn't there). | |
| bool | parameter (int &value, const ParamDef parameter) const |
| Get an integer parameter for this Muon - msInnerMatchDOF for example. | |
| void | setParameter (int value, const ParamDef parameter) |
| Set method for parameter values. | |
| int | intParameter (const ParamDef parameter) const |
| Same as bool parameter(float& value, const ParamDef ¶meter) const, but without check (will throw exception if value isn't there). | |
| Quality | quality () const |
| Muon CP quality accessors. | |
| void | setQuality (Quality) |
| bool | passesIDCuts () const |
| MCP ID hit cuts - get/set the corresponding status bit in the quality decoration. | |
| void | setPassesIDCuts (bool) |
Isolation information. | |
| bool | isolation (float &value, const Iso::IsolationType information) const |
| Accessor for Isolation values. | |
| float | isolation (const Iso::IsolationType information) const |
| Accessor to Isolation values , this just returns the value without internaly checking if it exists. | |
| void | setIsolation (float value, const Iso::IsolationType information) |
| Set method for Isolation values. | |
Links | |
With the following methods you can retrieve links to the objects used to identify this muon - depending on how the muon was built the link may or may not be valid (i.e. a muon built from a standalone MS track won't have an ID TrackParticle associated to it).
Add some code here, showing how to properly use the element links
Returns an ElementLink to the primary TrackParticle corresponding to the MuonType of this muon. This is determined in the following order:
| |
| const ElementLink< TrackParticleContainer > & | primaryTrackParticleLink () const |
| const TrackParticle * | primaryTrackParticle () const |
| Returns a pointer (which should not usually be NULL, but might be if the muon has been stripped of information) to the primary TrackParticle corresponding to the MuonType of this muon. | |
| const ElementLink< TrackParticleContainer > & | inDetTrackParticleLink () const |
| Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon. | |
| const ElementLink< TrackParticleContainer > & | muonSpectrometerTrackParticleLink () const |
| Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon. | |
| const ElementLink< TrackParticleContainer > & | combinedTrackParticleLink () const |
| Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon. | |
| const ElementLink< TrackParticleContainer > & | extrapolatedMuonSpectrometerTrackParticleLink () const |
| Returns an ElementLink to the Extrapolated Muon Spectrometer TrackParticle used in identification of this muon. | |
| const ElementLink< TrackParticleContainer > & | msOnlyExtrapolatedMuonSpectrometerTrackParticleLink () const |
| Returns an ElementLink to the MS-only Extrapolated Muon Spectrometer TrackParticle used in identification of this muon. | |
| const ElementLink< TrackParticleContainer > & | trackParticleLink (TrackParticleType type) const |
| Returns an ElementLink to the TrackParticle used in identification of this muon. | |
| void | setTrackParticleLink (TrackParticleType type, const ElementLink< TrackParticleContainer > &link) |
| Set method for TrackParticle links. | |
| const TrackParticle * | trackParticle (TrackParticleType type) const |
| Returns a pointer (which can be NULL) to the TrackParticle used in identification of this muon. | |
| const ElementLink< CaloClusterContainer > & | clusterLink () const |
| Returns an ElementLinkto the cluster associated to this muon. | |
| void | setClusterLink (const ElementLink< CaloClusterContainer > &link) |
| Set method for cluster links. | |
| const CaloCluster * | cluster () const |
| Retrieve the associated cluster with a bare pointer. | |
| EnergyLossType | energyLossType (void) const |
| Energy determined from parametrization or not (measured). | |
| 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. | |
| void | setMuonSegmentLinks (const std::vector< ElementLink< MuonSegmentContainer > > &segments) |
| Set the vector of ElementLinks to the MuonSegments used to create this Muon. | |
| size_t | nMuonSegments () const |
| Number of MuonSegments linked to by this Muon. | |
| const MuonSegment * | muonSegment (size_t i) const |
| Returns a pointer to the specified MuonSegment. | |
| const ElementLink< MuonSegmentContainer > & | muonSegmentLink (size_t i) const |
| Returns a link to the specified MuonSegment. | |
Functions for getting and setting user properties | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
| Fetch an aux data variable, as a non-const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
| Fetch an aux data variable, as a const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for reading or not. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for writing or not. | |
| typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > xAOD::Muon_v1::GenVecFourMom_t |
|
default |
inject the enums
Default constructor
| xAOD::Muon_v1::Muon_v1 | ( | const Muon_v1 & | rhs | ) |
Copy constructor.
Definition at line 25 of file Muon_v1.cxx.
|
virtualdefault |
Destructor.
| void xAOD::Muon_v1::addAllAuthor | ( | const Author | author | ) |
add author to all authors
Definition at line 92 of file Muon_v1.cxx.
| uint16_t xAOD::Muon_v1::allAuthors | ( | ) | const |
Get all the authors of this Muon.
For example during overlap checking, the same Muon may have been reconstructed by many different algorithms. This method returns a 16bit number, where each bit represents a muon algorithm, defined as follows (the lowest bit is indicates that something has gone wrong): unknown | MuidCo | STACO | MuTag | MuTagIMO | MuidSA | MuGirl | MuGirlLowBeta | CaloTag | CaloLikelihood | CaloScore | ExtrapolateMuonToIP | MuonCombinedRefit | ExtrapolateMuonToIP | Commissioning
| Author xAOD::Muon_v1::author | ( | ) | const |
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| float xAOD::Muon_v1::charge | ( | ) | const |
| const CaloCluster * xAOD::Muon_v1::cluster | ( | ) | const |
Retrieve the associated cluster with a bare pointer.
Definition at line 530 of file Muon_v1.cxx.
| const ElementLink< CaloClusterContainer > & xAOD::Muon_v1::clusterLink | ( | ) | const |
Returns an ElementLinkto the cluster associated to this muon.
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::combinedTrackParticleLink | ( | ) | const |
Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon.
|
virtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 49 of file Muon_v1.cxx.
| EnergyLossType xAOD::Muon_v1::energyLossType | ( | void | ) | const |
Energy determined from parametrization or not (measured).
The actual energy loss is returned via
|
virtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::extrapolatedMuonSpectrometerTrackParticleLink | ( | ) | const |
Returns an ElementLink to the Extrapolated Muon Spectrometer TrackParticle used in identification of this muon.
Same as bool parameter(float& value, const ParamDef ¶meter) const, but without check (will throw exception if value isn't there).
Primarily for use in Python.
Definition at line 178 of file Muon_v1.cxx.
| float xAOD::Muon_v1::floatSummaryValue | ( | const SummaryType | information | ) | const |
Same as bool summaryValue(float& value, const SummaryType &information) const , but without check (will throw exception if value isn't there) Primarily for use in Python.
Definition at line 133 of file Muon_v1.cxx.
| Muon_v1::GenVecFourMom_t xAOD::Muon_v1::genvecP4 | ( | ) | const |
The full 4-momentum of the particle : GenVector.
Definition at line 78 of file Muon_v1.cxx.
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::inDetTrackParticleLink | ( | ) | const |
Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon.
Same as bool parameter(float& value, const ParamDef ¶meter) const, but without check (will throw exception if value isn't there).
Primarily for use in Python.
Definition at line 205 of file Muon_v1.cxx.
Returns 'true' if 'author' is the an author of this muon.
Definition at line 97 of file Muon_v1.cxx.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| float xAOD::Muon_v1::isolation | ( | const Iso::IsolationType | information | ) | const |
Accessor to Isolation values , this just returns the value without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 266 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::isolation | ( | float & | value, |
| const Iso::IsolationType | information ) const |
Accessor for Isolation values.
If 'information' is stored in this xAOD::Muon and is of the correct type, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'.
Definition at line 254 of file Muon_v1.cxx.
| float xAOD::Muon_v1::isolationCaloCorrection | ( | const Iso::IsolationFlavour | flavour, |
| const Iso::IsolationCaloCorrection | type, | ||
| const Iso::IsolationCorrectionParameter | param ) const |
Accessor to Isolation Calo corrections , this just returns the correction without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 291 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::isolationCaloCorrection | ( | float & | value, |
| const Iso::IsolationFlavour | flavour, | ||
| const Iso::IsolationCaloCorrection | type, | ||
| const Iso::IsolationCorrectionParameter | param ) const |
Accessor for Isolation Calo correction.
If 'information' is stored in this xAOD::Muon and is of the correct type, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'.
Definition at line 281 of file Muon_v1.cxx.
| std::bitset< 32 > xAOD::Muon_v1::isolationCorrectionBitset | ( | const Iso::IsolationFlavour | flavour | ) | const |
Accessor to Isolation corection Bitset , this just returns the bitset without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 337 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::isolationCorrectionBitset | ( | std::bitset< 32 > & | value, |
| const Iso::IsolationFlavour | flavour ) const |
Accessor for Isolation corection Bitset.
Definition at line 329 of file Muon_v1.cxx.
| float xAOD::Muon_v1::isolationTrackCorrection | ( | const Iso::IsolationFlavour | flavour, |
| const Iso::IsolationTrackCorrection | type ) const |
Accessor to Isolation Track corrections , this just returns the correction without internaly checking if it exists.
Will lead to an exception if the information is not available
Definition at line 315 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::isolationTrackCorrection | ( | float & | value, |
| const Iso::IsolationFlavour | flavour, | ||
| const Iso::IsolationTrackCorrection | type ) const |
Accessor for Isolation Track correction.
Definition at line 307 of file Muon_v1.cxx.
|
virtual |
The invariant mass of the particle..
Implements xAOD::IParticle.
Definition at line 54 of file Muon_v1.cxx.
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::msOnlyExtrapolatedMuonSpectrometerTrackParticleLink | ( | ) | const |
Returns an ElementLink to the MS-only Extrapolated Muon Spectrometer TrackParticle used in identification of this muon.
| const MuonSegment * xAOD::Muon_v1::muonSegment | ( | size_t | i | ) | const |
Returns a pointer to the specified MuonSegment.
| i | Index of the MuonSegment requested. If i is not in range (0<i<nMuonSegments()) an exception will be thrown. |
Definition at line 577 of file Muon_v1.cxx.
| const ElementLink< MuonSegmentContainer > & xAOD::Muon_v1::muonSegmentLink | ( | size_t | i | ) | const |
Returns a link to the specified MuonSegment.
| i | Index of the MuonSegment requested. If i is not in range (0<i<nMuonSegments()) an exception will be thrown. |
Definition at line 567 of file Muon_v1.cxx.
| const std::vector< ElementLink< MuonSegmentContainer > > & xAOD::Muon_v1::muonSegmentLinks | ( | ) | const |
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::muonSpectrometerTrackParticleLink | ( | ) | const |
Returns an ElementLink to the InnerDetector TrackParticle used in identification of this muon.
| MuonType xAOD::Muon_v1::muonType | ( | ) | const |
| size_t xAOD::Muon_v1::nMuonSegments | ( | ) | const |
Number of MuonSegments linked to by this Muon.
Definition at line 559 of file Muon_v1.cxx.
Assignment operator.
Definition at line 31 of file Muon_v1.cxx.
|
virtual |
The full 4-momentum of the particle.
Implements xAOD::IParticle.
Definition at line 71 of file Muon_v1.cxx.
Get a parameter for this Muon - momentumBalanceSignificance for example.
Get an integer parameter for this Muon - msInnerMatchDOF for example.
| bool xAOD::Muon_v1::passesIDCuts | ( | ) | const |
MCP ID hit cuts - get/set the corresponding status bit in the quality decoration.
Definition at line 234 of file Muon_v1.cxx.
|
virtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
| const xAOD::TrackParticle * xAOD::Muon_v1::primaryTrackParticle | ( | ) | const |
Returns a pointer (which should not usually be NULL, but might be if the muon has been stripped of information) to the primary TrackParticle corresponding to the MuonType of this muon.
This is determined in the following order:
Definition at line 396 of file Muon_v1.cxx.
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::primaryTrackParticleLink | ( | ) | const |
Definition at line 356 of file Muon_v1.cxx.
|
virtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
| xAOD::Muon_v1::Quality xAOD::Muon_v1::quality | ( | ) | const |
These methods get/set the muon's "quality" decoration, which is a bitfield:
Definition at line 220 of file Muon_v1.cxx.
|
virtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 67 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setAllAuthors | ( | uint16_t | authors | ) |
| void xAOD::Muon_v1::setAuthor | ( | Author | auth | ) |
set author
| void xAOD::Muon_v1::setCharge | ( | float | charge | ) |
Set the charge (must be the same as primaryTrackParticle() ).
| void xAOD::Muon_v1::setClusterLink | ( | const ElementLink< CaloClusterContainer > & | link | ) |
Set method for cluster links.
| void xAOD::Muon_v1::setEnergyLossType | ( | EnergyLossType | type | ) |
Set method for the type.
| void xAOD::Muon_v1::setIsolation | ( | float | value, |
| const Iso::IsolationType | information ) |
Set method for Isolation values.
Definition at line 272 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::setIsolationCaloCorrection | ( | float | value, |
| const Iso::IsolationFlavour | flavour, | ||
| const Iso::IsolationCaloCorrection | type, | ||
| const Iso::IsolationCorrectionParameter | param ) |
set method for Isolation Calo Corrections.
Definition at line 299 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::setIsolationCorrectionBitset | ( | uint32_t | value, |
| const Iso::IsolationFlavour | flavour ) |
Set method for Isolation corection Bitset.
Definition at line 343 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::setIsolationTrackCorrection | ( | float | value, |
| const Iso::IsolationFlavour | flavour, | ||
| const Iso::IsolationTrackCorrection | type ) |
Set method for Isolation Track Corrections.
Definition at line 322 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setMuonSegmentLinks | ( | const std::vector< ElementLink< MuonSegmentContainer > > & | segments | ) |
| void xAOD::Muon_v1::setMuonType | ( | MuonType | type | ) |
Set method for parameter values.
Set method for parameter values.
| void xAOD::Muon_v1::setPassesIDCuts | ( | bool | value | ) |
Definition at line 241 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setQuality | ( | Quality | ) |
| void xAOD::Muon_v1::setSummaryValue | ( | uint8_t | value, |
| const MuonSummaryType | information ) |
Set method for MuonSummaryType.
Definition at line 161 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setSummaryValue | ( | uint8_t | value, |
| const SummaryType | information ) |
Set method for storing TrackSummary SummaryType information on the Muon (see Aux to see which is already defined as static).
FIXME!
Definition at line 119 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setTrackParticleLink | ( | TrackParticleType | type, |
| const ElementLink< TrackParticleContainer > & | link ) |
Set method for TrackParticle links.
Definition at line 501 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::summaryValue | ( | float & | value, |
| const SummaryType | information ) const |
summaryValue(uint8_t& value, const SummaryType information) const;
summaryValue(uint8_t& value, const SummaryType information) const;
Definition at line 127 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::summaryValue | ( | uint8_t & | value, |
| const MuonSummaryType | information ) const |
Accessor for MuonSummaryType.
Definition at line 143 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::summaryValue | ( | uint8_t & | value, |
| const SummaryType | information ) const |
Accessor for TrackSummary values (in most cases, retrieved from the 'primary' TrackParticle - though it could be stored on the Muon, depending on the job configuration) If 'information' is stored in the primary TrackParticle/Muon and is of the correct templated type T, then the function fills 'value' and returns 'true', otherwise it returns 'false', and does not touch 'value'.
See below for an example of how this is intended to be used.
| [in] | information | The information being requested. This is not guaranteed to be stored in all Muons (or primary TrackParticle). |
| [out] | value | Only filled if this Muon (or its primary TrackParticle) contains 'information', and the types match. |
Definition at line 105 of file Muon_v1.cxx.
| const xAOD::TrackParticle * xAOD::Muon_v1::trackParticle | ( | TrackParticleType | type | ) | const |
Returns a pointer (which can be NULL) to the TrackParticle used in identification of this muon.
Definition at line 482 of file Muon_v1.cxx.
| const ElementLink< TrackParticleContainer > & xAOD::Muon_v1::trackParticleLink | ( | TrackParticleType | type | ) | const |
Returns an ElementLink to the TrackParticle used in identification of this muon.
Definition at line 455 of file Muon_v1.cxx.
|
virtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 82 of file Muon_v1.cxx.
| float xAOD::Muon_v1::uint8MuonSummaryValue | ( | const MuonSummaryType | information | ) | const |
Same as bool summaryValue(uint8_t& value, const MuonSummaryType &information) const, but without check (will throw exception if value isn't there) Primarily for use in Python.
Definition at line 154 of file Muon_v1.cxx.
| uint8_t xAOD::Muon_v1::uint8SummaryValue | ( | const SummaryType | information | ) | const |
Same as bool summaryValue(uint8_t& value, const SummaryType &information) const, but without check (will throw exception if value isn't there) Primarily for use in Python.
Definition at line 138 of file Muon_v1.cxx.