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_v2 Class Reference

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

#include <L2StandAloneMuon_v2.h>

Inheritance diagram for xAOD::L2StandAloneMuon_v2:
Collaboration diagram for xAOD::L2StandAloneMuon_v2:

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_v2 ()
 Constructor. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
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>>
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>>
bool isAvailableWritable (const std::string &name, const std::string &clsname="")
 Check if an aux variable is available for writing. 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>>
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>>
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>>
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>>
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>>
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)
 Create a new private store for this object and copy aux data. More...
 
template<class U1 >
void makePrivateStore (const U1 *other)
 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...
 
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 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 deltaPtParm1 () const
 Get and set parameter sets for delta pT calculation. More...
 
void setDeltaPtParm1 (float value)
 
float deltaPtParm2 () const
 
void setDeltaPtParm2 (float value)
 
float deltaPtParm3 () const
 
void setDeltaPtParm3 (float value)
 
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)
 
float roiEta () const
 Get and set RoI eta. More...
 
void setRoiEta (float value)
 
float roiPhi () const
 Get and set RoI phi. More...
 
void setRoiPhi (float value)
 
float tgcPt () const
 Set and get pT from different algorithms. More...
 
void setTgcPt (float value)
 
float ptBarrelRadius () const
 
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)
 
float ptCSC () const
 
void setPtCSC (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 tgcInnEta () const
 Get the results of TGC fit. More...
 
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 setTgcInn (float eta, float phi, float r, float z)
 Set 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 rpcFitInnPhi () const
 Get the results of RPC fit. More...
 
float rpcFitInnSlope () const
 
float rpcFitInnOffset () const
 
float rpcFitMidPhi () const
 
float rpcFitMidSlope () const
 
float rpcFitMidOffset () const
 
float rpcFitOutPhi () const
 
float rpcFitOutSlope () const
 
float rpcFitOutOffset () const
 
void setRpcFitInn (float phi, float slope, float offset)
 Set the results of RPC fit. More...
 
void setRpcFitMid (float phi, float slope, float offset)
 
void setRpcFitOut (float phi, float slope, float offset)
 
int rpcHitsCapacity () const
 Get and set maximum size of storages to be reserved. More...
 
void setRpcHitsCapacity (int value)
 Size of storage to be reserved. 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...
 
int cscHitsCapacity () const
 
void setCscHitsCapacity (int value)
 Set size of storage for CSC hits. More...
 
void setStgcClustersCapacity (const int value)
 Set size of storage for sTGC clusters. More...
 
void setMmClustersCapacity (const int value)
 Set size of storage for MM clusters. More...
 
void setCapacities (int rpc, int tgc, int mdt, int csc)
 
const std::vector< uint32_t > & rpcHitLayer () const
 Get RPC hits. More...
 
const std::vector< uint32_t > & rpcHitMeasuresPhi () const
 
const std::vector< float > & rpcHitX () const
 
const std::vector< float > & rpcHitY () const
 
const std::vector< float > & rpcHitZ () const
 
const std::vector< float > & rpcHitTime () const
 
const std::vector< float > & rpcHitDistToEtaReadout () const
 
const std::vector< float > & rpcHitDistToPhiReadout () const
 
const std::vector< std::string > & rpcHitStationName () const
 
void setRpcHit (uint32_t layer, uint32_t measuresPhi, float x, float y, float z, float time, float distEta, float distPhi, const std::string &stationName)
 Set RPC hits. More...
 
const std::vector< float > & tgcHitEta () const
 Get TGC hits. More...
 
const std::vector< float > & tgcHitPhi () const
 
const std::vector< float > & tgcHitR () const
 
const std::vector< float > & tgcHitZ () const
 
const std::vector< float > & tgcHitWidth () const
 
const std::vector< int > & tgcHitStationNum () const
 
const std::vector< bool > & tgcHitIsStrip () const
 
const std::vector< int > & tgcHitBCTag () const
 
const std::vector< bool > & tgcHitInRoad () const
 
void setTgcHit (float eta, float phi, float r, float z, float width, int stationNum, bool isStrip, int bcTag, bool inRoad)
 Set TGC hits. More...
 
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
 
int mdtHitOfflineId (unsigned int tube) const
 
int mdtHitIsOutlier (unsigned int tube) const
 
int mdtHitChamber (unsigned int tube) const
 
float mdtHitR (unsigned int tube) const
 
float mdtHitZ (unsigned int tube) const
 
float mdtHitPhi (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, int isOutier, int chamber, float r, float z, float phi, float residual, float time, float space, float sigma)
 Set the properties of each MDT tube. More...
 
uint32_t nCscHits () const
 Get CSC hits. More...
 
int cscHitIsOutlier (unsigned int tube) const
 
int cscHitChamber (unsigned int tube) const
 
uint32_t cscHitStationName (unsigned int tube) const
 
int cscHitStationEta (unsigned int tube) const
 
int cscHitStationPhi (unsigned int tube) const
 
int cscHitChamberLayer (unsigned int tube) const
 
int cscHitWireLayer (unsigned int tube) const
 
int cscHitMeasuresPhi (unsigned int tube) const
 
int cscHitStrip (unsigned int tube) const
 
float cscHitEta (unsigned int tube) const
 
float cscHitPhi (unsigned int tube) const
 
float cscHitR (unsigned int tube) const
 
float cscHitZ (unsigned int tube) const
 
int cscHitCharge (unsigned int tube) const
 
float cscHitTime (unsigned int tube) const
 
float cscHitResidual (unsigned int tube) const
 
void setCscHit (int isOutlier, int chamber, uint32_t stationName, int stationEta, int stationPhi, int chamberLayer, int wireLayer, int measuresPhi, int strip, float eta, float phi, float r, float z, int charge, float time, float residual)
 Set the properties of each CSC tube. More...
 
const std::vector< unsigned int > & stgcClusterLayer () const
 Get sTGC clusters. More...
 
const std::vector< int > & stgcClusterIsOutlier () const
 
const std::vector< int > & stgcClusterType () const
 
const std::vector< float > & stgcClusterEta () const
 
const std::vector< float > & stgcClusterPhi () const
 
const std::vector< float > & stgcClusterR () const
 
const std::vector< float > & stgcClusterZ () const
 
const std::vector< float > & stgcClusterResidualR () const
 
const std::vector< float > & stgcClusterResidualPhi () const
 
const std::vector< int > & stgcClusterStationEta () const
 
const std::vector< int > & stgcClusterStationPhi () const
 
const std::vector< int > & stgcClusterStationName () const
 
void setStgcCluster (const unsigned int layer, const int isOutlier, const int type, const float eta, const float phi, const float r, const float z, const float residualR, const float residualPhi, const int stationEta, const int stationPhi, const int stationName)
 Set sTGC hits. More...
 
const std::vector< unsigned int > & mmClusterLayer () const
 Get MM clusters. More...
 
const std::vector< int > & mmClusterIsOutlier () const
 
const std::vector< float > & mmClusterEta () const
 
const std::vector< float > & mmClusterPhi () const
 
const std::vector< float > & mmClusterR () const
 
const std::vector< float > & mmClusterZ () const
 
const std::vector< float > & mmClusterResidualR () const
 
const std::vector< float > & mmClusterResidualPhi () const
 
const std::vector< int > & mmClusterStationEta () const
 
const std::vector< int > & mmClusterStationPhi () const
 
const std::vector< int > & mmClusterStationName () const
 
void setMmCluster (const unsigned int layer, const int isOutlier, const float eta, const float phi, const float r, const float z, const float residualR, const float residualPhi, const int stationEta, const int stationPhi, const int stationName)
 Set MM hits. 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 *)
 Create a new private store for this object and copy aux data. More...
 
void makePrivateStore1 (const AuxElement *other)
 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)
 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_v2.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 522 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 519 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 525 of file AuxElement.h.

◆ FourMom_t

typedef TLorentzVector xAOD::L2StandAloneMuon_v2::FourMom_t

Definition of the 4-momentum type.

Definition at line 59 of file L2StandAloneMuon_v2.h.

◆ GenVecFourMom_t

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

Base 4 Momentum type for trig muons.

Definition at line 65 of file L2StandAloneMuon_v2.h.

◆ TypelessConstAccessor

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

Definition at line 516 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_v2()

xAOD::L2StandAloneMuon_v2::L2StandAloneMuon_v2 ( )

Constructor.

Definition at line 18 of file L2StandAloneMuon_v2.cxx.

19  : IParticle() {
20 
21  }

Member Function Documentation

◆ algoId()

int xAOD::L2StandAloneMuon_v2::algoId ( ) const

Get and set L2 muon algorithm ID (defined above)

◆ auxdata() [1/4]

template<class T , class ALLOC = AuxAllocator_t<T>>
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>>
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 >
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 modifyable reference to the decoration

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

97  {
98 
99  return SG::AuxElement::auxdata< T >( name, clsname );
100  }

◆ auxdata() [4/4]

template<class T >
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 115 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

116  {
117 
118  return SG::AuxElement::auxdata< T >( name, clsname );
119  }

◆ auxdataConst() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
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>>
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>>
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>>
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_v2::barrelRadius ( ) const

Get the fitted radius of the muon in the barrel.

◆ barrelSagitta()

float xAOD::L2StandAloneMuon_v2::barrelSagitta ( ) const

Get the fitted sagitta of the muon in the barrel.

◆ beta()

float xAOD::L2StandAloneMuon_v2::beta ( ) const

Get beta.

◆ chamberType1()

int xAOD::L2StandAloneMuon_v2::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 426 of file L2StandAloneMuon_v2.cxx.

426  {
427 
428  if ( station < 0 ) return 0;
429 
430  if ( sector == 0 ) {
432 
433  if ( ct1nAcc( *this ).size() > (unsigned int)station ) {
434  return ct1nAcc( *this ).at( station );
435  } else {
436  return 0;
437  }
438 
439  } else if ( sector == 1 ) {
441 
442  if ( ct1oAcc( *this ).size() > (unsigned int)station ) {
443  return ct1oAcc( *this ).at( station );
444  } else {
445  return 0;
446  }
447 
448  }
449 
450  return 0;
451  }

◆ chamberType2()

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

normal sector

overlap sector

Definition at line 453 of file L2StandAloneMuon_v2.cxx.

