ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Member Functions | Static 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>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::reference_type auxdata (const std::string &name)
 Fetch an aux data variable, as a non-const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdata (const std::string &name) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool isAvailableWritable (const std::string &name, const std::string &clsname="")
 Check if an aux variable is available for writing. More...
 
void assign (const AuxElement &other, bool warnUnlocked=false)
 Assignment. More...
 
const SG::AuxVectorDatacontainer () const
 Return the container holding this element. More...
 
SG::AuxVectorDatacontainer ()
 Return the container holding this element. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdataConst (const std::string &name) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Accessor< T, ALLOC >::const_reference_type auxdataConst (const std::string &name, const std::string &clsname) const
 Fetch an aux data variable, as a const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED bool isAvailableWritableAsDecoration (const std::string &name, const std::string &clsname="") const
 Check if an aux variable is available for writing as a decoration. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type auxdecor (const std::string &name) const
 Fetch an aux decoration, as a non-const reference. More...
 
template<class T , class ALLOC = AuxAllocator_t<T>>
XAOD_AUXDATA_DEPRECATED Decorator< T, ALLOC >::reference_type auxdecor (const std::string &name, const std::string &clsname) const
 Fetch an aux decoration, as a non-const reference. More...
 
void makePrivateStore ()
 Create a new (empty) private store for this object. More...
 
template<class U1 >
void makePrivateStore (const U1 &other, bool warnUnlocked=false)
 Create a new private store for this object and copy aux data. More...
 
template<class U1 >
void makePrivateStore (const U1 *other, bool warnUnlocked=false)
 Create a new private store for this object and copy aux data. More...
 
void releasePrivateStore ()
 Release and free any private store associated with this object. More...
 
void setStore (const SG::IConstAuxStore *store)
 Set the store associated with this object. More...
 
void setStore (SG::IAuxStore *store)
 Set the store associated with this object. More...
 
void setStore (const DataLink< SG::IConstAuxStore > &store)
 Set the store associated with this object. More...
 
void setConstStore (const SG::IConstAuxStore *store)
 Synonym for setStore with IConstAuxStore. More...
 
void setNonConstStore (SG::IAuxStore *store)
 Synonym for setStore with IAuxStore. More...
 
bool usingPrivateStore () const
 Test to see if this object is currently using a private store. More...
 
bool usingStandaloneStore () const
 Test to see if this object is currently using a standalone store. More...
 
const SG::IConstAuxStoregetConstStore () const
 Return the current store, as a const interface. More...
 
SG::IAuxStoregetStore () const
 Return the current store, as a non-const interface. More...
 
void clearCache ()
 Clear the cached aux data pointers. More...
 
const SG::auxid_set_tgetAuxIDs () const
 Return a set of identifiers for existing data items for this object. More...
 
const SG::auxid_set_tgetDecorIDs () const
 Return a set of identifiers for decorations for this object. More...
 
bool hasStore () const
 Return true if this object has an associated store. More...
 
bool hasNonConstStore () const
 Return true if this object has an associated non-const store. More...
 
bool clearDecorations () const
 Clear all decorations. More...
 
bool trackIndices () const
 Return true if index tracking is enabled for this object. More...
 
size_t index () const
 Return the index of this element within its container. More...
 
size_t index () const
 Return the index of this element within its container. More...
 
4-momentum setter functions
void setPt (float pt)
 Set the transverse momentum ( \(p_T\)) of the muon. More...
 
void setEta (float eta)
 Set the pseudorapidity ( \(\eta\)) of the muon. More...
 
void setPhi (float phi)
 Set the azimuthal angle ( \(\phi\)) of the muon. More...
 
Properties specific to the LVL2 muon reconstruction
uint32_t roiWord () const
 Get the RoI ID of the seeding LVL1 muon. More...
 
void setRoIWord (uint32_t value)
 Set the RoI ID of the seeding LVL1 muon. More...
 
int sAddress () const
 Get the station address of the muon. More...
 
