8#ifndef XAODTRIGMUON_VERSIONS_L2STANDALONEMUON_V1_H
9#define XAODTRIGMUON_VERSIONS_L2STANDALONEMUON_V1_H
21#include "Math/Vector4D.h"
46 virtual double pt()
const;
48 virtual double eta()
const;
50 virtual double phi()
const;
52 virtual double m()
const;
54 virtual double e()
const;
65 typedef ROOT::Math::LorentzVector<ROOT::Math::PtEtaPhiM4D<double> >
GenVecFourMom_t;
71 virtual Type::ObjectType
type()
const;
231 void setSuperPoint(
int chamber,
float r,
float z,
float slope,
float intercept=0.,
float chi2=0. );
319 float roadAw(
int station,
int sector )
const;
321 float roadBw(
int station,
int sector )
const;
323 float zMin(
int station,
int sector )
const;
324 float zMax(
int station,
int sector )
const;
326 float rMin(
int station,
int sector )
const;
327 float rMax(
int station,
int sector )
const;
329 float etaMin(
int station,
int sector )
const;
330 float etaMax(
int station,
int sector )
const;
335 void setRoad(
int station,
int sector,
float aw,
float bw );
372 void setTgcInnF(
float rhoStd,
long rhoN,
float phiStd,
long phiN );
375 void setTgcMidF(
float rhoChi2,
long rhoN,
float phiChi2,
long phiN );
417 void setCapacities(
int ext,
int rob,
int csm,
int lvl1,
int rpc,
int tgc,
int mdt );
452 const std::vector< uint32_t >&
robId()
const;
458 const std::vector< uint32_t >&
csmId()
const;
459 const std::vector< uint32_t >&
csmSize()
const;
510 float mdtHitR(
unsigned int tube )
const;
511 float mdtHitZ(
unsigned int tube )
const;
518 float residual,
float time,
float space,
float sigma );
std::ostream & operator<<(std::ostream &out, const xAOD::L2StandAloneMuon_v1 &mu)
Operator for printing the contents of a LVL2 muon.
Class describing standalone muons reconstructed in the LVL2 trigger.
void setPhiBin(int value)
Set phi bin of pT LUT.
int phiBin() const
Get phi bin of pT LUT.
void setSlopeInner(float value)
Set the slope at endcap.
void setInterceptInner(float value)
Set the intercept at endcap.
const std::vector< float > & tgcInnPhiHitWidth() const
const std::vector< float > & tgcInnPhiHitR() const
float ptEndcapBeta() const
float etaMap() const
Get eta used to refer pT LUT.
void setPhiMS(float value)
Set the phi at muon spectrometer.
void setRemovedRob(uint32_t rob)
float dirPhiMS() const
Get tan phi at muon spectrometer.
void setPhiPivot(uint32_t ly0, uint32_t ly1)
float endcapBeta() const
Get the fitted value in the endcap.
void setExtension4(uint32_t value)
void setRemovedCsm(uint32_t csm)
void setEtaMap(float value)
Set eta used to refer pT LUT.
void setRMS(float value)
Set the R at muon spectrometer.
virtual double rapidity() const
The true rapidity (y) of the particle.
float deltaPhi() const
Get error of phi.
void setTgcInnPhiHit(float phi, float r, float z, float width, uint32_t in_seg)
int mdtHitsCapacity() const
void setRoiThreshold(uint32_t value)
void setEndcapAlpha(float value)
Set the fitted value in the endcap.
float tgcInnPhiStd() const
const std::vector< uint32_t > & extension0() const
Get extenstion.
void setEtaHigh(uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
void setTeId(uint32_t value)
void setExtension2(uint32_t value)
float ptEndcapRadius() const
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
float deltaEta() const
Get error of eta.
int isTgcFailure() const
Get flag to see if TGC is properly read.
void setCsmCapacity(int value)
Set size of CSM storage.
void setTgcInnF(float rhoStd, long rhoN, float phiStd, long phiN)
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
uint32_t roiNumber() const
Get and set RoI number.
const std::vector< float > & tgcInnRhoHitR() const
void setRoiSubsystem(uint32_t value)
const std::vector< uint32_t > & csmError() const
uint32_t nTrackPositions() const
Number of track positions stored.
void setPhiHigh(uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
const std::vector< float > & tgcMidPhiHitWidth() const
void setTgcMidRhoHit(float phi, float r, float z, float width, uint32_t in_seg)
const std::vector< float > & tgcMidPhiHitR() const
const std::vector< uint32_t > & tgcMidRhoHitInSeg() const
void setRoiEta(uint32_t value)
uint32_t roiWord() const
Get the RoI ID of the seeding LVL1 muon.
float etaMS() const
Get the eta at muon spectrometer.
float deltaPt() const
Get error of pT.
void setIsTgcFailure(int value)
Set flag to record if TGC is properly read.
const std::vector< uint32_t > & lvl1Emulation() const
Level 1 emulation info.
void setCapacities(int ext, int rob, int csm, int lvl1, int rpc, int tgc, int mdt)
void setPhiLow(uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
void setLvl1Id(uint32_t value)
int chamberType1(int station, int sector) const
Get the muon road information Chamber type.
float superPointIntercept(int chamber) const
Get the measured intercept of the muon in one particular super point.
virtual FourMom_t p4() const
The full 4-momentum of the particle.
float tgcMidPhiChi2() const
void setRequestedRob(uint32_t rob)
Get ROB information object.
const std::vector< uint32_t > & extension7() const
float ptBarrelSagitta() const
float dirZMS() const
Get dRdZ at muon spectrometer.
void setRoad(int station, int sector, float aw, float bw)
Road.
float rpc1x() const
Get the results of RPC fit.
void setAlgoId(int value)
uint32_t muonDetMask() const
Get and set detector mask.
const std::vector< float > & padHitZ() const
void setExtension0(uint32_t value)
Set extenstion.
float roadAw(int station, int sector) const
Slope.
void setPtBarrelSagitta(float value)
void setTrackPosition(float r, float z, float eta, float phi)
Set position of muon track.
void setEtaPivot(uint32_t ly0, uint32_t ly1)
Get level 1 emulation object.
float superPointSlope(int chamber) const
Get the measured slope of the muon in one particular super point.
int rpcHitsCapacity() const
float endcapAlpha() const
Get the fitted value in the endcap.
const std::vector< float > & tgcInnRhoHitPhi() const
Get TGC hits.
const std::vector< uint32_t > & csmId() const
CSM info.
void setRoIWord(uint32_t value)
Set the RoI ID of the seeding LVL1 muon.
uint32_t roiSector() const
Get and set RoI sector ID.
float zMS() const
Get the Z at muon spectrometer.
void setRpcHitsCapacity(int value)
Set size of storage for RPC hits.
const std::vector< uint32_t > & extension8() const
void setTgcMid1(float eta, float phi, float r, float z)
void setEtaMS(float value)
Set the eta at muon spectrometer.
void setMdtHitsCapacity(int value)
Set size of storage for MDT hits.
void setExtension6(uint32_t value)
const std::vector< float > & tgcMidRhoHitWidth() const
void setRegionR(int station, int sector, float min, float max)
R range.
void setPtBarrelRadius(float value)
float etaMin(int station, int sector) const
Eta.
uint32_t roiEta() const
Get and set RoI eta.
void setRoiSystem(uint32_t value)
float phiMap() const
Get phi used to refer pT LUT.
float mdtHitSpace(unsigned int tube) const
void setExtension8(uint32_t value)
TLorentzVector FourMom_t
Definition of the 4-momentum type.
float beta() const
Get beta.
void setZMS(float value)
Set the Z at muon spectrometer.
uint32_t mdtHitChamber(unsigned int tube) const
void setEtaLow(uint32_t ly00, uint32_t ly01, uint32_t ly10, uint32_t ly11)
void setLvl1EmuCapacity(int value)
Set size of L1 emulation storage.
float trackPositionZ(unsigned int n) const
Get Z postion of track.
void setIsRpcFailure(int value)
Set flag to record if RPC is properly read.
void setPhiMap(float value)
Set phi used to refer pT LUT.
void setExtension5(uint32_t value)
uint32_t lumiBlock() const
Get and set lumi block.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
float trackPositionPhi(unsigned int n) const
Get phi postion of track.
const std::vector< uint32_t > & padHitOnlineId() const
Get RPC pad hits.
L2StandAloneMuon_v1()
Constructor.
void setTgcMidF(float rhoChi2, long rhoN, float phiChi2, long phiN)
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.
int sAddress() const
Get the station address of the muon.
float zMax(int station, int sector) const
uint32_t nMdtHits() const
Get the online ID, offline ID, R, Z, redidual, time, space and sigma of each MDT tube.
float tgcPt() const
Get the results of TGC fit.
uint32_t roiSubsystem() const
Get and set RoI subsystem ID.
const std::vector< float > & padHitX() const
void setPtEndcapRadius(float value)
int isRpcFailure() const
Get flag to see if RPC is properly read.
const std::vector< uint32_t > & extension4() const
void setExtension7(uint32_t value)
void setDirZMS(float value)
Set dRdZ at muon spectrometer.
const std::vector< float > & padHitY() const
float barrelSagitta() const
Get the fitted sagitta of the muon in the barrel.
int algoId() const
Get and set L2 muon algorithm ID (defined above)
float roadBw(int station, int sector) const
Intercept.
float mdtHitTime(unsigned int tube) const
float mdtHitSigma(unsigned int tube) const
void setTgcHitsCapacity(int value)
Set size of storage for TGC hits.
void setBarrelRadius(float value)
Set the fitted radius of the muon in the barrel.
void setExtension9(uint32_t value)
void setDeltaEta(float value)
Set error of eta.
void setTgcInn(float eta, float phi, float r, float z)
Get the results of TGC fit.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
void setConvertedCsm(uint32_t csm, uint32_t sz)
Get CSM information object.
float superPointZ(int chamber) const
Get the measured Z position of the muon in one particular super point.
float endcapRadius() const
Get the fitted radius of the muon in the endcap.
void setTgcInnRhoHit(float phi, float r, float z, float width, uint32_t in_seg)
Set TGC hits.
float tgcInnRhoStd() const
virtual double pt() const
The transverse momentum ( ) of the particle.
void setRoiNumber(uint32_t value)
void setEndcapRadius(float value)
Set the fitted radius of the muon in the endcap.
float phiMS() const
Get the phi at muon spectrometer.
void setRegionEta(int station, int sector, float min, float max)
Eta range.
void setRoiPhi(uint32_t value)
virtual double phi() const
The azimuthal angle ( ) of the particle.
const std::vector< uint32_t > & extension1() const
void setEndcapBeta(float value)
Set the fitted value in the endcap.
void setTgcMid2(float eta, float phi, float r, float z)
void setDirPhiMS(float value)
Set tan phi at muon spectrometer.
float ptEndcapAlpha() const
void setExtensionCapacity(int value)
Size of storage to be reserved.
float tgcMidRhoChi2() 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.
const std::vector< float > & tgcInnPhiHitPhi() const
const std::vector< uint32_t > & extension6() const
const std::vector< float > & tgcInnRhoHitWidth() const
int lvl1EmuCapacity() const
void setDeltaPt(float value)
Set error of pT.
void setRegionZ(int station, int sector, float min, float max)
Z range.
uint32_t lvl1Id() const
Get and set extended level-1 ID.
virtual double e() const
The total energy of the particle.
const std::vector< float > & tgcMidPhiHitPhi() const
float slopeInner() const
Get the slope at inner.
void setMuonDetMask(uint32_t value)
void setCsmError(uint32_t err)
const std::vector< float > & tgcMidRhoHitZ() const
float zMin(int station, int sector) const
Z.
void setRpc1(float x, float y, float z)
Set the results of RPC fit.
const std::vector< uint32_t > & extension5() const
const std::vector< uint32_t > & tgcInnPhiHitInSeg() const
float ptBarrelRadius() const
Set and get pT from different algorithms.
void setRpc3(float x, float y, float z)
const std::vector< uint32_t > & tgcMidPhiHitInSeg() const
const std::vector< uint32_t > & robId() const
ROB info.
const std::vector< float > & padHitR() const
const std::vector< float > & tgcInnPhiHitZ() const
void setSAddress(int value)
Set the station address of the muon.
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
void setBeta(float value)
Set beta.
const std::vector< uint32_t > & padHitCode() const
const std::vector< uint32_t > & extension3() const
uint32_t roiPhi() const
Get and set RoI phi.
const std::vector< uint32_t > & tgcInnRhoHitInSeg() const
float rMS() const
Get the R at muon spectrometer.
int chamberType2(int station, int sector) const
uint32_t roiThreshold() const
Get and set RoI threshold number.
float superPointChi2(int chamber) const
Get the chi2 of the fit in one particular super point.
void setExtension3(uint32_t value)
uint32_t mdtHitOnlineId(unsigned int tube) const
virtual double m() const
The invariant mass of the particle.
int etaBin() const
Get eta bin of pT LUT.
float rMax(int station, int sector) const
const std::vector< uint32_t > & csmSize() const
void setDeltaR(float value)
Set deltaR.
float superPointR(int chamber) const
Get the measured radious of the muon in one particular super point.
void setDeltaPhi(float value)
Set error of phi.
float deltaR() const
Get deltaR.
const std::vector< uint32_t > & removedCsmId() const
void setChamberType1(int station, int sector, int chamberType)
Set the muon road information.
virtual double eta() const
The pseudorapidity ( ) of the particle.
const std::vector< float > & tgcMidRhoHitPhi() const
float barrelRadius() const
Get the fitted radius of the muon in the barrel.
const std::vector< float > & tgcMidPhiHitZ() const
void setPadHit(uint32_t onlineId, uint32_t code, float x, float y, float z, float r, float p)
Set RPC pad hits.
void setLumiBlock(uint32_t value)
float interceptInner() const
Get the intercept at inner.
void setEtaBin(int value)
Set eta bin of pT LUT.
float mdtHitR(unsigned int tube) const
void setRoiId(uint32_t value)
float mdtHitResidual(unsigned int tube) const
void setRoiSector(uint32_t value)
float rMin(int station, int sector) const
R.
void setTgcPt(float value)
Set the results of TGC fit.
void setRobCapacity(int value)
Set size of ROB storage.
float trackPositionR(unsigned int n) const
Get R postion of track.
const std::vector< float > & tgcMidRhoHitR() const
void setExtension1(uint32_t value)
void setChamberType2(int station, int sector, int chamberType)
void setBarrelSagitta(float value)
Set the fitted sagitta of the muon in the barrel.
float mdtHitZ(unsigned int tube) const
int tgcHitsCapacity() const
const std::vector< uint32_t > & extension2() const
int extensionCapacity() const
Get and set maximum size of storages to be reserved.
uint32_t roiId() const
Get and set RoI ID.
void setPtEndcapAlpha(float value)
uint32_t roiSystem() const
Get and set RoI system ID.
const std::vector< float > & padHitP() const
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
const std::vector< uint32_t > & extension9() const
uint32_t mdtHitOfflineId(unsigned int tube) const
void setPtEndcapBeta(float value)
const std::vector< float > & tgcInnRhoHitZ() const
uint32_t teId() const
Get and set input TE ID.
float trackPositionEta(unsigned int n) const
Get eta postion of track.
const std::vector< uint32_t > & removedRobId() const
void setRpc2(float x, float y, float z)
void setTgcMidPhiHit(float phi, float r, float z, float width, uint32_t in_seg)
double chi2(TH1 *h0, TH1 *h1)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.