453  {
454 
455  if ( station < 0 ) return 0;
456 
457  if ( sector == 0 ) {
459  if ( ct2nAcc( *this ).size() > (unsigned int)station ) {
460  return ct2nAcc( *this ).at( station );
461  } else {
462  return 0;
463  }
464 
465  } else if ( sector == 1 ) {
467 
468  if ( ct2oAcc( *this ).size() > (unsigned int)station ) {
469  return ct2oAcc( *this ).at( station );
470  } else {
471  return 0;
472  }
473 
474  }
475 
476  return 0;
477  }

◆ 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 535 of file AuxElement.cxx.

536 {
537  if (!m_container) return;
538  if (!m_container->hasStore()) return;
540  throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
541 
543  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
544  r.clear (auxid, *container(), index(), 1);
545  }
546 }

◆ 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 319 of file AuxElement.cxx.

320 {
321  if (container())
322  container()->clearCache();
323 }

◆ 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 385 of file AuxElement.cxx.

386 {
387  if (havePrivateData())
388  return m_container->clearDecorations();
389  return false;
390 }

◆ 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)
privateinherited

Copy aux data from another object.

Parameters
otherThe object from which to copy.

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 561 of file AuxElement.cxx.

562 {
563  if (!m_container) return;
564  if (!m_container->hasStore()) return;
566  throw SG::ExcConstAuxData ("copyAux");
567 
568  const SG::AuxVectorData* ocont = other.container();
569 
570  if (!ocont || !ocont->hasStore()) {
571  this->clearAux();
572  return;
573  }
574 
575  size_t oindex = other.index();
576  SG::auxid_set_t other_ids = ocont->getAuxIDs();
577 
579 
580  SG::AuxVectorData& cont = *container();
581  for (SG::auxid_t auxid : other_ids) {
582  r.copy (auxid, cont, index(), *ocont, oindex, 1);
583  }
584 
585  for (SG::auxid_t auxid : m_container->getWritableAuxIDs()) {
586  if (!other_ids.test (auxid)) {
587  r.clear (auxid, cont, index(), 1);
588  }
589  }
590 }

◆ cscHitChamber()

int xAOD::L2StandAloneMuon_v2::cscHitChamber ( unsigned int  tube) const

Definition at line 1530 of file L2StandAloneMuon_v2.cxx.

1530  {
1531  if( csccAcc( *this ).size() > tube ) {
1532  return csccAcc( *this ).at( tube );
1533  } else {
1534  return 0;
1535  }
1536  }

◆ cscHitChamberLayer()

int xAOD::L2StandAloneMuon_v2::cscHitChamberLayer ( unsigned int  tube) const

Definition at line 1562 of file L2StandAloneMuon_v2.cxx.

1562  {
1563  if( cscclAcc( *this ).size() > tube ) {
1564  return cscclAcc( *this ).at( tube );
1565  } else {
1566  return 0;
1567  }
1568  }

◆ cscHitCharge()

int xAOD::L2StandAloneMuon_v2::cscHitCharge ( unsigned int  tube) const

Definition at line 1626 of file L2StandAloneMuon_v2.cxx.

1626  {
1627  if( cscchAcc( *this ).size() > tube ) {
1628  return cscchAcc( *this ).at( tube );
1629  } else {
1630  return 0;
1631  }
1632  }

◆ cscHitEta()

float xAOD::L2StandAloneMuon_v2::cscHitEta ( unsigned int  tube) const

Definition at line 1594 of file L2StandAloneMuon_v2.cxx.

1594  {
1595  if( csceAcc( *this ).size() > tube ) {
1596  return csceAcc( *this ).at( tube );
1597  } else {
1598  return 0.;
1599  }
1600  }

◆ cscHitIsOutlier()

int xAOD::L2StandAloneMuon_v2::cscHitIsOutlier ( unsigned int  tube) const

Definition at line 1522 of file L2StandAloneMuon_v2.cxx.

1522  {
1523  if( cscioAcc( *this ).size() > tube ) {
1524  return cscioAcc( *this ).at( tube );
1525  } else {
1526  return 0;
1527  }
1528  }

◆ cscHitMeasuresPhi()

int xAOD::L2StandAloneMuon_v2::cscHitMeasuresPhi ( unsigned int  tube) const

Definition at line 1578 of file L2StandAloneMuon_v2.cxx.

1578  {
1579  if( cscmpAcc( *this ).size() > tube ) {
1580  return cscmpAcc( *this ).at( tube );
1581  } else {
1582  return 0;
1583  }
1584  }

◆ cscHitPhi()

float xAOD::L2StandAloneMuon_v2::cscHitPhi ( unsigned int  tube) const

Definition at line 1602 of file L2StandAloneMuon_v2.cxx.

1602  {
1603  if( cscpAcc( *this ).size() > tube ) {
1604  return cscpAcc( *this ).at( tube );
1605  } else {
1606  return 0.;
1607  }
1608  }

◆ cscHitR()

float xAOD::L2StandAloneMuon_v2::cscHitR ( unsigned int  tube) const

Definition at line 1610 of file L2StandAloneMuon_v2.cxx.

1610  {
1611  if( cscrAcc( *this ).size() > tube ) {
1612  return cscrAcc( *this ).at( tube );
1613  } else {
1614  return 0.;
1615  }
1616  }

◆ cscHitResidual()

float xAOD::L2StandAloneMuon_v2::cscHitResidual ( unsigned int  tube) const

Definition at line 1642 of file L2StandAloneMuon_v2.cxx.

1642  {
1643  if( cscresAcc( *this ).size() > tube ) {
1644  return cscresAcc( *this ).at( tube );
1645  } else {
1646  return 0.;
1647  }
1648  }

◆ cscHitsCapacity()

int xAOD::L2StandAloneMuon_v2::cscHitsCapacity ( ) const

◆ cscHitStationEta()

int xAOD::L2StandAloneMuon_v2::cscHitStationEta ( unsigned int  tube) const

Definition at line 1546 of file L2StandAloneMuon_v2.cxx.

1546  {
1547  if( cscseAcc( *this ).size() > tube ) {
1548  return cscseAcc( *this ).at( tube );
1549  } else {
1550  return 0;
1551  }
1552  }

◆ cscHitStationName()

uint32_t xAOD::L2StandAloneMuon_v2::cscHitStationName ( unsigned int  tube) const

Definition at line 1538 of file L2StandAloneMuon_v2.cxx.

1538  {
1539  if( cscsnAcc( *this ).size() > tube ) {
1540  return cscsnAcc( *this ).at( tube );
1541  } else {
1542  return 0;
1543  }
1544  }

◆ cscHitStationPhi()

int xAOD::L2StandAloneMuon_v2::cscHitStationPhi ( unsigned int  tube) const

Definition at line 1554 of file L2StandAloneMuon_v2.cxx.

1554  {
1555  if( cscspAcc( *this ).size() > tube ) {
1556  return cscspAcc( *this ).at( tube );
1557  } else {
1558  return 0;
1559  }
1560  }

◆ cscHitStrip()

int xAOD::L2StandAloneMuon_v2::cscHitStrip ( unsigned int  tube) const

Definition at line 1586 of file L2StandAloneMuon_v2.cxx.

1586  {
1587  if( cscsAcc( *this ).size() > tube ) {
1588  return cscsAcc( *this ).at( tube );
1589  } else {
1590  return 0;
1591  }
1592  }

◆ cscHitTime()

float xAOD::L2StandAloneMuon_v2::cscHitTime ( unsigned int  tube) const

Definition at line 1634 of file L2StandAloneMuon_v2.cxx.

1634  {
1635  if( csctAcc( *this ).size() > tube ) {
1636  return csctAcc( *this ).at( tube );
1637  } else {
1638  return 0.;
1639  }
1640  }

◆ cscHitWireLayer()

int xAOD::L2StandAloneMuon_v2::cscHitWireLayer ( unsigned int  tube) const

Definition at line 1570 of file L2StandAloneMuon_v2.cxx.

1570  {
1571  if( cscwlAcc( *this ).size() > tube ) {
1572  return cscwlAcc( *this ).at( tube );
1573  } else {
1574  return 0;
1575  }
1576  }

◆ cscHitZ()

float xAOD::L2StandAloneMuon_v2::cscHitZ ( unsigned int  tube) const

Definition at line 1618 of file L2StandAloneMuon_v2.cxx.

1618  {
1619  if( csczAcc( *this ).size() > tube ) {
1620  return csczAcc( *this ).at( tube );
1621  } else {
1622  return 0.;
1623  }
1624  }

◆ deltaEta()

float xAOD::L2StandAloneMuon_v2::deltaEta ( ) const

Get error of eta.

◆ deltaPhi()

float xAOD::L2StandAloneMuon_v2::deltaPhi ( ) const

Get error of phi.

◆ deltaPt()

float xAOD::L2StandAloneMuon_v2::deltaPt ( ) const

Get error of pT.

◆ deltaPtParm1()

float xAOD::L2StandAloneMuon_v2::deltaPtParm1 ( ) const

Get and set parameter sets for delta pT calculation.

◆ deltaPtParm2()

float xAOD::L2StandAloneMuon_v2::deltaPtParm2 ( ) const

◆ deltaPtParm3()

float xAOD::L2StandAloneMuon_v2::deltaPtParm3 ( ) const

◆ dirPhiMS()

float xAOD::L2StandAloneMuon_v2::dirPhiMS ( ) const

Get tan phi at muon spectrometer.

◆ dirZMS()

float xAOD::L2StandAloneMuon_v2::dirZMS ( ) const

Get dRdZ at muon spectrometer.

◆ e()

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

The total energy of the particle.

Implements xAOD::IParticle.

◆ endcapAlpha()

float xAOD::L2StandAloneMuon_v2::endcapAlpha ( ) const

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

◆ endcapBeta()

float xAOD::L2StandAloneMuon_v2::endcapBeta ( ) const

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

◆ endcapRadius()

float xAOD::L2StandAloneMuon_v2::endcapRadius ( ) const

Get the fitted radius of the muon in the endcap.

◆ eta()

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

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

Implements xAOD::IParticle.

◆ etaBin()

int xAOD::L2StandAloneMuon_v2::etaBin ( ) const

Get eta bin of pT LUT.

◆ etaMap()

float xAOD::L2StandAloneMuon_v2::etaMap ( ) const

Get eta used to refer pT LUT.

◆ etaMax()

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

normal sector

overlap sector

Definition at line 666 of file L2StandAloneMuon_v2.cxx.