void setSAddress (int value)
 Set the station address of the muon. More...
 
float etaMS () const
 Get the eta at muon spectrometer. More...
 
void setEtaMS (float value)
 Set the eta at muon spectrometer. More...
 
float phiMS () const
 Get the phi at muon spectrometer. More...
 
void setPhiMS (float value)
 Set the phi at muon spectrometer. More...
 
float dirPhiMS () const
 Get tan phi at muon spectrometer. More...
 
void setDirPhiMS (float value)
 Set tan phi at muon spectrometer. More...
 
float rMS () const
 Get the R at muon spectrometer. More...
 
void setRMS (float value)
 Set the R at muon spectrometer. More...
 
float zMS () const
 Get the Z at muon spectrometer. More...
 
void setZMS (float value)
 Set the Z at muon spectrometer. More...
 
float dirZMS () const
 Get dRdZ at muon spectrometer. More...
 
void setDirZMS (float value)
 Set dRdZ at muon spectrometer. More...
 
float beta () const
 Get beta. More...
 
void setBeta (float value)
 Set beta. More...
 
float barrelRadius () const
 Get the fitted radius of the muon in the barrel. More...
 
void setBarrelRadius (float value)
 Set the fitted radius of the muon in the barrel. More...
 
float barrelSagitta () const
 Get the fitted sagitta of the muon in the barrel. More...
 
void setBarrelSagitta (float value)
 Set the fitted sagitta of the muon in the barrel. More...
 
float endcapAlpha () const
 Get the fitted \(\alpha\) value in the endcap. More...
 
void setEndcapAlpha (float value)
 Set the fitted \(\alpha\) value in the endcap. More...
 
float endcapBeta () const
 Get the fitted \(\beta\) value in the endcap. More...
 
void setEndcapBeta (float value)
 Set the fitted \(\beta\) value in the endcap. More...
 
float endcapRadius () const
 Get the fitted radius of the muon in the endcap. More...
 
void setEndcapRadius (float value)
 Set the fitted radius of the muon in the endcap. More...
 
float 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 *other, bool warnUnlocked)
 Create a new private store for this object and copy aux data. More...
 
void makePrivateStore1 (const AuxElement *other, bool warnUnlocked)
 Create a new private store for this object and copy aux data. More...
 
AuxElementStandaloneData * setStore1 (const SG::IConstAuxStore *store)
 Set the store associated with this object. More...
 
void clearAux ()
 Clear all aux data associated with this element. More...
 
void copyAux (const ConstAuxElement &other, bool warnUnlocked=false)
 Copy aux data from another object. More...
 
void setNoPrivateData ()
 Record that this element does not have private data. More...
 
void setHavePrivateData ()
 Record that this element currently has private data. More...
 
void setHadPrivateData ()
 Record that this element used to have private data. More...
 

Static Private Member Functions

static void clearAuxHelper (AuxVectorData &container, size_t index)
 Clear all aux data associated with an element. More...
 
static void copyAuxHelper (AuxVectorData &container, size_t index, const ConstAuxElement &other, bool warnUnlocked)
 Copy aux data from another object. 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 572 of file AuxElement.h.

◆ ConstAccessor

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

Definition at line 569 of file AuxElement.h.

◆ Decorator

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

Definition at line 575 of file AuxElement.h.

◆ FourMom_t

typedef TLorentzVector xAOD::L2StandAloneMuon_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 566 of file AuxElement.h.

Member Enumeration Documentation

◆ PrivateStoreState

enum SG::IAuxElement::PrivateStoreState : uint8_t
strongprivateinherited

The current private data state.

Enumerator
NO_PRIVATE 
HAVE_PRIVATE 
HAD_PRIVATE 

Definition at line 131 of file IAuxElement.h.

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

Constructor & Destructor Documentation

◆ L2StandAloneMuon_v2()

xAOD::L2StandAloneMuon_v2::L2StandAloneMuon_v2 ( )

