ATLAS Offline Software
|
Class describing a LVL1 muon region of interest. More...
#include <MuonRoI_v1.h>
Public Types | |
enum | RoISource { Barrel, Endcap, Forward } |
RoI source enumeration. More... | |
enum | Hemisphere { Positive, Negative } |
RoI hemisphere enumeration. More... | |
enum | Charge { Neg = 0, Pos = 1, Undef = 100 } |
Charge sign. More... | |
using | TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | ConstAccessor = SG::ConstAccessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Accessor = SG::Accessor< T, ALLOC > |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
using | Decorator = SG::Decorator< T, ALLOC > |
Public Member Functions | |
MuonRoI_v1 () | |
Default constructor. More... | |
void | initialize (uint32_t roiword, float eta, float phi, const std::string &thrname, float thrvalue, uint32_t extraword=0u) |
Initialise the object with all its properties. More... | |
void | assign (const AuxElement &other, bool warnUnlocked=false) |
Assignment. More... | |
const SG::AuxVectorData * | container () const |
Return the container holding this element. More... | |
SG::AuxVectorData * | container () |
Return the container holding this element. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name) |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type | auxdata (const std::string &name, const std::string &clsname) |
Fetch an aux data variable, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdata (const std::string &name, const std::string &clsname) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type | auxdataConst (const std::string &name, const std::string &clsname) const |
Fetch an aux data variable, as a const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for reading. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") |
Check if an aux variable is available for writing. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED bool | isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const |
Check if an aux variable is available for writing as a decoration. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name) const |
Fetch an aux decoration, as a non-const reference. More... | |
template<class T , class ALLOC = AuxAllocator_t<T>> | |
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type | auxdecor (const std::string &name, const std::string &clsname) const |
Fetch an aux decoration, as a non-const reference. More... | |
void | makePrivateStore () |
Create a new (empty) private store for this object. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 &other, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
template<class U1 > | |
void | makePrivateStore (const U1 *other, bool warnUnlocked=false) |
Create a new private store for this object and copy aux data. More... | |
void | releasePrivateStore () |
Release and free any private store associated with this object. More... | |
void | setStore (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (SG::IAuxStore *store) |
Set the store associated with this object. More... | |
void | setStore (const DataLink< SG::IConstAuxStore > &store) |
Set the store associated with this object. More... | |
void | setConstStore (const SG::IConstAuxStore *store) |
Synonym for setStore with IConstAuxStore . More... | |
void | setNonConstStore (SG::IAuxStore *store) |
Synonym for setStore with IAuxStore . More... | |
bool | usingPrivateStore () const |
Test to see if this object is currently using a private store. More... | |
bool | usingStandaloneStore () const |
Test to see if this object is currently using a standalone store. More... | |
const SG::IConstAuxStore * | getConstStore () const |
Return the current store, as a const interface. More... | |
SG::IAuxStore * | getStore () const |
Return the current store, as a non-const interface. More... | |
void | clearCache () |
Clear the cached aux data pointers. More... | |
const SG::auxid_set_t & | getAuxIDs () const |
Return a set of identifiers for existing data items for this object. More... | |
const SG::auxid_set_t & | getDecorIDs () const |
Return a set of identifiers for decorations for this object. More... | |
bool | hasStore () const |
Return true if this object has an associated store. More... | |
bool | hasNonConstStore () const |
Return true if this object has an associated non-const store. More... | |
bool | clearDecorations () const |
Clear all decorations. More... | |
bool | trackIndices () const |
Return true if index tracking is enabled for this object. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
size_t | index () const |
Return the index of this element within its container. More... | |
Independent properties stored for the muon candidate | |
float | eta () const |
The pseudorapidity ( \(\eta\)) of the muon candidate. More... | |
void | setEta (float v) |
Set the pseudorapidity of the muon candidate. More... | |
float | phi () const |
The azimuthal angle ( \(\phi\)) of the muon candidate. More... | |
void | setPhi (float v) |
Set the azimuthal angle of the muon candidate. More... | |
uint32_t | roiWord () const |
The "raw" RoI word describing the muon candidate. More... | |
void | setRoIWord (uint32_t value) |
Set the "raw" RoI word, describing the muon candidate. More... | |
float | thrValue () const |
The highest threshold value (in MeV) passed by the muon candidate. More... | |
void | setThrValue (float v) |
Set the threshold value passed by the muon candidate. More... | |
const std::string & | thrName () const |
The name of the highest threshold value passed by the muon candidate. More... | |
void | setThrName (const std::string &value) |
Set the name of the threshold passed by the muon candidate. More... | |
Properties extracted from the 32-bit muon RoI word | |
int | getThrNumber () const |
Get the logic number of the highest threshold this RoI passed. More... | |
int | getRoI () const |
Get the "RoI number" (position inside the sector) More... | |
int | getSectorAddress () const |
Get the full sector address. More... | |
int | getSectorID () const |
Get the sector ID number. More... | |
bool | isFirstCandidate () const |
Returns if the candidate had the highest pT in the sector. More... | |
bool | isMoreCandInRoI () const |
Returns if there were other muons detected in the same RoI. More... | |
bool | isMoreCandInSector () const |
Returns if there were other muons detected in the same sector. More... | |
RoISource | getSource () const |
Returns the system that detected the muon candidate. More... | |
Hemisphere | getHemisphere () const |
Returns the hemisphere that detected the muon candidate. More... | |
bool | getPhiOverlap () const |
Returns whether there's overlap between barrel sectors. More... | |
bool | getEtaOverlap () const |
Returns whether there's overlap between the barrel-EC sectors. More... | |
Charge | getCharge () const |
Returns the charge sign of the muon candidate. More... | |
bool | getBW3Coincidence () const |
Returns whether or not there was a 3-station coincidence in the TGC. More... | |
bool | getInnerCoincidence () const |
Returns whether or not there was an inner coincidence in the TGC. More... | |
bool | getGoodMF () const |
Returns whether or not there was a good magnetic field quality in the TGC. More... | |
bool | isVetoed () const |
Returns the veto flag for the candidate. More... | |
bool | isRun3 () const |
Returns extra flag at end of RoI word indicating that it's in Run3 format. More... | |
Properties available only for Run 4+ | |
uint32_t | roiExtraWord () const |
The second "raw" RoI word describing extra information of the muon candidate. More... | |
void | setRoIExtraWord (uint32_t value) |
Set the second "raw" RoI word, describing extra information of the muon candidate. More... | |
float | pt () const |
the transverse momentum of the muon candidate More... | |
bool | isRun4 () const |
flag whether it is Run4+ RoI definition More... | |
Static Public Attributes | |
static constexpr uint32_t | ETA_MASK = 0x3fff |
constants to decode RoI word for Run 4+ More... | |
static constexpr uint32_t | PHI_MASK = 0x1ff |
static constexpr uint32_t | PT_MASK = 0xff |
static constexpr bool | supportsThinning = true |
Mark that this type supports thinning operations. More... | |
Protected Member Functions | |
bool | noPrivateData () const |
True if this element has no private data. More... | |
bool | havePrivateData () const |
True if this element currently has private data. More... | |
bool | hadPrivateData () const |
True if this element had private data before it was added to its current container. More... | |
Private Types | |
enum | PrivateStoreState : uint8_t { PrivateStoreState::NO_PRIVATE = 0, PrivateStoreState::HAVE_PRIVATE = 1, PrivateStoreState::HAD_PRIVATE = 2 } |
The current private data state. More... | |
Private Member Functions | |
void | releasePrivateStoreForDtor () |
Out-of-line portion of destructor. More... | |
void | setIndex (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
bool | setIndexPrivate (size_t index, SG::AuxVectorData *container) |
Set the index/container for this element. More... | |
void | makePrivateStore1 (const void *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
void | makePrivateStore1 (const AuxElement *other, bool warnUnlocked) |
Create a new private store for this object and copy aux data. More... | |
AuxElementStandaloneData * | setStore1 (const SG::IConstAuxStore *store) |
Set the store associated with this object. More... | |
void | clearAux () |
Clear all aux data associated with this element. More... | |
void | copyAux (const ConstAuxElement &other, bool warnUnlocked=false) |
Copy aux data from another object. More... | |
void | setNoPrivateData () |
Record that this element does not have private data. More... | |
void | setHavePrivateData () |
Record that this element currently has private data. More... | |
void | setHadPrivateData () |
Record that this element used to have private data. More... | |
Private Attributes | |
const SG::AuxVectorData * | m_container |
The container of which this object is an element. More... | |
size_t | m_index |
The index of this element within its container. More... | |
PrivateStoreState | m_privateStoreState |
Static Private Attributes | |
static constexpr uint32_t | ETA_SHIFT = 0 |
static constexpr uint32_t | PHI_SHIFT = 14 |
static constexpr uint32_t | CHARGE_SHIFT = 23 |
static constexpr uint32_t | PT_SHIFT = 24 |
static constexpr float | PT_WIDTH = 0.5 |
Class describing a LVL1 muon region of interest.
This class describes all the properties of a muon region of interest (RoI) in the xAOD format.
Definition at line 29 of file MuonRoI_v1.h.
|
inherited |
Definition at line 572 of file AuxElement.h.
|
inherited |
Definition at line 569 of file AuxElement.h.
|
inherited |
Definition at line 575 of file AuxElement.h.
|
inherited |
Definition at line 566 of file AuxElement.h.
RoI hemisphere enumeration.
Enumerator | |
---|---|
Positive | The candidate came from the +z side (side A) |
Negative | The candidate came from the -z side (side C) |
Definition at line 39 of file MuonRoI_v1.h.
|
strongprivateinherited |
The current private data state.
Enumerator | |
---|---|
NO_PRIVATE | |
HAVE_PRIVATE | |
HAD_PRIVATE |
Definition at line 131 of file IAuxElement.h.
RoI source enumeration.
Enumerator | |
---|---|
Barrel | The muon candidate was detected in the barrel region. |
Endcap | The muon candidate was detected in the endcap region. |
Forward | The muon candidate was detected in the forward region. |
Definition at line 33 of file MuonRoI_v1.h.
xAOD::MuonRoI_v1::MuonRoI_v1 | ( | ) |
|
inherited |
Assignment.
other | The object from which we're assigning. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
inherited |
Fetch an aux data variable, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
or ConstAccessor
classes.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux data variable, as a const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor
class.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
|
inherited |
Fetch an aux decoration, as a non-const reference.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.
|
privateinherited |
Clear all aux data associated with this element.
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
Definition at line 580 of file AuxElement.cxx.
|
inherited |
Clear the cached aux data pointers.
You should call this any time something changes in the aux store that could invalidate the vector pointers.
Definition at line 339 of file AuxElement.cxx.
|
inherited |
Clear all decorations.
Erase all decorations from an associated store, restoring the state to when lock
was called.
Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.
Definition at line 428 of file AuxElement.cxx.
|
inherited |
Return the container holding this element.
|
inherited |
Return the container holding this element.
|
privateinherited |
Copy aux data from another object.
other | The object from which to copy. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData
.
All aux data items from other
are copied to this object. Any aux data items associated with this object that are not present in other
are cleared. (If other
has no aux data, then all aux data items for this object are cleared.)
Definition at line 607 of file AuxElement.cxx.
float xAOD::MuonRoI_v1::eta | ( | ) | const |
The pseudorapidity ( \(\eta\)) of the muon candidate.
|
inherited |
Return a set of identifiers for existing data items for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 355 of file AuxElement.cxx.
bool xAOD::MuonRoI_v1::getBW3Coincidence | ( | ) | const |
Returns whether or not there was a 3-station coincidence in the TGC.
Get whether or not there was a 3-station coincidence in the TGC.
Valid for Run-3 candidates only.
Definition at line 289 of file MuonRoI_v1.cxx.
MuonRoI_v1::Charge xAOD::MuonRoI_v1::getCharge | ( | ) | const |
Returns the charge sign of the muon candidate.
Endcap and forward sectors can tell you what was the charge of the muon candidate.
Barrel candidates can't do this.
Definition at line 264 of file MuonRoI_v1.cxx.
|
inherited |
Return the current store, as a const interface.
This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 304 of file AuxElement.cxx.
|
inherited |
Return a set of identifiers for decorations for this object.
If this object has a private or standalone store, then information from that will be returned. Otherwise, if this element is part of a container, then information for the container will be returned. Otherwise, return an empty set.
Definition at line 378 of file AuxElement.cxx.
bool xAOD::MuonRoI_v1::getEtaOverlap | ( | ) | const |
Returns whether there's overlap between the barrel-EC sectors.
Get whether or not there was a eta overlap between barrel and endcap sectors at SL-level.
This is different from the overlap removal performed in the MUCTPI. Valid for Run-2 RPC/TGC candidates only
Definition at line 249 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::getGoodMF | ( | ) | const |
Returns whether or not there was a good magnetic field quality in the TGC.
Get whether or not there was a good magnetic field quality in the TGC.
Valid for Run-3 candidates only.
Definition at line 309 of file MuonRoI_v1.cxx.
MuonRoI_v1::Hemisphere xAOD::MuonRoI_v1::getHemisphere | ( | ) | const |
Returns the hemisphere that detected the muon candidate.
The function decodes the sector hemisphere encoded in the 8-bit sector address into an easy to understand enumeration.
Definition at line 220 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::getInnerCoincidence | ( | ) | const |
Returns whether or not there was an inner coincidence in the TGC.
Get whether or not there was an inner coincidence with the TGC.
Valid for Run-3 candidates only.
Definition at line 299 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::getPhiOverlap | ( | ) | const |
Returns whether there's overlap between barrel sectors.
Get whether or not there was a phi overlap between barrel sectors at SL-level.
This is different from the overlap removal performed in the MUCTPI. Valid for Run-2 and Run-3 RPC candidates only
Definition at line 234 of file MuonRoI_v1.cxx.
int xAOD::MuonRoI_v1::getRoI | ( | ) | const |
Get the "RoI number" (position inside the sector)
A muon's spacial location is identified from the sector number and the hemisphere that detected it.
Each sector is additionally divided into multiple areas, called RoIs that tell you which part of the sector the muon candidate was detected in.
Definition at line 89 of file MuonRoI_v1.cxx.
int xAOD::MuonRoI_v1::getSectorAddress | ( | ) | const |
Get the full sector address.
The sector address is an 8-bit identifier of the sector.
For its detailed description, see page 38 of https://edms.cern.ch/file/248757/1/mirod.pdf
The least significant bit shown which hemisphere the sector is in (0: positive side, 1: negative side), the upper (1 or 2) bits show what kind of sector it is, the rest of the address is the number of the sector.
Definition at line 122 of file MuonRoI_v1.cxx.
int xAOD::MuonRoI_v1::getSectorID | ( | ) | const |
Get the sector ID number.
The sector ID is a 5- or 6-bit identifier of the sector number.
For its detailed description, see page 38 of https://edms.cern.ch/file/248757/1/mirod.pdf
Definition at line 133 of file MuonRoI_v1.cxx.
MuonRoI_v1::RoISource xAOD::MuonRoI_v1::getSource | ( | ) | const |
Returns the system that detected the muon candidate.
The function decodes the sector type encoded in the 8-bit sector address into an easy to understand enumeration.
Definition at line 202 of file MuonRoI_v1.cxx.
|
inherited |
Return the current store, as a non-const interface.
This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.
Definition at line 319 of file AuxElement.cxx.
setThrValue setRoIExtraWord int xAOD::MuonRoI_v1::getThrNumber | ( | ) | const |
Get the logic number of the highest threshold this RoI passed.
Each detected LVL1 muon candidate is assigned a pT threshold.
The hardware can assign one of 6/15 pT thresholds to the candidate, which are numbered from 1 to 6 for Run-1/2, and 1 to 15 for Run-3.
Definition at line 76 of file MuonRoI_v1.cxx.
|
protectedinherited |
True if this element had private data before it was added to its current container.
|
inherited |
Return true if this object has an associated non-const store.
This will be true for either a private or standalone store.
Definition at line 411 of file AuxElement.cxx.
|
inherited |
Return true if this object has an associated store.
This will be true for either a private or standalone store.
Definition at line 398 of file AuxElement.cxx.
|
protectedinherited |
True if this element currently has private data.
|
inherited |
Return the index of this element within its container.
|
inherited |
Return the index of this element within its container.
Inherited from IAuxElement.
void xAOD::MuonRoI_v1::initialize | ( | uint32_t | roiword, |
float | eta, | ||
float | phi, | ||
const std::string & | thrname, | ||
float | thrvalue, | ||
uint32_t | extraword = 0u |
||
) |
Initialise the object with all its properties.
Initialize the object for Run-4+ RoI definition.
roiword | The 32-bit RoI word coming from the MuCTPI |
eta | The pseudorapidity of the candidate |
phi | The aximuthal angle of the candidate |
thrname | The name of the highest threshold passed by the candidate |
thrvalue | The value (in MeV) of the threshold passed |
extraWord | The 32-bit extra RoI word from the MUCTPI |
Definition at line 31 of file MuonRoI_v1.cxx.
|
inherited |
Check if an aux variable is available for reading.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Check if an aux variable is available for writing.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
|
inherited |
Check if an aux variable is available for writing as a decoration.
name | Name of the aux variable. |
clsname | The name of the associated class. May be blank. |
This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor
class.
bool xAOD::MuonRoI_v1::isFirstCandidate | ( | ) | const |
Returns if the candidate had the highest pT in the sector.
Each muon trigger sector can only send information about a maximum of two LVL1 muon candidate to the central trigger.
If this flag is true
, this candidate had the highest pT threshold assigned to it in its sector. If it's false
, it was the second candidate in its sector.
actually v1 only ...
Definition at line 163 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::isMoreCandInRoI | ( | ) | const |
Returns if there were other muons detected in the same RoI.
One RoI (one part of the trigger sector) can only send information about one LVL1 muon candidate to the central trigger.
This flag is true
if the particular RoI that detected this muon candidate also detected another candidate with lower pT.
Definition at line 174 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::isMoreCandInSector | ( | ) | const |
Returns if there were other muons detected in the same sector.
This flag is set to true
if the sector that this muon candidate came from, detected more than 2 LVL1 muon candidates.
Definition at line 190 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::isRun3 | ( | ) | const |
Returns extra flag at end of RoI word indicating that it's in Run3 format.
An extra bit is added at the end of the RoI word for run3 candidates in the EDM for technical purposes to distinguish whether we want to use the run2 or run3 bitmasks in decoding the word.
Definition at line 328 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::isRun4 | ( | ) | const |
flag whether it is Run4+ RoI definition
The indicator whether the RoI is Run-1/2/3 or Run-4+ format.
roiExtraWord exists only in Run-4+.
Definition at line 349 of file MuonRoI_v1.cxx.
bool xAOD::MuonRoI_v1::isVetoed | ( | ) | const |
Returns the veto flag for the candidate.
When the overlap handling is activated in the MuCTPI, candidates can be ignored in the multiplicity sum sent to the CTP.
This flag tells you whether this particular candidate was ignored in the multiplicity sum.
Definition at line 319 of file MuonRoI_v1.cxx.
|
inherited |
Create a new (empty) private store for this object.
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
Definition at line 192 of file AuxElement.cxx.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
inherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
If other
is an object that has aux data, then those data will be copied; otherwise, nothing will be done.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does have aux data.
Definition at line 565 of file AuxElement.cxx.
|
privateinherited |
Create a new private store for this object and copy aux data.
other | The object from which aux data should be copied. |
warnUnlocked | If true, then warn when we skip unlocked decorations. |
ExcBadPrivateStore
will be thrown if this object is already associated with a store.
This overload handles the case where other
does not have aux data.
|
protectedinherited |
True if this element has no private data.
float xAOD::MuonRoI_v1::phi | ( | ) | const |
The azimuthal angle ( \(\phi\)) of the muon candidate.
float xAOD::MuonRoI_v1::pt | ( | ) | const |
the transverse momentum of the muon candidate
the transverse momentum of the muon candidate, which can be calculated from roiWord valid for Run-4+ only
Definition at line 342 of file MuonRoI_v1.cxx.
|
inherited |
Release and free any private store associated with this object.
ExcBadPrivateStore
will be thrown if this object does not have a private store.
Definition at line 210 of file AuxElement.cxx.
|
privateinherited |
Out-of-line portion of destructor.
Delete a private store if we have one.
Definition at line 441 of file AuxElement.cxx.
uint32_t xAOD::MuonRoI_v1::roiExtraWord | ( | ) | const |
The second "raw" RoI word describing extra information of the muon candidate.
uint32_t xAOD::MuonRoI_v1::roiWord | ( | ) | const |
The "raw" RoI word describing the muon candidate.
|
inherited |
Synonym for setStore
with IConstAuxStore
.
store | The new store. |
void xAOD::MuonRoI_v1::setEta | ( | float | v | ) |
Set the pseudorapidity of the muon candidate.
|
privateinherited |
Record that this element used to have private data.
|
privateinherited |
Record that this element currently has private data.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
Usually this simply sets the index and container members of this object. However, in the case where this object has an associated private store, then we need to deal with releasing the store if the object is being added to a container, or making a new store if the object is being removed from a container.
|
privateinherited |
Set the index/container for this element.
index | The index of this object within the container. |
container | The container holding this object. May be null if this object is being removed from a container. |
This is called from setIndex
when we have a private store to deal with.
Definition at line 505 of file AuxElement.cxx.
|
inherited |
Synonym for setStore
with IAuxStore
.
store | The new store. |
|
privateinherited |
Record that this element does not have private data.
void xAOD::MuonRoI_v1::setPhi | ( | float | v | ) |
Set the azimuthal angle of the muon candidate.
void xAOD::MuonRoI_v1::setRoIExtraWord | ( | uint32_t | value | ) |
Set the second "raw" RoI word, describing extra information of the muon candidate.
void xAOD::MuonRoI_v1::setRoIWord | ( | uint32_t | value | ) |
Set the "raw" RoI word, describing the muon candidate.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
store | Link to the new store. |
Definition at line 269 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 241 of file AuxElement.cxx.
|
inherited |
Set the store associated with this object.
store | The new store. |
If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.
Definition at line 257 of file AuxElement.cxx.
|
privateinherited |
Set the store associated with this object.
store | The new store. |
Helper for setStore
. Creates the AuxElementStandaloneData
object if needed and returns it.
store | The new store. |
Helper for setStore
. Creates the @x AuxElementStandaloneData object if needed and returns it.
Definition at line 461 of file AuxElement.cxx.
void xAOD::MuonRoI_v1::setThrName | ( | const std::string & | value | ) |
Set the name of the threshold passed by the muon candidate.
void xAOD::MuonRoI_v1::setThrValue | ( | float | v | ) |
Set the threshold value passed by the muon candidate.
const std::string& xAOD::MuonRoI_v1::thrName | ( | ) | const |
The name of the highest threshold value passed by the muon candidate.
float xAOD::MuonRoI_v1::thrValue | ( | ) | const |
The highest threshold value (in MeV) passed by the muon candidate.
|
inherited |
Return true if index tracking is enabled for this object.
Always returns true. Included here to be consistent with AuxVectorBase when standalone objects may be used as template parameters.
|
inherited |
Test to see if this object is currently using a private store.
Definition at line 280 of file AuxElement.cxx.
|
inherited |
Test to see if this object is currently using a standalone store.
Test to see if this object is currently using a private store.
Definition at line 290 of file AuxElement.cxx.
|
staticconstexprprivate |
Definition at line 154 of file MuonRoI_v1.h.
|
staticconstexpr |
constants to decode RoI word for Run 4+
Definition at line 147 of file MuonRoI_v1.h.
|
staticconstexprprivate |
Definition at line 152 of file MuonRoI_v1.h.
|
privateinherited |
The container of which this object is an element.
Should be null if this object is not within a container, except that it may also point at a private store.
Definition at line 335 of file AuxElement.h.
|
privateinherited |
The index of this element within its container.
Should be 0 if this object is not within a container.
Definition at line 128 of file IAuxElement.h.
|
privateinherited |
Definition at line 137 of file IAuxElement.h.
|
staticconstexpr |
Definition at line 148 of file MuonRoI_v1.h.
|
staticconstexprprivate |
Definition at line 153 of file MuonRoI_v1.h.
|
staticconstexpr |
Definition at line 149 of file MuonRoI_v1.h.
|
staticconstexprprivate |
Definition at line 155 of file MuonRoI_v1.h.
|
staticconstexprprivate |
Definition at line 157 of file MuonRoI_v1.h.
|
staticconstexprinherited |
Mark that this type supports thinning operations.
See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.
Definition at line 959 of file AuxElement.h.