ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
xAOD::L2StandAloneMuon_v1 Class Reference

Class describing standalone muons reconstructed in the LVL2 trigger. More...

#include <L2StandAloneMuon_v1.h>

Inheritance diagram for xAOD::L2StandAloneMuon_v1:
Collaboration diagram for xAOD::L2StandAloneMuon_v1:

Public Types

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

 L2StandAloneMuon_v1 ()
 Constructor. 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 >::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 bool isAvailableWritable (const std::string &name, const std::string &clsname="")
 Check if an aux variable is available for writing. More...
 
void assign (const AuxElement &other, bool warnUnlocked=false)
 Assignment. More...
 
const SG::AuxVectorDatacontainer () const
 Return the container holding this element. More...
 
SG::AuxVectorDatacontainer ()
 Return the container holding this element. 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 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::IConstAuxStoregetConstStore () const
 Return the current store, as a const interface. More...
 
SG::IAuxStoregetStore () const
 Return the current store, as a non-const interface. More...
 
void clearCache ()
 Clear the cached aux data pointers. More...
 
const SG::auxid_set_tgetAuxIDs () const
 Return a set of identifiers for existing data items for this object. More...
 
const SG::auxid_set_tgetDecorIDs () 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...
 
4-momentum setter functions
void setPt (float pt)
 Set the transverse momentum ( \(p_T\)) of the muon. More...
 
void setEta (float eta)
 Set the pseudorapidity ( \(\eta\)) of the muon. More...
 
void setPhi (float phi)
 Set the azimuthal angle ( \(\phi\)) of the muon. More...
 
Properties specific to the LVL2 muon reconstruction
uint32_t roiWord () const
 Get the RoI ID of the seeding LVL1 muon. More...
 
void setRoIWord (uint32_t value)
 Set the RoI ID of the seeding LVL1 muon. More...
 
int sAddress () const
 Get the station address of the muon. More...
 
void setSAddress (int value)
 Set the station address of the muon. More...
 
float etaMS () const
 Get the eta at muon spectrometer. More...
 
void setEtaMS (float value)
 Set the eta at muon spectrometer. More...
 
float phiMS () const
 Get the phi at muon spectrometer. More...
 
void setPhiMS (float value)
 Set the phi at muon spectrometer. More...
 
float dirPhiMS () const
 Get tan phi at muon spectrometer. More...
 
void setDirPhiMS (float value)
 Set tan phi at muon spectrometer. More...
 
float rMS () const
 Get the R at muon spectrometer. More...
 
void setRMS (float value)
 Set the R at muon spectrometer. More...
 
float zMS () const
 Get the Z at muon spectrometer. More...
 
void setZMS (float value)
 Set the Z at muon spectrometer. More...
 
float dirZMS () const
 Get dRdZ at muon spectrometer. More...
 
void setDirZMS (float value)
 Set dRdZ at muon spectrometer. More...
 
float beta () const
 Get beta. More...
 
void setBeta (float value)
 Set beta. More...
 
float barrelRadius () const
 Get the fitted radius of the muon in the barrel. More...
 
void setBarrelRadius (float value)
 Set the fitted radius of the muon in the barrel. More...
 
float barrelSagitta () const
 Get the fitted sagitta of the muon in the barrel. More...
 
void setBarrelSagitta (float value)
 Set the fitted sagitta of the muon in the barrel. More...
 
float endcapAlpha () const
 Get the fitted \(\alpha\) value in the endcap. More...
 
void setEndcapAlpha (float value)
 Set the fitted \(\alpha\) value in the endcap. More...
 
float endcapBeta () const
 Get the fitted \(\beta\) value in the endcap. More...
 
void setEndcapBeta (float value)
 Set the fitted \(\beta\) value in the endcap. More...
 
float endcapRadius () const
 Get the fitted radius of the muon in the endcap. More...
 
void setEndcapRadius (float value)
 Set the fitted radius of the muon in the endcap. More...
 
float slopeInner () const
 Get the slope at inner. More...
 
void setSlopeInner (float value)
 Set the slope at endcap. More...
 
float interceptInner () const
 Get the intercept at inner. More...
 
void setInterceptInner (float value)
 Set the intercept at endcap. More...
 
float deltaR () const
 Get deltaR. More...
 
void setDeltaR (float value)
 Set deltaR. More...
 
float etaMap () const
 Get eta used to refer pT LUT. More...
 
void setEtaMap (float value)
 Set eta used to refer pT LUT. More...
 
float phiMap () const
 Get phi used to refer pT LUT. More...
 
void setPhiMap (float value)
 Set phi used to refer pT LUT. More...
 
int etaBin () const
 Get eta bin of pT LUT. More...
 
void setEtaBin (int value)
 Set eta bin of pT LUT. More...
 
int phiBin () const
 Get phi bin of pT LUT. More...
 
void setPhiBin (int value)
 Set phi bin of pT LUT. More...
 
int isTgcFailure () const
 Get flag to see if TGC is properly read. More...
 
void setIsTgcFailure (int value)
 Set flag to record if TGC is properly read. More...
 
int isRpcFailure () const
 Get flag to see if RPC is properly read. More...
 
void setIsRpcFailure (int value)
 Set flag to record if RPC is properly read. More...
 
float deltaPt () const
 Get error of pT. More...
 
void setDeltaPt (float value)
 Set error of pT. More...
 
float deltaEta () const
 Get error of eta. More...
 
void setDeltaEta (float value)
 Set error of eta. More...
 
float deltaPhi () const
 Get error of phi. More...
 
void setDeltaPhi (float value)
 Set error of phi. More...
 
float superPointR (int chamber) const
 Get the measured radious of the muon in one particular super point. More...
 
float superPointZ (int chamber) const
 Get the measured Z position of the muon in one particular super point. More...
 
float superPointSlope (int chamber) const
 Get the measured slope of the muon in one particular super point. More...
 
float superPointIntercept (int chamber) const
 Get the measured intercept of the muon in one particular super point. More...
 
float superPointChi2 (int chamber) const
 Get the chi2 of the fit in one particular super point. More...
 
void setSuperPoint (int chamber, float r, float z, float slope, float intercept=0., float chi2=0.)
 Set the properties of one particular super point measurement. More...
 
uint32_t nTrackPositions () const
 Number of track positions stored. More...
 
float trackPositionR (unsigned int n) const
 Get R postion of track. More...
 
float trackPositionZ (unsigned int n) const
 Get Z postion of track. More...
 
float trackPositionEta (unsigned int n) const
 Get eta postion of track. More...
 
float trackPositionPhi (unsigned int n) const
 Get phi postion of track. More...
 
void setTrackPosition (float r, float z, float eta, float phi)
 Set position of muon track. More...
 
int algoId () const
 Get and set L2 muon algorithm ID (defined above) More...
 
void setAlgoId (int value)
 
uint32_t teId () const
 Get and set input TE ID. More...
 
void setTeId (uint32_t value)
 
uint32_t lvl1Id () const
 Get and set extended level-1 ID. More...
 
void setLvl1Id (uint32_t value)
 
uint32_t lumiBlock () const
 Get and set lumi block. More...
 
void setLumiBlock (uint32_t value)
 
uint32_t muonDetMask () const
 Get and set detector mask. More...
 
void setMuonDetMask (uint32_t value)
 
uint32_t roiId () const
 Get and set RoI ID. More...
 
void setRoiId (uint32_t value)
 
uint32_t roiSystem () const
 Get and set RoI system ID. More...
 
void setRoiSystem (uint32_t value)
 
uint32_t roiSubsystem () const
 Get and set RoI subsystem ID. More...
 
void setRoiSubsystem (uint32_t value)
 
uint32_t roiSector () const
 Get and set RoI sector ID. More...
 
void setRoiSector (uint32_t value)
 
uint32_t roiNumber () const
 Get and set RoI number. More...
 
void setRoiNumber (uint32_t value)
 
uint32_t roiThreshold () const
 Get and set RoI threshold number. More...
 
void setRoiThreshold (uint32_t value)
 
uint32_t roiEta () const
 Get and set RoI eta. More...
 
void setRoiEta (uint32_t value)
 
uint32_t roiPhi () const
 Get and set RoI phi. More...
 
void setRoiPhi (uint32_t value)
 
float ptBarrelRadius () const
 Set and get pT from different algorithms. More...
 
void setPtBarrelRadius (float value)
 
float ptBarrelSagitta () const
 
void setPtBarrelSagitta (float value)
 
float ptEndcapAlpha () const
 
void setPtEndcapAlpha (float value)
 
float ptEndcapBeta () const
 
void setPtEndcapBeta (float value)
 
float ptEndcapRadius () const
 
void setPtEndcapRadius (float value)
 
int chamberType1 (int station, int sector) const
 Get the muon road information Chamber type. More...
 
int chamberType2 (int station, int sector) const
 
float roadAw (int station, int sector) const
 Slope. More...
 
float roadBw (int station, int sector) const
 Intercept. More...
 
float zMin (int station, int sector) const
 Z. More...
 
float zMax (int station, int sector) const
 
float rMin (int station, int sector) const
 R. More...
 
float rMax (int station, int sector) const
 
float etaMin (int station, int sector) const
 Eta. More...
 
float etaMax (int station, int sector) const
 
void setChamberType1 (int station, int sector, int chamberType)
 Set the muon road information. More...
 
void setChamberType2 (int station, int sector, int chamberType)
 
void setRoad (int station, int sector, float aw, float bw)
 Road. More...
 
void setRegionZ (int station, int sector, float min, float max)
 Z range. More...
 
void setRegionR (int station, int sector, float min, float max)
 R range. More...
 
void setRegionEta (int station, int sector, float min, float max)
 Eta range. More...
 
float tgcPt () const
 Get the results of TGC fit. More...
 
float tgcInnEta () const
 
float tgcInnPhi () const
 
float tgcInnR () const
 
float tgcInnZ () const
 
float tgcInnRhoStd () const
 
long tgcInnRhoN () const
 
float tgcInnPhiStd () const
 
long tgcInnPhiN () const
 
float tgcMid1Eta () const
 
float tgcMid1Phi () const
 
float tgcMid1R () const
 
float tgcMid1Z () const
 
float tgcMid2Eta () const
 
float tgcMid2Phi () const
 
float tgcMid2R () const
 
float tgcMid2Z () const
 
float tgcMidRhoChi2 () const
 
long tgcMidRhoN () const
 
float tgcMidPhiChi2 () const
 
long tgcMidPhiN () const
 
void setTgcPt (float value)
 Set the results of TGC fit. More...
 
void setTgcInn (float eta, float phi, float r, float z)
 Get the results of TGC fit. More...
 
void setTgcInnF (float rhoStd, long rhoN, float phiStd, long phiN)
 
void setTgcMid1 (float eta, float phi, float r, float z)
 
void setTgcMid2 (float eta, float phi, float r, float z)
 
void setTgcMidF (float rhoChi2, long rhoN, float phiChi2, long phiN)
 
float rpc1x () const
 Get the results of RPC fit. More...
 
float rpc1y () const
 
float rpc1z () const
 
float rpc2x () const
 
float rpc2y () const
 
float rpc2z () const
 
float rpc3x () const
 
float rpc3y () const
 
float rpc3z () const
 
void setRpc1 (float x, float y, float z)
 Set the results of RPC fit. More...
 
void setRpc2 (float x, float y, float z)
 
void setRpc3 (float x, float y, float z)
 
int extensionCapacity () const
 Get and set maximum size of storages to be reserved. More...
 
void setExtensionCapacity (int value)
 Size of storage to be reserved. More...
 
int robCapacity () const
 
void setRobCapacity (int value)
 Set size of ROB storage. More...
 
int csmCapacity () const
 
void setCsmCapacity (int value)
 Set size of CSM storage. More...
 
int lvl1EmuCapacity () const
 
void setLvl1EmuCapacity (int value)
 Set size of L1 emulation storage. More...
 
int rpcHitsCapacity () const
 
void setRpcHitsCapacity (int value)
 Set size of storage for RPC hits. More...
 
int tgcHitsCapacity () const
 
void setTgcHitsCapacity (int value)
 Set size of storage for TGC hits. More...
 
int mdtHitsCapacity () const
 
void setMdtHitsCapacity (int value)
 Set size of storage for MDT hits. More...
 
void setCapacities (int ext, int rob, int csm, int lvl1, int rpc, int tgc, int mdt)
 
const std::vector< uint32_t > & extension0 () const
 Get extenstion. More...
 
const std::vector< uint32_t > & extension1 () const
 
const std::vector< uint32_t > & extension2 () const
 
const std::vector< uint32_t > & extension3 () const
 
const std::vector< uint32_t > & extension4 () const
 
const std::vector< uint32_t > & extension5 () const
 
const std::vector< uint32_t > & extension6 () const
 
const std::vector< uint32_t > & extension7 () const
 
const std::vector< uint32_t > & extension8 () const
 
const std::vector< uint32_t > & extension9 () const
 
void setExtension0 (uint32_t value)
 Set extenstion. More...
 
void setExtension1 (uint32_t value)
 
void setExtension2 (uint32_t value)
 
void setExtension3 (uint32_t value)
 
void setExtension4 (uint32_t value)
 
void setExtension5 (uint32_t value)
 
void setExtension6 (uint32_t value)
 
void setExtension7 (uint32_t value)
 
void setExtension8 (uint32_t value)
 
void setExtension9 (uint32_t value)
 
const std::vector< uint32_t > & lvl1Emulation () const
 Level 1 emulation info. More...
 
void setEtaPivot (uint32_t ly0, uint32_t ly1)
 Get level 1 emulation object. More...
 
void setEtaLow (uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
 
void setEtaHigh (uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
 
void setPhiPivot (uint32_t ly0, uint32_t ly1)
 
void setPhiLow (uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
 
void setPhiHigh (uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
 
const std::vector< uint32_t > & robId () const
 ROB info. More...
 
const std::vector< uint32_t > & removedRobId () const
 
void setRequestedRob (uint32_t rob)
 Get ROB information object. More...
 
void setRemovedRob (uint32_t rob)
 
const std::vector< uint32_t > & csmId () const
 CSM info. More...
 
const std::vector< uint32_t > & csmSize () const
 
const std::vector< uint32_t > & csmError () const
 
const std::vector< uint32_t > & removedCsmId () const
 
void setConvertedCsm (uint32_t csm, uint32_t sz)
 Get CSM information object. More...
 
void setCsmError (uint32_t err)
 
void setRemovedCsm (uint32_t csm)
 
const std::vector< uint32_t > & padHitOnlineId () const
 Get RPC pad hits. More...
 
const std::vector< uint32_t > & padHitCode () const
 
const std::vector< float > & padHitX () const
 
const std::vector< float > & padHitY () const
 
const std::vector< float > & padHitZ () const
 
const std::vector< float > & padHitR () const
 
const std::vector< float > & padHitP () const
 
void setPadHit (uint32_t onlineId, uint32_t code, float x, float y, float z, float r, float p)
 Set RPC pad hits. More...
 
const std::vector< float > & tgcInnRhoHitPhi () const
 Get TGC hits. More...
 
const std::vector< float > & tgcInnRhoHitR () const
 
const std::vector< float > & tgcInnRhoHitZ () const
 
const std::vector< float > & tgcInnRhoHitWidth () const
 
const std::vector< uint32_t > & tgcInnRhoHitInSeg () const
 
const std::vector< float > & tgcInnPhiHitPhi () const
 
const std::vector< float > & tgcInnPhiHitR () const
 
const std::vector< float > & tgcInnPhiHitZ () const
 
const std::vector< float > & tgcInnPhiHitWidth () const
 
const std::vector< uint32_t > & tgcInnPhiHitInSeg () const
 
const std::vector< float > & tgcMidRhoHitPhi () const
 
const std::vector< float > & tgcMidRhoHitR () const
 
const std::vector< float > & tgcMidRhoHitZ () const
 
const std::vector< float > & tgcMidRhoHitWidth () const
 
const std::vector< uint32_t > & tgcMidRhoHitInSeg () const
 
const std::vector< float > & tgcMidPhiHitPhi () const
 
const std::vector< float > & tgcMidPhiHitR () const
 
const std::vector< float > & tgcMidPhiHitZ () const
 
const std::vector< float > & tgcMidPhiHitWidth () const
 
const std::vector< uint32_t > & tgcMidPhiHitInSeg () const
 
void setTgcInnRhoHit (float phi, float r, float z, float width, uint32_t in_seg)
 Set TGC hits. More...
 
void setTgcInnPhiHit (float phi, float r, float z, float width, uint32_t in_seg)
 
void setTgcMidRhoHit (float phi, float r, float z, float width, uint32_t in_seg)
 
void setTgcMidPhiHit (float phi, float r, float z, float width, uint32_t in_seg)
 
uint32_t nMdtHits () const
 Get the online ID, offline ID, R, Z, redidual, time, space and sigma of each MDT tube. More...
 
uint32_t mdtHitOnlineId (unsigned int tube) const
 
uint32_t mdtHitOfflineId (unsigned int tube) const
 
uint32_t mdtHitChamber (unsigned int tube) const
 
float mdtHitR (unsigned int tube) const
 
float mdtHitZ (unsigned int tube) const
 
float mdtHitResidual (unsigned int tube) const
 
float mdtHitTime (unsigned int tube) const
 
float mdtHitSpace (unsigned int tube) const
 
float mdtHitSigma (unsigned int tube) const
 
void setMdtHit (uint32_t onlineId, uint32_t offlineId, int chamber, float r, float z, float residual, float time, float space, float sigma)
 Set the properties of each MDT tube. More...
 

Static Public Attributes

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::AuxVectorDatam_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
 

Functions implementing the xAOD::IParticle interface

typedef TLorentzVector FourMom_t
 Definition of the 4-momentum type. More...
 
typedef ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
 Base 4 Momentum type for trig muons. More...
 
virtual double pt () const
 The transverse momentum ( \(p_T\)) of the particle. More...
 
virtual double eta () const
 The pseudorapidity ( \(\eta\)) of the particle. More...
 
virtual double phi () const
 The azimuthal angle ( \(\phi\)) of the particle. More...
 
virtual double m () const
 The invariant mass of the particle. More...
 
virtual double e () const
 The total energy of the particle. More...
 
virtual double rapidity () const
 The true rapidity (y) of the particle. More...
 
virtual FourMom_t p4 () const
 The full 4-momentum of the particle. More...
 
GenVecFourMom_t genvecP4 () const
 The full 4-momentum of the particle : internal trig muon type. More...
 
virtual Type::ObjectType type () const
 The type of the object as a simple enumeration. More...
 

Detailed Description

Class describing standalone muons reconstructed in the LVL2 trigger.

This is a simple description of the LVL2 standalone muons, which need much fewer properties than EF or offline muons.

Author
Masaki Ishitsuka ishit.nosp@m.suka.nosp@m.@phys.nosp@m..tit.nosp@m.ech.a.nosp@m.c.jp
Attila Krasznahorkay Attil.nosp@m.a.Kr.nosp@m.aszna.nosp@m.hork.nosp@m.ay@ce.nosp@m.rn.c.nosp@m.h
Revision
661304
Date
2015-04-18 06:31:23 +0200 (Sat, 18 Apr 2015)

Definition at line 36 of file L2StandAloneMuon_v1.h.

Member Typedef Documentation

◆ Accessor

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Accessor = SG::Accessor<T, ALLOC>
inherited

Definition at line 572 of file AuxElement.h.

◆ ConstAccessor

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::ConstAccessor = SG::ConstAccessor<T, ALLOC>
inherited

Definition at line 569 of file AuxElement.h.

◆ Decorator

template<class T , class ALLOC = AuxAllocator_t<T>>
using SG::AuxElement::Decorator = SG::Decorator<T, ALLOC>
inherited

Definition at line 575 of file AuxElement.h.

◆ FourMom_t

typedef TLorentzVector xAOD::L2StandAloneMuon_v1::FourMom_t

Definition of the 4-momentum type.

Definition at line 59 of file L2StandAloneMuon_v1.h.

◆ GenVecFourMom_t

typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> > xAOD::L2StandAloneMuon_v1::GenVecFourMom_t

Base 4 Momentum type for trig muons.

Definition at line 65 of file L2StandAloneMuon_v1.h.

◆ TypelessConstAccessor

using SG::AuxElement::TypelessConstAccessor = ConstAuxElement::TypelessConstAccessor
inherited

Definition at line 566 of file AuxElement.h.

Member Enumeration Documentation

◆ PrivateStoreState

enum SG::IAuxElement::PrivateStoreState : uint8_t
strongprivateinherited

The current private data state.

Enumerator
NO_PRIVATE 
HAVE_PRIVATE 
HAD_PRIVATE 

Definition at line 131 of file IAuxElement.h.

132  {
133  NO_PRIVATE = 0,
134  HAVE_PRIVATE = 1,
135  HAD_PRIVATE = 2,
136  };

Constructor & Destructor Documentation

◆ L2StandAloneMuon_v1()

xAOD::L2StandAloneMuon_v1::L2StandAloneMuon_v1 ( )

Constructor.

Definition at line 18 of file L2StandAloneMuon_v1.cxx.

19  : IParticle() {
20 
21  }

Member Function Documentation

◆ algoId()

int xAOD::L2StandAloneMuon_v1::algoId ( ) const

Get and set L2 muon algorithm ID (defined above)

◆ assign()

void SG::AuxElement::assign ( const AuxElement other,
bool  warnUnlocked = false 
)
inherited

Assignment.

Parameters
otherThe object from which we're assigning.
warnUnlockedIf 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.

◆ auxdata() [1/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::reference_type SG::AuxElement::auxdata ( const std::string &  name)
inherited

Fetch an aux data variable, as a non-const reference.

Parameters
nameName 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.

◆ auxdata() [2/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdata ( const std::string &  name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName 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.

◆ auxdata() [3/4]

template<class T >
XAOD_AUXDATA_DEPRECATED T& xAOD::IParticle::auxdata ( const std::string &  name,
const std::string &  clsname = "" 
)
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.

Parameters
nameName of the aux variable
clsnameThe name of the associated class. May be blank
Returns
A modifiable reference to the decoration

Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

99  {
100 
101  return SG::Accessor< T >(name, clsname)(*this);
102  }

◆ auxdata() [4/4]

template<class T >
XAOD_AUXDATA_DEPRECATED const T& xAOD::IParticle::auxdata ( const std::string &  name,
const std::string &  clsname = "" 
) const
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.

Parameters
nameName of the aux variable
clsnameThe name of the associated class. May be blank
Returns
A constant reference to the decoration

Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

119  {
120 
121  return SG::ConstAccessor< T >( name, clsname )( *this );
122  }

◆ auxdataConst() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdataConst ( const std::string &  name) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName 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.

◆ auxdataConst() [2/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor<T, ALLOC>::const_reference_type SG::AuxElement::auxdataConst ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ auxdecor() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator<T, ALLOC>::reference_type SG::AuxElement::auxdecor ( const std::string &  name) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName 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.

◆ auxdecor() [2/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator<T, ALLOC>::reference_type SG::AuxElement::auxdecor ( const std::string &  name,
const std::string &  clsname 
) const
inherited

Fetch an aux decoration, as a non-const reference.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ barrelRadius()

float xAOD::L2StandAloneMuon_v1::barrelRadius ( ) const

Get the fitted radius of the muon in the barrel.

◆ barrelSagitta()

float xAOD::L2StandAloneMuon_v1::barrelSagitta ( ) const

Get the fitted sagitta of the muon in the barrel.

◆ beta()

float xAOD::L2StandAloneMuon_v1::beta ( ) const

Get beta.

◆ chamberType1()

int xAOD::L2StandAloneMuon_v1::chamberType1 ( int  station,
int  sector 
) const

Get the muon road information Chamber type.

Get road properties.

Chamber types

normal sector

overlap sector

Definition at line 441 of file L2StandAloneMuon_v1.cxx.

441  {
442 
443  if ( station < 0 ) return 0;
444 
445  if ( sector == 0 ) {
447 
448  if ( ct1nAcc( *this ).size() > (unsigned int)station ) {
449  return ct1nAcc( *this ).at( station );
450  } else {
451  return 0;
452  }
453 
454  } else if ( sector == 1 ) {
456 
457  if ( ct1oAcc( *this ).size() > (unsigned int)station ) {
458  return ct1oAcc( *this ).at( station );
459  } else {
460  return 0;
461  }
462 
463  }
464 
465  return 0;
466  }

◆ chamberType2()

int xAOD::L2StandAloneMuon_v1::chamberType2 ( int  station,
int  sector 
) const

normal sector

overlap sector

Definition at line 468 of file L2StandAloneMuon_v1.cxx.

468  {
469 
470  if ( station < 0 ) return 0;
471 
472  if ( sector == 0 ) {
474  if ( ct2nAcc( *this ).size() > (unsigned int)station ) {
475  return ct2nAcc( *this ).at( station );
476  } else {
477  return 0;
478  }
479 
480  } else if ( sector == 1 ) {
482 
483  if ( ct2oAcc( *this ).size() > (unsigned int)station ) {
484  return ct2oAcc( *this ).at( station );
485  } else {
486  return 0;
487  }
488 
489  }
490 
491  return 0;
492  }

◆ clearAux()

void SG::AuxElement::clearAux ( )
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.

581 {
582  if (!m_container) return;
583  if (!m_container->hasStore()) return;
585  throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
586 
588  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
589  r.clear (auxid, *container(), index(), 1);
590  }
591 }

◆ clearCache()

void SG::AuxElement::clearCache ( )
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.

340 {
341  if (container())
342  container()->clearCache();
343 }

◆ clearDecorations()

bool SG::AuxElement::clearDecorations ( ) const
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.

429 {
430  if (havePrivateData())
431  return m_container->clearDecorations();
432  return false;
433 }

◆ container() [1/2]

SG::AuxVectorData* SG::AuxElement::container ( )
inherited

Return the container holding this element.

◆ container() [2/2]

const SG::AuxVectorData* SG::AuxElement::container ( ) const
inherited

Return the container holding this element.

◆ copyAux()

void SG::AuxElement::copyAux ( const ConstAuxElement other,
bool  warnUnlocked = false 
)
privateinherited

Copy aux data from another object.

Parameters
otherThe object from which to copy.
warnUnlockedIf 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.

609 {
610  if (!m_container) return;
611  if (!m_container->hasStore()) return;
613  throw SG::ExcConstAuxData ("copyAux");
614 
615  const SG::AuxVectorData* ocont = other.container();
616 
617  if (!ocont || !ocont->hasStore()) {
618  this->clearAux();
619  return;
620  }
621 
622  size_t oindex = other.index();
623  SG::auxid_set_t other_ids = ocont->getAuxIDs();
624 #ifndef XAOD_STANDALONE
625  SG::auxid_set_t other_decors = ocont->getDecorIDs();
626 #endif
627 
629 
630  SG::AuxVectorData& cont = *container();
631  for (SG::auxid_t auxid : other_ids) {
632 #ifndef XAOD_STANDALONE
633  if (other_decors.test (auxid)) {
634  // Don't copy decorations --- another thread may be modifying them.
635  other_ids.reset (auxid);
636  // Warn if we skip a decoration (except for mcEventWeights,
637  // for which this is expected).
638  if (warnUnlocked && r.getName(auxid) != "mcEventWeights") {
639  std::ostringstream ss;
640  ss << "skipped unlocked decoration " << r.getName(auxid)
641  << " (" << auxid << ")";
642  ATHCONTAINERS_WARNING("copyAux", ss.str());
643  }
644  }
645  else
646 #endif
647  if (!r.isLinked (auxid)) {
648  r.copy (auxid, cont, index(), *ocont, oindex, 1);
649  }
650  }
651 
652  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
653  if (!other_ids.test (auxid)) {
654  r.clear (auxid, cont, index(), 1);
655  }
656  }
657 }

◆ csmCapacity()

int xAOD::L2StandAloneMuon_v1::csmCapacity ( ) const

◆ csmError()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::csmError ( ) const

◆ csmId()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::csmId ( ) const

CSM info.

◆ csmSize()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::csmSize ( ) const

◆ deltaEta()

float xAOD::L2StandAloneMuon_v1::deltaEta ( ) const

Get error of eta.

◆ deltaPhi()

float xAOD::L2StandAloneMuon_v1::deltaPhi ( ) const

Get error of phi.

◆ deltaPt()

float xAOD::L2StandAloneMuon_v1::deltaPt ( ) const

Get error of pT.

◆ deltaR()

float xAOD::L2StandAloneMuon_v1::deltaR ( ) const

Get deltaR.

◆ dirPhiMS()

float xAOD::L2StandAloneMuon_v1::dirPhiMS ( ) const

Get tan phi at muon spectrometer.

◆ dirZMS()

float xAOD::L2StandAloneMuon_v1::dirZMS ( ) const

Get dRdZ at muon spectrometer.

◆ e()

virtual double xAOD::L2StandAloneMuon_v1::e ( ) const
virtual

The total energy of the particle.

Implements xAOD::IParticle.

◆ endcapAlpha()

float xAOD::L2StandAloneMuon_v1::endcapAlpha ( ) const

Get the fitted \(\alpha\) value in the endcap.

◆ endcapBeta()

float xAOD::L2StandAloneMuon_v1::endcapBeta ( ) const

Get the fitted \(\beta\) value in the endcap.

◆ endcapRadius()

float xAOD::L2StandAloneMuon_v1::endcapRadius ( ) const

Get the fitted radius of the muon in the endcap.

◆ eta()

virtual double xAOD::L2StandAloneMuon_v1::eta ( ) const
virtual

The pseudorapidity ( \(\eta\)) of the particle.

Implements xAOD::IParticle.

◆ etaBin()

int xAOD::L2StandAloneMuon_v1::etaBin ( ) const

Get eta bin of pT LUT.

◆ etaMap()

float xAOD::L2StandAloneMuon_v1::etaMap ( ) const

Get eta used to refer pT LUT.

◆ etaMax()

float xAOD::L2StandAloneMuon_v1::etaMax ( int  station,
int  sector 
) const

normal sector

overlap sector

Definition at line 681 of file L2StandAloneMuon_v1.cxx.

681  {
682 
683  if ( station < 0 ) return 0;
684 
685  if ( sector == 0 ) {
687  if ( emaxnAcc( *this ).size() > (unsigned int)station ) {
688  return emaxnAcc( *this ).at( station );
689  } else {
690  return 0.;
691  }
692 
693  } else if ( sector == 1 ) {
695 
696  if ( emaxoAcc( *this ).size() > (unsigned int)station ) {
697  return emaxoAcc( *this ).at( station );
698  } else {
699  return 0.;
700  }
701 
702  }
703 
704  return 0.;
705  }

◆ etaMin()

float xAOD::L2StandAloneMuon_v1::etaMin ( int  station,
int  sector 
) const

Eta.

Eta range.

normal sector

overlap sector

Definition at line 655 of file L2StandAloneMuon_v1.cxx.

655  {
656 
657  if ( station < 0 ) return 0;
658 
659  if ( sector == 0 ) {
661  if ( eminnAcc( *this ).size() > (unsigned int)station ) {
662  return eminnAcc( *this ).at( station );
663  } else {
664  return 0.;
665  }
666 
667  } else if ( sector == 1 ) {
669 
670  if ( eminoAcc( *this ).size() > (unsigned int)station ) {
671  return eminoAcc( *this ).at( station );
672  } else {
673  return 0.;
674  }
675 
676  }
677 
678  return 0.;
679  }

◆ etaMS()

float xAOD::L2StandAloneMuon_v1::etaMS ( ) const

Get the eta at muon spectrometer.

◆ extension0()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension0 ( ) const

Get extenstion.

◆ extension1()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension1 ( ) const

◆ extension2()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension2 ( ) const

◆ extension3()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension3 ( ) const

◆ extension4()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension4 ( ) const

◆ extension5()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension5 ( ) const

◆ extension6()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension6 ( ) const

◆ extension7()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension7 ( ) const

◆ extension8()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension8 ( ) const

◆ extension9()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::extension9 ( ) const

◆ extensionCapacity()

int xAOD::L2StandAloneMuon_v1::extensionCapacity ( ) const

Get and set maximum size of storages to be reserved.

◆ genvecP4()

GenVecFourMom_t xAOD::L2StandAloneMuon_v1::genvecP4 ( ) const

The full 4-momentum of the particle : internal trig muon type.

◆ getAuxIDs()

const SG::auxid_set_t & SG::AuxElement::getAuxIDs ( ) const
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.

356 {
357 #ifdef ATHCONTAINERS_R21_COMPAT
358  if (havePrivateData())
359  return m_container->getConstStore()->getAuxIDs();
360  if (container())
361  return container()->getAuxIDs();
362  static const SG::auxid_set_t null_set;
363  return null_set;
364 #else
366 #endif
367 }

◆ getConstStore()

const SG::IConstAuxStore * SG::AuxElement::getConstStore ( ) const
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.

305 {
306  if (havePrivateData()) {
307  return m_container->getConstStore();
308  }
309  return 0;
310 }

◆ getDecorIDs()

const SG::auxid_set_t & SG::AuxElement::getDecorIDs ( ) const
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.

379 {
380 #ifdef ATHCONTAINERS_R21_COMPAT
381  if (havePrivateData())
383  if (container())
384  return container()->getDecorIDs();
385  static const SG::auxid_set_t null_set;
386  return null_set;
387 #else
389 #endif
390 }

◆ getStore()

SG::IAuxStore * SG::AuxElement::getStore ( ) const
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.

320 {
321  if (havePrivateData()) {
322 #ifdef ATHCONTAINERS_R21_COMPAT
324 #else
325  SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = const_cast<SG::AuxVectorData*>(container());
326 #endif
327  return container_nc->getStore();
328  }
329  return 0;
330 }

◆ hadPrivateData()

bool SG::IAuxElement::hadPrivateData ( ) const
protectedinherited

True if this element had private data before it was added to its current container.

◆ hasNonConstStore()

bool SG::AuxElement::hasNonConstStore ( ) const
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.

412 {
413  if (havePrivateData())
414  return m_container->hasNonConstStore();
415  return false;
416 }

◆ hasStore()

bool SG::AuxElement::hasStore ( ) const
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.

399 {
400  if (havePrivateData())
401  return m_container->hasStore();
402  return false;
403 }

◆ havePrivateData()

bool SG::IAuxElement::havePrivateData ( ) const
protectedinherited

True if this element currently has private data.

◆ index() [1/2]

size_t SG::IAuxElement::index ( ) const
inherited

Return the index of this element within its container.

◆ index() [2/2]

size_t SG::IAuxElement::index
inherited

Return the index of this element within its container.

Inherited from IAuxElement.

◆ interceptInner()

float xAOD::L2StandAloneMuon_v1::interceptInner ( ) const

Get the intercept at inner.

◆ isAvailable()

template<class T >
XAOD_AUXDATA_DEPRECATED bool xAOD::IParticle::isAvailable ( const std::string &  name,
const std::string &  clsname = "" 
) const
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.

Parameters
nameName of the auxiliary variable
clsnameThe name of the associated class. May be blank
Returns
Whether the decoration exists or not

Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

136  {
137 
138  return SG::ConstAccessor< T >(name, clsname).isAvailable(*this);
139  }

◆ isAvailableWritable() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritable ( const std::string &  name,
const std::string &  clsname = "" 
)
inherited

Check if an aux variable is available for writing.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ isAvailableWritable() [2/2]

template<class T >
XAOD_AUXDATA_DEPRECATED bool xAOD::IParticle::isAvailableWritable ( const std::string &  name,
const std::string &  clsname = "" 
) const
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.

Parameters
nameName of the auxiliary variable
clsnameThe name of the associated class. May be blank
Returns
Whether the decoration is possible to set

Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

153  {
154 
155  return SG::Accessor< T >(name, clsname).isAvailableWritable(*this);
156  }

◆ isAvailableWritableAsDecoration()

template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool SG::AuxElement::isAvailableWritableAsDecoration ( const std::string &  name,
const std::string &  clsname = "" 
) const
inherited

Check if an aux variable is available for writing as a decoration.

Parameters
nameName of the aux variable.
clsnameThe 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.

◆ isRpcFailure()

int xAOD::L2StandAloneMuon_v1::isRpcFailure ( ) const

Get flag to see if RPC is properly read.

◆ isTgcFailure()

int xAOD::L2StandAloneMuon_v1::isTgcFailure ( ) const

Get flag to see if TGC is properly read.

◆ lumiBlock()

uint32_t xAOD::L2StandAloneMuon_v1::lumiBlock ( ) const

Get and set lumi block.

◆ lvl1EmuCapacity()

int xAOD::L2StandAloneMuon_v1::lvl1EmuCapacity ( ) const

◆ lvl1Emulation()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::lvl1Emulation ( ) const

Level 1 emulation info.

◆ lvl1Id()

uint32_t xAOD::L2StandAloneMuon_v1::lvl1Id ( ) const

Get and set extended level-1 ID.

◆ m()

virtual double xAOD::L2StandAloneMuon_v1::m ( ) const
virtual

The invariant mass of the particle.

Implements xAOD::IParticle.

◆ makePrivateStore() [1/3]

void SG::AuxElement::makePrivateStore ( )
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.

193 {
194  if (m_container) {
195  throw SG::ExcBadPrivateStore ("store already exists");
196  }
197 
201 }

◆ makePrivateStore() [2/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 &  other,
bool  warnUnlocked = false 
)
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf 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.

◆ makePrivateStore() [3/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 *  other,
bool  warnUnlocked = false 
)
inherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf 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.

◆ makePrivateStore1() [1/2]

void SG::AuxElement::makePrivateStore1 ( const AuxElement other,
bool  warnUnlocked 
)
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf 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.

567 {
569  if (other)
570  this->copyAux (*other, warnUnlocked);
571 }

◆ makePrivateStore1() [2/2]

void SG::AuxElement::makePrivateStore1 ( const void *  other,
bool  warnUnlocked 
)
privateinherited

Create a new private store for this object and copy aux data.

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf 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.

◆ mdtHitChamber()

uint32_t xAOD::L2StandAloneMuon_v1::mdtHitChamber ( unsigned int  tube) const

Definition at line 1710 of file L2StandAloneMuon_v1.cxx.

1710  {
1711  static const SG::AuxElement::Accessor< std::vector< uint32_t > > mdtcAcc( "mdtHitChamber" );
1712  if( mdtcAcc( *this ).size() > tube ) {
1713  return mdtcAcc( *this ).at( tube );
1714  } else {
1715  return 0;
1716  }
1717  }

◆ mdtHitOfflineId()

uint32_t xAOD::L2StandAloneMuon_v1::mdtHitOfflineId ( unsigned int  tube) const

Definition at line 1702 of file L2StandAloneMuon_v1.cxx.

1702  {
1703  if( mdtoffAcc( *this ).size() > tube ) {
1704  return mdtoffAcc( *this ).at( tube );
1705  } else {
1706  return 0;
1707  }
1708  }

◆ mdtHitOnlineId()

uint32_t xAOD::L2StandAloneMuon_v1::mdtHitOnlineId ( unsigned int  tube) const

Definition at line 1694 of file L2StandAloneMuon_v1.cxx.

1694  {
1695  if( mdtonAcc( *this ).size() > tube ) {
1696  return mdtonAcc( *this ).at( tube );
1697  } else {
1698  return 0;
1699  }
1700  }

◆ mdtHitR()

float xAOD::L2StandAloneMuon_v1::mdtHitR ( unsigned int  tube) const

Definition at line 1719 of file L2StandAloneMuon_v1.cxx.

1719  {
1720  if( mdtrAcc( *this ).size() > tube ) {
1721  return mdtrAcc( *this ).at( tube );
1722  } else {
1723  return 0.;
1724  }
1725  }

◆ mdtHitResidual()

float xAOD::L2StandAloneMuon_v1::mdtHitResidual ( unsigned int  tube) const

Definition at line 1735 of file L2StandAloneMuon_v1.cxx.

1735  {
1736  if( mdtresAcc( *this ).size() > tube ) {
1737  return mdtresAcc( *this ).at( tube );
1738  } else {
1739  return 0.;
1740  }
1741  }

◆ mdtHitsCapacity()

int xAOD::L2StandAloneMuon_v1::mdtHitsCapacity ( ) const

◆ mdtHitSigma()

float xAOD::L2StandAloneMuon_v1::mdtHitSigma ( unsigned int  tube) const

Definition at line 1759 of file L2StandAloneMuon_v1.cxx.

1759  {
1760  if( mdtsigAcc( *this ).size() > tube ) {
1761  return mdtsigAcc( *this ).at( tube );
1762  } else {
1763  return 0.;
1764  }
1765  }

◆ mdtHitSpace()

float xAOD::L2StandAloneMuon_v1::mdtHitSpace ( unsigned int  tube) const

Definition at line 1751 of file L2StandAloneMuon_v1.cxx.

1751  {
1752  if( mdtspcAcc( *this ).size() > tube ) {
1753  return mdtspcAcc( *this ).at( tube );
1754  } else {
1755  return 0.;
1756  }
1757  }

◆ mdtHitTime()

float xAOD::L2StandAloneMuon_v1::mdtHitTime ( unsigned int  tube) const

Definition at line 1743 of file L2StandAloneMuon_v1.cxx.

1743  {
1744  if( mdttAcc( *this ).size() > tube ) {
1745  return mdttAcc( *this ).at( tube );
1746  } else {
1747  return 0.;
1748  }
1749  }

◆ mdtHitZ()

float xAOD::L2StandAloneMuon_v1::mdtHitZ ( unsigned int  tube) const

Definition at line 1727 of file L2StandAloneMuon_v1.cxx.

1727  {
1728  if( mdtzAcc( *this ).size() > tube ) {
1729  return mdtzAcc( *this ).at( tube );
1730  } else {
1731  return 0.;
1732  }
1733  }

◆ muonDetMask()

uint32_t xAOD::L2StandAloneMuon_v1::muonDetMask ( ) const

Get and set detector mask.

◆ nMdtHits()

uint32_t xAOD::L2StandAloneMuon_v1::nMdtHits ( ) const

Get the online ID, offline ID, R, Z, redidual, time, space and sigma of each MDT tube.

Get and set MDT hits.

Definition at line 1690 of file L2StandAloneMuon_v1.cxx.

1690  {
1691  return mdtonAcc( *this ).size();
1692  }

◆ noPrivateData()

bool SG::IAuxElement::noPrivateData ( ) const
protectedinherited

True if this element has no private data.

◆ nTrackPositions()

uint32_t xAOD::L2StandAloneMuon_v1::nTrackPositions ( ) const

Number of track positions stored.

Get and set track positions.

Definition at line 264 of file L2StandAloneMuon_v1.cxx.

264  {
265  return trkrAcc( *this ).size();
266  }

◆ p4()

virtual FourMom_t xAOD::L2StandAloneMuon_v1::p4 ( ) const
virtual

The full 4-momentum of the particle.

Implements xAOD::IParticle.

◆ padHitCode()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::padHitCode ( ) const

◆ padHitOnlineId()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::padHitOnlineId ( ) const

Get RPC pad hits.

◆ padHitP()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::padHitP ( ) const

◆ padHitR()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::padHitR ( ) const

◆ padHitX()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::padHitX ( ) const

◆ padHitY()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::padHitY ( ) const

◆ padHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::padHitZ ( ) const

◆ phi()

virtual double xAOD::L2StandAloneMuon_v1::phi ( ) const
virtual

The azimuthal angle ( \(\phi\)) of the particle.

Implements xAOD::IParticle.

◆ phiBin()

int xAOD::L2StandAloneMuon_v1::phiBin ( ) const

Get phi bin of pT LUT.

◆ phiMap()

float xAOD::L2StandAloneMuon_v1::phiMap ( ) const

Get phi used to refer pT LUT.

◆ phiMS()

float xAOD::L2StandAloneMuon_v1::phiMS ( ) const

Get the phi at muon spectrometer.

◆ pt()

virtual double xAOD::L2StandAloneMuon_v1::pt ( ) const
virtual

The transverse momentum ( \(p_T\)) of the particle.

Implements xAOD::IParticle.

◆ ptBarrelRadius()

float xAOD::L2StandAloneMuon_v1::ptBarrelRadius ( ) const

Set and get pT from different algorithms.

◆ ptBarrelSagitta()

float xAOD::L2StandAloneMuon_v1::ptBarrelSagitta ( ) const

◆ ptEndcapAlpha()

float xAOD::L2StandAloneMuon_v1::ptEndcapAlpha ( ) const

◆ ptEndcapBeta()

float xAOD::L2StandAloneMuon_v1::ptEndcapBeta ( ) const

◆ ptEndcapRadius()

float xAOD::L2StandAloneMuon_v1::ptEndcapRadius ( ) const

◆ rapidity()

virtual double xAOD::L2StandAloneMuon_v1::rapidity ( ) const
virtual

The true rapidity (y) of the particle.

Implements xAOD::IParticle.

◆ releasePrivateStore()

void SG::AuxElement::releasePrivateStore ( )
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.

211 {
212  if (hadPrivateData()) {
213  // We had a private store, but it was released because this object
214  // was added to a container. Just forget about it.
216  return;
217  }
218 
219  if (!havePrivateData() ||
220  !m_container ||
221  typeid(*m_container) != typeid(AuxElementPrivateData))
222  {
223  throw SG::ExcBadPrivateStore ("no private store exists");
224  }
225 
228  delete m_container;
229  m_container = 0;
230 }

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 441 of file AuxElement.cxx.

442 {
443 #ifdef ATHCONTAINERS_R21_COMPAT
444  if (havePrivateData()) {
445  delete m_container;
446  }
447 #else
449 #endif
450 }

◆ removedCsmId()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::removedCsmId ( ) const

◆ removedRobId()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::removedRobId ( ) const

◆ rMax()

float xAOD::L2StandAloneMuon_v1::rMax ( int  station,
int  sector 
) const

normal sector

overlap sector

Definition at line 628 of file L2StandAloneMuon_v1.cxx.

628  {
629 
630  if ( station < 0 ) return 0;
631 
632  if ( sector == 0 ) {
634  if ( rmaxnAcc( *this ).size() > (unsigned int)station ) {
635  return rmaxnAcc( *this ).at( station );
636  } else {
637  return 0.;
638  }
639 
640  } else if ( sector == 1 ) {
642 
643  if ( rmaxoAcc( *this ).size() > (unsigned int)station ) {
644  return rmaxoAcc( *this ).at( station );
645  } else {
646  return 0.;
647  }
648 
649  }
650 
651  return 0.;
652  }

◆ rMin()

float xAOD::L2StandAloneMuon_v1::rMin ( int  station,
int  sector 
) const

R.

R range.

normal sector

overlap sector

Definition at line 602 of file L2StandAloneMuon_v1.cxx.

602  {
603 
604  if ( station < 0 ) return 0;
605 
606  if ( sector == 0 ) {
608  if ( rminnAcc( *this ).size() > (unsigned int)station ) {
609  return rminnAcc( *this ).at( station );
610  } else {
611  return 0.;
612  }
613 
614  } else if ( sector == 1 ) {
616 
617  if ( rminoAcc( *this ).size() > (unsigned int)station ) {
618  return rminoAcc( *this ).at( station );
619  } else {
620  return 0.;
621  }
622 
623  }
624 
625  return 0.;
626  }

◆ rMS()

float xAOD::L2StandAloneMuon_v1::rMS ( ) const

Get the R at muon spectrometer.

◆ roadAw()

float xAOD::L2StandAloneMuon_v1::roadAw ( int  station,
int  sector 
) const

Slope.

Road slope.

normal sector

overlap sector

Definition at line 495 of file L2StandAloneMuon_v1.cxx.

495  {
496 
497  if ( station < 0 ) return 0;
498 
499  if ( sector == 0 ) {
501  if ( awnAcc( *this ).size() > (unsigned int)station ) {
502  return awnAcc( *this ).at( station );
503  } else {
504  return 0.;
505  }
506 
507  } else if ( sector == 1 ) {
509 
510  if ( awoAcc( *this ).size() > (unsigned int)station ) {
511  return awoAcc( *this ).at( station );
512  } else {
513  return 0.;
514  }
515 
516  }
517 
518  return 0.;
519  }

◆ roadBw()

float xAOD::L2StandAloneMuon_v1::roadBw ( int  station,
int  sector 
) const

Intercept.

Road intercept.

normal sector

overlap sector

Definition at line 522 of file L2StandAloneMuon_v1.cxx.

522  {
523 
524  if ( station < 0 ) return 0;
525 
526  if ( sector == 0 ) {
528  if ( bwnAcc( *this ).size() > (unsigned int)station ) {
529  return bwnAcc( *this ).at( station );
530  } else {
531  return 0.;
532  }
533 
534  } else if ( sector == 1 ) {
536 
537  if ( bwoAcc( *this ).size() > (unsigned int)station ) {
538  return bwoAcc( *this ).at( station );
539  } else {
540  return 0.;
541  }
542 
543  }
544 
545  return 0.;
546  }

◆ robCapacity()

int xAOD::L2StandAloneMuon_v1::robCapacity ( ) const

◆ robId()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::robId ( ) const

ROB info.

◆ roiEta()

uint32_t xAOD::L2StandAloneMuon_v1::roiEta ( ) const

Get and set RoI eta.

◆ roiId()

uint32_t xAOD::L2StandAloneMuon_v1::roiId ( ) const

Get and set RoI ID.

◆ roiNumber()

uint32_t xAOD::L2StandAloneMuon_v1::roiNumber ( ) const

Get and set RoI number.

◆ roiPhi()

uint32_t xAOD::L2StandAloneMuon_v1::roiPhi ( ) const

Get and set RoI phi.

Definition at line 355 of file L2StandAloneMuon_v1.cxx.

355  {
356  static const Accessor< uint32_t > acc( "roiPhiUint" );
357  return acc( *this );
358  }

◆ roiSector()

uint32_t xAOD::L2StandAloneMuon_v1::roiSector ( ) const

Get and set RoI sector ID.

◆ roiSubsystem()

uint32_t xAOD::L2StandAloneMuon_v1::roiSubsystem ( ) const

Get and set RoI subsystem ID.

◆ roiSystem()

uint32_t xAOD::L2StandAloneMuon_v1::roiSystem ( ) const

Get and set RoI system ID.

◆ roiThreshold()

uint32_t xAOD::L2StandAloneMuon_v1::roiThreshold ( ) const

Get and set RoI threshold number.

◆ roiWord()

uint32_t xAOD::L2StandAloneMuon_v1::roiWord ( ) const

Get the RoI ID of the seeding LVL1 muon.

◆ rpc1x()

float xAOD::L2StandAloneMuon_v1::rpc1x ( ) const

Get the results of RPC fit.

◆ rpc1y()

float xAOD::L2StandAloneMuon_v1::rpc1y ( ) const

◆ rpc1z()

float xAOD::L2StandAloneMuon_v1::rpc1z ( ) const

◆ rpc2x()

float xAOD::L2StandAloneMuon_v1::rpc2x ( ) const

◆ rpc2y()

float xAOD::L2StandAloneMuon_v1::rpc2y ( ) const

◆ rpc2z()

float xAOD::L2StandAloneMuon_v1::rpc2z ( ) const

◆ rpc3x()

float xAOD::L2StandAloneMuon_v1::rpc3x ( ) const

◆ rpc3y()

float xAOD::L2StandAloneMuon_v1::rpc3y ( ) const

◆ rpc3z()

float xAOD::L2StandAloneMuon_v1::rpc3z ( ) const

◆ rpcHitsCapacity()

int xAOD::L2StandAloneMuon_v1::rpcHitsCapacity ( ) const

◆ sAddress()

int xAOD::L2StandAloneMuon_v1::sAddress ( ) const

Get the station address of the muon.

◆ setAlgoId()

void xAOD::L2StandAloneMuon_v1::setAlgoId ( int  value)

◆ setBarrelRadius()

void xAOD::L2StandAloneMuon_v1::setBarrelRadius ( float  value)

Set the fitted radius of the muon in the barrel.

◆ setBarrelSagitta()

void xAOD::L2StandAloneMuon_v1::setBarrelSagitta ( float  value)

Set the fitted sagitta of the muon in the barrel.

◆ setBeta()

void xAOD::L2StandAloneMuon_v1::setBeta ( float  value)

Set beta.

◆ setCapacities()

void xAOD::L2StandAloneMuon_v1::setCapacities ( int  ext,
int  rob,
int  csm,
int  lvl1,
int  rpc,
int  tgc,
int  mdt 
)

Definition at line 1325 of file L2StandAloneMuon_v1.cxx.

1325  {
1326 
1328  setRobCapacity( rob );
1329  setCsmCapacity( csm );
1330  setLvl1EmuCapacity( lvl1 );
1331  setRpcHitsCapacity( rpc );
1332  setTgcHitsCapacity( tgc );
1333  setMdtHitsCapacity( mdt );
1334 
1335  return;
1336  }

◆ setChamberType1()

void xAOD::L2StandAloneMuon_v1::setChamberType1 ( int  station,
int  sector,
int  chamberType 
)

Set the muon road information.

Set road properties.

Chamber types

Normal sector

Overlap sector

Definition at line 711 of file L2StandAloneMuon_v1.cxx.

711  {
712 
713  // Make sure that the variables are big enough:
714  if( ct1nAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
715  ct1nAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
716  }
717  if( ct1oAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
718  ct1oAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
719  }
720 
721  // Make sure that the variables are big enough:
722  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
723  if ( sector < 0 || sector > 1 ) return;
724 
725  if (sector == 0 ) {
727  ct1nAcc( *this ).at( station ) = chamberType;
728 
729  } else if ( sector == 1 ) {
731  ct1oAcc( *this ).at( station ) = chamberType;
732 
733  }
734 
735  return;
736  }

◆ setChamberType2()

void xAOD::L2StandAloneMuon_v1::setChamberType2 ( int  station,
int  sector,
int  chamberType 
)

Normal sector

Overlap sector

Definition at line 738 of file L2StandAloneMuon_v1.cxx.

738  {
739 
740  // Make sure that the variables are big enough:
741  if( ct2nAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
742  ct2nAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
743  }
744  if( ct2oAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
745  ct2oAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
746  }
747 
748  // Make sure that the variables are big enough:
749  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
750  if ( sector < 0 || sector > 1 ) return;
751 
752  if (sector == 0 ) {
754  ct2nAcc( *this ).at( station ) = chamberType;
755 
756  } else if ( sector == 1 ) {
758  ct2oAcc( *this ).at( station ) = chamberType;
759 
760  }
761 
762  return;
763  }

◆ setConstStore()

void SG::AuxElement::setConstStore ( const SG::IConstAuxStore store)
inherited

Synonym for setStore with IConstAuxStore.

Parameters
storeThe new store.

◆ setConvertedCsm()

void xAOD::L2StandAloneMuon_v1::setConvertedCsm ( uint32_t  csm,
uint32_t  sz 
)

Get CSM information object.

Set CSM information object

Definition at line 1533 of file L2StandAloneMuon_v1.cxx.

1533  {
1534 
1535  // Make sure that the size of vector is still within the capacity
1536  if ( csmidAcc( *this ).size() >= (unsigned int)csmCapacity() ) return;
1537 
1538  // Set the variables:
1539  csmidAcc( *this ).push_back( csm );
1540  csmszAcc( *this ).push_back( sz );
1541 
1542  return;
1543  }

◆ setCsmCapacity()

void xAOD::L2StandAloneMuon_v1::setCsmCapacity ( int  value)

Set size of CSM storage.

Definition at line 1225 of file L2StandAloneMuon_v1.cxx.

1225  {
1226 
1227  static const Accessor< int > ccapAcc( "csmCapacity" );
1228  ccapAcc( *this ) = value;
1229 
1230  if ( value > 0 ) {
1231  csmidAcc( *this ).reserve( (unsigned int)value );
1232  csmszAcc( *this ).reserve( (unsigned int)value );
1233  csmerAcc( *this ).reserve( (unsigned int)value );
1234  csmrmAcc( *this ).reserve( (unsigned int)value );
1235  }
1236 
1237  return;
1238  }

◆ setCsmError()

void xAOD::L2StandAloneMuon_v1::setCsmError ( uint32_t  err)

Definition at line 1545 of file L2StandAloneMuon_v1.cxx.

1545  {
1546 
1547  // Make sure that the size of vector is still within the capacity
1548  if ( csmerAcc( *this ).size() >= (unsigned int)csmCapacity() ) return;
1549 
1550  // Set the variables:
1551  csmerAcc( *this ).push_back( err );
1552 
1553  return;
1554  }

◆ setDeltaEta()

void xAOD::L2StandAloneMuon_v1::setDeltaEta ( float  value)

Set error of eta.

◆ setDeltaPhi()

void xAOD::L2StandAloneMuon_v1::setDeltaPhi ( float  value)

Set error of phi.

◆ setDeltaPt()

void xAOD::L2StandAloneMuon_v1::setDeltaPt ( float  value)

Set error of pT.

◆ setDeltaR()

void xAOD::L2StandAloneMuon_v1::setDeltaR ( float  value)

Set deltaR.

◆ setDirPhiMS()

void xAOD::L2StandAloneMuon_v1::setDirPhiMS ( float  value)

Set tan phi at muon spectrometer.

◆ setDirZMS()

void xAOD::L2StandAloneMuon_v1::setDirZMS ( float  value)

Set dRdZ at muon spectrometer.

◆ setEndcapAlpha()

void xAOD::L2StandAloneMuon_v1::setEndcapAlpha ( float  value)

Set the fitted \(\alpha\) value in the endcap.

◆ setEndcapBeta()

void xAOD::L2StandAloneMuon_v1::setEndcapBeta ( float  value)

Set the fitted \(\beta\) value in the endcap.

◆ setEndcapRadius()

void xAOD::L2StandAloneMuon_v1::setEndcapRadius ( float  value)

Set the fitted radius of the muon in the endcap.

◆ setEta()

void xAOD::L2StandAloneMuon_v1::setEta ( float  eta)

Set the pseudorapidity ( \(\eta\)) of the muon.

Definition at line 82 of file L2StandAloneMuon_v1.cxx.

82  {
83 
84  static const Accessor< float > acc( "eta" );
85  acc( *this ) = eta;
86  return;
87  }

◆ setEtaBin()

void xAOD::L2StandAloneMuon_v1::setEtaBin ( int  value)

Set eta bin of pT LUT.

◆ setEtaHigh()

void xAOD::L2StandAloneMuon_v1::setEtaHigh ( uint32_t  ly00,
uint32_t  ly01,
uint32_t  ly10,
uint32_t  ly11 
)

Definition at line 1445 of file L2StandAloneMuon_v1.cxx.

1445  {
1446 
1447  if ( lvl1eAcc( *this ).size() < 10 ) lvl1eAcc( *this ).resize( 10 );
1448 
1449  lvl1eAcc( *this ).at( 6 ) = ly00;
1450  lvl1eAcc( *this ).at( 7 ) = ly01;
1451  lvl1eAcc( *this ).at( 8 ) = ly10;
1452  lvl1eAcc( *this ).at( 9 ) = ly11;
1453 
1454  return;
1455  }

◆ setEtaLow()

void xAOD::L2StandAloneMuon_v1::setEtaLow ( uint32_t  ly00,
uint32_t  ly01,
uint32_t  ly10,
uint32_t  ly11 
)

Definition at line 1433 of file L2StandAloneMuon_v1.cxx.

1433  {
1434 
1435  if ( lvl1eAcc( *this ).size() < 6 ) lvl1eAcc( *this ).resize( 6 );
1436 
1437  lvl1eAcc( *this ).at( 2 ) = ly00;
1438  lvl1eAcc( *this ).at( 3 ) = ly01;
1439  lvl1eAcc( *this ).at( 4 ) = ly10;
1440  lvl1eAcc( *this ).at( 5 ) = ly11;
1441 
1442  return;
1443  }

◆ setEtaMap()

void xAOD::L2StandAloneMuon_v1::setEtaMap ( float  value)

Set eta used to refer pT LUT.

◆ setEtaMS()

void xAOD::L2StandAloneMuon_v1::setEtaMS ( float  value)

Set the eta at muon spectrometer.

◆ setEtaPivot()

void xAOD::L2StandAloneMuon_v1::setEtaPivot ( uint32_t  ly0,
uint32_t  ly1 
)

Get level 1 emulation object.

Set level 1 emulation object

Definition at line 1423 of file L2StandAloneMuon_v1.cxx.

1423  {
1424 
1425  if ( lvl1eAcc( *this ).size() < 2 ) lvl1eAcc( *this ).resize( 2 );
1426 
1427  lvl1eAcc( *this ).at( 0 ) = ly0;
1428  lvl1eAcc( *this ).at( 1 ) = ly1;
1429 
1430  return;
1431  }

◆ setExtension0()

void xAOD::L2StandAloneMuon_v1::setExtension0 ( uint32_t  value)

Set extenstion.

Get extension object.

Set and get methods for extenstions

Definition at line 1354 of file L2StandAloneMuon_v1.cxx.

1354  {
1355  // Make sure that the size of vector is still within the capacity
1356  if ( ext0Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1357  // Set the variables:
1358  ext0Acc( *this ).push_back( value );
1359  }

◆ setExtension1()

void xAOD::L2StandAloneMuon_v1::setExtension1 ( uint32_t  value)

Definition at line 1360 of file L2StandAloneMuon_v1.cxx.

1360  {
1361  // Make sure that the size of vector is still within the capacity
1362  if ( ext1Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1363  // Set the variables:
1364  ext1Acc( *this ).push_back( value );
1365  }

◆ setExtension2()

void xAOD::L2StandAloneMuon_v1::setExtension2 ( uint32_t  value)

Definition at line 1366 of file L2StandAloneMuon_v1.cxx.

1366  {
1367  // Make sure that the size of vector is still within the capacity
1368  if ( ext2Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1369  // Set the variables:
1370  ext2Acc( *this ).push_back( value );
1371  }

◆ setExtension3()

void xAOD::L2StandAloneMuon_v1::setExtension3 ( uint32_t  value)

Definition at line 1372 of file L2StandAloneMuon_v1.cxx.

1372  {
1373  // Make sure that the size of vector is still within the capacity
1374  if ( ext3Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1375  // Set the variables:
1376  ext3Acc( *this ).push_back( value );
1377  }

◆ setExtension4()

void xAOD::L2StandAloneMuon_v1::setExtension4 ( uint32_t  value)

Definition at line 1378 of file L2StandAloneMuon_v1.cxx.

1378  {
1379  // Make sure that the size of vector is still within the capacity
1380  if ( ext4Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1381  // Set the variables:
1382  ext4Acc( *this ).push_back( value );
1383  }

◆ setExtension5()

void xAOD::L2StandAloneMuon_v1::setExtension5 ( uint32_t  value)

Definition at line 1384 of file L2StandAloneMuon_v1.cxx.

1384  {
1385  // Make sure that the size of vector is still within the capacity
1386  if ( ext5Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1387  // Set the variables:
1388  ext5Acc( *this ).push_back( value );
1389  }

◆ setExtension6()

void xAOD::L2StandAloneMuon_v1::setExtension6 ( uint32_t  value)

Definition at line 1390 of file L2StandAloneMuon_v1.cxx.

1390  {
1391  // Make sure that the size of vector is still within the capacity
1392  if ( ext6Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1393  // Set the variables:
1394  ext6Acc( *this ).push_back( value );
1395  }

◆ setExtension7()

void xAOD::L2StandAloneMuon_v1::setExtension7 ( uint32_t  value)

Definition at line 1396 of file L2StandAloneMuon_v1.cxx.

1396  {
1397  // Make sure that the size of vector is still within the capacity
1398  if ( ext7Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1399  // Set the variables:
1400  ext7Acc( *this ).push_back( value );
1401  }

◆ setExtension8()

void xAOD::L2StandAloneMuon_v1::setExtension8 ( uint32_t  value)

Definition at line 1402 of file L2StandAloneMuon_v1.cxx.

1402  {
1403  // Make sure that the size of vector is still within the capacity
1404  if ( ext8Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1405  // Set the variables:
1406  ext8Acc( *this ).push_back( value );
1407  }

◆ setExtension9()

void xAOD::L2StandAloneMuon_v1::setExtension9 ( uint32_t  value)

Definition at line 1408 of file L2StandAloneMuon_v1.cxx.

1408  {
1409  // Make sure that the size of vector is still within the capacity
1410  if ( ext9Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1411  // Set the variables:
1412  ext9Acc( *this ).push_back( value );
1413  }

◆ setExtensionCapacity()

void xAOD::L2StandAloneMuon_v1::setExtensionCapacity ( int  value)

Size of storage to be reserved.

Set size of extension stirage

Definition at line 1189 of file L2StandAloneMuon_v1.cxx.

1189  {
1190 
1191  static const Accessor< int > ecapAcc( "extensionCapacity" );
1192  ecapAcc( *this ) = value;
1193 
1194  if ( value > 0 ) {
1195  ext0Acc( *this ).reserve( (unsigned int)value );
1196  ext1Acc( *this ).reserve( (unsigned int)value );
1197  ext2Acc( *this ).reserve( (unsigned int)value );
1198  ext3Acc( *this ).reserve( (unsigned int)value );
1199  ext4Acc( *this ).reserve( (unsigned int)value );
1200  ext5Acc( *this ).reserve( (unsigned int)value );
1201  ext6Acc( *this ).reserve( (unsigned int)value );
1202  ext7Acc( *this ).reserve( (unsigned int)value );
1203  ext8Acc( *this ).reserve( (unsigned int)value );
1204  ext9Acc( *this ).reserve( (unsigned int)value );
1205  }
1206 
1207  return;
1208  }

◆ setHadPrivateData()

void SG::IAuxElement::setHadPrivateData ( )
privateinherited

Record that this element used to have private data.

◆ setHavePrivateData()

void SG::IAuxElement::setHavePrivateData ( )
privateinherited

Record that this element currently has private data.

◆ setIndex()

void SG::AuxElement::setIndex ( size_t  index,
SG::AuxVectorData container 
)
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe 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.

◆ setIndexPrivate()

bool SG::AuxElement::setIndexPrivate ( size_t  index,
SG::AuxVectorData container 
)
privateinherited

Set the index/container for this element.

Parameters
indexThe index of this object within the container.
containerThe 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.

506 {
507 #ifdef ATHCONTAINERS_R21_COMPAT
508  if (hadPrivateData()) {
509  // We had a private store, but it was released because we were added
510  // to a container.
511 
512  if (container == 0) {
513  // We're being moved out of the container. Make a new private
514  // store, copy the data, and switch to it.
515  auto privateData = new SG::AuxElementPrivateData;
516  AuxElement to (privateData, 0);
517  to.copyAux (*this);
520  m_container = privateData;
521  return true;
522  }
523  }
524  else if (havePrivateData() &&
525  typeid(*m_container) == typeid(AuxElementPrivateData))
526  {
527  // We currently have a private store.
528 
529  if (container != 0 && container != m_container) {
530  // We're being added to a container.
531  // Aux data has already been copied.
532  // Release private store.
535  delete m_container;
537  return false;
538  }
539  }
540  else {
541  // We have a standalone store.
542  throw SG::ExcBadPrivateStore ("Attempt to add/remove a standalone object "
543  "from a container.");
544  }
545 
548  return false;
549 #else
551 #endif
552 }

◆ setInterceptInner()

void xAOD::L2StandAloneMuon_v1::setInterceptInner ( float  value)

Set the intercept at endcap.

◆ setIsRpcFailure()

void xAOD::L2StandAloneMuon_v1::setIsRpcFailure ( int  value)

Set flag to record if RPC is properly read.

◆ setIsTgcFailure()

void xAOD::L2StandAloneMuon_v1::setIsTgcFailure ( int  value)

Set flag to record if TGC is properly read.

◆ setLumiBlock()

void xAOD::L2StandAloneMuon_v1::setLumiBlock ( uint32_t  value)

◆ setLvl1EmuCapacity()

void xAOD::L2StandAloneMuon_v1::setLvl1EmuCapacity ( int  value)

Set size of L1 emulation storage.

Definition at line 1241 of file L2StandAloneMuon_v1.cxx.

1241  {
1242 
1243  static const Accessor< int > lcapAcc( "lvl1EmuCapacity" );
1244  lcapAcc( *this ) = value;
1245 
1246  if ( value > 0 ) {
1247  lvl1eAcc( *this ).reserve( (unsigned int)value );
1248  }
1249 
1250  return;
1251  }

◆ setLvl1Id()

void xAOD::L2StandAloneMuon_v1::setLvl1Id ( uint32_t  value)

◆ setMdtHit()

void xAOD::L2StandAloneMuon_v1::setMdtHit ( uint32_t  onlineId,
uint32_t  offlineId,
int  chamber,
float  r,
float  z,
float  residual,
float  time,
float  space,
float  sigma 
)

Set the properties of each MDT tube.

Definition at line 1767 of file L2StandAloneMuon_v1.cxx.

1768  {
1769 
1770  // Make sure that the number of MDT hits is still within the capacity
1771  if ( mdtonAcc( *this ).size() >= (unsigned int)mdtHitsCapacity() ) return;
1772 
1773  // Set the variables:
1774  static const SG::AuxElement::Accessor< std::vector< uint32_t > > mdtcAcc( "mdtHitChamber" );
1775  mdtonAcc( *this ).push_back( onlineId );
1776  mdtoffAcc( *this ).push_back( offlineId );
1777  mdtcAcc( *this ).push_back( chamber );
1778  mdtrAcc( *this ).push_back( r );
1779  mdtzAcc( *this ).push_back( z );
1780  mdtresAcc( *this ).push_back( residual );
1781  mdttAcc( *this ).push_back( time );
1782  mdtspcAcc( *this ).push_back( space );
1783  mdtsigAcc( *this ).push_back( sigma );
1784 
1785  return;
1786  }

◆ setMdtHitsCapacity()

void xAOD::L2StandAloneMuon_v1::setMdtHitsCapacity ( int  value)

Set size of storage for MDT hits.

Definition at line 1305 of file L2StandAloneMuon_v1.cxx.

1305  {
1306 
1307  static const Accessor< int > mcapAcc( "mdtHitsCapacity" );
1308  mcapAcc( *this ) = value;
1309 
1310  if ( value > 0 ) {
1311  mdtonAcc( *this ).reserve( (unsigned int)value );
1312  mdtoffAcc( *this ).reserve( (unsigned int)value );
1313  mdtrAcc( *this ).reserve( (unsigned int)value );
1314  mdtzAcc( *this ).reserve( (unsigned int)value );
1315  mdtresAcc( *this ).reserve( (unsigned int)value );
1316  mdttAcc( *this ).reserve( (unsigned int)value );
1317  mdtspcAcc( *this ).reserve( (unsigned int)value );
1318  mdtsigAcc( *this ).reserve( (unsigned int)value );
1319  }
1320 
1321  return;
1322  }

◆ setMuonDetMask()

void xAOD::L2StandAloneMuon_v1::setMuonDetMask ( uint32_t  value)

◆ setNonConstStore()

void SG::AuxElement::setNonConstStore ( SG::IAuxStore store)
inherited

Synonym for setStore with IAuxStore.

Parameters
storeThe new store.

◆ setNoPrivateData()

void SG::IAuxElement::setNoPrivateData ( )
privateinherited

Record that this element does not have private data.

◆ setPadHit()

void xAOD::L2StandAloneMuon_v1::setPadHit ( uint32_t  onlineId,
uint32_t  code,
float  x,
float  y,
float  z,
float  r,
float  p 
)

Set RPC pad hits.

Get RPC pad object.

Set RPC pad hits

Definition at line 1581 of file L2StandAloneMuon_v1.cxx.

1582  {
1583  // Make sure that the size of vector is still within the capacity
1584  if ( padiAcc( *this ).size() >= (unsigned int)rpcHitsCapacity() ) return;
1585 
1586  // Set the variables:
1587  padiAcc( *this ).push_back( onlineId );
1588  padcAcc( *this ).push_back( code );
1589  padxAcc( *this ).push_back( x );
1590  padyAcc( *this ).push_back( y );
1591  padzAcc( *this ).push_back( z );
1592  padrAcc( *this ).push_back( r );
1593  padpAcc( *this ).push_back( p );
1594 
1595  return;
1596  }

◆ setPhi()

void xAOD::L2StandAloneMuon_v1::setPhi ( float  phi)

Set the azimuthal angle ( \(\phi\)) of the muon.

Definition at line 89 of file L2StandAloneMuon_v1.cxx.

89  {
90 
91  static const Accessor< float > acc( "phi" );
92  acc( *this ) = phi;
93  return;
94  }

◆ setPhiBin()

void xAOD::L2StandAloneMuon_v1::setPhiBin ( int  value)

Set phi bin of pT LUT.

◆ setPhiHigh()

void xAOD::L2StandAloneMuon_v1::setPhiHigh ( uint32_t  ly00,
uint32_t  ly01,
uint32_t  ly10,
uint32_t  ly11 
)

Definition at line 1479 of file L2StandAloneMuon_v1.cxx.

1479  {
1480 
1481  if ( lvl1eAcc( *this ).size() < 20 ) lvl1eAcc( *this ).resize( 20 );
1482 
1483  lvl1eAcc( *this ).at( 16 ) = ly00;
1484  lvl1eAcc( *this ).at( 17 ) = ly01;
1485  lvl1eAcc( *this ).at( 18 ) = ly10;
1486  lvl1eAcc( *this ).at( 19 ) = ly11;
1487 
1488  return;
1489  }

◆ setPhiLow()

void xAOD::L2StandAloneMuon_v1::setPhiLow ( uint32_t  ly00,
uint32_t  ly01,
uint32_t  ly10,
uint32_t  ly11 
)

Definition at line 1467 of file L2StandAloneMuon_v1.cxx.

1467  {
1468 
1469  if ( lvl1eAcc( *this ).size() < 16 ) lvl1eAcc( *this ).resize( 16 );
1470 
1471  lvl1eAcc( *this ).at( 12 ) = ly00;
1472  lvl1eAcc( *this ).at( 13 ) = ly01;
1473  lvl1eAcc( *this ).at( 14 ) = ly10;
1474  lvl1eAcc( *this ).at( 15 ) = ly11;
1475 
1476  return;
1477  }

◆ setPhiMap()

void xAOD::L2StandAloneMuon_v1::setPhiMap ( float  value)

Set phi used to refer pT LUT.

◆ setPhiMS()

void xAOD::L2StandAloneMuon_v1::setPhiMS ( float  value)

Set the phi at muon spectrometer.

◆ setPhiPivot()

void xAOD::L2StandAloneMuon_v1::setPhiPivot ( uint32_t  ly0,
uint32_t  ly1 
)

Definition at line 1457 of file L2StandAloneMuon_v1.cxx.

1457  {
1458 
1459  if ( lvl1eAcc( *this ).size() < 12 ) lvl1eAcc( *this ).resize( 12 );
1460 
1461  lvl1eAcc( *this ).at( 10 ) = ly0;
1462  lvl1eAcc( *this ).at( 11 ) = ly1;
1463 
1464  return;
1465  }

◆ setPt()

void xAOD::L2StandAloneMuon_v1::setPt ( float  pt)

Set the transverse momentum ( \(p_T\)) of the muon.

◆ setPtBarrelRadius()

void xAOD::L2StandAloneMuon_v1::setPtBarrelRadius ( float  value)

◆ setPtBarrelSagitta()

void xAOD::L2StandAloneMuon_v1::setPtBarrelSagitta ( float  value)

◆ setPtEndcapAlpha()

void xAOD::L2StandAloneMuon_v1::setPtEndcapAlpha ( float  value)

◆ setPtEndcapBeta()

void xAOD::L2StandAloneMuon_v1::setPtEndcapBeta ( float  value)

◆ setPtEndcapRadius()

void xAOD::L2StandAloneMuon_v1::setPtEndcapRadius ( float  value)

◆ setRegionEta()

void xAOD::L2StandAloneMuon_v1::setRegionEta ( int  station,
int  sector,
float  min,
float  max 
)

Eta range.

Normal sector

minimum eta

maximum eta

Overlap sector

minimum eta

maximum eta

Definition at line 898 of file L2StandAloneMuon_v1.cxx.

898  {
899 
900  // Make sure that the variables are big enough:
901  if( eminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
902  eminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
903  }
904  if( emaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
905  emaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
906  }
907  if( eminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
908  eminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
909  }
910  if( emaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
911  emaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
912  }
913 
914  // Make sure that the variables are big enough:
915  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
916  if ( sector < 0 || sector > 1 ) return;
917 
918  if (sector == 0 ) {
920 
922  eminnAcc( *this ).at( station ) = min;
923 
925  emaxnAcc( *this ).at( station ) = max;
926 
927  } else if ( sector == 1 ) {
929 
931  eminoAcc( *this ).at( station ) = min;
932 
934  emaxoAcc( *this ).at( station ) = max;
935 
936  }
937 
938  return;
939  }

◆ setRegionR()

void xAOD::L2StandAloneMuon_v1::setRegionR ( int  station,
int  sector,
float  min,
float  max 
)

R range.

Normal sector

minimum R

maximum R

Overlap sector

minimum R

maximum R

Definition at line 854 of file L2StandAloneMuon_v1.cxx.

854  {
855 
856  // Make sure that the variables are big enough:
857  if( rminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
858  rminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
859  }
860  if( rmaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
861  rmaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
862  }
863  if( rminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
864  rminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
865  }
866  if( rmaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
867  rmaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
868  }
869 
870  // Make sure that the variables are big enough:
871  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
872  if ( sector < 0 || sector > 1 ) return;
873 
874  if (sector == 0 ) {
876 
878  rminnAcc( *this ).at( station ) = min;
879 
881  rmaxnAcc( *this ).at( station ) = max;
882 
883  } else if ( sector == 1 ) {
885 
887  rminoAcc( *this ).at( station ) = min;
888 
890  rmaxoAcc( *this ).at( station ) = max;
891 
892  }
893 
894  return;
895  }

◆ setRegionZ()

void xAOD::L2StandAloneMuon_v1::setRegionZ ( int  station,
int  sector,
float  min,
float  max 
)

Z range.

Normal sector

minimum Z

mazimum Z

Overlap sector

minimum Z

maximum Z

Definition at line 810 of file L2StandAloneMuon_v1.cxx.

810  {
811 
812  // Make sure that the variables are big enough:
813  if( zminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
814  zminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
815  }
816  if( zmaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
817  zmaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
818  }
819  if( zminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
820  zminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
821  }
822  if( zmaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
823  zmaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
824  }
825 
826  // Make sure that the variables are big enough:
827  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
828  if ( sector < 0 || sector > 1 ) return;
829 
830  if (sector == 0 ) {
832 
834  zminnAcc( *this ).at( station ) = min;
835 
837  zmaxnAcc( *this ).at( station ) = max;
838 
839  } else if ( sector == 1 ) {
841 
843  zminoAcc( *this ).at( station ) = min;
844 
846  zmaxoAcc( *this ).at( station ) = max;
847 
848  }
849 
850  return;
851  }

◆ setRemovedCsm()

void xAOD::L2StandAloneMuon_v1::setRemovedCsm ( uint32_t  csm)

Definition at line 1557 of file L2StandAloneMuon_v1.cxx.

1557  {
1558  // Make sure that the size of vector is still within the capacity
1559  if ( csmrmAcc( *this ).size() >= (unsigned int)csmCapacity() ) return;
1560 
1561  // Set the variables:
1562  csmrmAcc( *this ).push_back( csm );
1563 
1564  return;
1565  }

◆ setRemovedRob()

void xAOD::L2StandAloneMuon_v1::setRemovedRob ( uint32_t  rob)

Definition at line 1511 of file L2StandAloneMuon_v1.cxx.

1511  {
1512 
1513  // Make sure that the size of vector is still within the capacity
1514  if ( robrmAcc( *this ).size() >= (unsigned int)robCapacity() ) return;
1515 
1516  // Set the variables:
1517  robrmAcc( *this ).push_back( rob );
1518 
1519  return;
1520  }

◆ setRequestedRob()

void xAOD::L2StandAloneMuon_v1::setRequestedRob ( uint32_t  rob)

Get ROB information object.

Set ROB information object

Definition at line 1500 of file L2StandAloneMuon_v1.cxx.

1500  {
1501 
1502  // Make sure that the size of vector is still within the capacity
1503  if ( robidAcc( *this ).size() >= (unsigned int)robCapacity() ) return;
1504 
1505  // Set the variables:
1506  robidAcc( *this ).push_back( rob );
1507 
1508  return;
1509  }

◆ setRMS()

void xAOD::L2StandAloneMuon_v1::setRMS ( float  value)

Set the R at muon spectrometer.

◆ setRoad()

void xAOD::L2StandAloneMuon_v1::setRoad ( int  station,
int  sector,
float  aw,
float  bw 
)

Road.

Normal sector

Slope

Intercept

Overlap sector

Slope

Intercept

Definition at line 766 of file L2StandAloneMuon_v1.cxx.

766  {
767 
768  // Make sure that the variables are big enough:
769  if( awnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
770  awnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
771  }
772  if( bwnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
773  bwnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
774  }
775  if( awoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
776  awoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
777  }
778  if( bwoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
779  bwoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
780  }
781 
782  // Make sure that the variables are big enough:
783  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
784  if ( sector < 0 || sector > 1 ) return;
785 
786  if (sector == 0 ) {
788 
790  awnAcc( *this ).at( station ) = aw;
791 
793  bwnAcc( *this ).at( station ) = bw;
794 
795  } else if ( sector == 1 ) {
797 
799  awoAcc( *this ).at( station ) = aw;
800 
802  bwoAcc( *this ).at( station ) = bw;
803 
804  }
805 
806  return;
807  }

◆ setRobCapacity()

void xAOD::L2StandAloneMuon_v1::setRobCapacity ( int  value)

Set size of ROB storage.

Definition at line 1211 of file L2StandAloneMuon_v1.cxx.

1211  {
1212 
1213  static const Accessor< int > rcapAcc( "robCapacity" );
1214  rcapAcc( *this ) = value;
1215 
1216  if ( value > 0 ) {
1217  robidAcc( *this ).reserve( (unsigned int)value );
1218  robrmAcc( *this ).reserve( (unsigned int)value );
1219  }
1220 
1221  return;
1222  }

◆ setRoiEta()

void xAOD::L2StandAloneMuon_v1::setRoiEta ( uint32_t  value)

◆ setRoiId()

void xAOD::L2StandAloneMuon_v1::setRoiId ( uint32_t  value)

◆ setRoiNumber()

void xAOD::L2StandAloneMuon_v1::setRoiNumber ( uint32_t  value)

◆ setRoiPhi()

void xAOD::L2StandAloneMuon_v1::setRoiPhi ( uint32_t  value)

Definition at line 359 of file L2StandAloneMuon_v1.cxx.

359  {
360  static const Accessor< uint32_t > acc( "roiPhiUint" );
361  acc( *this ) = value;
362  return;
363  }

◆ setRoiSector()

void xAOD::L2StandAloneMuon_v1::setRoiSector ( uint32_t  value)

◆ setRoiSubsystem()

void xAOD::L2StandAloneMuon_v1::setRoiSubsystem ( uint32_t  value)

◆ setRoiSystem()

void xAOD::L2StandAloneMuon_v1::setRoiSystem ( uint32_t  value)

◆ setRoiThreshold()

void xAOD::L2StandAloneMuon_v1::setRoiThreshold ( uint32_t  value)

◆ setRoIWord()

void xAOD::L2StandAloneMuon_v1::setRoIWord ( uint32_t  value)

Set the RoI ID of the seeding LVL1 muon.

◆ setRpc1()

void xAOD::L2StandAloneMuon_v1::setRpc1 ( float  x,
float  y,
float  z 
)

Set the results of RPC fit.

Get the results of RPC fit.

Set the results of RPC fit

Definition at line 1068 of file L2StandAloneMuon_v1.cxx.

1068  {
1069 
1070  static const Accessor< float > r1xAcc( "rpc1x" );
1071  static const Accessor< float > r1yAcc( "rpc1y" );
1072  static const Accessor< float > r1zAcc( "rpc1z" );
1073 
1074  r1xAcc( *this ) = x;
1075  r1yAcc( *this ) = y;
1076  r1zAcc( *this ) = z;
1077 
1078  return;
1079  }

◆ setRpc2()

void xAOD::L2StandAloneMuon_v1::setRpc2 ( float  x,
float  y,
float  z 
)

Definition at line 1081 of file L2StandAloneMuon_v1.cxx.

1081  {
1082 
1083  static const Accessor< float > r2xAcc( "rpc2x" );
1084  static const Accessor< float > r2yAcc( "rpc2y" );
1085  static const Accessor< float > r2zAcc( "rpc2z" );
1086 
1087  r2xAcc( *this ) = x;
1088  r2yAcc( *this ) = y;
1089  r2zAcc( *this ) = z;
1090 
1091  return;
1092  }

◆ setRpc3()

void xAOD::L2StandAloneMuon_v1::setRpc3 ( float  x,
float  y,
float  z 
)

Definition at line 1094 of file L2StandAloneMuon_v1.cxx.

1094  {
1095 
1096  static const Accessor< float > r3xAcc( "rpc3x" );
1097  static const Accessor< float > r3yAcc( "rpc3y" );
1098  static const Accessor< float > r3zAcc( "rpc3z" );
1099 
1100  r3xAcc( *this ) = x;
1101  r3yAcc( *this ) = y;
1102  r3zAcc( *this ) = z;
1103 
1104  return;
1105  }

◆ setRpcHitsCapacity()

void xAOD::L2StandAloneMuon_v1::setRpcHitsCapacity ( int  value)

Set size of storage for RPC hits.

Definition at line 1254 of file L2StandAloneMuon_v1.cxx.

1254  {
1255 
1256  static const Accessor< int > rcapAcc( "rpcHitsCapacity" );
1257  rcapAcc( *this ) = value;
1258 
1259  if ( value > 0 ) {
1260  padiAcc( *this ).reserve( (unsigned int)value );
1261  padcAcc( *this ).reserve( (unsigned int)value );
1262  padxAcc( *this ).reserve( (unsigned int)value );
1263  padyAcc( *this ).reserve( (unsigned int)value );
1264  padzAcc( *this ).reserve( (unsigned int)value );
1265  padrAcc( *this ).reserve( (unsigned int)value );
1266  padpAcc( *this ).reserve( (unsigned int)value );
1267  }
1268 
1269  return;
1270  }

◆ setSAddress()

void xAOD::L2StandAloneMuon_v1::setSAddress ( int  value)

Set the station address of the muon.

◆ setSlopeInner()

void xAOD::L2StandAloneMuon_v1::setSlopeInner ( float  value)

Set the slope at endcap.

◆ setStore() [1/3]

void SG::AuxElement::setStore ( const DataLink< SG::IConstAuxStore > &  store)
inherited

Set the store associated with this object.

Parameters
storeThe 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.

Parameters
storeLink to the new store.

Definition at line 269 of file AuxElement.cxx.

270 {
271  AuxElementStandaloneData* data = setStore1 (store);
272  if (store)
273  data->setStore (store);
274 }

◆ setStore() [2/3]

void SG::AuxElement::setStore ( const SG::IConstAuxStore store)
inherited

Set the store associated with this object.

Parameters
storeThe 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.

242 {
243  AuxElementStandaloneData* data = setStore1 (store);
244  if (store)
245  data->setStore (store);
246 }

◆ setStore() [3/3]

void SG::AuxElement::setStore ( SG::IAuxStore store)
inherited

Set the store associated with this object.

Parameters
storeThe 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.

258 {
259  AuxElementStandaloneData* data = setStore1 (store);
260  if (store)
261  data->setStore (store);
262 }

◆ setStore1()

AuxElementStandaloneData * SG::AuxElement::setStore1 ( const SG::IConstAuxStore store)
privateinherited

Set the store associated with this object.

Parameters
storeThe new store.

Helper for setStore. Creates the AuxElementStandaloneData object if needed and returns it.

Parameters
storeThe new store.

Helper for setStore. Creates the @x AuxElementStandaloneData object if needed and returns it.

Definition at line 461 of file AuxElement.cxx.

462 {
463  if (store) {
464  // Want this object be standalone.
465  if (!m_container) {
466  // Not in a container (and no private store). Make a new object.
467  AuxElementStandaloneData* data = new AuxElementStandaloneData;
469  m_container = data;
470  return data;
471  }
472  if (usingStandaloneStore()) {
473  // Standalone --- return existing object.
474  return static_cast<AuxElementStandaloneData*> (container());
475  }
476  // Otherwise, it's an error.
477  throw ExcBadPrivateStore ("Attempt to attach a standalone store to an "
478  "object in a container or with a private store.");
479  }
480 
481  else {
482  // Getting rid of a standalone store.
483  if (usingStandaloneStore()) {
485  delete m_container;
486  m_container = 0;
487  }
488  else if (m_container != 0)
489  throw ExcBadPrivateStore ("Attempt to remove a standalone store from an "
490  "object in a container or with a private store.");
491  return 0;
492  }
493 }

◆ setSuperPoint()

void xAOD::L2StandAloneMuon_v1::setSuperPoint ( int  chamber,
float  r,
float  z,
float  slope,
float  intercept = 0.,
float  chi2 = 0. 
)

Set the properties of one particular super point measurement.

Set superPoint properties.

Definition at line 220 of file L2StandAloneMuon_v1.cxx.

221  {
222 
223  // Make sure that the variables are big enough:
224  if( sprAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
225  sprAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
226  }
227  if( spzAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
228  spzAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
229  }
230  if( spsAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
231  spsAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
232  }
233  if( spiAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
234  spiAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
235  }
236  if( spcAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
237  spcAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
238  }
239 
241  // Set the variables:
242  sprAcc( *this ).at( chamber ) = r;
243  spzAcc( *this ).at( chamber ) = z;
244  spsAcc( *this ).at( chamber ) = slope;
245  spiAcc( *this ).at( chamber ) = intercept;
246  spcAcc( *this ).at( chamber ) = chi2;
247  }
248 
249  return;
250  }

◆ setTeId()

void xAOD::L2StandAloneMuon_v1::setTeId ( uint32_t  value)

◆ setTgcHitsCapacity()

void xAOD::L2StandAloneMuon_v1::setTgcHitsCapacity ( int  value)

Set size of storage for TGC hits.

Definition at line 1273 of file L2StandAloneMuon_v1.cxx.

1273  {
1274 
1275  static const Accessor< int > tcapAcc( "tgcHitsCapacity" );
1276  tcapAcc( *this ) = value;
1277 
1278  if ( value > 0 ) {
1279  tirpAcc( *this ).reserve( (unsigned int)value );
1280  tirrAcc( *this ).reserve( (unsigned int)value );
1281  tirzAcc( *this ).reserve( (unsigned int)value );
1282  tirwAcc( *this ).reserve( (unsigned int)value );
1283  tiriAcc( *this ).reserve( (unsigned int)value );
1284  tippAcc( *this ).reserve( (unsigned int)value );
1285  tiprAcc( *this ).reserve( (unsigned int)value );
1286  tipzAcc( *this ).reserve( (unsigned int)value );
1287  tipwAcc( *this ).reserve( (unsigned int)value );
1288  tipiAcc( *this ).reserve( (unsigned int)value );
1289  tmrpAcc( *this ).reserve( (unsigned int)value );
1290  tmrrAcc( *this ).reserve( (unsigned int)value );
1291  tmrzAcc( *this ).reserve( (unsigned int)value );
1292  tmrwAcc( *this ).reserve( (unsigned int)value );
1293  tmriAcc( *this ).reserve( (unsigned int)value );
1294  tmppAcc( *this ).reserve( (unsigned int)value );
1295  tmprAcc( *this ).reserve( (unsigned int)value );
1296  tmpzAcc( *this ).reserve( (unsigned int)value );
1297  tmpwAcc( *this ).reserve( (unsigned int)value );
1298  tmpiAcc( *this ).reserve( (unsigned int)value );
1299  }
1300 
1301  return;
1302  }

◆ setTgcInn()

void xAOD::L2StandAloneMuon_v1::setTgcInn ( float  eta,
float  phi,
float  r,
float  z 
)

Get the results of TGC fit.

Set the results of TGC fit

Definition at line 975 of file L2StandAloneMuon_v1.cxx.

975  {
976 
977  static const Accessor< float > tieAcc( "tgcInnEta" );
978  static const Accessor< float > tipAcc( "tgcInnPhi" );
979  static const Accessor< float > tirAcc( "tgcInnR" );
980  static const Accessor< float > tizAcc( "tgcInnZ" );
981 
982  tieAcc( *this ) = eta;
983  tipAcc( *this ) = phi;
984  tirAcc( *this ) = r;
985  tizAcc( *this ) = z;
986 
987  return;
988  }

◆ setTgcInnF()

void xAOD::L2StandAloneMuon_v1::setTgcInnF ( float  rhoStd,
long  rhoN,
float  phiStd,
long  phiN 
)

Definition at line 990 of file L2StandAloneMuon_v1.cxx.

990  {
991 
992  static const Accessor< float > tirsAcc( "tgcInnRhoStd" );
993  static const Accessor< long > tirnAcc( "tgcInnRhoN" );
994  static const Accessor< float > tipsAcc( "tgcInnPhiStd" );
995  static const Accessor< long > tipnAcc( "tgcInnPhiN" );
996 
997  tirsAcc( *this ) = rhoStd;
998  tirnAcc( *this ) = rhoN;
999  tipsAcc( *this ) = phiStd;
1000  tipnAcc( *this ) = phiN;
1001 
1002  return;
1003  }

◆ setTgcInnPhiHit()

void xAOD::L2StandAloneMuon_v1::setTgcInnPhiHit ( float  phi,
float  r,
float  z,
float  width,
uint32_t  in_seg 
)

Definition at line 1640 of file L2StandAloneMuon_v1.cxx.

1640  {
1641 
1642  // Make sure that the size of vector is still within the capacity
1643  if ( tippAcc( *this ).size() >= (unsigned int)tgcHitsCapacity() ) return;
1644 
1645  // Set the variables:
1646  tippAcc( *this ).push_back( phi );
1647  tiprAcc( *this ).push_back( r );
1648  tipzAcc( *this ).push_back( z );
1649  tipwAcc( *this ).push_back( width );
1650  tipiAcc( *this ).push_back( in_seg );
1651 
1652  return;
1653  }

◆ setTgcInnRhoHit()

void xAOD::L2StandAloneMuon_v1::setTgcInnRhoHit ( float  phi,
float  r,
float  z,
float  width,
uint32_t  in_seg 
)

Set TGC hits.

Get TGC hits.

Set TGC hits

Definition at line 1625 of file L2StandAloneMuon_v1.cxx.

1625  {
1626 
1627  // Make sure that the size of vector is still within the capacity
1628  if ( tirpAcc( *this ).size() >= (unsigned int)tgcHitsCapacity() ) return;
1629 
1630  // Set the variables:
1631  tirpAcc( *this ).push_back( phi );
1632  tirrAcc( *this ).push_back( r );
1633  tirzAcc( *this ).push_back( z );
1634  tirwAcc( *this ).push_back( width );
1635  tiriAcc( *this ).push_back( in_seg );
1636 
1637  return;
1638  }

◆ setTgcMid1()

void xAOD::L2StandAloneMuon_v1::setTgcMid1 ( float  eta,
float  phi,
float  r,
float  z 
)

Definition at line 1005 of file L2StandAloneMuon_v1.cxx.

1005  {
1006 
1007  static const Accessor< float > tm1eAcc( "tgcMid1Eta" );
1008  static const Accessor< float > tm1pAcc( "tgcMid1Phi" );
1009  static const Accessor< float > tm1rAcc( "tgcMid1R" );
1010  static const Accessor< float > tm1zAcc( "tgcMid1Z" );
1011 
1012  tm1eAcc( *this ) = eta;
1013  tm1pAcc( *this ) = phi;
1014  tm1rAcc( *this ) = r;
1015  tm1zAcc( *this ) = z;
1016 
1017  return;
1018  }

◆ setTgcMid2()

void xAOD::L2StandAloneMuon_v1::setTgcMid2 ( float  eta,
float  phi,
float  r,
float  z 
)

Definition at line 1020 of file L2StandAloneMuon_v1.cxx.

1020  {
1021 
1022  static const Accessor< float > tm2eAcc( "tgcMid2Eta" );
1023  static const Accessor< float > tm2pAcc( "tgcMid2Phi" );
1024  static const Accessor< float > tm2rAcc( "tgcMid2R" );
1025  static const Accessor< float > tm2zAcc( "tgcMid2Z" );
1026 
1027  tm2eAcc( *this ) = eta;
1028  tm2pAcc( *this ) = phi;
1029  tm2rAcc( *this ) = r;
1030  tm2zAcc( *this ) = z;
1031 
1032  return;
1033  }

◆ setTgcMidF()

void xAOD::L2StandAloneMuon_v1::setTgcMidF ( float  rhoChi2,
long  rhoN,
float  phiChi2,
long  phiN 
)

Definition at line 1035 of file L2StandAloneMuon_v1.cxx.

1035  {
1036 
1037  static const Accessor< float > tmrcAcc( "tgcMidRhoChi2" );
1038  static const Accessor< long > tmrnAcc( "tgcMidRhoN" );
1039  static const Accessor< float > tmpcAcc( "tgcMidPhiChi2" );
1040  static const Accessor< long > tmpnAcc( "tgcMidPhiN" );
1041 
1042  tmrcAcc( *this ) = rhoChi2;
1043  tmrnAcc( *this ) = rhoN;
1044  tmpcAcc( *this ) = phiChi2;
1045  tmpnAcc( *this ) = phiN;
1046 
1047  return;
1048  }

◆ setTgcMidPhiHit()

void xAOD::L2StandAloneMuon_v1::setTgcMidPhiHit ( float  phi,
float  r,
float  z,
float  width,
uint32_t  in_seg 
)

Definition at line 1670 of file L2StandAloneMuon_v1.cxx.

1670  {
1671 
1672  // Make sure that the size of vector is still within the capacity
1673  if ( tmppAcc( *this ).size() >= (unsigned int)tgcHitsCapacity() ) return;
1674 
1675  // Set the variables:
1676  tmppAcc( *this ).push_back( phi );
1677  tmprAcc( *this ).push_back( r );
1678  tmpzAcc( *this ).push_back( z );
1679  tmpwAcc( *this ).push_back( width );
1680  tmpiAcc( *this ).push_back( in_seg );
1681 
1682  return;
1683  }

◆ setTgcMidRhoHit()

void xAOD::L2StandAloneMuon_v1::setTgcMidRhoHit ( float  phi,
float  r,
float  z,
float  width,
uint32_t  in_seg 
)

Definition at line 1655 of file L2StandAloneMuon_v1.cxx.

1655  {
1656 
1657  // Make sure that the size of vector is still within the capacity
1658  if ( tmrpAcc( *this ).size() >= (unsigned int)tgcHitsCapacity() ) return;
1659 
1660  // Set the variables:
1661  tmrpAcc( *this ).push_back( phi );
1662  tmrrAcc( *this ).push_back( r );
1663  tmrzAcc( *this ).push_back( z );
1664  tmrwAcc( *this ).push_back( width );
1665  tmriAcc( *this ).push_back( in_seg );
1666 
1667  return;
1668  }

◆ setTgcPt()

void xAOD::L2StandAloneMuon_v1::setTgcPt ( float  value)

Set the results of TGC fit.

◆ setTrackPosition()

void xAOD::L2StandAloneMuon_v1::setTrackPosition ( float  r,
float  z,
float  eta,
float  phi 
)

Set position of muon track.

Definition at line 301 of file L2StandAloneMuon_v1.cxx.

301  {
302 
303  // Set the variables:
304  trkrAcc( *this ).push_back( r );
305  trkzAcc( *this ).push_back( z );
306  trketaAcc( *this ).push_back( eta );
307  trkphiAcc( *this ).push_back( phi );
308 
309  return;
310  }

◆ setZMS()

void xAOD::L2StandAloneMuon_v1::setZMS ( float  value)

Set the Z at muon spectrometer.

◆ slopeInner()

float xAOD::L2StandAloneMuon_v1::slopeInner ( ) const

Get the slope at inner.

◆ superPointChi2()

float xAOD::L2StandAloneMuon_v1::superPointChi2 ( int  chamber) const

Get the chi2 of the fit in one particular super point.

Definition at line 211 of file L2StandAloneMuon_v1.cxx.

211  {
212  if( chamber >= 0 && spcAcc( *this ).size() > (unsigned int)chamber ) {
213  return spcAcc( *this ).at( chamber );
214  } else {
215  return 0.;
216  }
217  }

◆ superPointIntercept()

float xAOD::L2StandAloneMuon_v1::superPointIntercept ( int  chamber) const

Get the measured intercept of the muon in one particular super point.

Definition at line 203 of file L2StandAloneMuon_v1.cxx.

203  {
204  if( chamber >= 0 && spiAcc( *this ).size() > (unsigned int)chamber ) {
205  return spiAcc( *this ).at( chamber );
206  } else {
207  return 0.;
208  }
209  }

◆ superPointR()

float xAOD::L2StandAloneMuon_v1::superPointR ( int  chamber) const

Get the measured radious of the muon in one particular super point.

Get superPoint properties.

Definition at line 179 of file L2StandAloneMuon_v1.cxx.

179  {
180  if( chamber >= 0 && sprAcc( *this ).size() > (unsigned int)chamber ) {
181  return sprAcc( *this ).at( chamber );
182  } else {
183  return 0.;
184  }
185  }

◆ superPointSlope()

float xAOD::L2StandAloneMuon_v1::superPointSlope ( int  chamber) const

Get the measured slope of the muon in one particular super point.

Definition at line 195 of file L2StandAloneMuon_v1.cxx.

195  {
196  if( chamber >= 0 && spsAcc( *this ).size() > (unsigned int)chamber ) {
197  return spsAcc( *this ).at( chamber );
198  } else {
199  return 0.;
200  }
201  }

◆ superPointZ()

float xAOD::L2StandAloneMuon_v1::superPointZ ( int  chamber) const

Get the measured Z position of the muon in one particular super point.

Definition at line 187 of file L2StandAloneMuon_v1.cxx.

187  {
188  if( chamber >= 0 && spzAcc( *this ).size() > (unsigned int)chamber ) {
189  return spzAcc( *this ).at( chamber );
190  } else {
191  return 0.;
192  }
193  }

◆ teId()

uint32_t xAOD::L2StandAloneMuon_v1::teId ( ) const

Get and set input TE ID.

◆ tgcHitsCapacity()

int xAOD::L2StandAloneMuon_v1::tgcHitsCapacity ( ) const

◆ tgcInnEta()

float xAOD::L2StandAloneMuon_v1::tgcInnEta ( ) const

◆ tgcInnPhi()

float xAOD::L2StandAloneMuon_v1::tgcInnPhi ( ) const

◆ tgcInnPhiHitInSeg()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::tgcInnPhiHitInSeg ( ) const

◆ tgcInnPhiHitPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnPhiHitPhi ( ) const

◆ tgcInnPhiHitR()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnPhiHitR ( ) const

◆ tgcInnPhiHitWidth()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnPhiHitWidth ( ) const

◆ tgcInnPhiHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnPhiHitZ ( ) const

◆ tgcInnPhiN()

long xAOD::L2StandAloneMuon_v1::tgcInnPhiN ( ) const

◆ tgcInnPhiStd()

float xAOD::L2StandAloneMuon_v1::tgcInnPhiStd ( ) const

◆ tgcInnR()

float xAOD::L2StandAloneMuon_v1::tgcInnR ( ) const

◆ tgcInnRhoHitInSeg()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::tgcInnRhoHitInSeg ( ) const

◆ tgcInnRhoHitPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnRhoHitPhi ( ) const

Get TGC hits.

◆ tgcInnRhoHitR()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnRhoHitR ( ) const

◆ tgcInnRhoHitWidth()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnRhoHitWidth ( ) const

◆ tgcInnRhoHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcInnRhoHitZ ( ) const

◆ tgcInnRhoN()

long xAOD::L2StandAloneMuon_v1::tgcInnRhoN ( ) const

◆ tgcInnRhoStd()

float xAOD::L2StandAloneMuon_v1::tgcInnRhoStd ( ) const

◆ tgcInnZ()

float xAOD::L2StandAloneMuon_v1::tgcInnZ ( ) const

◆ tgcMid1Eta()

float xAOD::L2StandAloneMuon_v1::tgcMid1Eta ( ) const

◆ tgcMid1Phi()

float xAOD::L2StandAloneMuon_v1::tgcMid1Phi ( ) const

◆ tgcMid1R()

float xAOD::L2StandAloneMuon_v1::tgcMid1R ( ) const

◆ tgcMid1Z()

float xAOD::L2StandAloneMuon_v1::tgcMid1Z ( ) const

◆ tgcMid2Eta()

float xAOD::L2StandAloneMuon_v1::tgcMid2Eta ( ) const

◆ tgcMid2Phi()

float xAOD::L2StandAloneMuon_v1::tgcMid2Phi ( ) const

◆ tgcMid2R()

float xAOD::L2StandAloneMuon_v1::tgcMid2R ( ) const

◆ tgcMid2Z()

float xAOD::L2StandAloneMuon_v1::tgcMid2Z ( ) const

◆ tgcMidPhiChi2()

float xAOD::L2StandAloneMuon_v1::tgcMidPhiChi2 ( ) const

◆ tgcMidPhiHitInSeg()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::tgcMidPhiHitInSeg ( ) const

◆ tgcMidPhiHitPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidPhiHitPhi ( ) const

◆ tgcMidPhiHitR()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidPhiHitR ( ) const

◆ tgcMidPhiHitWidth()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidPhiHitWidth ( ) const

◆ tgcMidPhiHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidPhiHitZ ( ) const

◆ tgcMidPhiN()

long xAOD::L2StandAloneMuon_v1::tgcMidPhiN ( ) const

◆ tgcMidRhoChi2()

float xAOD::L2StandAloneMuon_v1::tgcMidRhoChi2 ( ) const

◆ tgcMidRhoHitInSeg()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v1::tgcMidRhoHitInSeg ( ) const

◆ tgcMidRhoHitPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidRhoHitPhi ( ) const

◆ tgcMidRhoHitR()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidRhoHitR ( ) const

◆ tgcMidRhoHitWidth()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidRhoHitWidth ( ) const

◆ tgcMidRhoHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v1::tgcMidRhoHitZ ( ) const

◆ tgcMidRhoN()

long xAOD::L2StandAloneMuon_v1::tgcMidRhoN ( ) const

◆ tgcPt()

float xAOD::L2StandAloneMuon_v1::tgcPt ( ) const

Get the results of TGC fit.

◆ trackIndices()

bool SG::AuxElement::trackIndices ( ) const
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.

◆ trackPositionEta()

float xAOD::L2StandAloneMuon_v1::trackPositionEta ( unsigned int  n) const

Get eta postion of track.

Definition at line 284 of file L2StandAloneMuon_v1.cxx.

284  {
285  if( trketaAcc( *this ).size() > n ) {
286  return trketaAcc( *this ).at( n );
287  } else {
288  return 0.;
289  }
290  }

◆ trackPositionPhi()

float xAOD::L2StandAloneMuon_v1::trackPositionPhi ( unsigned int  n) const

Get phi postion of track.

Definition at line 292 of file L2StandAloneMuon_v1.cxx.

292  {
293  if( trkphiAcc( *this ).size() > n ) {
294  return trkphiAcc( *this ).at( n );
295  } else {
296  return 0.;
297  }
298  }

◆ trackPositionR()

float xAOD::L2StandAloneMuon_v1::trackPositionR ( unsigned int  n) const

Get R postion of track.

Definition at line 268 of file L2StandAloneMuon_v1.cxx.

268  {
269  if( trkrAcc( *this ).size() > n ) {
270  return trkrAcc( *this ).at( n );
271  } else {
272  return 0.;
273  }
274  }

◆ trackPositionZ()

float xAOD::L2StandAloneMuon_v1::trackPositionZ ( unsigned int  n) const

Get Z postion of track.

Definition at line 276 of file L2StandAloneMuon_v1.cxx.

276  {
277  if( trkzAcc( *this ).size() > n ) {
278  return trkzAcc( *this ).at( n );
279  } else {
280  return 0.;
281  }
282  }

◆ type()

virtual Type::ObjectType xAOD::L2StandAloneMuon_v1::type ( ) const
virtual

The type of the object as a simple enumeration.

Implements xAOD::IParticle.

◆ usingPrivateStore()

bool SG::AuxElement::usingPrivateStore ( ) const
inherited

Test to see if this object is currently using a private store.

Definition at line 280 of file AuxElement.cxx.

281 {
282  return havePrivateData() &&
283  typeid(*m_container) == typeid(AuxElementPrivateData);
284 }

◆ usingStandaloneStore()

bool SG::AuxElement::usingStandaloneStore ( ) const
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.

291 {
292  return havePrivateData() &&
293  typeid(*m_container) == typeid(AuxElementStandaloneData);
294 }

◆ zMax()

float xAOD::L2StandAloneMuon_v1::zMax ( int  station,
int  sector 
) const

normal sector

overlap sector

Definition at line 575 of file L2StandAloneMuon_v1.cxx.

575  {
576 
577  if ( station < 0 ) return 0;
578 
579  if ( sector == 0 ) {
581  if ( zmaxnAcc( *this ).size() > (unsigned int)station ) {
582  return zmaxnAcc( *this ).at( station );
583  } else {
584  return 0.;
585  }
586 
587  } else if ( sector == 1 ) {
589 
590  if ( zmaxoAcc( *this ).size() > (unsigned int)station ) {
591  return zmaxoAcc( *this ).at( station );
592  } else {
593  return 0.;
594  }
595 
596  }
597 
598  return 0.;
599  }

◆ zMin()

float xAOD::L2StandAloneMuon_v1::zMin ( int  station,
int  sector 
) const

Z.

Z range.

normal sector

overlap sector

Definition at line 549 of file L2StandAloneMuon_v1.cxx.

549  {
550 
551  if ( station < 0 ) return 0;
552 
553  if ( sector == 0 ) {
555  if ( zminnAcc( *this ).size() > (unsigned int)station ) {
556  return zminnAcc( *this ).at( station );
557  } else {
558  return 0.;
559  }
560 
561  } else if ( sector == 1 ) {
563 
564  if ( zminoAcc( *this ).size() > (unsigned int)station ) {
565  return zminoAcc( *this ).at( station );
566  } else {
567  return 0.;
568  }
569 
570  }
571 
572  return 0.;
573  }

◆ zMS()

float xAOD::L2StandAloneMuon_v1::zMS ( ) const

Get the Z at muon spectrometer.

Member Data Documentation

◆ m_container

const SG::AuxVectorData* SG::ConstAuxElement::m_container
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.

◆ m_index

size_t SG::IAuxElement::m_index
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.

◆ m_privateStoreState

PrivateStoreState SG::IAuxElement::m_privateStoreState
privateinherited

Definition at line 137 of file IAuxElement.h.

◆ supportsThinning

constexpr bool SG::AuxElement::supportsThinning = true
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.


The documentation for this class was generated from the following files:
SG::AuxVectorData::getConstStore
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
SGTest::store
TestStore store
Definition: TestStore.cxx:23
beamspotman.r
def r
Definition: beamspotman.py:676
SG::ConstAuxElement::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
Definition: AuxElement.cxx:153
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
pdg_comparison.sigma
sigma
Definition: pdg_comparison.py:324
fitman.sz
sz
Definition: fitman.py:527
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
SG::AuxTypeRegistry::instance
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Definition: AuxTypeRegistry.cxx:639
xAOD::L2StandAloneMuon_v1::robCapacity
int robCapacity() const
SG::Accessor< T >
SG::AuxVectorData::getDecorIDs
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
Definition: AuxVectorData.cxx:215
ClusterSeg::residual
@ residual
Definition: ClusterNtuple.h:20
SG::AuxVectorData::getWritableAuxIDs
const SG::auxid_set_t & getWritableAuxIDs() const
Return a set of identifiers for writable data items in this store.
Definition: AuxVectorData.cxx:231
calibdata.chamber
chamber
Definition: calibdata.py:32
index
Definition: index.py:1
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
SG::ConstAuxElement::m_container
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition: AuxElement.h:335
SG::AuxVectorData::hasNonConstStore
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
athena.value
value
Definition: athena.py:124
SG::AuxElement::usingStandaloneStore
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
Definition: AuxElement.cxx:290
SG::ConstAuxElement::setIndexPrivate
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
Definition: AuxElement.cxx:97
SG::ConstAccessor< T >
SG::ExcConstAuxData
Exception — Non-const operation performed on const aux data.
Definition: Control/AthContainers/AthContainers/exceptions.h:77
SG::IAuxElement::setNoPrivateData
void setNoPrivateData()
Record that this element does not have private data.
x
#define x
xAOD::L2StandAloneMuon_v1::csmCapacity
int csmCapacity() const
xAOD::L2StandAloneMuon_v1::setTgcHitsCapacity
void setTgcHitsCapacity(int value)
Set size of storage for TGC hits.
Definition: L2StandAloneMuon_v1.cxx:1273
SG::AuxVectorData::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
Definition: AuxVectorData.cxx:203
SG::AuxTypeRegistry
Handle mappings between names and auxid_t.
Definition: AuxTypeRegistry.h:61
SG::IAuxElement::index
size_t index() const
Return the index of this element within its container.
SG::IAuxElement::setHadPrivateData
void setHadPrivateData()
Record that this element used to have private data.
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
histSizes.code
code
Definition: histSizes.py:129
xAOD::L2StandAloneMuon_v1::mdtHitsCapacity
int mdtHitsCapacity() const
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
xAOD::L2StandAloneMuon_v1::setRobCapacity
void setRobCapacity(int value)
Set size of ROB storage.
Definition: L2StandAloneMuon_v1.cxx:1211
dqt_zlumi_pandas.err
err
Definition: dqt_zlumi_pandas.py:182
z
#define z
SG::AuxElement::copyAux
void copyAux(const ConstAuxElement &other, bool warnUnlocked=false)
Copy aux data from another object.
Definition: AuxElement.cxx:607
xAOD::L2MuonParameters::MaxChamber
@ MaxChamber
Number of measurement point definitions.
Definition: TrigMuonDefs.h:27
beamspotman.n
n
Definition: beamspotman.py:731
SG::AuxElement::clearAux
void clearAux()
Clear all aux data associated with this element.
Definition: AuxElement.cxx:580
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
xAOD::L2StandAloneMuon_v1::extensionCapacity
int extensionCapacity() const
Get and set maximum size of storages to be reserved.
SG::IAuxElement::havePrivateData
bool havePrivateData() const
True if this element currently has private data.
ATHCONTAINERS_WARNING
#define ATHCONTAINERS_WARNING(ctx, msg)
Definition: error.h:57
xAOD::L2StandAloneMuon_v1::setCsmCapacity
void setCsmCapacity(int value)
Set size of CSM storage.
Definition: L2StandAloneMuon_v1.cxx:1225
xAOD::L2StandAloneMuon_v1::tgcHitsCapacity
int tgcHitsCapacity() const
SG::AuxVectorData::getStore
SG::IAuxStore * getStore()
Return the current store, as a non-const interface.
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:523
SG::ConstAuxElement::getDecorIDs
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
Definition: AuxElement.cxx:172
xAOD::L2StandAloneMuon_v1::setExtensionCapacity
void setExtensionCapacity(int value)
Size of storage to be reserved.
Definition: L2StandAloneMuon_v1.cxx:1189
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
SG::AuxElementPrivateData
Internal data container for private store.
Definition: AuxElement.cxx:46
xAOD::L2StandAloneMuon_v1::setMdtHitsCapacity
void setMdtHitsCapacity(int value)
Set size of storage for MDT hits.
Definition: L2StandAloneMuon_v1.cxx:1305
MakeFileForMJB.ext
string ext
Definition: Moriond2016/MakeFileForMJB.py:41
SG::AuxVectorData::hasStore
bool hasStore() const
Return true if this object has an associated store.
SG::IAuxElement::setHavePrivateData
void setHavePrivateData()
Record that this element currently has private data.
SG::AuxVectorData::clearCache
void clearCache()
Clear the cached aux data pointers.
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:192
xAOD::L2StandAloneMuon_v1::rpcHitsCapacity
int rpcHitsCapacity() const
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
xAOD::L2StandAloneMuon_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
xAOD::IParticle::IParticle
IParticle()=default
xAOD::L2StandAloneMuon_v1::setRpcHitsCapacity
void setRpcHitsCapacity(int value)
Set size of storage for RPC hits.
Definition: L2StandAloneMuon_v1.cxx:1254
SG::IAuxElement::setIndex
void setIndex(size_t index)
Set the index of this element within its container.
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
y
#define y
SG::AuxVectorData::clearDecorations
bool clearDecorations() const
Clear all decorations.
Definition: AuxVectorData.cxx:653
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
SG::ExcBadPrivateStore
Exception — Bad use of private store.
Definition: Control/AthContainers/AthContainers/exceptions.h:113
SG::Accessor::isAvailableWritable
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
SG::IConstAuxStore::getDecorIDs
virtual const SG::auxid_set_t & getDecorIDs() const =0
Return a set of identifiers for decorations in this store.
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47
SG::ConstAccessor::isAvailable
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
xAOD::L2StandAloneMuon_v1::setLvl1EmuCapacity
void setLvl1EmuCapacity(int value)
Set size of L1 emulation storage.
Definition: L2StandAloneMuon_v1.cxx:1241
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:168
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
SG::ConstAuxElement::releasePrivateStoreForDtor
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.
Definition: AuxElement.cxx:80
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::L2StandAloneMuon_v1::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
SG::IAuxElement::hadPrivateData
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
calibdata.tube
tube
Definition: calibdata.py:31
SG::IConstAuxStore::getAuxIDs
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
SG::AuxElement::setStore1
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
Definition: AuxElement.cxx:461
CxxUtils::ConcurrentBitset::test
bool test(bit_t bit) const
Test to see if a bit is set.