Constructor.

Definition at line 19 of file L2StandAloneMuon_v2.cxx.

20  : IParticle() {
21 
22  }

Member Function Documentation

◆ algoId()

int xAOD::L2StandAloneMuon_v2::algoId ( ) const

Get and set L2 muon algorithm ID (defined above)

◆ assign()

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

Assignment.

Parameters
otherThe object from which we're assigning.
warnUnlockedIf true, then warn when we skip unlocked decorations.

We don't copy container/index, as assignment doesn't change where this object is. However, if we have aux data, then we copy aux data if we're copying from an object that also has it; otherwise, if we're copying from an object with no aux data, then we clear ours.

◆ auxdata() [1/4]

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

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

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ auxdata() [2/4]

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

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor or ConstAccessor classes.

◆ auxdata() [3/4]

template<class T >
XAOD_AUXDATA_DEPRECATED T& xAOD::IParticle::auxdata ( const std::string &  name,
const std::string &  clsname = "" 
)
inlineinherited

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

This function provides an easy way for users to decorate objects with auxiliary data.

Take note that this function is slow. Should not be used inside time-critical code.

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

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

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

◆ auxdata() [4/4]

template<class T >
XAOD_AUXDATA_DEPRECATED const T& xAOD::IParticle::auxdata ( const std::string &  name,
const std::string &  clsname = "" 
) const
inlineinherited

Fetch an aux data variable, as a const reference.

This function provides an easy way for users to retrieve auxiliary decorations from an object.

Take note that this function is slow. Should not be used inside time-critical code.

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

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

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

◆ auxdataConst() [1/2]

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

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor class.

◆ auxdataConst() [2/2]

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

Fetch an aux data variable, as a const reference.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the ConstAccessor class.

◆ auxdecor() [1/2]

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

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

Parameters
nameName of the aux variable.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.

◆ auxdecor() [2/2]

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

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

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

If the container is locked, this will allow fetching only variables that do not yet exist (in which case they will be marked as decorations) or variables already marked as decorations.

◆ barrelRadius()

float xAOD::L2StandAloneMuon_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 427 of file L2StandAloneMuon_v2.cxx.

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

◆ chamberType2()

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

normal sector

overlap sector

Definition at line 454 of file L2StandAloneMuon_v2.cxx.

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

◆ clearAux()

void SG::AuxElement::clearAux ( )
privateinherited

Clear all aux data associated with this element.

If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData.

Definition at line 580 of file AuxElement.cxx.

581 {
582  if (!m_container) return;
584 }

◆ clearAuxHelper()

void SG::AuxElement::clearAuxHelper ( AuxVectorData container,
size_t  index 
)
staticprivateinherited

Clear all aux data associated with an element.

Parameters
containerContainer of the element.
indexIndex of this element within the container.

If the associated aux data is const, this throws ExcConstAuxData.

Definition at line 639 of file AuxElement.cxx.

640 {
641  if (!container.hasStore()) return;
642  if (!container.hasNonConstStore()) {
643  throw SG::ExcConstAuxData ("clearAux", SG::null_auxid);
644  }
645 
647  for (SG::auxid_t auxid : container.getWritableAuxIDs()) {
648  r.clear (auxid, container, index, 1);
649  }
650 }

◆ clearCache()

void SG::AuxElement::clearCache ( )
inherited

Clear the cached aux data pointers.

You should call this any time something changes in the aux store that could invalidate the vector pointers.

Definition at line 339 of file AuxElement.cxx.

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

◆ clearDecorations()

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

Clear all decorations.

Erase all decorations from an associated store, restoring the state to when lock was called.

Returns true if there were any decorations that were cleared, false if the store did not contain any decorations.

Definition at line 428 of file AuxElement.cxx.

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

◆ container() [1/2]

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

Return the container holding this element.

◆ container() [2/2]

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

Return the container holding this element.

◆ copyAux()

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

Copy aux data from another object.

