#include <L2StandAloneMuon_v2.h>
Public Member Functions | |
L2StandAloneMuon_v2 () | |
Constructor. | |
4-momentum setter functions | |
void | setPt (float pt) |
Set the transverse momentum () of the muon. | |
void | setEta (float eta) |
Set the pseudorapidity () of the muon. | |
void | setPhi (float phi) |
Set the azimuthal angle () 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 value in the endcap. | |
void | setEndcapAlpha (float value) |
Set the fitted value in the endcap. | |
float | endcapBeta () const |
Get the fitted value in the endcap. | |
void | setEndcapBeta (float value) |
Set the fitted 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 | 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 | deltaPtParm1 () const |
Get and set parameter sets for delta pT calculation. | |
void | setDeltaPtParm1 (float value) |
float | deltaPtParm2 () const |
void | setDeltaPtParm2 (float value) |
float | deltaPtParm3 () const |
void | setDeltaPtParm3 (float value) |
float | deltaEta () const |
Get error of eta. | |
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) |
float | roiEta () const |
Get and set RoI eta. | |
void | setRoiEta (float value) |
float | roiPhi () const |
Get and set RoI phi. | |
void | setRoiPhi (float value) |
float | tgcPt () const |
Set and get pT from different algorithms. | |
void | setTgcPt (float value) |
float | ptBarrelRadius () const |
void | setPtBarrelRadius (float value) |
float | ptBarrelSagitta () const |
void | setPtBarrelSagitta (float value) |
float | ptEndcapAlpha () const |
void | setPtEndcapAlpha (float value) |
float | ptEndcapBeta () const |
void | setPtEndcapBeta (float value) |
float | ptEndcapRadius () const |
void | setPtEndcapRadius (float value) |
float | ptCSC () const |
void | setPtCSC (float value) |
int | chamberType1 (int station, int sector) const |
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 | tgcInnEta () const |
Get the results of TGC fit. | |
float | tgcInnPhi () const |
float | tgcInnR () const |
float | tgcInnZ () const |
float | tgcInnRhoStd () const |
long | tgcInnRhoN () const |
float | tgcInnPhiStd () const |
long | tgcInnPhiN () const |
float | tgcMid1Eta () const |
float | tgcMid1Phi () const |
float | tgcMid1R () const |
float | tgcMid1Z () const |
float | tgcMid2Eta () const |
float | tgcMid2Phi () const |
float | tgcMid2R () const |
float | tgcMid2Z () const |
float | tgcMidRhoChi2 () const |
long | tgcMidRhoN () const |
float | tgcMidPhiChi2 () const |
long | tgcMidPhiN () const |
void | setTgcInn (float eta, float phi, float r, float z) |
Set the results of TGC fit. | |
void | setTgcInnF (float rhoStd, long rhoN, float phiStd, long phiN) |
void | setTgcMid1 (float eta, float phi, float r, float z) |
void | setTgcMid2 (float eta, float phi, float r, float z) |
void | setTgcMidF (float rhoChi2, long rhoN, float phiChi2, long phiN) |
float | rpcFitInnPhi () const |
Get the results of RPC fit. | |
float | rpcFitInnSlope () const |
float | rpcFitInnOffset () const |
float | rpcFitMidPhi () const |
float | rpcFitMidSlope () const |
float | rpcFitMidOffset () const |
float | rpcFitOutPhi () const |
float | rpcFitOutSlope () const |
float | rpcFitOutOffset () const |
void | setRpcFitInn (float phi, float slope, float offset) |
Set the results of RPC fit. | |
void | setRpcFitMid (float phi, float slope, float offset) |
void | setRpcFitOut (float phi, float slope, float offset) |
int | rpcHitsCapacity () const |
Get and set maximum size of storages to be reserved. | |
void | setRpcHitsCapacity (int value) |
////////////////////////////////////////////////////////////////////////// | |
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. | |
int | cscHitsCapacity () const |
void | setCscHitsCapacity (int value) |
Set size of storage for CSC hits. | |
void | setCapacities (int rpc, int tgc, int mdt, int csc) |
const std::vector< uint32_t > & | rpcHitLayer () const |
Get RPC hits. | |
const std::vector< uint32_t > & | rpcHitMeasuresPhi () const |
const std::vector< float > & | rpcHitX () const |
const std::vector< float > & | rpcHitY () const |
const std::vector< float > & | rpcHitZ () const |
const std::vector< float > & | rpcHitTime () const |
const std::vector< float > & | rpcHitDistToEtaReadout () const |
const std::vector< float > & | rpcHitDistToPhiReadout () const |
const std::vector< std::string > & | rpcHitStationName () const |
void | setRpcHit (uint32_t layer, uint32_t measuresPhi, float x, float y, float z, float time, float distEta, float distPhi, std::string stationName) |
Set RPC hits. | |
const std::vector< float > & | tgcHitEta () const |
Get TGC hits. | |
const std::vector< float > & | tgcHitPhi () const |
const std::vector< float > & | tgcHitR () const |
const std::vector< float > & | tgcHitZ () const |
const std::vector< float > & | tgcHitWidth () const |
const std::vector< int > & | tgcHitStationNum () const |
const std::vector< bool > & | tgcHitIsStrip () const |
const std::vector< int > & | tgcHitBCTag () const |
const std::vector< bool > & | tgcHitInRoad () const |
void | setTgcHit (float eta, float phi, float r, float z, float width, int stationNum, bool isStrip, int bcTag, bool inRoad) |
Set TGC hits. | |
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 |
int | mdtHitOfflineId (unsigned int tube) const |
int | mdtHitIsOutlier (unsigned int tube) const |
int | mdtHitChamber (unsigned int tube) const |
float | mdtHitR (unsigned int tube) const |
float | mdtHitZ (unsigned int tube) const |
float | mdtHitPhi (unsigned int tube) const |
float | mdtHitResidual (unsigned int tube) const |
float | mdtHitTime (unsigned int tube) const |
float | mdtHitSpace (unsigned int tube) const |
float | mdtHitSigma (unsigned int tube) const |
void | setMdtHit (uint32_t onlineId, int isOutier, int chamber, float r, float z, float phi, float residual, float time, float space, float sigma) |
Set the properties of each MDT tube. | |
uint32_t | nCscHits () const |
Get CSC hits. | |
int | cscHitIsOutlier (unsigned int tube) const |
int | cscHitChamber (unsigned int tube) const |
uint32_t | cscHitStationName (unsigned int tube) const |
int | cscHitStationEta (unsigned int tube) const |
int | cscHitStationPhi (unsigned int tube) const |
int | cscHitChamberLayer (unsigned int tube) const |
int | cscHitWireLayer (unsigned int tube) const |
int | cscHitMeasuresPhi (unsigned int tube) const |
int | cscHitStrip (unsigned int tube) const |
float | cscHitEta (unsigned int tube) const |
float | cscHitPhi (unsigned int tube) const |
float | cscHitR (unsigned int tube) const |
float | cscHitZ (unsigned int tube) const |
int | cscHitCharge (unsigned int tube) const |
float | cscHitTime (unsigned int tube) const |
float | cscHitResidual (unsigned int tube) const |
void | setCscHit (int isOutlier, int chamber, uint32_t stationName, int stationEta, int stationPhi, int chamberLayer, int wireLayer, int measuresPhi, int strip, float eta, float phi, float r, float z, int charge, float time, float residual) |
Set the properties of each CSC tube. | |
Functions implementing the xAOD::IParticle interface | |
| |
typedef TLorentzVector | FourMom_t |
Definition of the 4-momentum type. | |
virtual double | pt () const |
The transverse momentum () of the particle. | |
virtual double | eta () const |
The pseudorapidity () of the particle. | |
virtual double | phi () const |
The azimuthal angle () 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 const FourMom_t & | p4 () const |
The full 4-momentum of the particle. | |
virtual Type::ObjectType | type () const |
The type of the object as a simple enumeration. |
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.
int xAOD::L2StandAloneMuon_v2::chamberType1 | ( | int | station, | |
int | sector | |||
) | const |
Get the muon road information Chamber type
Get road properties
Chamber types
normal sector
overlap sector
int xAOD::L2StandAloneMuon_v2::chamberType2 | ( | int | station, | |
int | sector | |||
) | const |
normal sector
overlap sector
float xAOD::L2StandAloneMuon_v2::etaMax | ( | int | station, | |
int | sector | |||
) | const |
normal sector
overlap sector
float xAOD::L2StandAloneMuon_v2::etaMin | ( | int | station, | |
int | sector | |||
) | const |
Eta.
Eta range.
normal sector
overlap sector
uint32_t xAOD::L2StandAloneMuon_v2::nCscHits | ( | ) | const |
Get CSC hits.
Get and set CSC hits
uint32_t xAOD::L2StandAloneMuon_v2::nMdtHits | ( | ) | const |
Get the online ID, offline ID, R, Z, redidual, time, space and sigma of each MDT tube.
//////////////////////////////////////////////////////////////////////////
Get and set MDT hits
uint32_t xAOD::L2StandAloneMuon_v2::nTrackPositions | ( | ) | const |
Number of track positions stored.
Get and set track positions.
float xAOD::L2StandAloneMuon_v2::rMax | ( | int | station, | |
int | sector | |||
) | const |
normal sector
overlap sector
float xAOD::L2StandAloneMuon_v2::rMin | ( | int | station, | |
int | sector | |||
) | const |
R.
R range.
normal sector
overlap sector
float xAOD::L2StandAloneMuon_v2::roadAw | ( | int | station, | |
int | sector | |||
) | const |
Slope.
Road slope.
normal sector
overlap sector
float xAOD::L2StandAloneMuon_v2::roadBw | ( | int | station, | |
int | sector | |||
) | const |
Intercept.
Road intercept.
normal sector
overlap sector
void xAOD::L2StandAloneMuon_v2::setChamberType1 | ( | int | station, | |
int | sector, | |||
int | chamberType | |||
) |
Set the muon road information.
Set road properties.
Chamber types
Normal sector
Overlap sector
void xAOD::L2StandAloneMuon_v2::setChamberType2 | ( | int | station, | |
int | sector, | |||
int | chamberType | |||
) |
Normal sector
Overlap sector
void xAOD::L2StandAloneMuon_v2::setRegionEta | ( | int | station, | |
int | sector, | |||
float | min, | |||
float | max | |||
) |
Eta range.
Normal sector
minimum eta
maximum eta
Overlap sector
minimum eta
maximum eta
void xAOD::L2StandAloneMuon_v2::setRegionR | ( | int | station, | |
int | sector, | |||
float | min, | |||
float | max | |||
) |
R range.
Normal sector
minimum R
maximum R
Overlap sector
minimum R
maximum R
void xAOD::L2StandAloneMuon_v2::setRegionZ | ( | int | station, | |
int | sector, | |||
float | min, | |||
float | max | |||
) |
Z range.
Normal sector
minimum Z
mazimum Z
Overlap sector
minimum Z
maximum Z
void xAOD::L2StandAloneMuon_v2::setRoad | ( | int | station, | |
int | sector, | |||
float | aw, | |||
float | bw | |||
) |
Road.
Normal sector
Slope
Intercept
Overlap sector
Slope
Intercept
void xAOD::L2StandAloneMuon_v2::setRpcFitInn | ( | float | phi, | |
float | slope, | |||
float | offset | |||
) |
Set the results of RPC fit.
//////////////////////////////////////////////////////////////////////////
Get the results of TGC fit
void xAOD::L2StandAloneMuon_v2::setRpcHit | ( | uint32_t | layer, | |
uint32_t | measuresPhi, | |||
float | x, | |||
float | y, | |||
float | z, | |||
float | time, | |||
float | distEta, | |||
float | distPhi, | |||
std::string | stationName | |||
) |
Set RPC hits.
//////////////////////////////////////////////////////////////////////////
Get RPC object Set RPC rpc hits
void xAOD::L2StandAloneMuon_v2::setRpcHitsCapacity | ( | int | value | ) |
//////////////////////////////////////////////////////////////////////////
Size of storage to be reserved Set size of storage for RPC hits
void xAOD::L2StandAloneMuon_v2::setSuperPoint | ( | int | chamber, | |
float | r, | |||
float | z, | |||
float | slope, | |||
float | intercept = 0. , |
|||
float | chi2 = 0. | |||
) |
Set the properties of one particular super point measurement.
Set superPoint properties.
void xAOD::L2StandAloneMuon_v2::setTgcHit | ( | float | eta, | |
float | phi, | |||
float | r, | |||
float | z, | |||
float | width, | |||
int | stationName, | |||
bool | isStrip, | |||
int | bcTag, | |||
bool | inRoad | |||
) |
Set TGC hits.
//////////////////////////////////////////////////////////////////////////
Get TGC hits Set the results of TGC fit
void xAOD::L2StandAloneMuon_v2::setTgcInn | ( | float | eta, | |
float | phi, | |||
float | r, | |||
float | z | |||
) |
Set the results of TGC fit.
//////////////////////////////////////////////////////////////////////////
Get the results of TGC fit Set the results of TGC fit
float xAOD::L2StandAloneMuon_v2::superPointR | ( | int | chamber | ) | const |
Get the measured radious of the muon in one particular super point.
Get superPoint properties.
float xAOD::L2StandAloneMuon_v2::zMax | ( | int | station, | |
int | sector | |||
) | const |
normal sector
overlap sector
float xAOD::L2StandAloneMuon_v2::zMin | ( | int | station, | |
int | sector | |||
) | const |
Z.
Z range.
normal sector
overlap sector