666  {
667 
668  if ( station < 0 ) return 0;
669 
670  if ( sector == 0 ) {
672  if ( emaxnAcc( *this ).size() > (unsigned int)station ) {
673  return emaxnAcc( *this ).at( station );
674  } else {
675  return 0.;
676  }
677 
678  } else if ( sector == 1 ) {
680 
681  if ( emaxoAcc( *this ).size() > (unsigned int)station ) {
682  return emaxoAcc( *this ).at( station );
683  } else {
684  return 0.;
685  }
686 
687  }
688 
689  return 0.;
690  }

◆ etaMin()

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

Eta.

Eta range.

normal sector

overlap sector

Definition at line 640 of file L2StandAloneMuon_v2.cxx.

640  {
641 
642  if ( station < 0 ) return 0;
643 
644  if ( sector == 0 ) {
646  if ( eminnAcc( *this ).size() > (unsigned int)station ) {
647  return eminnAcc( *this ).at( station );
648  } else {
649  return 0.;
650  }
651 
652  } else if ( sector == 1 ) {
654 
655  if ( eminoAcc( *this ).size() > (unsigned int)station ) {
656  return eminoAcc( *this ).at( station );
657  } else {
658  return 0.;
659  }
660 
661  }
662 
663  return 0.;
664  }

◆ etaMS()

float xAOD::L2StandAloneMuon_v2::etaMS ( ) const

Get the eta at muon spectrometer.

◆ genvecP4()

GenVecFourMom_t xAOD::L2StandAloneMuon_v2::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 335 of file AuxElement.cxx.

336 {
337 #ifdef ATHCONTAINERS_R21_COMPAT
338  if (havePrivateData())
339  return m_container->getConstStore()->getAuxIDs();
340  if (container())
341  return container()->getAuxIDs();
342  static const SG::auxid_set_t null_set;
343  return null_set;
344 #else
346 #endif
347 }

◆ 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 284 of file AuxElement.cxx.

285 {
286  if (havePrivateData()) {
287  return m_container->getConstStore();
288  }
289  return 0;
290 }

◆ 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 299 of file AuxElement.cxx.

300 {
301  if (havePrivateData()) {
302 #ifdef ATHCONTAINERS_R21_COMPAT
304 #else
305  SG::AuxVectorData* container_nc ATLAS_THREAD_SAFE = const_cast<SG::AuxVectorData*>(container());
306 #endif
307  return container_nc->getStore();
308  }
309  return 0;
310 }

◆ 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 368 of file AuxElement.cxx.

369 {
370  if (havePrivateData())
371  return m_container->hasNonConstStore();
372  return false;
373 }

◆ 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 355 of file AuxElement.cxx.

356 {
357  if (havePrivateData())
358  return m_container->hasStore();
359  return false;
360 }

◆ 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.

◆ isAvailable()

template<class T >
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 131 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

132  {
133 
134  return SG::AuxElement::isAvailable< T >( name, clsname );
135  }

◆ isAvailableWritable() [1/2]

template<class T , class ALLOC = AuxAllocator_t<T>>
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 >
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 147 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.

148  {
149 
150  return SG::AuxElement::isAvailableWritable< T >( name, clsname );
151  }

◆ isAvailableWritableAsDecoration()

template<class T , class ALLOC = AuxAllocator_t<T>>
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_v2::isRpcFailure ( ) const

Get flag to see if RPC is properly read.

◆ isTgcFailure()

int xAOD::L2StandAloneMuon_v2::isTgcFailure ( ) const

Get flag to see if TGC is properly read.

◆ lumiBlock()

uint32_t xAOD::L2StandAloneMuon_v2::lumiBlock ( ) const

Get and set lumi block.

◆ lvl1Id()

uint32_t xAOD::L2StandAloneMuon_v2::lvl1Id ( ) const

Get and set extended level-1 ID.

◆ m()

virtual double xAOD::L2StandAloneMuon_v2::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 172 of file AuxElement.cxx.

173 {
174  if (m_container) {
175  throw SG::ExcBadPrivateStore ("store already exists");
176  }
177 
181 }

◆ makePrivateStore() [2/3]

template<class U1 >
void SG::AuxElement::makePrivateStore ( const U1 &  other)
inherited

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

Parameters
otherThe object from which aux data should be copied.

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)
inherited

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

Parameters
otherThe object from which aux data should be copied.

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)
privateinherited

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

Parameters
otherThe object from which aux data should be copied.

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 521 of file AuxElement.cxx.

522 {
524  if (other)
525  this->copyAux (*other);
526 }

◆ makePrivateStore1() [2/2]

void SG::AuxElement::makePrivateStore1 ( const void *  )
privateinherited

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

Parameters
otherThe object from which aux data should be copied.

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()

int xAOD::L2StandAloneMuon_v2::mdtHitChamber ( unsigned int  tube) const

Definition at line 1428 of file L2StandAloneMuon_v2.cxx.

1428  {
1429  if( mdtcAcc( *this ).size() > tube ) {
1430  return mdtcAcc( *this ).at( tube );
1431  } else {
1432  return 0;
1433  }
1434  }

◆ mdtHitIsOutlier()

int xAOD::L2StandAloneMuon_v2::mdtHitIsOutlier ( unsigned int  tube) const

Definition at line 1420 of file L2StandAloneMuon_v2.cxx.

1420  {
1421  if( mdtioAcc( *this ).size() > tube ) {
1422  return mdtioAcc( *this ).at( tube );
1423  } else {
1424  return 0;
1425  }
1426  }

◆ mdtHitOfflineId()

int xAOD::L2StandAloneMuon_v2::mdtHitOfflineId ( unsigned int  tube) const

Definition at line 1412 of file L2StandAloneMuon_v2.cxx.

1412  {
1413  if( mdtioAcc( *this ).size() > tube ) {
1414  return mdtioAcc( *this ).at( tube );
1415  } else {
1416  return 0;
1417  }
1418  }

◆ mdtHitOnlineId()

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

Definition at line 1404 of file L2StandAloneMuon_v2.cxx.

1404  {
1405  if( mdtonAcc( *this ).size() > tube ) {
1406  return mdtonAcc( *this ).at( tube );
1407  } else {
1408  return 0;
1409  }
1410  }

◆ mdtHitPhi()

float xAOD::L2StandAloneMuon_v2::mdtHitPhi ( unsigned int  tube) const

Definition at line 1452 of file L2StandAloneMuon_v2.cxx.

1452  {
1453  if( mdtpAcc( *this ).size() > tube ) {
1454  return mdtpAcc( *this ).at( tube );
1455  } else {
1456  return 0.;
1457  }
1458  }

◆ mdtHitR()

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

Definition at line 1436 of file L2StandAloneMuon_v2.cxx.

1436  {
1437  if( mdtrAcc( *this ).size() > tube ) {
1438  return mdtrAcc( *this ).at( tube );
1439  } else {
1440  return 0.;
1441  }
1442  }

◆ mdtHitResidual()

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

Definition at line 1460 of file L2StandAloneMuon_v2.cxx.

1460  {
1461  if( mdtresAcc( *this ).size() > tube ) {
1462  return mdtresAcc( *this ).at( tube );
1463  } else {
1464  return 0.;
1465  }
1466  }

◆ mdtHitsCapacity()

int xAOD::L2StandAloneMuon_v2::mdtHitsCapacity ( ) const

◆ mdtHitSigma()

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

Definition at line 1484 of file L2StandAloneMuon_v2.cxx.

1484  {
1485  if( mdtsigAcc( *this ).size() > tube ) {
1486  return mdtsigAcc( *this ).at( tube );
1487  } else {
1488  return 0.;
1489  }
1490  }

◆ mdtHitSpace()

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

Definition at line 1476 of file L2StandAloneMuon_v2.cxx.

1476  {
1477  if( mdtspcAcc( *this ).size() > tube ) {
1478  return mdtspcAcc( *this ).at( tube );
1479  } else {
1480  return 0.;
1481  }
1482  }

◆ mdtHitTime()

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

Definition at line 1468 of file L2StandAloneMuon_v2.cxx.

1468  {
1469  if( mdttAcc( *this ).size() > tube ) {
1470  return mdttAcc( *this ).at( tube );
1471  } else {
1472  return 0.;
1473  }
1474  }

◆ mdtHitZ()

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

Definition at line 1444 of file L2StandAloneMuon_v2.cxx.

1444  {
1445  if( mdtzAcc( *this ).size() > tube ) {
1446  return mdtzAcc( *this ).at( tube );
1447  } else {
1448  return 0.;
1449  }
1450  }

◆ mmClusterEta()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::mmClusterEta ( ) const

◆ mmClusterIsOutlier()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::mmClusterIsOutlier ( ) const

◆ mmClusterLayer()

const std::vector< unsigned int >& xAOD::L2StandAloneMuon_v2::mmClusterLayer ( ) const

Get MM clusters.

◆ mmClusterPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::mmClusterPhi ( ) const

◆ mmClusterR()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::mmClusterR ( ) const

◆ mmClusterResidualPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::mmClusterResidualPhi ( ) const

◆ mmClusterResidualR()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::mmClusterResidualR ( ) const

◆ mmClusterStationEta()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::mmClusterStationEta ( ) const

◆ mmClusterStationName()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::mmClusterStationName ( ) const

◆ mmClusterStationPhi()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::mmClusterStationPhi ( ) const

◆ mmClusterZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::mmClusterZ ( ) const

◆ muonDetMask()

uint32_t xAOD::L2StandAloneMuon_v2::muonDetMask ( ) const

Get and set detector mask.

◆ nCscHits()

uint32_t xAOD::L2StandAloneMuon_v2::nCscHits ( ) const

Get CSC hits.

Get and set CSC hits.

Definition at line 1518 of file L2StandAloneMuon_v2.cxx.

1518  {
1519  return cscioAcc( *this ).size();
1520  }

◆ nMdtHits()

uint32_t xAOD::L2StandAloneMuon_v2::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 1400 of file L2StandAloneMuon_v2.cxx.

1400  {
1401  return mdtonAcc( *this ).size();
1402  }

◆ noPrivateData()

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

True if this element has no private data.

◆ nTrackPositions()

uint32_t xAOD::L2StandAloneMuon_v2::nTrackPositions ( ) const

Number of track positions stored.

Get and set track positions.

Definition at line 264 of file L2StandAloneMuon_v2.cxx.

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

◆ p4()

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

The full 4-momentum of the particle.

Implements xAOD::IParticle.

◆ phi()

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

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

Implements xAOD::IParticle.

◆ phiBin()

int xAOD::L2StandAloneMuon_v2::phiBin ( ) const

Get phi bin of pT LUT.

◆ phiMap()

float xAOD::L2StandAloneMuon_v2::phiMap ( ) const

Get phi used to refer pT LUT.

◆ phiMS()

float xAOD::L2StandAloneMuon_v2::phiMS ( ) const

Get the phi at muon spectrometer.

◆ pt()

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

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

Implements xAOD::IParticle.

◆ ptBarrelRadius()

float xAOD::L2StandAloneMuon_v2::ptBarrelRadius ( ) const

◆ ptBarrelSagitta()

float xAOD::L2StandAloneMuon_v2::ptBarrelSagitta ( ) const

◆ ptCSC()

float xAOD::L2StandAloneMuon_v2::ptCSC ( ) const

◆ ptEndcapAlpha()

float xAOD::L2StandAloneMuon_v2::ptEndcapAlpha ( ) const

◆ ptEndcapBeta()

float xAOD::L2StandAloneMuon_v2::ptEndcapBeta ( ) const

◆ ptEndcapRadius()

float xAOD::L2StandAloneMuon_v2::ptEndcapRadius ( ) const

◆ rapidity()

virtual double xAOD::L2StandAloneMuon_v2::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 190 of file AuxElement.cxx.

191 {
192  if (hadPrivateData()) {
193  // We had a private store, but it was released because this object
194  // was added to a container. Just forget about it.
196  return;
197  }
198 
199  if (!havePrivateData() ||
200  !m_container ||
201  typeid(*m_container) != typeid(AuxElementPrivateData))
202  {
203  throw SG::ExcBadPrivateStore ("no private store exists");
204  }
205 
208  delete m_container;
209  m_container = 0;
210 }

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 398 of file AuxElement.cxx.

399 {
400 #ifdef ATHCONTAINERS_R21_COMPAT
401  if (havePrivateData()) {
402  delete m_container;
403  }
404 #else
406 #endif
407 }

◆ rMax()

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

normal sector

overlap sector

Definition at line 613 of file L2StandAloneMuon_v2.cxx.

613  {
614 
615  if ( station < 0 ) return 0;
616 
617  if ( sector == 0 ) {
619  if ( rmaxnAcc( *this ).size() > (unsigned int)station ) {
620  return rmaxnAcc( *this ).at( station );
621  } else {
622  return 0.;
623  }
624 
625  } else if ( sector == 1 ) {
627 
628  if ( rmaxoAcc( *this ).size() > (unsigned int)station ) {
629  return rmaxoAcc( *this ).at( station );
630  } else {
631  return 0.;
632  }
633 
634  }
635 
636  return 0.;
637  }

◆ rMin()

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

R.

R range.

normal sector

overlap sector

Definition at line 587 of file L2StandAloneMuon_v2.cxx.

587  {
588 
589  if ( station < 0 ) return 0;
590 
591  if ( sector == 0 ) {
593  if ( rminnAcc( *this ).size() > (unsigned int)station ) {
594  return rminnAcc( *this ).at( station );
595  } else {
596  return 0.;
597  }
598 
599  } else if ( sector == 1 ) {
601 
602  if ( rminoAcc( *this ).size() > (unsigned int)station ) {
603  return rminoAcc( *this ).at( station );
604  } else {
605  return 0.;
606  }
607 
608  }
609 
610  return 0.;
611  }

◆ rMS()

float xAOD::L2StandAloneMuon_v2::rMS ( ) const

Get the R at muon spectrometer.

◆ roadAw()

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

Slope.

Road slope.

normal sector

overlap sector

Definition at line 480 of file L2StandAloneMuon_v2.cxx.

480  {
481 
482  if ( station < 0 ) return 0;
483 
484  if ( sector == 0 ) {
486  if ( awnAcc( *this ).size() > (unsigned int)station ) {
487  return awnAcc( *this ).at( station );
488  } else {
489  return 0.;
490  }
491 
492  } else if ( sector == 1 ) {
494 
495  if ( awoAcc( *this ).size() > (unsigned int)station ) {
496  return awoAcc( *this ).at( station );
497  } else {
498  return 0.;
499  }
500 
501  }
502 
503  return 0.;
504  }

◆ roadBw()

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

Intercept.

Road intercept.

normal sector

overlap sector

Definition at line 507 of file L2StandAloneMuon_v2.cxx.

507  {
508 
509  if ( station < 0 ) return 0;
510 
511  if ( sector == 0 ) {
513  if ( bwnAcc( *this ).size() > (unsigned int)station ) {
514  return bwnAcc( *this ).at( station );
515  } else {
516  return 0.;
517  }
518 
519  } else if ( sector == 1 ) {
521 
522  if ( bwoAcc( *this ).size() > (unsigned int)station ) {
523  return bwoAcc( *this ).at( station );
524  } else {
525  return 0.;
526  }
527 
528  }
529 
530  return 0.;
531  }

◆ roiEta()

float xAOD::L2StandAloneMuon_v2::roiEta ( ) const

Get and set RoI eta.

◆ roiId()

uint32_t xAOD::L2StandAloneMuon_v2::roiId ( ) const

Get and set RoI ID.

◆ roiNumber()

uint32_t xAOD::L2StandAloneMuon_v2::roiNumber ( ) const

Get and set RoI number.

◆ roiPhi()

float xAOD::L2StandAloneMuon_v2::roiPhi ( ) const

Get and set RoI phi.

◆ roiSector()

uint32_t xAOD::L2StandAloneMuon_v2::roiSector ( ) const

Get and set RoI sector ID.

◆ roiSubsystem()

uint32_t xAOD::L2StandAloneMuon_v2::roiSubsystem ( ) const

Get and set RoI subsystem ID.

◆ roiSystem()

uint32_t xAOD::L2StandAloneMuon_v2::roiSystem ( ) const

Get and set RoI system ID.

◆ roiThreshold()

uint32_t xAOD::L2StandAloneMuon_v2::roiThreshold ( ) const

Get and set RoI threshold number.

◆ roiWord()

uint32_t xAOD::L2StandAloneMuon_v2::roiWord ( ) const

Get the RoI ID of the seeding LVL1 muon.

◆ rpcFitInnOffset()

float xAOD::L2StandAloneMuon_v2::rpcFitInnOffset ( ) const

◆ rpcFitInnPhi()

float xAOD::L2StandAloneMuon_v2::rpcFitInnPhi ( ) const

Get the results of RPC fit.

◆ rpcFitInnSlope()

float xAOD::L2StandAloneMuon_v2::rpcFitInnSlope ( ) const

◆ rpcFitMidOffset()

float xAOD::L2StandAloneMuon_v2::rpcFitMidOffset ( ) const

◆ rpcFitMidPhi()

float xAOD::L2StandAloneMuon_v2::rpcFitMidPhi ( ) const

◆ rpcFitMidSlope()

float xAOD::L2StandAloneMuon_v2::rpcFitMidSlope ( ) const

◆ rpcFitOutOffset()

float xAOD::L2StandAloneMuon_v2::rpcFitOutOffset ( ) const

◆ rpcFitOutPhi()

float xAOD::L2StandAloneMuon_v2::rpcFitOutPhi ( ) const

◆ rpcFitOutSlope()

float xAOD::L2StandAloneMuon_v2::rpcFitOutSlope ( ) const

◆ rpcHitDistToEtaReadout()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::rpcHitDistToEtaReadout ( ) const

◆ rpcHitDistToPhiReadout()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::rpcHitDistToPhiReadout ( ) const

◆ rpcHitLayer()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v2::rpcHitLayer ( ) const

Get RPC hits.

◆ rpcHitMeasuresPhi()

const std::vector< uint32_t >& xAOD::L2StandAloneMuon_v2::rpcHitMeasuresPhi ( ) const

◆ rpcHitsCapacity()

int xAOD::L2StandAloneMuon_v2::rpcHitsCapacity ( ) const

Get and set maximum size of storages to be reserved.

◆ rpcHitStationName()

const std::vector< std::string >& xAOD::L2StandAloneMuon_v2::rpcHitStationName ( ) const

◆ rpcHitTime()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::rpcHitTime ( ) const

◆ rpcHitX()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::rpcHitX ( ) const

◆ rpcHitY()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::rpcHitY ( ) const

◆ rpcHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::rpcHitZ ( ) const

◆ sAddress()

int xAOD::L2StandAloneMuon_v2::sAddress ( ) const

Get the station address of the muon.

◆ setAlgoId()

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

◆ setBarrelRadius()

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

Set the fitted radius of the muon in the barrel.

◆ setBarrelSagitta()

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

Set the fitted sagitta of the muon in the barrel.

◆ setBeta()

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

Set beta.

◆ setCapacities()

void xAOD::L2StandAloneMuon_v2::setCapacities ( int  rpc,
int  tgc,
int  mdt,
int  csc 
)

Definition at line 1314 of file L2StandAloneMuon_v2.cxx.

1314  {
1315 
1316  setRpcHitsCapacity( rpc );
1317  setTgcHitsCapacity( tgc );
1318  setMdtHitsCapacity( mdt );
1319  setCscHitsCapacity( csc );
1320 
1321  return;
1322  }

◆ setChamberType1()

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

Set the muon road information.

Set road properties.

Chamber types

Normal sector

Overlap sector

Definition at line 696 of file L2StandAloneMuon_v2.cxx.

696  {
697 
698  // Make sure that the variables are big enough:
699  if( ct1nAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
700  ct1nAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
701  }
702  if( ct1oAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
703  ct1oAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
704  }
705 
706  // Make sure that the variables are big enough:
707  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
708  if ( sector < 0 || sector > 1 ) return;
709 
710  if (sector == 0 ) {
712  ct1nAcc( *this ).at( station ) = chamberType;
713 
714  } else if ( sector == 1 ) {
716  ct1oAcc( *this ).at( station ) = chamberType;
717 
718  }
719 
720  return;
721  }

◆ setChamberType2()

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

Normal sector

Overlap sector

Definition at line 723 of file L2StandAloneMuon_v2.cxx.

723  {
724 
725  // Make sure that the variables are big enough:
726  if( ct2nAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
727  ct2nAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
728  }
729  if( ct2oAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
730  ct2oAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
731  }
732 
733  // Make sure that the variables are big enough:
734  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
735  if ( sector < 0 || sector > 1 ) return;
736 
737  if (sector == 0 ) {
739  ct2nAcc( *this ).at( station ) = chamberType;
740 
741  } else if ( sector == 1 ) {
743  ct2oAcc( *this ).at( station ) = chamberType;
744 
745  }
746 
747  return;
748  }