Parameters
otherThe object from which to copy.
warnUnlockedIf true, then warn when we skip unlocked decorations.

If this object has no associated store, this does nothing. If the associated aux data is const, this throws ExcConstAuxData.

All aux data items from other are copied to this object. Any aux data items associated with this object that are not present in other are cleared. (If other has no aux data, then all aux data items for this object are cleared.)

Definition at line 600 of file AuxElement.cxx.

602 {
603  if (!m_container) return;
604  copyAuxHelper (*container(), index(), other, warnUnlocked);
605 }

◆ copyAuxHelper()

void SG::AuxElement::copyAuxHelper ( AuxVectorData container,
size_t  index,
const ConstAuxElement other,
bool  warnUnlocked 
)
staticprivateinherited

Copy aux data from another object.

Parameters
containerContainer of the element.
indexIndex of this element within the container.
otherThe object from which to copy.
warnUnlockedIf true, then warn when we skip unlocked decorations.

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

671 {
672  if (!container.hasStore()) return;
674  throw SG::ExcConstAuxData ("copyAux");
675 
676  const SG::AuxVectorData* ocont = other.container();
677 
678  if (!ocont || !ocont->hasStore()) {
680  return;
681  }
682 
683 #ifndef XAOD_STANDALONE
684  const SG::auxid_set_t& other_decors = ocont->getDecorIDs();
685 #endif
686  SG::auxid_set_t other_ids = ocont->getAuxIDs();
687 
688  size_t oindex = other.index();
690 
691  for (SG::auxid_t auxid : other_ids) {
692 #ifndef XAOD_STANDALONE
693  if (other_decors.test (auxid)) {
694  // Don't copy decorations --- another thread may be modifying them.
695  other_ids.reset (auxid);
696  // Warn if we skip a decoration (except for mcEventWeights,
697  // for which this is expected).
698  if (warnUnlocked && r.getName(auxid) != "mcEventWeights") {
699  std::ostringstream ss;
700  ss << "skipped unlocked decoration " << r.getName(auxid)
701  << " (" << auxid << ")";
702  ATHCONTAINERS_WARNING("copyAux", ss.str());
703  }
704  }
705  else
706 #endif
707  if (!r.isLinked (auxid)) {
708  r.copy (auxid, container, index, *ocont, oindex, 1);
709  }
710  }
711 
712  for (SG::auxid_t auxid : container.getWritableAuxIDs()) {
713  if (!other_ids.test (auxid)) {
714  r.clear (auxid, container, index, 1);
715  }
716  }
717 }

◆ cscHitChamber()

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

Definition at line 1531 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitChamberLayer()

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

Definition at line 1563 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitCharge()

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

Definition at line 1627 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitEta()

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

Definition at line 1595 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitIsOutlier()

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

Definition at line 1523 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitMeasuresPhi()

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

Definition at line 1579 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitPhi()

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

Definition at line 1603 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitR()

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

Definition at line 1611 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitResidual()

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

Definition at line 1643 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitsCapacity()

int xAOD::L2StandAloneMuon_v2::cscHitsCapacity ( ) const

◆ cscHitStationEta()

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

Definition at line 1547 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitStationName()

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

Definition at line 1539 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitStationPhi()

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

Definition at line 1555 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitStrip()

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

Definition at line 1587 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitTime()

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

Definition at line 1635 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitWireLayer()

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

Definition at line 1571 of file L2StandAloneMuon_v2.cxx.

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

◆ cscHitZ()

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

Definition at line 1619 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 667 of file L2StandAloneMuon_v2.cxx.

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

◆ etaMin()

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

Eta.

Eta range.

normal sector

overlap sector

Definition at line 641 of file L2StandAloneMuon_v2.cxx.

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

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

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

◆ getConstStore()

const SG::IConstAuxStore * SG::AuxElement::getConstStore ( ) const
inherited

Return the current store, as a const interface.

This will be non-zero if either a const or non-const store is associated with this object. This will fetch either a private or standalone store.

