ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::L2StandAloneMuon_v1 Class Reference

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

#include <L2StandAloneMuon_v1.h>

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

Public Member Functions

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

Functions implementing the xAOD::IParticle interface

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

Detailed Description

Class describing standalone muons reconstructed in the LVL2 trigger.

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

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

Definition at line 36 of file L2StandAloneMuon_v1.h.

Member Typedef Documentation

◆ FourMom_t

typedef TLorentzVector xAOD::L2StandAloneMuon_v1::FourMom_t

Definition of the 4-momentum type.

Definition at line 59 of file L2StandAloneMuon_v1.h.

◆ GenVecFourMom_t

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

Base 4 Momentum type for trig muons.

Definition at line 65 of file L2StandAloneMuon_v1.h.

Constructor & Destructor Documentation

◆ L2StandAloneMuon_v1()

xAOD::L2StandAloneMuon_v1::L2StandAloneMuon_v1 ( )

Constructor.

Definition at line 19 of file L2StandAloneMuon_v1.cxx.

20 : IParticle() {
21
22 }
IParticle()=default

Member Function Documentation

◆ algoId()

int xAOD::L2StandAloneMuon_v1::algoId ( ) const

Get and set L2 muon algorithm ID (defined above).

◆ auxdata() [1/2]

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 }
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:573

◆ auxdata() [2/2]

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 }
SG::ConstAccessor< T, ALLOC > ConstAccessor
Definition AuxElement.h:570

◆ barrelRadius()

float xAOD::L2StandAloneMuon_v1::barrelRadius ( ) const

Get the fitted radius of the muon in the barrel.

◆ barrelSagitta()

float xAOD::L2StandAloneMuon_v1::barrelSagitta ( ) const

Get the fitted sagitta of the muon in the barrel.

◆ beta()

float xAOD::L2StandAloneMuon_v1::beta ( ) const

Get beta.

◆ chamberType1()

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

Get the muon road information Chamber type.

Get road properties.

Chamber types

normal sector

overlap sector

Definition at line 442 of file L2StandAloneMuon_v1.cxx.

442 {
443
444 if ( station < 0 ) return 0;
445
446 if ( sector == 0 ) {
448
449 if ( ct1nAcc( *this ).size() > (unsigned int)station ) {
450 return ct1nAcc( *this ).at( station );
451 } else {
452 return 0;
453 }
454
455 } else if ( sector == 1 ) {
457
458 if ( ct1oAcc( *this ).size() > (unsigned int)station ) {
459 return ct1oAcc( *this ).at( station );
460 } else {
461 return 0;
462 }
463
464 }
465
466 return 0;
467 }
setPtBarrelSagitta setPtEndcapBeta static AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(L2StandAloneMuon_v1, float, ptEndcapRadius, setPtEndcapRadius) static const SG const SG::AuxElement::Accessor< std::vector< int > > ct1oAcc("chamberType1Overlap")
Object for accessing the road information.
setTeId setLumiBlock setRoiId setRoiSubsystem setRoiNumber setRoiEta setTgcPt setPtBarrelSagitta setPtEndcapBeta static setPtCSC const SG::AuxElement::Accessor< std::vector< int > > ct1nAcc("chamberType1Normal")
Object for accessing the road information.

◆ chamberType2()

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

normal sector

overlap sector

Definition at line 469 of file L2StandAloneMuon_v1.cxx.

469 {
470
471 if ( station < 0 ) return 0;
472
473 if ( sector == 0 ) {
475 if ( ct2nAcc( *this ).size() > (unsigned int)station ) {
476 return ct2nAcc( *this ).at( station );
477 } else {
478 return 0;
479 }
480
481 } else if ( sector == 1 ) {
483
484 if ( ct2oAcc( *this ).size() > (unsigned int)station ) {
485 return ct2oAcc( *this ).at( station );
486 } else {
487 return 0;
488 }
489
490 }
491
492 return 0;
493 }
static const SG::AuxElement::Accessor< std::vector< int > > ct2oAcc("chamberType2Overlap")
static const SG::AuxElement::Accessor< std::vector< int > > ct2nAcc("chamberType2Normal")

◆ csmCapacity()

int xAOD::L2StandAloneMuon_v1::csmCapacity ( ) const

◆ csmError()

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

◆ csmId()

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

CSM info.

◆ csmSize()

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

◆ deltaEta()

float xAOD::L2StandAloneMuon_v1::deltaEta ( ) const

Get error of eta.

◆ deltaPhi()

float xAOD::L2StandAloneMuon_v1::deltaPhi ( ) const

Get error of phi.

◆ deltaPt()

float xAOD::L2StandAloneMuon_v1::deltaPt ( ) const

Get error of pT.

◆ deltaR()

float xAOD::L2StandAloneMuon_v1::deltaR ( ) const

Get deltaR.

◆ dirPhiMS()

float xAOD::L2StandAloneMuon_v1::dirPhiMS ( ) const

Get tan phi at muon spectrometer.

◆ dirZMS()

float xAOD::L2StandAloneMuon_v1::dirZMS ( ) const

Get dRdZ at muon spectrometer.

◆ e()

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

The total energy of the particle.

Implements xAOD::IParticle.

◆ endcapAlpha()

float xAOD::L2StandAloneMuon_v1::endcapAlpha ( ) const

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

◆ endcapBeta()

float xAOD::L2StandAloneMuon_v1::endcapBeta ( ) const

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

◆ endcapRadius()

float xAOD::L2StandAloneMuon_v1::endcapRadius ( ) const

Get the fitted radius of the muon in the endcap.

◆ eta()

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

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

Implements xAOD::IParticle.

◆ etaBin()

int xAOD::L2StandAloneMuon_v1::etaBin ( ) const

Get eta bin of pT LUT.

◆ etaMap()

float xAOD::L2StandAloneMuon_v1::etaMap ( ) const

Get eta used to refer pT LUT.

◆ etaMax()

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

normal sector

overlap sector

Definition at line 682 of file L2StandAloneMuon_v1.cxx.