◆ setConstStore()

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

Synonym for setStore with IConstAuxStore.

Parameters
storeThe new store.

◆ setCscHit()

void xAOD::L2StandAloneMuon_v2::setCscHit ( int  isOutlier,
int  chamber,
uint32_t  stationName,
int  stationEta,
int  stationPhi,
int  chamberLayer,
int  wireLayer,
int  measuresPhi,
int  strip,
float  eta,
float  phi,
float  r,
float  z,
int  charge,
float  time,
float  residual 
)

Set the properties of each CSC tube.

Definition at line 1650 of file L2StandAloneMuon_v2.cxx.

1652  {
1653 
1654  // Make sure that the number of CSC hits is still within the capacity
1655  if ( cscioAcc( *this ).size() >= (unsigned int)cscHitsCapacity() ) return;
1656 
1657  // Set the variables:
1658  cscioAcc( *this ).push_back( isOutlier );
1659  csccAcc( *this ).push_back( chamber );
1660  cscsnAcc( *this ).push_back( stationName );
1661  cscseAcc( *this ).push_back( stationEta );
1662  cscspAcc( *this ).push_back( stationPhi );
1663  cscclAcc( *this ).push_back( chamberLayer );
1664  cscwlAcc( *this ).push_back( wireLayer );
1665  cscmpAcc( *this ).push_back( measuresPhi );
1666  cscsAcc( *this ).push_back( strip );
1667  csceAcc( *this ).push_back( eta );
1668  cscpAcc( *this ).push_back( phi );
1669  cscrAcc( *this ).push_back( r );
1670  csczAcc( *this ).push_back( z );
1671  cscchAcc( *this ).push_back( charge );
1672  csctAcc( *this ).push_back( time );
1673  cscresAcc( *this ).push_back( residual );
1674 
1675  return;
1676  }

◆ setCscHitsCapacity()

void xAOD::L2StandAloneMuon_v2::setCscHitsCapacity ( int  value)

Set size of storage for CSC hits.

Definition at line 1246 of file L2StandAloneMuon_v2.cxx.

1246  {
1247 
1248  static const Accessor< int > ccapAcc( "cscHitsCapacity" );
1249  ccapAcc( *this ) = value;
1250 
1251  if ( value > 0 ) {
1252  cscioAcc( *this ).reserve( (unsigned int)value );
1253  csccAcc( *this ).reserve( (unsigned int)value );
1254  cscsnAcc( *this ).reserve( (unsigned int)value );
1255  cscseAcc( *this ).reserve( (unsigned int)value );
1256  cscspAcc( *this ).reserve( (unsigned int)value );
1257  cscclAcc( *this ).reserve( (unsigned int)value );
1258  cscwlAcc( *this ).reserve( (unsigned int)value );
1259  cscmpAcc( *this ).reserve( (unsigned int)value );
1260  cscsAcc( *this ).reserve( (unsigned int)value );
1261  csceAcc( *this ).reserve( (unsigned int)value );
1262  cscpAcc( *this ).reserve( (unsigned int)value );
1263  cscrAcc( *this ).reserve( (unsigned int)value );
1264  csczAcc( *this ).reserve( (unsigned int)value );
1265  cscchAcc( *this ).reserve( (unsigned int)value );
1266  csctAcc( *this ).reserve( (unsigned int)value );
1267  cscresAcc( *this ).reserve( (unsigned int)value );
1268  }
1269 
1270  return;
1271  }

◆ setDeltaEta()

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

Set error of eta.

◆ setDeltaPhi()

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

Set error of phi.

◆ setDeltaPt()

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

Set error of pT.

◆ setDeltaPtParm1()

void xAOD::L2StandAloneMuon_v2::setDeltaPtParm1 ( float  value)

◆ setDeltaPtParm2()

void xAOD::L2StandAloneMuon_v2::setDeltaPtParm2 ( float  value)

◆ setDeltaPtParm3()

void xAOD::L2StandAloneMuon_v2::setDeltaPtParm3 ( float  value)

◆ setDirPhiMS()

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

Set tan phi at muon spectrometer.

◆ setDirZMS()

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

Set dRdZ at muon spectrometer.

◆ setEndcapAlpha()

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

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

◆ setEndcapBeta()

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

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

◆ setEndcapRadius()

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

Set the fitted radius of the muon in the endcap.

◆ setEta()

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

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

Definition at line 82 of file L2StandAloneMuon_v2.cxx.

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

◆ setEtaBin()

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

Set eta bin of pT LUT.

◆ setEtaMap()

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

Set eta used to refer pT LUT.

◆ setEtaMS()

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

Set the eta at muon spectrometer.

◆ 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 462 of file AuxElement.cxx.

463 {
464 #ifdef ATHCONTAINERS_R21_COMPAT
465  if (hadPrivateData()) {
466  // We had a private store, but it was released because we were added
467  // to a container.
468 
469  if (container == 0) {
470  // We're being moved out of the container. Make a new private
471  // store, copy the data, and switch to it.
472  auto privateData = new SG::AuxElementPrivateData;
473  AuxElement to (privateData, 0);
474  to.copyAux (*this);
477  m_container = privateData;
478  return true;
479  }
480  }
481  else if (havePrivateData() &&
482  typeid(*m_container) == typeid(AuxElementPrivateData))
483  {
484  // We currently have a private store.
485 
486  if (container != 0 && container != m_container) {
487  // We're being added to a container.
488  // Aux data has already been copied.
489  // Release private store.
492  delete m_container;
494  return false;
495  }
496  }
497  else {
498  // We have a standalone store.
499  throw SG::ExcBadPrivateStore ("Attempt to add/remove a standalone object "
500  "from a container.");
501  }
502 
505  return false;
506 #else
508 #endif
509 }

◆ setIsRpcFailure()

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

Set flag to record if RPC is properly read.

◆ setIsTgcFailure()

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

Set flag to record if TGC is properly read.

◆ setLumiBlock()

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

◆ setLvl1Id()

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

◆ setMdtHit()

void xAOD::L2StandAloneMuon_v2::setMdtHit ( uint32_t  onlineId,
int  isOutier,
int  chamber,
float  r,
float  z,
float  phi,
float  residual,
float  time,
float  space,
float  sigma 
)

Set the properties of each MDT tube.

Definition at line 1492 of file L2StandAloneMuon_v2.cxx.

1493  {
1494 
1495  // Make sure that the number of MDT hits is still within the capacity
1496  if ( mdtonAcc( *this ).size() >= (unsigned int)mdtHitsCapacity() ) return;
1497 
1498  // Set the variables:
1499  mdtonAcc( *this ).push_back( onlineId );
1500  mdtioAcc( *this ).push_back( isOutlier );
1501  mdtcAcc( *this ).push_back( chamber );
1502  mdtrAcc( *this ).push_back( r );
1503  mdtzAcc( *this ).push_back( z );
1504  mdtpAcc( *this ).push_back( phi );
1505  mdtresAcc( *this ).push_back( residual );
1506  mdttAcc( *this ).push_back( time );
1507  mdtspcAcc( *this ).push_back( space );
1508  mdtsigAcc( *this ).push_back( sigma );
1509 
1510  return;
1511  }

◆ setMdtHitsCapacity()

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

Set size of storage for MDT hits.

Definition at line 1225 of file L2StandAloneMuon_v2.cxx.

1225  {
1226 
1227  static const Accessor< int > mcapAcc( "mdtHitsCapacity" );
1228  mcapAcc( *this ) = value;
1229 
1230  if ( value > 0 ) {
1231  mdtonAcc( *this ).reserve( (unsigned int)value );
1232  mdtioAcc( *this ).reserve( (unsigned int)value );
1233  mdtrAcc( *this ).reserve( (unsigned int)value );
1234  mdtzAcc( *this ).reserve( (unsigned int)value );
1235  mdtpAcc( *this ).reserve( (unsigned int)value );
1236  mdtresAcc( *this ).reserve( (unsigned int)value );
1237  mdttAcc( *this ).reserve( (unsigned int)value );
1238  mdtspcAcc( *this ).reserve( (unsigned int)value );
1239  mdtsigAcc( *this ).reserve( (unsigned int)value );
1240  }
1241 
1242  return;
1243  }

◆ setMmCluster()

void xAOD::L2StandAloneMuon_v2::setMmCluster ( const unsigned int  layer,
const int  isOutlier,
const float  eta,
const float  phi,
const float  r,
const float  z,
const float  residualR,
const float  residualPhi,
const int  stationEta,
const int  stationPhi,
const int  stationName 
)

Set MM hits.

Get MM object.

Set RPC rpc hits

Definition at line 1736 of file L2StandAloneMuon_v2.cxx.

1739  {
1740  // Set the variables:
1741  mmlAcc( *this ).push_back( layer );
1742  mmioAcc( *this ).push_back( isOutlier );
1743  mmeAcc( *this ).push_back( eta );
1744  mmpAcc( *this ).push_back( phi );
1745  mmrAcc( *this ).push_back( r );
1746  mmzAcc( *this ).push_back( z );
1747  mmrsrAcc( *this ).push_back( residualR );
1748  mmrspAcc( *this ).push_back( residualPhi );
1749  mmseAcc( *this ).push_back( stationEta );
1750  mmspAcc( *this ).push_back( stationPhi );
1751  mmsnAcc( *this ).push_back( stationName );
1752 
1753  return;
1754  }

◆ setMmClustersCapacity()

void xAOD::L2StandAloneMuon_v2::setMmClustersCapacity ( const int  value)

Set size of storage for MM clusters.

Definition at line 1295 of file L2StandAloneMuon_v2.cxx.

1295  {
1296 
1297  if ( value > 0 ) {
1298  mmlAcc( *this ).reserve( (unsigned int)value );
1299  mmioAcc( *this ).reserve( (unsigned int)value );
1300  mmeAcc( *this ).reserve( (unsigned int)value );
1301  mmpAcc( *this ).reserve( (unsigned int)value );
1302  mmrAcc( *this ).reserve( (unsigned int)value );
1303  mmzAcc( *this ).reserve( (unsigned int)value );
1304  mmrsrAcc( *this ).reserve( (unsigned int)value );
1305  mmrspAcc( *this ).reserve( (unsigned int)value );
1306  mmseAcc( *this ).reserve( (unsigned int)value );
1307  mmspAcc( *this ).reserve( (unsigned int)value );
1308  mmsnAcc( *this ).reserve( (unsigned int)value );
1309  }
1310 
1311  return;
1312  }