Definition at line 304 of file AuxElement.cxx.

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

◆ getDecorIDs()

const SG::auxid_set_t & SG::AuxElement::getDecorIDs ( ) const
inherited

Return a set of identifiers for decorations for this object.

   If this object has a private or standalone store, then information
   from that will be returned.  Otherwise, if this element
   is part of a container, then information for the container
   will be returned.  Otherwise, return an empty set.

Definition at line 378 of file AuxElement.cxx.

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

◆ getStore()

SG::IAuxStore * SG::AuxElement::getStore ( ) const
inherited

Return the current store, as a non-const interface.

This will be non-zero if a non-const store is associated with this object. This will fetch either a private or standalone store.

Definition at line 319 of file AuxElement.cxx.

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

◆ hadPrivateData()

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

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

◆ hasNonConstStore()

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

Return true if this object has an associated non-const store.

This will be true for either a private or standalone store.

Definition at line 411 of file AuxElement.cxx.

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

◆ hasStore()

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

Return true if this object has an associated store.

This will be true for either a private or standalone store.

Definition at line 398 of file AuxElement.cxx.

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

◆ havePrivateData()

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

True if this element currently has private data.

◆ index() [1/2]

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

Return the index of this element within its container.

◆ index() [2/2]

size_t SG::IAuxElement::index
inherited

Return the index of this element within its container.

Inherited from IAuxElement.

◆ isAvailable()

template<class T >
XAOD_AUXDATA_DEPRECATED bool xAOD::IParticle::isAvailable ( const std::string &  name,
const std::string &  clsname = "" 
) const
inlineinherited

Check if a user property is available for reading or not.

This function should be used to check if a user property which may or may not exist, is set on the object.

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

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

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

◆ isAvailableWritable() [1/2]

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

Check if an aux variable is available for writing.

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ isAvailableWritable() [2/2]

template<class T >
XAOD_AUXDATA_DEPRECATED bool xAOD::IParticle::isAvailableWritable ( const std::string &  name,
const std::string &  clsname = "" 
) const
inlineinherited

Check if a user property is available for writing or not.

This function can be used to check whether it will be possible to set a user property on the object.

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

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

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

◆ isAvailableWritableAsDecoration()

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

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

Parameters
nameName of the aux variable.
clsnameThe name of the associated class. May be blank.

This method has to translate from the aux data name to the internal representation each time it is called. Using this method inside of loops is discouraged; instead use the Accessor class.

◆ isRpcFailure()

int xAOD::L2StandAloneMuon_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 192 of file AuxElement.cxx.

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

◆ makePrivateStore() [2/3]

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

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

If other is an object that has aux data, then those data will be copied; otherwise, nothing will be done.

◆ makePrivateStore() [3/3]

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

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

If other is an object that has aux data, then those data will be copied; otherwise, nothing will be done.

◆ makePrivateStore1() [1/2]

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

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

This overload handles the case where other does have aux data.

Definition at line 565 of file AuxElement.cxx.

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

◆ makePrivateStore1() [2/2]

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

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

Parameters
otherThe object from which aux data should be copied.
warnUnlockedIf true, then warn when we skip unlocked decorations.

ExcBadPrivateStore will be thrown if this object is already associated with a store.

This overload handles the case where other does not have aux data.

◆ mdtHitChamber()

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

Definition at line 1429 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitIsOutlier()

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

Definition at line 1421 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitOfflineId()

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

Definition at line 1413 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitOnlineId()

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

Definition at line 1405 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitPhi()

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

Definition at line 1453 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitR()

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

Definition at line 1437 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitResidual()

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

Definition at line 1461 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitsCapacity()

int xAOD::L2StandAloneMuon_v2::mdtHitsCapacity ( ) const

◆ mdtHitSigma()

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

Definition at line 1485 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitSpace()

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

Definition at line 1477 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitTime()

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

Definition at line 1469 of file L2StandAloneMuon_v2.cxx.

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

◆ mdtHitZ()

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

Definition at line 1445 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1519 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1401 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 265 of file L2StandAloneMuon_v2.cxx.

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

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

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

◆ releasePrivateStoreForDtor()

void SG::AuxElement::releasePrivateStoreForDtor ( )
privateinherited

Out-of-line portion of destructor.

Delete a private store if we have one.

Definition at line 441 of file AuxElement.cxx.

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

◆ rMax()

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

normal sector

overlap sector

Definition at line 614 of file L2StandAloneMuon_v2.cxx.

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

◆ rMin()

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

R.

R range.

normal sector

overlap sector

Definition at line 588 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 481 of file L2StandAloneMuon_v2.cxx.

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

◆ roadBw()

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

Intercept.

Road intercept.

normal sector

overlap sector

Definition at line 508 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1315 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 697 of file L2StandAloneMuon_v2.cxx.

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

◆ setChamberType2()

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

Normal sector

Overlap sector

Definition at line 724 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1651 of file L2StandAloneMuon_v2.cxx.

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

◆ setCscHitsCapacity()

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

Set size of storage for CSC hits.

Definition at line 1247 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 83 of file L2StandAloneMuon_v2.cxx.

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

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

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

◆ 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 1493 of file L2StandAloneMuon_v2.cxx.

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

◆ setMdtHitsCapacity()

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

Set size of storage for MDT hits.

Definition at line 1226 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1737 of file L2StandAloneMuon_v2.cxx.

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

◆ setMmClustersCapacity()

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

Set size of storage for MM clusters.

Definition at line 1296 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 90 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 884 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 840 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 796 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 752 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1051 of file L2StandAloneMuon_v2.cxx.

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

◆ setRpcFitMid()

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

Definition at line 1064 of file L2StandAloneMuon_v2.cxx.

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

◆ setRpcFitOut()

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

Definition at line 1077 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1341 of file L2StandAloneMuon_v2.cxx.

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

◆ setRpcHitsCapacity()

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

Size of storage to be reserved.

Set size of storage for RPC hits

Definition at line 1184 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 1698 of file L2StandAloneMuon_v2.cxx.

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

◆ setStgcClustersCapacity()

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

Set size of storage for sTGC clusters.

Definition at line 1275 of file L2StandAloneMuon_v2.cxx.

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

◆ setStore() [1/3]

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

Set the store associated with this object.

Parameters
storeThe new store.

If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.

Parameters
storeLink to the new store.

Definition at line 269 of file AuxElement.cxx.

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

◆ setStore() [2/3]

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

Set the store associated with this object.

Parameters
storeThe new store.

If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.

Definition at line 241 of file AuxElement.cxx.

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

◆ setStore() [3/3]

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

Set the store associated with this object.

Parameters
storeThe new store.

If store is nonzero, this adds a standalone store to the object. The object must not be in a container and must not have a private store. If store is zero, this removes a standalone store.

Definition at line 257 of file AuxElement.cxx.

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

◆ setStore1()

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

Set the store associated with this object.

Parameters
storeThe new store.

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

Parameters
storeThe new store.

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

Definition at line 461 of file AuxElement.cxx.

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

◆ setSuperPoint()

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

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

◆ 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 1376 of file L2StandAloneMuon_v2.cxx.

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

◆ setTgcHitsCapacity()

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

Set size of storage for TGC hits.

Definition at line 1205 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 959 of file L2StandAloneMuon_v2.cxx.

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

◆ setTgcInnF()

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

Definition at line 974 of file L2StandAloneMuon_v2.cxx.

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

◆ setTgcMid1()

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

Definition at line 989 of file L2StandAloneMuon_v2.cxx.

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

◆ setTgcMid2()

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

Definition at line 1004 of file L2StandAloneMuon_v2.cxx.

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

◆ setTgcMidF()

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

Definition at line 1019 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 302 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 212 of file L2StandAloneMuon_v2.cxx.

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

◆ superPointIntercept()

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

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

Definition at line 204 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 180 of file L2StandAloneMuon_v2.cxx.

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

◆ superPointSlope()

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

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

Definition at line 196 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 188 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 285 of file L2StandAloneMuon_v2.cxx.

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

◆ trackPositionPhi()

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

Get phi postion of track.

Definition at line 293 of file L2StandAloneMuon_v2.cxx.

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

◆ trackPositionR()

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

Get R postion of track.

Definition at line 269 of file L2StandAloneMuon_v2.cxx.

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

◆ trackPositionZ()

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

Get Z postion of track.

Definition at line 277 of file L2StandAloneMuon_v2.cxx.

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

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

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

◆ usingStandaloneStore()

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

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

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

Definition at line 290 of file AuxElement.cxx.

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

◆ zMax()

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

normal sector

overlap sector

Definition at line 561 of file L2StandAloneMuon_v2.cxx.

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

◆ zMin()

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

Z.

Z range.

normal sector

overlap sector

Definition at line 535 of file L2StandAloneMuon_v2.cxx.

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

◆ 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 335 of file AuxElement.h.

◆ m_index

size_t SG::IAuxElement::m_index
privateinherited

The index of this element within its container.

Should be 0 if this object is not within a container.

Definition at line 128 of file IAuxElement.h.

◆ m_privateStoreState

PrivateStoreState SG::IAuxElement::m_privateStoreState
privateinherited

Definition at line 137 of file IAuxElement.h.

◆ supportsThinning

constexpr bool SG::AuxElement::supportsThinning = true
staticconstexprinherited

Mark that this type supports thinning operations.

See AthContainers/supportsThinning.h and AthenaPoolCnvSvc/T_AthenaPoolCnv.h. Helps guide which pool converter template will be used. If false, the default pool converter will be used rather than the aux store-specific one. Ordinary xAOD type should not touch this, but may be overridden in a derived class to handle certain special cases.

Definition at line 959 of file AuxElement.h.


