![]() |
ATLAS Offline Software
|
Class describing a Muon. More...
#include <Muon_v1.h>
Public Member Functions | |
| DECLARE_ENUM_OSTREAM (Author) | |
| inject the enums | |
| DECLARE_ENUM_OSTREAM (MuonType) | |
| Pipe the muon type to a string object. | |
| DECLARE_ENUM_OSTREAM (Quality) | |
| Pipe the muon quality to a string object. | |
| DECLARE_ENUM_OSTREAM (TrackParticleType) | |
| Pipe the track particle to a string object. | |
| DECLARE_ENUM_OSTREAM (ParamDef) | |
| The muon parameter to a string object. | |
| DECLARE_ENUM_OSTREAM (EnergyLossType) | |
| The muon energy loss to a string object. | |
| Muon_v1 ()=default | |
| Default constructor. | |
| 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. | |
| 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 a nullptr) 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. | |
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 override |
| The transverse momentum ( \(p_T\)) of the particle. | |
| virtual double | eta () const override |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| virtual double | phi () const override |
| The azimuthal angle ( \(\phi\)) of the particle. | |
| virtual double | m () const override |
| The invariant mass of the particle.. | |
| virtual double | e () const override |
| The total energy of the particle. | |
| virtual double | rapidity () const override |
| 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 override |
| The full 4-momentum of the particle. | |
| GenVecFourMom_t | genvecP4 () const |
| The full 4-momentum of the particle : GenVector. | |
| virtual Type::ObjectType | type () const override |
| 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 (const 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 (const 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 |
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 |
Default constructor.
| xAOD::Muon_v1::Muon_v1 | ( | const Muon_v1 & | rhs | ) |
Copy constructor.
Definition at line 38 of file Muon_v1.cxx.
|
virtualdefault |
Destructor.
| void xAOD::Muon_v1::addAllAuthor | ( | const Author | author | ) |
add author to all authors
Definition at line 105 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 489 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.
| xAOD::Muon_v1::DECLARE_ENUM_OSTREAM | ( | Author | ) |
inject the enums
Pipe the author to a string object
| xAOD::Muon_v1::DECLARE_ENUM_OSTREAM | ( | EnergyLossType | ) |
The muon energy loss to a string object.
| xAOD::Muon_v1::DECLARE_ENUM_OSTREAM | ( | MuonType | ) |
Pipe the muon type to a string object.
| xAOD::Muon_v1::DECLARE_ENUM_OSTREAM | ( | ParamDef | ) |
The muon parameter to a string object.
| xAOD::Muon_v1::DECLARE_ENUM_OSTREAM | ( | Quality | ) |
Pipe the muon quality to a string object.
| xAOD::Muon_v1::DECLARE_ENUM_OSTREAM | ( | TrackParticleType | ) |
Pipe the track particle to a string object.
|
overridevirtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 62 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
|
overridevirtual |
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 186 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 141 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 91 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 213 of file Muon_v1.cxx.
Returns 'true' if 'author' is the an author of this muon.
Definition at line 110 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 269 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 257 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 294 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 284 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 340 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 332 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 318 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 310 of file Muon_v1.cxx.
|
overridevirtual |
The invariant mass of the particle..
Implements xAOD::IParticle.
Definition at line 67 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 524 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 514 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 506 of file Muon_v1.cxx.
Assignment operator.
Definition at line 44 of file Muon_v1.cxx.
|
overridevirtual |
The full 4-momentum of the particle.
Implements xAOD::IParticle.
Definition at line 84 of file Muon_v1.cxx.
Get a parameter for this Muon - momentumBalanceSignificance for example.
Definition at line 175 of file Muon_v1.cxx.
Get an integer parameter for this Muon - msInnerMatchDOF for example.
Definition at line 202 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::passesIDCuts | ( | ) | const |
MCP ID hit cuts - get/set the corresponding status bit in the quality decoration.
Definition at line 242 of file Muon_v1.cxx.
|
overridevirtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
| const 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 359 of file Muon_v1.cxx.
|
overridevirtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
| Muon_v1::Quality xAOD::Muon_v1::quality | ( | ) | const |
These methods get/set the muon's "quality" decoration, which is a bitfield:
Definition at line 228 of file Muon_v1.cxx.
|
overridevirtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 80 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setAllAuthors | ( | uint16_t | authors | ) |
| void xAOD::Muon_v1::setAuthor | ( | const 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 275 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 302 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 346 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 325 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.
Definition at line 192 of file Muon_v1.cxx.
Set method for parameter values.
Definition at line 219 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setPassesIDCuts | ( | bool | value | ) |
Definition at line 249 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setQuality | ( | const Quality | value | ) |
| void xAOD::Muon_v1::setSummaryValue | ( | uint8_t | value, |
| const MuonSummaryType | information ) |
Set method for MuonSummaryType.
Definition at line 169 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 129 of file Muon_v1.cxx.
| void xAOD::Muon_v1::setTrackParticleLink | ( | TrackParticleType | type, |
| const ElementLink< TrackParticleContainer > & | link ) |
Set method for TrackParticle links.
Definition at line 460 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 137 of file Muon_v1.cxx.
| bool xAOD::Muon_v1::summaryValue | ( | uint8_t & | value, |
| const MuonSummaryType | information ) const |
Accessor for MuonSummaryType.
Definition at line 151 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 118 of file Muon_v1.cxx.
| const TrackParticle * xAOD::Muon_v1::trackParticle | ( | TrackParticleType | type | ) | const |
Returns a pointer (which can be a nullptr) to the TrackParticle used in identification of this muon.
Definition at line 423 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 400 of file Muon_v1.cxx.
|
overridevirtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 95 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 162 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 146 of file Muon_v1.cxx.