◆ setMuonDetMask()

void xAOD::L2StandAloneMuon_v2::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.

◆ setPhi()

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

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

Definition at line 89 of file L2StandAloneMuon_v2.cxx.

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

◆ setPhiBin()

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

Set phi bin of pT LUT.

◆ setPhiMap()

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

Set phi used to refer pT LUT.

◆ setPhiMS()

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

Set the phi at muon spectrometer.

◆ setPt()

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

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

◆ setPtBarrelRadius()

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

◆ setPtBarrelSagitta()

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

◆ setPtCSC()

void xAOD::L2StandAloneMuon_v2::setPtCSC ( float  value)

◆ setPtEndcapAlpha()

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

◆ setPtEndcapBeta()

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

◆ setPtEndcapRadius()

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

◆ setRegionEta()

void xAOD::L2StandAloneMuon_v2::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 883 of file L2StandAloneMuon_v2.cxx.

883  {
884 
885  // Make sure that the variables are big enough:
886  if( eminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
887  eminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
888  }
889  if( emaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
890  emaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
891  }
892  if( eminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
893  eminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
894  }
895  if( emaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
896  emaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
897  }
898 
899  // Make sure that the variables are big enough:
900  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
901  if ( sector < 0 || sector > 1 ) return;
902 
903  if (sector == 0 ) {
905 
907  eminnAcc( *this ).at( station ) = min;
908 
910  emaxnAcc( *this ).at( station ) = max;
911 
912  } else if ( sector == 1 ) {
914 
916  eminoAcc( *this ).at( station ) = min;
917 
919  emaxoAcc( *this ).at( station ) = max;
920 
921  }
922 
923  return;
924  }

◆ setRegionR()

void xAOD::L2StandAloneMuon_v2::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 839 of file L2StandAloneMuon_v2.cxx.

839  {
840 
841  // Make sure that the variables are big enough:
842  if( rminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
843  rminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
844  }
845  if( rmaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
846  rmaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
847  }
848  if( rminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
849  rminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
850  }
851  if( rmaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
852  rmaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
853  }
854 
855  // Make sure that the variables are big enough:
856  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
857  if ( sector < 0 || sector > 1 ) return;
858 
859  if (sector == 0 ) {
861 
863  rminnAcc( *this ).at( station ) = min;
864 
866  rmaxnAcc( *this ).at( station ) = max;
867 
868  } else if ( sector == 1 ) {
870 
872  rminoAcc( *this ).at( station ) = min;
873 
875  rmaxoAcc( *this ).at( station ) = max;
876 
877  }
878 
879  return;
880  }

◆ setRegionZ()

void xAOD::L2StandAloneMuon_v2::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 795 of file L2StandAloneMuon_v2.cxx.

795  {
796 
797  // Make sure that the variables are big enough:
798  if( zminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
799  zminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
800  }
801  if( zmaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
802  zmaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
803  }
804  if( zminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
805  zminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
806  }
807  if( zmaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
808  zmaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
809  }
810 
811  // Make sure that the variables are big enough:
812  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
813  if ( sector < 0 || sector > 1 ) return;
814 
815  if (sector == 0 ) {
817 
819  zminnAcc( *this ).at( station ) = min;
820 
822  zmaxnAcc( *this ).at( station ) = max;
823 
824  } else if ( sector == 1 ) {
826 
828  zminoAcc( *this ).at( station ) = min;
829 
831  zmaxoAcc( *this ).at( station ) = max;
832 
833  }
834 
835  return;
836  }

◆ setRMS()

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

Set the R at muon spectrometer.

◆ setRoad()

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

Road.

Normal sector

Slope

Intercept

Overlap sector

Slope

Intercept

Definition at line 751 of file L2StandAloneMuon_v2.cxx.

751  {
752 
753  // Make sure that the variables are big enough:
754  if( awnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
755  awnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
756  }
757  if( bwnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
758  bwnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
759  }
760  if( awoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
761  awoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
762  }
763  if( bwoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
764  bwoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
765  }
766 
767  // Make sure that the variables are big enough:
768  if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
769  if ( sector < 0 || sector > 1 ) return;
770 
771  if (sector == 0 ) {
773 
775  awnAcc( *this ).at( station ) = aw;
776 
778  bwnAcc( *this ).at( station ) = bw;
779 
780  } else if ( sector == 1 ) {
782 
784  awoAcc( *this ).at( station ) = aw;
785 
787  bwoAcc( *this ).at( station ) = bw;
788 
789  }
790 
791  return;
792  }

◆ setRoiEta()

void xAOD::L2StandAloneMuon_v2::setRoiEta ( float  value)

◆ setRoiId()

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

◆ setRoiNumber()

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

◆ setRoiPhi()

void xAOD::L2StandAloneMuon_v2::setRoiPhi ( float  value)

◆ setRoiSector()

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

◆ setRoiSubsystem()

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

◆ setRoiSystem()

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

◆ setRoiThreshold()

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

◆ setRoIWord()

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

Set the RoI ID of the seeding LVL1 muon.

◆ setRpcFitInn()

void xAOD::L2StandAloneMuon_v2::setRpcFitInn ( float  phi,
float  slope,
float  offset 
)

Set the results of RPC fit.

Get the results of TGC fit.

Definition at line 1050 of file L2StandAloneMuon_v2.cxx.

1050  {
1051 
1052  static const Accessor< float > rfipAcc( "rpcFitInnPhi" );
1053  static const Accessor< float > rfisAcc( "rpcFitInnSlope" );
1054  static const Accessor< float > rfioAcc( "rpcFitInnOffset" );
1055 
1056  rfipAcc( *this ) = phi;
1057  rfisAcc( *this ) = slope;
1058  rfioAcc( *this ) = offset;
1059 
1060  return;
1061  }

◆ setRpcFitMid()

void xAOD::L2StandAloneMuon_v2::setRpcFitMid ( float  phi,
float  slope,
float  offset 
)

Definition at line 1063 of file L2StandAloneMuon_v2.cxx.

1063  {
1064 
1065  static const Accessor< float > rfmpAcc( "rpcFitMidPhi" );
1066  static const Accessor< float > rfmsAcc( "rpcFitMidSlope" );
1067  static const Accessor< float > rfmoAcc( "rpcFitMidOffset" );
1068 
1069  rfmpAcc( *this ) = phi;
1070  rfmsAcc( *this ) = slope;
1071  rfmoAcc( *this ) = offset;
1072 
1073  return;
1074  }

◆ setRpcFitOut()

void xAOD::L2StandAloneMuon_v2::setRpcFitOut ( float  phi,
float  slope,
float  offset 
)

Definition at line 1076 of file L2StandAloneMuon_v2.cxx.

1076  {
1077 
1078  static const Accessor< float > rfopAcc( "rpcFitOutPhi" );
1079  static const Accessor< float > rfosAcc( "rpcFitOutSlope" );
1080  static const Accessor< float > rfooAcc( "rpcFitOutOffset" );
1081 
1082  rfopAcc( *this ) = phi;
1083  rfosAcc( *this ) = slope;
1084  rfooAcc( *this ) = offset;
1085 
1086  return;
1087  }

◆ setRpcHit()

void xAOD::L2StandAloneMuon_v2::setRpcHit ( uint32_t  layer,
uint32_t  measuresPhi,
float  x,
float  y,
float  z,
float  time,
float  distEta,
float  distPhi,
const std::string &  stationName 
)

Set RPC hits.

Get RPC object.

Set RPC rpc hits

Definition at line 1340 of file L2StandAloneMuon_v2.cxx.

1341  {
1342  // Make sure that the size of vector is still within the capacity
1343  if ( rpclAcc( *this ).size() >= (unsigned int)rpcHitsCapacity() ) return;
1344 
1345  // Set the variables:
1346  rpclAcc( *this ).push_back( layer );
1347  rpcmpAcc( *this ).push_back( measuresPhi );
1348  rpcxAcc( *this ).push_back( x );
1349  rpcyAcc( *this ).push_back( y );
1350  rpczAcc( *this ).push_back( z );
1351  rpctAcc( *this ).push_back( time );
1352  rpcdeAcc( *this ).push_back( distEta );
1353  rpcdpAcc( *this ).push_back( distPhi );
1354  rpcsnAcc( *this ).push_back( stationName );
1355 
1356  return;
1357  }

◆ setRpcHitsCapacity()

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

Size of storage to be reserved.

Set size of storage for RPC hits

Definition at line 1183 of file L2StandAloneMuon_v2.cxx.

1183  {
1184 
1185  static const Accessor< int > rcapAcc( "rpcHitsCapacity" );
1186  rcapAcc( *this ) = value;
1187 
1188  if ( value > 0 ) {
1189  rpclAcc( *this ).reserve( (unsigned int)value );
1190  rpcmpAcc( *this ).reserve( (unsigned int)value );
1191  rpcxAcc( *this ).reserve( (unsigned int)value );
1192  rpcyAcc( *this ).reserve( (unsigned int)value );
1193  rpczAcc( *this ).reserve( (unsigned int)value );
1194  rpctAcc( *this ).reserve( (unsigned int)value );
1195  rpcdeAcc( *this ).reserve( (unsigned int)value );
1196  rpcdpAcc( *this ).reserve( (unsigned int)value );
1197  rpcsnAcc( *this ).reserve( (unsigned int)value );
1198  }
1199 
1200  return;
1201  }

◆ setSAddress()

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

Set the station address of the muon.

◆ setStgcCluster()

void xAOD::L2StandAloneMuon_v2::setStgcCluster ( const unsigned int  layer,
const int  isOutlier,
const int  type,
const float  eta,
const float  phi,
const float  r,
const float  z,
const float  residualR,
const float  residualPhi,
const int  stationEta,
const int  stationPhi,
const int  stationName 
)

Set sTGC hits.

Get sTGC object.

Set RPC rpc hits

Definition at line 1697 of file L2StandAloneMuon_v2.cxx.

1700  {
1701  // Set the variables:
1702  stgclAcc( *this ).push_back( layer );
1703  stgcioAcc( *this ).push_back( isOutlier );
1704  stgctyAcc( *this ).push_back( type );
1705  stgceAcc( *this ).push_back( eta );
1706  stgcpAcc( *this ).push_back( phi );
1707  stgcrAcc( *this ).push_back( r );
1708  stgczAcc( *this ).push_back( z );
1709  stgcrsrAcc( *this ).push_back( residualR );
1710  stgcrspAcc( *this ).push_back( residualPhi );
1711  stgcseAcc( *this ).push_back( stationEta );
1712  stgcspAcc( *this ).push_back( stationPhi );
1713  stgcsnAcc( *this ).push_back( stationName );
1714 
1715  return;
1716  }

◆ setStgcClustersCapacity()

void xAOD::L2StandAloneMuon_v2::setStgcClustersCapacity ( const int  value)

Set size of storage for sTGC clusters.

Definition at line 1274 of file L2StandAloneMuon_v2.cxx.

1274  {
1275 
1276  if ( value > 0 ) {
1277  stgclAcc( *this ).reserve( (unsigned int)value );
1278  stgcioAcc( *this ).reserve( (unsigned int)value );
1279  stgctyAcc( *this ).reserve( (unsigned int)value );
1280  stgceAcc( *this ).reserve( (unsigned int)value );
1281  stgcpAcc( *this ).reserve( (unsigned int)value );
1282  stgcrAcc( *this ).reserve( (unsigned int)value );
1283  stgczAcc( *this ).reserve( (unsigned int)value );
1284  stgcrsrAcc( *this ).reserve( (unsigned int)value );
1285  stgcrspAcc( *this ).reserve( (unsigned int)value );
1286  stgcseAcc( *this ).reserve( (unsigned int)value );
1287  stgcspAcc( *this ).reserve( (unsigned int)value );
1288  stgcsnAcc( *this ).reserve( (unsigned int)value );
1289  }
1290 
1291  return;
1292  }

◆ 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 249 of file AuxElement.cxx.

250 {
251  AuxElementStandaloneData* data = setStore1 (store);
252  if (store)
253  data->setStore (store);
254 }

◆ 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 221 of file AuxElement.cxx.

222 {
223  AuxElementStandaloneData* data = setStore1 (store);
224  if (store)
225  data->setStore (store);
226 }

◆ 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 237 of file AuxElement.cxx.

238 {
239  AuxElementStandaloneData* data = setStore1 (store);
240  if (store)
241  data->setStore (store);
242 }

◆ 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 418 of file AuxElement.cxx.

419 {
420  if (store) {
421  // Want this object be standalone.
422  if (!m_container) {
423  // Not in a container (and no private store). Make a new object.
424  AuxElementStandaloneData* data = new AuxElementStandaloneData;
426  m_container = data;
427  return data;
428  }
429  if (usingStandaloneStore()) {
430  // Standalone --- return existing object.
431  return static_cast<AuxElementStandaloneData*> (container());
432  }
433  // Otherwise, it's an error.
434  throw ExcBadPrivateStore ("Attempt to attach a standalone store to an "
435  "object in a container or with a private store.");
436  }
437 
438  else {
439  // Getting rid of a standalone store.
440  if (usingStandaloneStore()) {
442  delete m_container;
443  m_container = 0;
444  }
445  else if (m_container != 0)
446  throw ExcBadPrivateStore ("Attempt to remove a standalone store from an "
447  "object in a container or with a private store.");
448  return 0;
449  }
450 }

◆ setSuperPoint()

void xAOD::L2StandAloneMuon_v2::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_v2.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_v2::setTeId ( uint32_t  value)

◆ setTgcHit()

void xAOD::L2StandAloneMuon_v2::setTgcHit ( float  eta,
float  phi,
float  r,
float  z,
float  width,
int  stationName,
bool  isStrip,
int  bcTag,
bool  inRoad 
)

Set TGC hits.

Get TGC hits.

Set the results of TGC fit

Definition at line 1375 of file L2StandAloneMuon_v2.cxx.

1376  {
1377 
1378  // Make sure that the size of vector is still within the capacity
1379  if ( tgceAcc( *this ).size() >= (unsigned int)tgcHitsCapacity() ) return;
1380 
1381  // Set the varables:
1382  tgceAcc( *this ).push_back( eta );
1383  tgcpAcc( *this ).push_back( phi );
1384  tgcrAcc( *this ).push_back( r );
1385  tgczAcc( *this ).push_back( z );
1386  tgcwAcc( *this ).push_back( width );
1387  tgcsnAcc( *this ).push_back( stationName );
1388  tgcisAcc( *this ).push_back( isStrip );
1389  tgcbcAcc( *this ).push_back( bcTag );
1390  tgcirAcc( *this ).push_back( inRoad );
1391 
1392  return;
1393  }

◆ setTgcHitsCapacity()

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

Set size of storage for TGC hits.

Definition at line 1204 of file L2StandAloneMuon_v2.cxx.

1204  {
1205 
1206  static const Accessor< int > tcapAcc( "tgcHitsCapacity" );
1207  tcapAcc( *this ) = value;
1208 
1209  if ( value > 0 ) {
1210  tgceAcc( *this ).reserve( (unsigned int)value );
1211  tgcpAcc( *this ).reserve( (unsigned int)value );
1212  tgcrAcc( *this ).reserve( (unsigned int)value );
1213  tgczAcc( *this ).reserve( (unsigned int)value );
1214  tgcwAcc( *this ).reserve( (unsigned int)value );
1215  tgcsnAcc( *this ).reserve( (unsigned int)value );
1216  tgcisAcc( *this ).reserve( (unsigned int)value );
1217  tgcbcAcc( *this ).reserve( (unsigned int)value );
1218  tgcirAcc( *this ).reserve( (unsigned int)value );
1219  }
1220 
1221  return;
1222  }

◆ setTgcInn()

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

Set the results of TGC fit.

Get the results of TGC fit.

Set the results of TGC fit

Definition at line 958 of file L2StandAloneMuon_v2.cxx.

958  {
959 
960  static const Accessor< float > tieAcc( "tgcInnEta" );
961  static const Accessor< float > tipAcc( "tgcInnPhi" );
962  static const Accessor< float > tirAcc( "tgcInnR" );
963  static const Accessor< float > tizAcc( "tgcInnZ" );
964 
965  tieAcc( *this ) = eta;
966  tipAcc( *this ) = phi;
967  tirAcc( *this ) = r;
968  tizAcc( *this ) = z;
969 
970  return;
971  }

◆ setTgcInnF()

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

Definition at line 973 of file L2StandAloneMuon_v2.cxx.

973  {
974 
975  static const Accessor< float > tirsAcc( "tgcInnRhoStd" );
976  static const Accessor< long > tirnAcc( "tgcInnRhoN" );
977  static const Accessor< float > tipsAcc( "tgcInnPhiStd" );
978  static const Accessor< long > tipnAcc( "tgcInnPhiN" );
979 
980  tirsAcc( *this ) = rhoStd;
981  tirnAcc( *this ) = rhoN;
982  tipsAcc( *this ) = phiStd;
983  tipnAcc( *this ) = phiN;
984 
985  return;
986  }

◆ setTgcMid1()

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

Definition at line 988 of file L2StandAloneMuon_v2.cxx.

988  {
989 
990  static const Accessor< float > tm1eAcc( "tgcMid1Eta" );
991  static const Accessor< float > tm1pAcc( "tgcMid1Phi" );
992  static const Accessor< float > tm1rAcc( "tgcMid1R" );
993  static const Accessor< float > tm1zAcc( "tgcMid1Z" );
994 
995  tm1eAcc( *this ) = eta;
996  tm1pAcc( *this ) = phi;
997  tm1rAcc( *this ) = r;
998  tm1zAcc( *this ) = z;
999 
1000  return;
1001  }

◆ setTgcMid2()

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

Definition at line 1003 of file L2StandAloneMuon_v2.cxx.

1003  {
1004 
1005  static const Accessor< float > tm2eAcc( "tgcMid2Eta" );
1006  static const Accessor< float > tm2pAcc( "tgcMid2Phi" );
1007  static const Accessor< float > tm2rAcc( "tgcMid2R" );
1008  static const Accessor< float > tm2zAcc( "tgcMid2Z" );
1009 
1010  tm2eAcc( *this ) = eta;
1011  tm2pAcc( *this ) = phi;
1012  tm2rAcc( *this ) = r;
1013  tm2zAcc( *this ) = z;
1014 
1015  return;
1016  }

◆ setTgcMidF()

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

Definition at line 1018 of file L2StandAloneMuon_v2.cxx.

1018  {
1019 
1020  static const Accessor< float > tmrcAcc( "tgcMidRhoChi2" );
1021  static const Accessor< long > tmrnAcc( "tgcMidRhoN" );
1022  static const Accessor< float > tmpcAcc( "tgcMidPhiChi2" );
1023  static const Accessor< long > tmpnAcc( "tgcMidPhiN" );
1024 
1025  tmrcAcc( *this ) = rhoChi2;
1026  tmrnAcc( *this ) = rhoN;
1027  tmpcAcc( *this ) = phiChi2;
1028  tmpnAcc( *this ) = phiN;
1029 
1030  return;
1031  }

◆ setTgcPt()

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

◆ setTrackPosition()

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

Set position of muon track.

Definition at line 301 of file L2StandAloneMuon_v2.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_v2::setZMS ( float  value)

Set the Z at muon spectrometer.

◆ stgcClusterEta()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::stgcClusterEta ( ) const

◆ stgcClusterIsOutlier()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::stgcClusterIsOutlier ( ) const

◆ stgcClusterLayer()

const std::vector< unsigned int >& xAOD::L2StandAloneMuon_v2::stgcClusterLayer ( ) const

Get sTGC clusters.

◆ stgcClusterPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::stgcClusterPhi ( ) const

◆ stgcClusterR()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::stgcClusterR ( ) const

◆ stgcClusterResidualPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::stgcClusterResidualPhi ( ) const

◆ stgcClusterResidualR()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::stgcClusterResidualR ( ) const

◆ stgcClusterStationEta()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::stgcClusterStationEta ( ) const

◆ stgcClusterStationName()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::stgcClusterStationName ( ) const

◆ stgcClusterStationPhi()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::stgcClusterStationPhi ( ) const

◆ stgcClusterType()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::stgcClusterType ( ) const

◆ stgcClusterZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::stgcClusterZ ( ) const

◆ superPointChi2()

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

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

Definition at line 211 of file L2StandAloneMuon_v2.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_v2::superPointIntercept ( int  chamber) const

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

Definition at line 203 of file L2StandAloneMuon_v2.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_v2::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_v2.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_v2::superPointSlope ( int  chamber) const

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

Definition at line 195 of file L2StandAloneMuon_v2.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_v2::superPointZ ( int  chamber) const

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

Definition at line 187 of file L2StandAloneMuon_v2.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_v2::teId ( ) const

Get and set input TE ID.

◆ tgcHitBCTag()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::tgcHitBCTag ( ) const

◆ tgcHitEta()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::tgcHitEta ( ) const

Get TGC hits.

◆ tgcHitInRoad()

const std::vector< bool >& xAOD::L2StandAloneMuon_v2::tgcHitInRoad ( ) const

◆ tgcHitIsStrip()

const std::vector< bool >& xAOD::L2StandAloneMuon_v2::tgcHitIsStrip ( ) const

◆ tgcHitPhi()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::tgcHitPhi ( ) const

◆ tgcHitR()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::tgcHitR ( ) const

◆ tgcHitsCapacity()

int xAOD::L2StandAloneMuon_v2::tgcHitsCapacity ( ) const

◆ tgcHitStationNum()

const std::vector< int >& xAOD::L2StandAloneMuon_v2::tgcHitStationNum ( ) const

◆ tgcHitWidth()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::tgcHitWidth ( ) const

◆ tgcHitZ()

const std::vector< float >& xAOD::L2StandAloneMuon_v2::tgcHitZ ( ) const

◆ tgcInnEta()

float xAOD::L2StandAloneMuon_v2::tgcInnEta ( ) const

Get the results of TGC fit.

◆ tgcInnPhi()

float xAOD::L2StandAloneMuon_v2::tgcInnPhi ( ) const

◆ tgcInnPhiN()

long xAOD::L2StandAloneMuon_v2::tgcInnPhiN ( ) const

◆ tgcInnPhiStd()

float xAOD::L2StandAloneMuon_v2::tgcInnPhiStd ( ) const

◆ tgcInnR()

float xAOD::L2StandAloneMuon_v2::tgcInnR ( ) const

◆ tgcInnRhoN()

long xAOD::L2StandAloneMuon_v2::tgcInnRhoN ( ) const

◆ tgcInnRhoStd()

float xAOD::L2StandAloneMuon_v2::tgcInnRhoStd ( ) const

◆ tgcInnZ()

float xAOD::L2StandAloneMuon_v2::tgcInnZ ( ) const

◆ tgcMid1Eta()

float xAOD::L2StandAloneMuon_v2::tgcMid1Eta ( ) const

◆ tgcMid1Phi()

float xAOD::L2StandAloneMuon_v2::tgcMid1Phi ( ) const

◆ tgcMid1R()

float xAOD::L2StandAloneMuon_v2::tgcMid1R ( ) const

◆ tgcMid1Z()

float xAOD::L2StandAloneMuon_v2::tgcMid1Z ( ) const

◆ tgcMid2Eta()

float xAOD::L2StandAloneMuon_v2::tgcMid2Eta ( ) const

◆ tgcMid2Phi()

float xAOD::L2StandAloneMuon_v2::tgcMid2Phi ( ) const

◆ tgcMid2R()

float xAOD::L2StandAloneMuon_v2::tgcMid2R ( ) const

◆ tgcMid2Z()

float xAOD::L2StandAloneMuon_v2::tgcMid2Z ( ) const

◆ tgcMidPhiChi2()

float xAOD::L2StandAloneMuon_v2::tgcMidPhiChi2 ( ) const

◆ tgcMidPhiN()

long xAOD::L2StandAloneMuon_v2::tgcMidPhiN ( ) const

◆ tgcMidRhoChi2()

float xAOD::L2StandAloneMuon_v2::tgcMidRhoChi2 ( ) const

◆ tgcMidRhoN()

long xAOD::L2StandAloneMuon_v2::tgcMidRhoN ( ) const

◆ tgcPt()

float xAOD::L2StandAloneMuon_v2::tgcPt ( ) const

Set and get pT from different algorithms.

◆ 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_v2::trackPositionEta ( unsigned int  n) const

Get eta postion of track.

Definition at line 284 of file L2StandAloneMuon_v2.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_v2::trackPositionPhi ( unsigned int  n) const

Get phi postion of track.

Definition at line 292 of file L2StandAloneMuon_v2.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_v2::trackPositionR ( unsigned int  n) const

Get R postion of track.

Definition at line 268 of file L2StandAloneMuon_v2.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_v2::trackPositionZ ( unsigned int  n) const

Get Z postion of track.

Definition at line 276 of file L2StandAloneMuon_v2.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_v2::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 260 of file AuxElement.cxx.

261 {
262  return havePrivateData() &&
263  typeid(*m_container) == typeid(AuxElementPrivateData);
264 }

◆ 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 270 of file AuxElement.cxx.

271 {
272  return havePrivateData() &&
273  typeid(*m_container) == typeid(AuxElementStandaloneData);
274 }

◆ zMax()

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

normal sector

overlap sector

Definition at line 560 of file L2StandAloneMuon_v2.cxx.

560  {
561 
562  if ( station < 0 ) return 0;
563 
564  if ( sector == 0 ) {
566  if ( zmaxnAcc( *this ).size() > (unsigned int)station ) {
567  return zmaxnAcc( *this ).at( station );
568  } else {
569  return 0.;
570  }
571 
572  } else if ( sector == 1 ) {
574 
575  if ( zmaxoAcc( *this ).size() > (unsigned int)station ) {
576  return zmaxoAcc( *this ).at( station );
577  } else {
578  return 0.;
579  }
580 
581  }
582 
583  return 0.;
584  }

◆ zMin()

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

Z.

Z range.

normal sector

overlap sector

Definition at line 534 of file L2StandAloneMuon_v2.cxx.

534  {
535 
536  if ( station < 0 ) return 0;
537 
538  if ( sector == 0 ) {
540  if ( zminnAcc( *this ).size() > (unsigned int)station ) {
541  return zminnAcc( *this ).at( station );
542  } else {
543  return 0.;
544  }
545 
546  } else if ( sector == 1 ) {
548 
549  if ( zminoAcc( *this ).size() > (unsigned int)station ) {
550  return zminoAcc( *this ).at( station );
551  } else {
552  return 0.;
553  }
554 
555  }
556 
557  return 0.;
558  }

◆ zMS()

float xAOD::L2StandAloneMuon_v2::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 298 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 883 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.
beamspotman.r
def r
Definition: beamspotman.py:676
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:69
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:152
xAOD::L2StandAloneMuon_v2::type
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
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
max
#define max(a, b)
Definition: cfImp.cxx:41
SG::AuxTypeRegistry::instance
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Definition: AuxTypeRegistry.cxx:49
SG::Accessor< int >
dumpTgcDigiDeadChambers.stationName
dictionary stationName
Definition: dumpTgcDigiDeadChambers.py:30
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:217
calibdata.chamber
chamber
Definition: calibdata.py:32
index
Definition: index.py:1
SG::AuxElement::copyAux
void copyAux(const ConstAuxElement &other)
Copy aux data from another object.
Definition: AuxElement.cxx:561
SG::ConstAuxElement::m_container
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition: AuxElement.h:298
xAOD::L2StandAloneMuon_v2::tgcHitsCapacity
int tgcHitsCapacity() const
SG::AuxVectorData::hasNonConstStore
bool hasNonConstStore() const
Return true if this object has an associated non-const store.
athena.value
value
Definition: athena.py:122
SG::AuxElement::usingStandaloneStore
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
Definition: AuxElement.cxx:270
SG::ConstAuxElement::setIndexPrivate
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
Definition: AuxElement.cxx:96
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_v2::cscHitsCapacity
int cscHitsCapacity() const
xAOD::L2StandAloneMuon_v2::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
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:201
xAOD::L2StandAloneMuon_v2::setTgcHitsCapacity
void setTgcHitsCapacity(int value)
Set size of storage for TGC hits.
Definition: L2StandAloneMuon_v2.cxx:1204
SG::AuxTypeRegistry
Handle mappings between names and auxid_t.
Definition: AuxTypeRegistry.h:62
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
Trk::distEta
@ distEta
readout for silicon
Definition: ParamDefs.h:57
z
#define z
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:535
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
SG::IAuxElement::havePrivateData
bool havePrivateData() const
True if this element currently has private data.
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
xAOD::charge
charge
Definition: TrigElectron_v1.cxx:85
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:522
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
SG::AuxElementPrivateData
Internal data container for private store.
Definition: AuxElement.cxx:45
SG::AuxVectorData::hasStore
bool hasStore() const
Return true if this object has an associated store.
Trk::distPhi
@ distPhi
Definition: ParamDefs.h:56
min
#define min(a, b)
Definition: cfImp.cxx:40
dumpTgcDigiThreshold.isStrip
list isStrip
Definition: dumpTgcDigiThreshold.py:33
SG::IAuxElement::setHavePrivateData
void setHavePrivateData()
Record that this element currently has private data.
SG::AuxVectorData::clearCache
void clearCache()
Clear the cached aux data pointers.
xAOD::L2StandAloneMuon_v2::setRpcHitsCapacity
void setRpcHitsCapacity(int value)
Size of storage to be reserved.
Definition: L2StandAloneMuon_v2.cxx:1183
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:172
xAOD::L2StandAloneMuon_v2::setMdtHitsCapacity
void setMdtHitsCapacity(int value)
Set size of storage for MDT hits.
Definition: L2StandAloneMuon_v2.cxx:1225
xAOD::L2StandAloneMuon_v2::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
xAOD::L2StandAloneMuon_v2::mdtHitsCapacity
int mdtHitsCapacity() const
xAOD::IParticle::IParticle
IParticle()=default
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:593
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
SG::ExcBadPrivateStore
Exception — Bad use of private store.
Definition: Control/AthContainers/AthContainers/exceptions.h:113
bcTag
unsigned bcTag(unsigned bcBitMap)
Definition: TgcByteStreamData.h:367
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
xAOD::L2StandAloneMuon_v2::rpcHitsCapacity
int rpcHitsCapacity() const
Get and set maximum size of storages to be reserved.
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:167
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:79
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::L2StandAloneMuon_v2::setCscHitsCapacity
void setCscHitsCapacity(int value)
Set size of storage for CSC hits.
Definition: L2StandAloneMuon_v2.cxx:1246
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:418