The documentation for this class was generated from the following files:
SG::AuxVectorData::getConstStore
const SG::IConstAuxStore * getConstStore() const
Return the current store, as a const interface.
SGTest::store
TestStore store
Definition: TestStore.cxx:23
beamspotman.r
def r
Definition: beamspotman.py:674
SG::ConstAuxElement::getAuxIDs
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
Definition: AuxElement.cxx:153
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
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
SG::AuxTypeRegistry::instance
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Definition: AuxTypeRegistry.cxx:639
SG::Accessor< T >
SG::AuxVectorData::getDecorIDs
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
Definition: AuxVectorData.cxx:215
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:231
calibdata.chamber
chamber
Definition: calibdata.py:31
index
Definition: index.py:1
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
min
constexpr double min()
Definition: ap_fixedTest.cxx:26
SG::ConstAuxElement::m_container
const SG::AuxVectorData * m_container
The container of which this object is an element.
Definition: AuxElement.h:335
SG::AuxElement::clearAuxHelper
static void clearAuxHelper(AuxVectorData &container, size_t index)
Clear all aux data associated with an element.
Definition: AuxElement.cxx:639
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:124
SG::AuxElement::usingStandaloneStore
bool usingStandaloneStore() const
Test to see if this object is currently using a standalone store.
Definition: AuxElement.cxx:290
SG::ConstAuxElement::setIndexPrivate
bool setIndexPrivate(size_t index, const SG::AuxVectorData *container)
Set the index/container for this element.
Definition: AuxElement.cxx:97
SG::ConstAccessor< T >
SG::ExcConstAuxData
Exception — Non-const operation performed on const aux data.
Definition: Control/AthContainers/AthContainers/exceptions.h:77
SG::IAuxElement::setNoPrivateData
void setNoPrivateData()
Record that this element does not have private data.
x
#define x
xAOD::L2StandAloneMuon_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:203
xAOD::L2StandAloneMuon_v2::setTgcHitsCapacity
void setTgcHitsCapacity(int value)
Set size of storage for TGC hits.
Definition: L2StandAloneMuon_v2.cxx:1205
SG::AuxTypeRegistry
Handle mappings between names and auxid_t.
Definition: AuxTypeRegistry.h:61
SG::IAuxElement::index
size_t index() const
Return the index of this element within its container.
SG::IAuxElement::setHadPrivateData
void setHadPrivateData()
Record that this element used to have private data.
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
Trk::distEta
@ distEta
readout for silicon
Definition: ParamDefs.h:51
z
#define z
SG::AuxElement::copyAux
void copyAux(const ConstAuxElement &other, bool warnUnlocked=false)
Copy aux data from another object.
Definition: AuxElement.cxx:600
xAOD::L2MuonParameters::MaxChamber
@ MaxChamber
Number of measurement point definitions.
Definition: TrigMuonDefs.h:27
beamspotman.n
n
Definition: beamspotman.py:729
SG::AuxElement::AuxElement
AuxElement()
Default constructor.
SG::IAuxElement::havePrivateData
bool havePrivateData() const
True if this element currently has private data.
ATHCONTAINERS_WARNING
#define ATHCONTAINERS_WARNING(ctx, msg)
Definition: error.h:57
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:525
SG::ConstAuxElement::getDecorIDs
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
Definition: AuxElement.cxx:172
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
SG::AuxElementPrivateData
Internal data container for private store.
Definition: AuxElement.cxx:46
SG::AuxVectorData::hasStore
bool hasStore() const
Return true if this object has an associated store.
Trk::distPhi
@ distPhi
Definition: ParamDefs.h:50
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:1184
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:192
xAOD::L2StandAloneMuon_v2::setMdtHitsCapacity
void setMdtHitsCapacity(int value)
Set size of storage for MDT hits.
Definition: L2StandAloneMuon_v2.cxx:1226
xAOD::L2StandAloneMuon_v2::phi
virtual double phi() const
The azimuthal angle ( ) of the particle.
xAOD::L2StandAloneMuon_v2::mdtHitsCapacity
int mdtHitsCapacity() const
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
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:653
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
SG::ExcBadPrivateStore
Exception — Bad use of private store.
Definition: Control/AthContainers/AthContainers/exceptions.h:113
SG::Accessor::isAvailableWritable
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.
bcTag
unsigned bcTag(unsigned bcBitMap)
Definition: TgcByteStreamData.h:359
SG::IConstAuxStore::getDecorIDs
virtual const SG::auxid_set_t & getDecorIDs() const =0
Return a set of identifiers for decorations in this store.
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::ConstAccessor::isAvailable
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:168
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
SG::ConstAuxElement::releasePrivateStoreForDtor
void releasePrivateStoreForDtor()
Out-of-line portion of destructor.
Definition: AuxElement.cxx:80
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.
xAOD::L2StandAloneMuon_v2::setCscHitsCapacity
void setCscHitsCapacity(int value)
Set size of storage for CSC hits.
Definition: L2StandAloneMuon_v2.cxx:1247
SG::IAuxElement::hadPrivateData
bool hadPrivateData() const
True if this element had private data before it was added to its current container.
SG::AuxElement::copyAuxHelper
static void copyAuxHelper(AuxVectorData &container, size_t index, const ConstAuxElement &other, bool warnUnlocked)
Copy aux data from another object.
Definition: AuxElement.cxx:667
calibdata.tube
tube
Definition: calibdata.py:30
SG::IConstAuxStore::getAuxIDs
virtual const SG::auxid_set_t & getAuxIDs() const =0
Return a set of identifiers for existing data items in this store.
SG::AuxElement::setStore1
AuxElementStandaloneData * setStore1(const SG::IConstAuxStore *store)
Set the store associated with this object.
Definition: AuxElement.cxx:461
CxxUtils::ConcurrentBitset::test
bool test(bit_t bit) const
Test to see if a bit is set.