682 {
683
684 if ( station < 0 ) return 0;
685
686 if ( sector == 0 ) {
688 if ( emaxnAcc( *this ).size() > (unsigned int)station ) {
689 return emaxnAcc( *this ).at( station );
690 } else {
691 return 0.;
692 }
693
694 } else if ( sector == 1 ) {
696
697 if ( emaxoAcc( *this ).size() > (unsigned int)station ) {
698 return emaxoAcc( *this ).at( station );
699 } else {
700 return 0.;
701 }
702
703 }
704
705 return 0.;
706 }
static const SG::AuxElement::Accessor< std::vector< float > > emaxoAcc("etaMaxOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > emaxnAcc("etaMaxNormal")

◆ etaMin()

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

Eta.

Eta range.

normal sector

overlap sector

Definition at line 656 of file L2StandAloneMuon_v1.cxx.

656 {
657
658 if ( station < 0 ) return 0;
659
660 if ( sector == 0 ) {
662 if ( eminnAcc( *this ).size() > (unsigned int)station ) {
663 return eminnAcc( *this ).at( station );
664 } else {
665 return 0.;
666 }
667
668 } else if ( sector == 1 ) {
670
671 if ( eminoAcc( *this ).size() > (unsigned int)station ) {
672 return eminoAcc( *this ).at( station );
673 } else {
674 return 0.;
675 }
676
677 }
678
679 return 0.;
680 }
static const SG::AuxElement::Accessor< std::vector< float > > eminoAcc("etaMinOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > eminnAcc("etaMinNormal")
Eta range.

◆ etaMS()

float xAOD::L2StandAloneMuon_v1::etaMS ( ) const

Get the eta at muon spectrometer.

◆ extension0()

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

Get extenstion.

◆ extension1()

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

◆ extension2()

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

◆ extension3()

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

◆ extension4()

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

◆ extension5()

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

◆ extension6()

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

◆ extension7()

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

◆ extension8()

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

◆ extension9()

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

◆ extensionCapacity()

int xAOD::L2StandAloneMuon_v1::extensionCapacity ( ) const

Get and set maximum size of storages to be reserved.

◆ genvecP4()

GenVecFourMom_t xAOD::L2StandAloneMuon_v1::genvecP4 ( ) const

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

◆ interceptInner()

float xAOD::L2StandAloneMuon_v1::interceptInner ( ) const

Get the intercept at inner.

◆ isAvailable()

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

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

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

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

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

136 {
137
138 return SG::ConstAccessor< T >(name, clsname).isAvailable(*this);
139 }
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.

◆ isAvailableWritable()

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 }
bool isAvailableWritable(ELT &e) const
Test to see if this variable exists in the store and is writable.

◆ isRpcFailure()

int xAOD::L2StandAloneMuon_v1::isRpcFailure ( ) const

Get flag to see if RPC is properly read.

◆ isTgcFailure()

int xAOD::L2StandAloneMuon_v1::isTgcFailure ( ) const

Get flag to see if TGC is properly read.

◆ lumiBlock()

uint32_t xAOD::L2StandAloneMuon_v1::lumiBlock ( ) const

Get and set lumi block.

◆ lvl1EmuCapacity()

int xAOD::L2StandAloneMuon_v1::lvl1EmuCapacity ( ) const

◆ lvl1Emulation()

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

Level 1 emulation info.

◆ lvl1Id()

uint32_t xAOD::L2StandAloneMuon_v1::lvl1Id ( ) const

Get and set extended level-1 ID.

◆ m()

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

The invariant mass of the particle.

Implements xAOD::IParticle.

◆ mdtHitChamber()

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

Definition at line 1711 of file L2StandAloneMuon_v1.cxx.

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

◆ mdtHitOfflineId()

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

Definition at line 1703 of file L2StandAloneMuon_v1.cxx.

1703 {
1704 if( mdtoffAcc( *this ).size() > tube ) {
1705 return mdtoffAcc( *this ).at( tube );
1706 } else {
1707 return 0;
1708 }
1709 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > mdtoffAcc("mdtHitOfflineId")

◆ mdtHitOnlineId()

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

Definition at line 1695 of file L2StandAloneMuon_v1.cxx.

1695 {
1696 if( mdtonAcc( *this ).size() > tube ) {
1697 return mdtonAcc( *this ).at( tube );
1698 } else {
1699 return 0;
1700 }
1701 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > mdtonAcc("mdtHitOnlineId")
Object for accessing the MDT tube variables.

◆ mdtHitR()

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

Definition at line 1720 of file L2StandAloneMuon_v1.cxx.

1720 {
1721 if( mdtrAcc( *this ).size() > tube ) {
1722 return mdtrAcc( *this ).at( tube );
1723 } else {
1724 return 0.;
1725 }
1726 }
static const SG::AuxElement::Accessor< std::vector< float > > mdtrAcc("mdtHitR")

◆ mdtHitResidual()

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

Definition at line 1736 of file L2StandAloneMuon_v1.cxx.

1736 {
1737 if( mdtresAcc( *this ).size() > tube ) {
1738 return mdtresAcc( *this ).at( tube );
1739 } else {
1740 return 0.;
1741 }
1742 }
static const SG::AuxElement::Accessor< std::vector< float > > mdtresAcc("mdtHitResidual")

◆ mdtHitsCapacity()

int xAOD::L2StandAloneMuon_v1::mdtHitsCapacity ( ) const

◆ mdtHitSigma()

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

Definition at line 1760 of file L2StandAloneMuon_v1.cxx.

1760 {
1761 if( mdtsigAcc( *this ).size() > tube ) {
1762 return mdtsigAcc( *this ).at( tube );
1763 } else {
1764 return 0.;
1765 }
1766 }
static const SG::AuxElement::Accessor< std::vector< float > > mdtsigAcc("mdtHitSigma")

◆ mdtHitSpace()

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

Definition at line 1752 of file L2StandAloneMuon_v1.cxx.

1752 {
1753 if( mdtspcAcc( *this ).size() > tube ) {
1754 return mdtspcAcc( *this ).at( tube );
1755 } else {
1756 return 0.;
1757 }
1758 }
static const SG::AuxElement::Accessor< std::vector< float > > mdtspcAcc("mdtHitSpace")

◆ mdtHitTime()

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

Definition at line 1744 of file L2StandAloneMuon_v1.cxx.

1744 {
1745 if( mdttAcc( *this ).size() > tube ) {
1746 return mdttAcc( *this ).at( tube );
1747 } else {
1748 return 0.;
1749 }
1750 }
static const SG::AuxElement::Accessor< std::vector< float > > mdttAcc("mdtHitTime")

◆ mdtHitZ()

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

Definition at line 1728 of file L2StandAloneMuon_v1.cxx.

1728 {
1729 if( mdtzAcc( *this ).size() > tube ) {
1730 return mdtzAcc( *this ).at( tube );
1731 } else {
1732 return 0.;
1733 }
1734 }
static const SG::AuxElement::Accessor< std::vector< float > > mdtzAcc("mdtHitZ")

◆ muonDetMask()

uint32_t xAOD::L2StandAloneMuon_v1::muonDetMask ( ) const

Get and set detector mask.

◆ nMdtHits()

uint32_t xAOD::L2StandAloneMuon_v1::nMdtHits ( ) const

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

Get and set MDT hits.

Definition at line 1691 of file L2StandAloneMuon_v1.cxx.

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

◆ nTrackPositions()

uint32_t xAOD::L2StandAloneMuon_v1::nTrackPositions ( ) const

Number of track positions stored.

Get and set track positions.

Definition at line 265 of file L2StandAloneMuon_v1.cxx.

265 {
266 return trkrAcc( *this ).size();
267 }
static const SG::AuxElement::Accessor< std::vector< float > > trkrAcc("trackPositionR")
Object for accessing track position variables.

◆ p4()

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

The full 4-momentum of the particle.

Implements xAOD::IParticle.

◆ padHitCode()

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

◆ padHitOnlineId()

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

Get RPC pad hits.

◆ padHitP()

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

◆ padHitR()

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

◆ padHitX()

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

◆ padHitY()

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

◆ padHitZ()

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

◆ phi()

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

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

Implements xAOD::IParticle.

◆ phiBin()

int xAOD::L2StandAloneMuon_v1::phiBin ( ) const

Get phi bin of pT LUT.

◆ phiMap()

float xAOD::L2StandAloneMuon_v1::phiMap ( ) const

Get phi used to refer pT LUT.

◆ phiMS()

float xAOD::L2StandAloneMuon_v1::phiMS ( ) const

Get the phi at muon spectrometer.

◆ pt()

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

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

Implements xAOD::IParticle.

◆ ptBarrelRadius()

float xAOD::L2StandAloneMuon_v1::ptBarrelRadius ( ) const

Set and get pT from different algorithms.

◆ ptBarrelSagitta()

float xAOD::L2StandAloneMuon_v1::ptBarrelSagitta ( ) const

◆ ptEndcapAlpha()

float xAOD::L2StandAloneMuon_v1::ptEndcapAlpha ( ) const

◆ ptEndcapBeta()

float xAOD::L2StandAloneMuon_v1::ptEndcapBeta ( ) const

◆ ptEndcapRadius()

float xAOD::L2StandAloneMuon_v1::ptEndcapRadius ( ) const

◆ rapidity()

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

The true rapidity (y) of the particle.

Implements xAOD::IParticle.

◆ removedCsmId()

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

◆ removedRobId()

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

◆ rMax()

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

normal sector

overlap sector

Definition at line 629 of file L2StandAloneMuon_v1.cxx.

629 {
630
631 if ( station < 0 ) return 0;
632
633 if ( sector == 0 ) {
635 if ( rmaxnAcc( *this ).size() > (unsigned int)station ) {
636 return rmaxnAcc( *this ).at( station );
637 } else {
638 return 0.;
639 }
640
641 } else if ( sector == 1 ) {
643
644 if ( rmaxoAcc( *this ).size() > (unsigned int)station ) {
645 return rmaxoAcc( *this ).at( station );
646 } else {
647 return 0.;
648 }
649
650 }
651
652 return 0.;
653 }
static const SG::AuxElement::Accessor< std::vector< float > > rmaxoAcc("rMaxOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > rmaxnAcc("rMaxNormal")

◆ rMin()

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

R.

R range.

normal sector

overlap sector

Definition at line 603 of file L2StandAloneMuon_v1.cxx.

603 {
604
605 if ( station < 0 ) return 0;
606
607 if ( sector == 0 ) {
609 if ( rminnAcc( *this ).size() > (unsigned int)station ) {
610 return rminnAcc( *this ).at( station );
611 } else {
612 return 0.;
613 }
614
615 } else if ( sector == 1 ) {
617
618 if ( rminoAcc( *this ).size() > (unsigned int)station ) {
619 return rminoAcc( *this ).at( station );
620 } else {
621 return 0.;
622 }
623
624 }
625
626 return 0.;
627 }
static const SG::AuxElement::Accessor< std::vector< float > > rminoAcc("rMinOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > rminnAcc("rMinNormal")
R range.

◆ rMS()

float xAOD::L2StandAloneMuon_v1::rMS ( ) const

Get the R at muon spectrometer.

◆ roadAw()

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

Slope.

Road slope.

normal sector

overlap sector

Definition at line 496 of file L2StandAloneMuon_v1.cxx.

496 {
497
498 if ( station < 0 ) return 0;
499
500 if ( sector == 0 ) {
502 if ( awnAcc( *this ).size() > (unsigned int)station ) {
503 return awnAcc( *this ).at( station );
504 } else {
505 return 0.;
506 }
507
508 } else if ( sector == 1 ) {
510
511 if ( awoAcc( *this ).size() > (unsigned int)station ) {
512 return awoAcc( *this ).at( station );
513 } else {
514 return 0.;
515 }
516
517 }
518
519 return 0.;
520 }
static const SG::AuxElement::Accessor< std::vector< float > > awoAcc("roadAwOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > awnAcc("roadAwNormal")
road slope and intercept

◆ roadBw()

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

Intercept.

Road intercept.

normal sector

overlap sector

Definition at line 523 of file L2StandAloneMuon_v1.cxx.

523 {
524
525 if ( station < 0 ) return 0;
526
527 if ( sector == 0 ) {
529 if ( bwnAcc( *this ).size() > (unsigned int)station ) {
530 return bwnAcc( *this ).at( station );
531 } else {
532 return 0.;
533 }
534
535 } else if ( sector == 1 ) {
537
538 if ( bwoAcc( *this ).size() > (unsigned int)station ) {
539 return bwoAcc( *this ).at( station );
540 } else {
541 return 0.;
542 }
543
544 }
545
546 return 0.;
547 }
static const SG::AuxElement::Accessor< std::vector< float > > bwoAcc("roadBwOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > bwnAcc("roadBwNormal")

◆ robCapacity()

int xAOD::L2StandAloneMuon_v1::robCapacity ( ) const

◆ robId()

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

ROB info.

◆ roiEta()

uint32_t xAOD::L2StandAloneMuon_v1::roiEta ( ) const

Get and set RoI eta.

◆ roiId()

uint32_t xAOD::L2StandAloneMuon_v1::roiId ( ) const

Get and set RoI ID.

◆ roiNumber()

uint32_t xAOD::L2StandAloneMuon_v1::roiNumber ( ) const

Get and set RoI number.

◆ roiPhi()

uint32_t xAOD::L2StandAloneMuon_v1::roiPhi ( ) const

Get and set RoI phi.

Definition at line 356 of file L2StandAloneMuon_v1.cxx.

356 {
357 static const Accessor< uint32_t > acc( "roiPhiUint" );
358 return acc( *this );
359 }
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.

◆ roiSector()

uint32_t xAOD::L2StandAloneMuon_v1::roiSector ( ) const

Get and set RoI sector ID.

◆ roiSubsystem()

uint32_t xAOD::L2StandAloneMuon_v1::roiSubsystem ( ) const

Get and set RoI subsystem ID.

◆ roiSystem()

uint32_t xAOD::L2StandAloneMuon_v1::roiSystem ( ) const

Get and set RoI system ID.

◆ roiThreshold()

uint32_t xAOD::L2StandAloneMuon_v1::roiThreshold ( ) const

Get and set RoI threshold number.

◆ roiWord()

uint32_t xAOD::L2StandAloneMuon_v1::roiWord ( ) const

Get the RoI ID of the seeding LVL1 muon.

◆ rpc1x()

float xAOD::L2StandAloneMuon_v1::rpc1x ( ) const

Get the results of RPC fit.

◆ rpc1y()

float xAOD::L2StandAloneMuon_v1::rpc1y ( ) const

◆ rpc1z()

float xAOD::L2StandAloneMuon_v1::rpc1z ( ) const

◆ rpc2x()

float xAOD::L2StandAloneMuon_v1::rpc2x ( ) const

◆ rpc2y()

float xAOD::L2StandAloneMuon_v1::rpc2y ( ) const

◆ rpc2z()

float xAOD::L2StandAloneMuon_v1::rpc2z ( ) const

◆ rpc3x()

float xAOD::L2StandAloneMuon_v1::rpc3x ( ) const

◆ rpc3y()

float xAOD::L2StandAloneMuon_v1::rpc3y ( ) const

◆ rpc3z()

float xAOD::L2StandAloneMuon_v1::rpc3z ( ) const

◆ rpcHitsCapacity()

int xAOD::L2StandAloneMuon_v1::rpcHitsCapacity ( ) const

◆ sAddress()

int xAOD::L2StandAloneMuon_v1::sAddress ( ) const

Get the station address of the muon.

◆ setAlgoId()

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

◆ setBarrelRadius()

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

Set the fitted radius of the muon in the barrel.

◆ setBarrelSagitta()

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

Set the fitted sagitta of the muon in the barrel.

◆ setBeta()

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

Set beta.

◆ setCapacities()

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

Definition at line 1326 of file L2StandAloneMuon_v1.cxx.

1326 {
1327
1328 setExtensionCapacity( ext );
1329 setRobCapacity( rob );
1330 setCsmCapacity( csm );
1331 setLvl1EmuCapacity( lvl1 );
1332 setRpcHitsCapacity( rpc );
1333 setTgcHitsCapacity( tgc );
1334 setMdtHitsCapacity( mdt );
1335
1336 return;
1337 }
void setCsmCapacity(int value)
Set size of CSM storage.
void setRpcHitsCapacity(int value)
Set size of storage for RPC hits.
void setMdtHitsCapacity(int value)
Set size of storage for MDT hits.
void setLvl1EmuCapacity(int value)
Set size of L1 emulation storage.
void setTgcHitsCapacity(int value)
Set size of storage for TGC hits.
void setExtensionCapacity(int value)
Size of storage to be reserved.
void setRobCapacity(int value)
Set size of ROB storage.

◆ setChamberType1()

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

Set the muon road information.

Set road properties.

Chamber types

Normal sector

Overlap sector

Definition at line 712 of file L2StandAloneMuon_v1.cxx.

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

◆ setChamberType2()

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

Normal sector

Overlap sector

Definition at line 739 of file L2StandAloneMuon_v1.cxx.

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

◆ setConvertedCsm()

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

Get CSM information object.

Set CSM information object

Definition at line 1534 of file L2StandAloneMuon_v1.cxx.

1534 {
1535
1536 // Make sure that the size of vector is still within the capacity
1537 if ( csmidAcc( *this ).size() >= (unsigned int)csmCapacity() ) return;
1538
1539 // Set the variables:
1540 csmidAcc( *this ).push_back( csm );
1541 csmszAcc( *this ).push_back( sz );
1542
1543 return;
1544 }
static Double_t sz
static const SG::AuxElement::Accessor< std::vector< uint32_t > > csmszAcc("csmSize")
static const SG::AuxElement::Accessor< std::vector< uint32_t > > csmidAcc("csmId")
Object for CSM info.

◆ setCsmCapacity()

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

Set size of CSM storage.

Definition at line 1226 of file L2StandAloneMuon_v1.cxx.

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

◆ setCsmError()

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

Definition at line 1546 of file L2StandAloneMuon_v1.cxx.

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

◆ setDeltaEta()

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

Set error of eta.

◆ setDeltaPhi()

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

Set error of phi.

◆ setDeltaPt()

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

Set error of pT.

◆ setDeltaR()

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

Set deltaR.

◆ setDirPhiMS()

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

Set tan phi at muon spectrometer.

◆ setDirZMS()

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

Set dRdZ at muon spectrometer.

◆ setEndcapAlpha()

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

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

◆ setEndcapBeta()

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

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

◆ setEndcapRadius()

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

Set the fitted radius of the muon in the endcap.

◆ setEta()

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

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

Definition at line 83 of file L2StandAloneMuon_v1.cxx.

83 {
84
85 static const Accessor< float > acc( "eta" );
86 acc( *this ) = eta;
87 return;
88 }
virtual double eta() const
The pseudorapidity ( ) of the particle.

◆ setEtaBin()

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

Set eta bin of pT LUT.

◆ setEtaHigh()

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

Definition at line 1446 of file L2StandAloneMuon_v1.cxx.

1446 {
1447
1448 if ( lvl1eAcc( *this ).size() < 10 ) lvl1eAcc( *this ).resize( 10 );
1449
1450 lvl1eAcc( *this ).at( 6 ) = ly00;
1451 lvl1eAcc( *this ).at( 7 ) = ly01;
1452 lvl1eAcc( *this ).at( 8 ) = ly10;
1453 lvl1eAcc( *this ).at( 9 ) = ly11;
1454
1455 return;
1456 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > lvl1eAcc("lvl1Emulation")
Object for level 1 emulation info.

◆ setEtaLow()

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

Definition at line 1434 of file L2StandAloneMuon_v1.cxx.

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

◆ setEtaMap()

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

Set eta used to refer pT LUT.

◆ setEtaMS()

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

Set the eta at muon spectrometer.

◆ setEtaPivot()

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

Get level 1 emulation object.

Set level 1 emulation object

Definition at line 1424 of file L2StandAloneMuon_v1.cxx.

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

◆ setExtension0()

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

Set extenstion.

Get extension object.

Set and get methods for extenstions

Definition at line 1355 of file L2StandAloneMuon_v1.cxx.

1355 {
1356 // Make sure that the size of vector is still within the capacity
1357 if ( ext0Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1358 // Set the variables:
1359 ext0Acc( *this ).push_back( value );
1360 }
int extensionCapacity() const
Get and set maximum size of storages to be reserved.
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext0Acc("extension0")
Object for accessing extenstion variables.

◆ setExtension1()

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

Definition at line 1361 of file L2StandAloneMuon_v1.cxx.

1361 {
1362 // Make sure that the size of vector is still within the capacity
1363 if ( ext1Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1364 // Set the variables:
1365 ext1Acc( *this ).push_back( value );
1366 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext1Acc("extension1")

◆ setExtension2()

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

Definition at line 1367 of file L2StandAloneMuon_v1.cxx.

1367 {
1368 // Make sure that the size of vector is still within the capacity
1369 if ( ext2Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1370 // Set the variables:
1371 ext2Acc( *this ).push_back( value );
1372 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext2Acc("extension2")

◆ setExtension3()

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

Definition at line 1373 of file L2StandAloneMuon_v1.cxx.

1373 {
1374 // Make sure that the size of vector is still within the capacity
1375 if ( ext3Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1376 // Set the variables:
1377 ext3Acc( *this ).push_back( value );
1378 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext3Acc("extension3")

◆ setExtension4()

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

Definition at line 1379 of file L2StandAloneMuon_v1.cxx.

1379 {
1380 // Make sure that the size of vector is still within the capacity
1381 if ( ext4Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1382 // Set the variables:
1383 ext4Acc( *this ).push_back( value );
1384 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext4Acc("extension4")

◆ setExtension5()

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

Definition at line 1385 of file L2StandAloneMuon_v1.cxx.

1385 {
1386 // Make sure that the size of vector is still within the capacity
1387 if ( ext5Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1388 // Set the variables:
1389 ext5Acc( *this ).push_back( value );
1390 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext5Acc("extension5")

◆ setExtension6()

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

Definition at line 1391 of file L2StandAloneMuon_v1.cxx.

1391 {
1392 // Make sure that the size of vector is still within the capacity
1393 if ( ext6Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1394 // Set the variables:
1395 ext6Acc( *this ).push_back( value );
1396 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext6Acc("extension6")

◆ setExtension7()

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

Definition at line 1397 of file L2StandAloneMuon_v1.cxx.

1397 {
1398 // Make sure that the size of vector is still within the capacity
1399 if ( ext7Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1400 // Set the variables:
1401 ext7Acc( *this ).push_back( value );
1402 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext7Acc("extension7")

◆ setExtension8()

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

Definition at line 1403 of file L2StandAloneMuon_v1.cxx.

1403 {
1404 // Make sure that the size of vector is still within the capacity
1405 if ( ext8Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1406 // Set the variables:
1407 ext8Acc( *this ).push_back( value );
1408 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext8Acc("extension8")

◆ setExtension9()

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

Definition at line 1409 of file L2StandAloneMuon_v1.cxx.

1409 {
1410 // Make sure that the size of vector is still within the capacity
1411 if ( ext9Acc( *this ).size() >= (unsigned int)extensionCapacity() ) return;
1412 // Set the variables:
1413 ext9Acc( *this ).push_back( value );
1414 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > ext9Acc("extension9")

◆ setExtensionCapacity()

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

Size of storage to be reserved.

Set size of extension stirage

Definition at line 1190 of file L2StandAloneMuon_v1.cxx.

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

◆ setInterceptInner()

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

Set the intercept at endcap.

◆ setIsRpcFailure()

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

Set flag to record if RPC is properly read.

◆ setIsTgcFailure()

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

Set flag to record if TGC is properly read.

◆ setLumiBlock()

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

◆ setLvl1EmuCapacity()

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

Set size of L1 emulation storage.

Definition at line 1242 of file L2StandAloneMuon_v1.cxx.

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

◆ setLvl1Id()

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

◆ setMdtHit()

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

Set the properties of each MDT tube.

Definition at line 1768 of file L2StandAloneMuon_v1.cxx.

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

◆ setMdtHitsCapacity()

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

Set size of storage for MDT hits.

Definition at line 1306 of file L2StandAloneMuon_v1.cxx.

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

◆ setMuonDetMask()

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

◆ setPadHit()

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

Set RPC pad hits.

Get RPC pad object.

Set RPC pad hits

Definition at line 1582 of file L2StandAloneMuon_v1.cxx.

1583 {
1584 // Make sure that the size of vector is still within the capacity
1585 if ( padiAcc( *this ).size() >= (unsigned int)rpcHitsCapacity() ) return;
1586
1587 // Set the variables:
1588 padiAcc( *this ).push_back( onlineId );
1589 padcAcc( *this ).push_back( code );
1590 padxAcc( *this ).push_back( x );
1591 padyAcc( *this ).push_back( y );
1592 padzAcc( *this ).push_back( z );
1593 padrAcc( *this ).push_back( r );
1594 padpAcc( *this ).push_back( p );
1595
1596 return;
1597 }
#define y
#define x
static const SG::AuxElement::Accessor< std::vector< uint32_t > > padcAcc("padHitCode")
static const SG::AuxElement::Accessor< std::vector< float > > padrAcc("padHitR")
static const SG::AuxElement::Accessor< std::vector< float > > padxAcc("padHitX")
static const SG::AuxElement::Accessor< std::vector< uint32_t > > padiAcc("padHitOnlineId")
Object for accessing RPC pad hits.
static const SG::AuxElement::Accessor< std::vector< float > > padpAcc("padHitP")
static const SG::AuxElement::Accessor< std::vector< float > > padzAcc("padHitZ")
static const SG::AuxElement::Accessor< std::vector< float > > padyAcc("padHitY")

◆ setPhi()

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

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

Definition at line 90 of file L2StandAloneMuon_v1.cxx.

90 {
91
92 static const Accessor< float > acc( "phi" );
93 acc( *this ) = phi;
94 return;
95 }
virtual double phi() const
The azimuthal angle ( ) of the particle.

◆ setPhiBin()

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

Set phi bin of pT LUT.

◆ setPhiHigh()

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

Definition at line 1480 of file L2StandAloneMuon_v1.cxx.

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

◆ setPhiLow()

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

Definition at line 1468 of file L2StandAloneMuon_v1.cxx.

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

◆ setPhiMap()

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

Set phi used to refer pT LUT.

◆ setPhiMS()

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

Set the phi at muon spectrometer.

◆ setPhiPivot()

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

Definition at line 1458 of file L2StandAloneMuon_v1.cxx.

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

◆ setPt()

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

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

◆ setPtBarrelRadius()

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

◆ setPtBarrelSagitta()

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

◆ setPtEndcapAlpha()

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

◆ setPtEndcapBeta()

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

◆ setPtEndcapRadius()

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

◆ setRegionEta()

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

Eta range.

Normal sector

minimum eta

maximum eta

Overlap sector

minimum eta

maximum eta

Definition at line 899 of file L2StandAloneMuon_v1.cxx.

899 {
900
901 // Make sure that the variables are big enough:
902 if( eminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
903 eminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
904 }
905 if( emaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
906 emaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
907 }
908 if( eminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
909 eminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
910 }
911 if( emaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
912 emaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
913 }
914
915 // Make sure that the variables are big enough:
916 if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
917 if ( sector < 0 || sector > 1 ) return;
918
919 if (sector == 0 ) {
921
923 eminnAcc( *this ).at( station ) = min;
924
926 emaxnAcc( *this ).at( station ) = max;
927
928 } else if ( sector == 1 ) {
930
932 eminoAcc( *this ).at( station ) = min;
933
935 emaxoAcc( *this ).at( station ) = max;
936
937 }
938
939 return;
940 }
#define min(a, b)
Definition cfImp.cxx:40
#define max(a, b)
Definition cfImp.cxx:41

◆ setRegionR()

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

R range.

Normal sector

minimum R

maximum R

Overlap sector

minimum R

maximum R

Definition at line 855 of file L2StandAloneMuon_v1.cxx.

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

◆ setRegionZ()

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

Z range.

Normal sector

minimum Z

mazimum Z

Overlap sector

minimum Z

maximum Z

Definition at line 811 of file L2StandAloneMuon_v1.cxx.

811 {
812
813 // Make sure that the variables are big enough:
814 if( zminnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
815 zminnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
816 }
817 if( zmaxnAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
818 zmaxnAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
819 }
820 if( zminoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
821 zminoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
822 }
823 if( zmaxoAcc( *this ).size() < L2MuonParameters::Chamber::MaxChamber ) {
824 zmaxoAcc( *this ).resize( L2MuonParameters::Chamber::MaxChamber, 0.0 );
825 }
826
827 // Make sure that the variables are big enough:
828 if ( station < 0 || station >= L2MuonParameters::Chamber::MaxChamber ) return;
829 if ( sector < 0 || sector > 1 ) return;
830
831 if (sector == 0 ) {
833
835 zminnAcc( *this ).at( station ) = min;
836
838 zmaxnAcc( *this ).at( station ) = max;
839
840 } else if ( sector == 1 ) {
842
844 zminoAcc( *this ).at( station ) = min;
845
847 zmaxoAcc( *this ).at( station ) = max;
848
849 }
850
851 return;
852 }
static const SG::AuxElement::Accessor< std::vector< float > > zminnAcc("zMinNormal")
Z range.
static const SG::AuxElement::Accessor< std::vector< float > > zmaxnAcc("zMaxNormal")
static const SG::AuxElement::Accessor< std::vector< float > > zmaxoAcc("zMaxOverlap")
static const SG::AuxElement::Accessor< std::vector< float > > zminoAcc("zMinOverlap")

◆ setRemovedCsm()

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

Definition at line 1558 of file L2StandAloneMuon_v1.cxx.

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

◆ setRemovedRob()

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

Definition at line 1512 of file L2StandAloneMuon_v1.cxx.

1512 {
1513
1514 // Make sure that the size of vector is still within the capacity
1515 if ( robrmAcc( *this ).size() >= (unsigned int)robCapacity() ) return;
1516
1517 // Set the variables:
1518 robrmAcc( *this ).push_back( rob );
1519
1520 return;
1521 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > robrmAcc("removedRobId")

◆ setRequestedRob()

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

Get ROB information object.

Set ROB information object

Definition at line 1501 of file L2StandAloneMuon_v1.cxx.

1501 {
1502
1503 // Make sure that the size of vector is still within the capacity
1504 if ( robidAcc( *this ).size() >= (unsigned int)robCapacity() ) return;
1505
1506 // Set the variables:
1507 robidAcc( *this ).push_back( rob );
1508
1509 return;
1510 }
static const SG::AuxElement::Accessor< std::vector< uint32_t > > robidAcc("robId")
Object for ROB info.

◆ setRMS()

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

Set the R at muon spectrometer.

◆ setRoad()

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

Road.

Normal sector

Slope

Intercept

Overlap sector

Slope

Intercept

Definition at line 767 of file L2StandAloneMuon_v1.cxx.

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

◆ setRobCapacity()

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

Set size of ROB storage.

Definition at line 1212 of file L2StandAloneMuon_v1.cxx.

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

◆ setRoiEta()

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

◆ setRoiId()

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

◆ setRoiNumber()

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

◆ setRoiPhi()

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

Definition at line 360 of file L2StandAloneMuon_v1.cxx.

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

◆ setRoiSector()

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

◆ setRoiSubsystem()

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

◆ setRoiSystem()

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

◆ setRoiThreshold()

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

◆ setRoIWord()

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

Set the RoI ID of the seeding LVL1 muon.

◆ setRpc1()

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

Set the results of RPC fit.

Get the results of RPC fit.

Set the results of RPC fit

Definition at line 1069 of file L2StandAloneMuon_v1.cxx.

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

◆ setRpc2()

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

Definition at line 1082 of file L2StandAloneMuon_v1.cxx.

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

◆ setRpc3()

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

Definition at line 1095 of file L2StandAloneMuon_v1.cxx.

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

◆ setRpcHitsCapacity()

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

Set size of storage for RPC hits.

Definition at line 1255 of file L2StandAloneMuon_v1.cxx.

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

◆ setSAddress()

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

Set the station address of the muon.

◆ setSlopeInner()

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

Set the slope at endcap.

◆ setSuperPoint()

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

Set the properties of one particular super point measurement.

Set superPoint properties.

Definition at line 221 of file L2StandAloneMuon_v1.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
241 if (chamber >=0 && chamber < L2MuonParameters::Chamber::MaxChamber ) {
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 }
double chi2(TH1 *h0, TH1 *h1)
static const SG::AuxElement::Accessor< std::vector< float > > spzAcc("superPointZ")
Object for accessing the superPointZ variable.
static const SG::AuxElement::Accessor< std::vector< float > > spcAcc("superPointChi2")
Object for accessing the superPointChi2 variable.
static const SG::AuxElement::Accessor< std::vector< float > > spiAcc("superPointIntercept")
Object for accessing the superPointIntercept variable.
static const SG::AuxElement::Accessor< std::vector< float > > spsAcc("superPointSlope")
Object for accessing the superPointSlope variable.
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt static setDeltaPhi const SG::AuxElement::Accessor< std::vector< float > > sprAcc("superPointR")
Object for accessing the superPointR variable.

◆ setTeId()

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

◆ setTgcHitsCapacity()

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

Set size of storage for TGC hits.

Definition at line 1274 of file L2StandAloneMuon_v1.cxx.

1274 {
1275
1276 static const Accessor< int > tcapAcc( "tgcHitsCapacity" );
1277 tcapAcc( *this ) = value;
1278
1279 if ( value > 0 ) {
1280 tirpAcc( *this ).reserve( (unsigned int)value );
1281 tirrAcc( *this ).reserve( (unsigned int)value );
1282 tirzAcc( *this ).reserve( (unsigned int)value );
1283 tirwAcc( *this ).reserve( (unsigned int)value );
1284 tiriAcc( *this ).reserve( (unsigned int)value );
1285 tippAcc( *this ).reserve( (unsigned int)value );
1286 tiprAcc( *this ).reserve( (unsigned int)value );
1287 tipzAcc( *this ).reserve( (unsigned int)value );
1288 tipwAcc( *this ).reserve( (unsigned int)value );
1289 tipiAcc( *this ).reserve( (unsigned int)value );
1290 tmrpAcc( *this ).reserve( (unsigned int)value );
1291 tmrrAcc( *this ).reserve( (unsigned int)value );
1292 tmrzAcc( *this ).reserve( (unsigned int)value );
1293 tmrwAcc( *this ).reserve( (unsigned int)value );
1294 tmriAcc( *this ).reserve( (unsigned int)value );
1295 tmppAcc( *this ).reserve( (unsigned int)value );
1296 tmprAcc( *this ).reserve( (unsigned int)value );
1297 tmpzAcc( *this ).reserve( (unsigned int)value );
1298 tmpwAcc( *this ).reserve( (unsigned int)value );
1299 tmpiAcc( *this ).reserve( (unsigned int)value );
1300 }
1301
1302 return;
1303 }
static const SG::AuxElement::Accessor< std::vector< float > > tmrzAcc("tgcMidRhoHitZ")
static const SG::AuxElement::Accessor< std::vector< uint32_t > > tipiAcc("tgcInnPhiHitInSeg")
static const SG::AuxElement::Accessor< std::vector< uint32_t > > tmriAcc("tgcMidRhoHitInSeg")
static const SG::AuxElement::Accessor< std::vector< float > > tmrwAcc("tgcMidRhoHitWidth")
static const SG::AuxElement::Accessor< std::vector< float > > tippAcc("tgcInnPhiHitPhi")
static const SG::AuxElement::Accessor< std::vector< float > > tipwAcc("tgcInnPhiHitWidth")
static const SG::AuxElement::Accessor< std::vector< uint32_t > > tiriAcc("tgcInnRhoHitInSeg")
static const SG::AuxElement::Accessor< std::vector< float > > tmpzAcc("tgcMidPhiHitZ")
static const SG::AuxElement::Accessor< std::vector< float > > tmppAcc("tgcMidPhiHitPhi")
static const SG::AuxElement::Accessor< std::vector< float > > tmrpAcc("tgcMidRhoHitPhi")
static const SG::AuxElement::Accessor< std::vector< float > > tmpwAcc("tgcMidPhiHitWidth")
static const SG::AuxElement::Accessor< std::vector< float > > tirpAcc("tgcInnRhoHitPhi")
Object for accessing TGC hits.
static const SG::AuxElement::Accessor< std::vector< float > > tirrAcc("tgcInnRhoHitR")
static const SG::AuxElement::Accessor< std::vector< uint32_t > > tmpiAcc("tgcMidPhiHitInSeg")
static const SG::AuxElement::Accessor< std::vector< float > > tmprAcc("tgcMidPhiHitR")
static const SG::AuxElement::Accessor< std::vector< float > > tirwAcc("tgcInnRhoHitWidth")
static const SG::AuxElement::Accessor< std::vector< float > > tipzAcc("tgcInnPhiHitZ")
static const SG::AuxElement::Accessor< std::vector< float > > tiprAcc("tgcInnPhiHitR")
static const SG::AuxElement::Accessor< std::vector< float > > tirzAcc("tgcInnRhoHitZ")
static const SG::AuxElement::Accessor< std::vector< float > > tmrrAcc("tgcMidRhoHitR")

◆ setTgcInn()

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

Get the results of TGC fit.

Set the results of TGC fit

Definition at line 976 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcInnF()

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

Definition at line 991 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcInnPhiHit()

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

Definition at line 1641 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcInnRhoHit()

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

Set TGC hits.

Get TGC hits.

Set TGC hits

Definition at line 1626 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcMid1()

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

Definition at line 1006 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcMid2()

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

Definition at line 1021 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcMidF()

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

Definition at line 1036 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcMidPhiHit()

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

Definition at line 1671 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcMidRhoHit()

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

Definition at line 1656 of file L2StandAloneMuon_v1.cxx.

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

◆ setTgcPt()

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

Set the results of TGC fit.

◆ setTrackPosition()

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

Set position of muon track.

Definition at line 302 of file L2StandAloneMuon_v1.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 }
static const SG::AuxElement::Accessor< std::vector< float > > trkphiAcc("trackPositionPhi")
static const SG::AuxElement::Accessor< std::vector< float > > trkzAcc("trackPositionZ")
static const SG::AuxElement::Accessor< std::vector< float > > trketaAcc("trackPositionEta")

◆ setZMS()

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

Set the Z at muon spectrometer.

◆ slopeInner()

float xAOD::L2StandAloneMuon_v1::slopeInner ( ) const

Get the slope at inner.

◆ superPointChi2()

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

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

Definition at line 212 of file L2StandAloneMuon_v1.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_v1::superPointIntercept ( int chamber) const

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

Definition at line 204 of file L2StandAloneMuon_v1.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_v1::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_v1.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_v1::superPointSlope ( int chamber) const

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

Definition at line 196 of file L2StandAloneMuon_v1.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_v1::superPointZ ( int chamber) const

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

Definition at line 188 of file L2StandAloneMuon_v1.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_v1::teId ( ) const

Get and set input TE ID.

◆ tgcHitsCapacity()

int xAOD::L2StandAloneMuon_v1::tgcHitsCapacity ( ) const

◆ tgcInnEta()

float xAOD::L2StandAloneMuon_v1::tgcInnEta ( ) const

◆ tgcInnPhi()

float xAOD::L2StandAloneMuon_v1::tgcInnPhi ( ) const

◆ tgcInnPhiHitInSeg()

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

◆ tgcInnPhiHitPhi()

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

◆ tgcInnPhiHitR()

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

◆ tgcInnPhiHitWidth()

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

◆ tgcInnPhiHitZ()

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

◆ tgcInnPhiN()

long xAOD::L2StandAloneMuon_v1::tgcInnPhiN ( ) const

◆ tgcInnPhiStd()

float xAOD::L2StandAloneMuon_v1::tgcInnPhiStd ( ) const

◆ tgcInnR()

float xAOD::L2StandAloneMuon_v1::tgcInnR ( ) const

◆ tgcInnRhoHitInSeg()

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

◆ tgcInnRhoHitPhi()

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

Get TGC hits.

◆ tgcInnRhoHitR()

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

◆ tgcInnRhoHitWidth()

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

◆ tgcInnRhoHitZ()

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

◆ tgcInnRhoN()

long xAOD::L2StandAloneMuon_v1::tgcInnRhoN ( ) const

◆ tgcInnRhoStd()

float xAOD::L2StandAloneMuon_v1::tgcInnRhoStd ( ) const

◆ tgcInnZ()

float xAOD::L2StandAloneMuon_v1::tgcInnZ ( ) const

◆ tgcMid1Eta()

float xAOD::L2StandAloneMuon_v1::tgcMid1Eta ( ) const

◆ tgcMid1Phi()

float xAOD::L2StandAloneMuon_v1::tgcMid1Phi ( ) const

◆ tgcMid1R()

float xAOD::L2StandAloneMuon_v1::tgcMid1R ( ) const

◆ tgcMid1Z()

float xAOD::L2StandAloneMuon_v1::tgcMid1Z ( ) const

◆ tgcMid2Eta()

float xAOD::L2StandAloneMuon_v1::tgcMid2Eta ( ) const

◆ tgcMid2Phi()

float xAOD::L2StandAloneMuon_v1::tgcMid2Phi ( ) const

◆ tgcMid2R()

float xAOD::L2StandAloneMuon_v1::tgcMid2R ( ) const

◆ tgcMid2Z()

float xAOD::L2StandAloneMuon_v1::tgcMid2Z ( ) const

◆ tgcMidPhiChi2()

float xAOD::L2StandAloneMuon_v1::tgcMidPhiChi2 ( ) const

◆ tgcMidPhiHitInSeg()

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

◆ tgcMidPhiHitPhi()

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

◆ tgcMidPhiHitR()

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

◆ tgcMidPhiHitWidth()

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

◆ tgcMidPhiHitZ()

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

◆ tgcMidPhiN()

long xAOD::L2StandAloneMuon_v1::tgcMidPhiN ( ) const

◆ tgcMidRhoChi2()

float xAOD::L2StandAloneMuon_v1::tgcMidRhoChi2 ( ) const

◆ tgcMidRhoHitInSeg()

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

◆ tgcMidRhoHitPhi()

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

◆ tgcMidRhoHitR()

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

◆ tgcMidRhoHitWidth()

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

◆ tgcMidRhoHitZ()

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

◆ tgcMidRhoN()

long xAOD::L2StandAloneMuon_v1::tgcMidRhoN ( ) const

◆ tgcPt()

float xAOD::L2StandAloneMuon_v1::tgcPt ( ) const

Get the results of TGC fit.

◆ trackPositionEta()

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

Get eta postion of track.

Definition at line 285 of file L2StandAloneMuon_v1.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_v1::trackPositionPhi ( unsigned int n) const

Get phi postion of track.

Definition at line 293 of file L2StandAloneMuon_v1.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_v1::trackPositionR ( unsigned int n) const

Get R postion of track.

Definition at line 269 of file L2StandAloneMuon_v1.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_v1::trackPositionZ ( unsigned int n) const

Get Z postion of track.

Definition at line 277 of file L2StandAloneMuon_v1.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_v1::type ( ) const
virtual

The type of the object as a simple enumeration.

Implements xAOD::IParticle.

◆ zMax()

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

normal sector

overlap sector

Definition at line 576 of file L2StandAloneMuon_v1.cxx.

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

◆ zMin()

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

Z.

Z range.

normal sector

overlap sector

Definition at line 550 of file L2StandAloneMuon_v1.cxx.

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

◆ zMS()

float xAOD::L2StandAloneMuon_v1::zMS ( ) const

Get the Z at muon spectrometer.


The documentation for this class was generated from the following files: