8#ifndef XAODTRIGMUON_VERSIONS_L2STANDALONEMUON_V2_H
9#define XAODTRIGMUON_VERSIONS_L2STANDALONEMUON_V2_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;
226 void setSuperPoint(
int chamber,
float r,
float z,
float slope,
float intercept=0.,
float chi2=0. );
320 float roadAw(
int station,
int sector )
const;
322 float roadBw(
int station,
int sector )
const;
324 float zMin(
int station,
int sector )
const;
325 float zMax(
int station,
int sector )
const;
327 float rMin(
int station,
int sector )
const;
328 float rMax(
int station,
int sector )
const;
330 float etaMin(
int station,
int sector )
const;
331 float etaMax(
int station,
int sector )
const;
336 void setRoad(
int station,
int sector,
float aw,
float bw );
369 void setTgcInnF(
float rhoStd,
long rhoN,
float phiStd,
long phiN );
372 void setTgcMidF(
float rhoChi2,
long rhoN,
float phiChi2,
long phiN );
422 float time,
float distEta,
float distPhi,
const std::string& stationName );
436 int stationNum,
bool isStrip,
int bcTag,
bool inRoad);
444 float mdtHitR(
unsigned int tube )
const;
445 float mdtHitZ(
unsigned int tube )
const;
446 float mdtHitPhi(
unsigned int tube )
const;
453 float residual,
float time,
float space,
float sigma );
466 float cscHitEta(
unsigned int tube )
const;
467 float cscHitPhi(
unsigned int tube )
const;
468 float cscHitR(
unsigned int tube )
const;
469 float cscHitZ(
unsigned int tube )
const;
475 int stationEta,
int stationPhi,
int chamberLayer,
int wireLayer,
int measuresPhi,
int strip,
476 float eta,
float phi,
float r,
float z,
int charge,
float time,
float residual );
493 const float eta,
const float phi,
const float r,
const float z,
494 const float residualR,
const float residualPhi,
495 const int stationEta,
const int stationPhi,
const int stationName );
510 void setMmCluster(
const unsigned int layer,
const int isOutlier,
511 const float eta,
const float phi,
const float r,
const float z,
512 const float residualR,
const float residualPhi,
513 const int stationEta,
const int stationPhi,
const int stationName );
std::ostream & operator<<(std::ostream &out, const xAOD::L2StandAloneMuon_v2 &mu)
Operator for printing the contents of a LVL2 muon.
unsigned bcTag(unsigned bcBitMap)
Class describing standalone muons reconstructed in the LVL2 trigger.
uint32_t roiNumber() const
Get and set RoI number.
void setRegionR(int station, int sector, float min, float max)
R range.
void setEta(float eta)
Set the pseudorapidity ( ) of the muon.
void setStgcCluster(const unsigned int layer, const int isOutlier, const int type, const float eta, const float phi, const float r, const float z, const float residualR, const float residualPhi, const int stationEta, const int stationPhi, const int stationName)
Set sTGC hits.
float tgcMidRhoChi2() const
const std::vector< int > & mmClusterStationEta() const
void setBeta(float value)
Set beta.
float barrelRadius() const
Get the fitted radius of the muon in the barrel.
void setRpcFitInn(float phi, float slope, float offset)
Set the results of RPC fit.
void setPhi(float phi)
Set the azimuthal angle ( ) of the muon.
uint32_t muonDetMask() const
Get and set detector mask.
const std::vector< int > & tgcHitBCTag() const
void setRpcHit(uint32_t layer, uint32_t measuresPhi, float x, float y, float z, float time, float distEta, float distPhi, const std::string &stationName)
Set RPC hits.
int mdtHitChamber(unsigned int tube) const
float tgcInnPhiStd() 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.
float roadAw(int station, int sector) const
Slope.
float rpcFitInnSlope() const
void setBarrelSagitta(float value)
Set the fitted sagitta of the muon in the barrel.
int sAddress() const
Get the station address of the muon.
const std::vector< float > & mmClusterPhi() const
int tgcHitsCapacity() const
void setDeltaPt(float value)
Set error of pT.
const std::vector< int > & stgcClusterStationEta() const
void setEtaMS(float value)
Set the eta at muon spectrometer.
int phiBin() const
Get phi bin of pT LUT.
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.
float rpcFitInnPhi() const
Get the results of RPC fit.
void setTgcInn(float eta, float phi, float r, float z)
Set the results of TGC fit.
uint32_t roiSystem() const
Get and set RoI system ID.
float barrelSagitta() const
Get the fitted sagitta of the muon in the barrel.
float deltaPtParm3() const
const std::vector< unsigned int > & stgcClusterLayer() const
Get sTGC clusters.
float roadBw(int station, int sector) const
Intercept.
void setDeltaPtParm2(float value)
float deltaPt() const
Get error of pT.
float superPointIntercept(int chamber) const
Get the measured intercept of the muon in one particular super point.
void setMmClustersCapacity(const int value)
Set size of storage for MM clusters.
const std::vector< float > & stgcClusterZ() const
void setDeltaEta(float value)
Set error of eta.
const std::vector< float > & mmClusterEta() const
int cscHitMeasuresPhi(unsigned int tube) const
float tgcInnRhoStd() const
float trackPositionZ(unsigned int n) const
Get Z postion of track.
float mdtHitZ(unsigned int tube) const
float rpcFitOutOffset() const
float ptEndcapBeta() const
const std::vector< float > & rpcHitDistToEtaReadout() const
void setPtBarrelRadius(float value)
void setRoiSystem(uint32_t value)
int mdtHitOfflineId(unsigned int tube) const
float mdtHitPhi(unsigned int tube) const
void setRoad(int station, int sector, float aw, float bw)
Road.
const std::vector< float > & mmClusterZ() const
float rpcFitOutPhi() const
void setTgcHit(float eta, float phi, float r, float z, float width, int stationNum, bool isStrip, int bcTag, bool inRoad)
Set TGC hits.
void setRoiNumber(uint32_t value)
float dirPhiMS() const
Get tan phi at muon spectrometer.
const std::vector< float > & stgcClusterResidualPhi() const
void setDeltaPhi(float value)
Set error of phi.
int cscHitCharge(unsigned int tube) const
const std::vector< int > & mmClusterStationPhi() const
L2StandAloneMuon_v2()
Constructor.
void setPtEndcapRadius(float value)
float mdtHitSigma(unsigned int tube) const
float roiEta() const
Get and set RoI eta.
const std::vector< std::string > & rpcHitStationName() const
void setTgcMid2(float eta, float phi, float r, float z)
float etaMS() const
Get the eta at muon spectrometer.
void setDeltaPtParm1(float value)
float cscHitEta(unsigned int tube) const
void setCapacities(int rpc, int tgc, int mdt, int csc)
float deltaPhi() const
Get error of phi.
float phiMS() const
Get the phi at muon spectrometer.
int chamberType2(int station, int sector) const
float roiPhi() const
Get and set RoI phi.
void setStgcClustersCapacity(const int value)
Set size of storage for sTGC clusters.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal trig muon type.
void setTrackPosition(float r, float z, float eta, float phi)
Set position of muon track.
float ptBarrelSagitta() const
uint32_t roiSector() const
Get and set RoI sector ID.
float etaMap() const
Get eta used to refer pT LUT.
int chamberType1(int station, int sector) const
Get the muon road information Chamber type.
void setRMS(float value)
Set the R at muon spectrometer.
void setPtCSC(float value)
int rpcHitsCapacity() const
Get and set maximum size of storages to be reserved.
const std::vector< float > & stgcClusterEta() const
float deltaPtParm1() const
Get and set parameter sets for delta pT calculation.
int isRpcFailure() const
Get flag to see if RPC is properly read.
float trackPositionPhi(unsigned int n) const
Get phi postion of track.
int isTgcFailure() const
Get flag to see if TGC is properly read.
void setLumiBlock(uint32_t value)
void setRoiThreshold(uint32_t value)
float tgcMidPhiChi2() const
void setTgcMidF(float rhoChi2, long rhoN, float phiChi2, long phiN)
const std::vector< float > & tgcHitPhi() const
float phiMap() const
Get phi used to refer pT LUT.
int cscHitStationEta(unsigned int tube) const
int cscHitStationPhi(unsigned int tube) const
void setPhiMap(float value)
Set phi used to refer pT LUT.
void setIsTgcFailure(int value)
Set flag to record if TGC is properly read.
float ptEndcapRadius() const
float beta() const
Get beta.
const std::vector< int > & stgcClusterStationName() const
void setRoiSubsystem(uint32_t value)
void setRpcHitsCapacity(int value)
Size of storage to be reserved.
const std::vector< float > & mmClusterResidualR() const
float mdtHitResidual(unsigned int tube) const
void setTeId(uint32_t value)
TLorentzVector FourMom_t
Definition of the 4-momentum type.
int mdtHitIsOutlier(unsigned int tube) const
virtual double pt() const
The transverse momentum ( ) of the particle.
void setRoiSector(uint32_t value)
float rMS() const
Get the R at muon spectrometer.
void setRpcFitOut(float phi, float slope, float offset)
float dirZMS() const
Get dRdZ at muon spectrometer.
float mdtHitR(unsigned int tube) const
const std::vector< int > & mmClusterIsOutlier() const
void setLvl1Id(uint32_t value)
void setChamberType2(int station, int sector, int chamberType)
void setMmCluster(const unsigned int layer, const int isOutlier, const float eta, const float phi, const float r, const float z, const float residualR, const float residualPhi, const int stationEta, const int stationPhi, const int stationName)
Set MM hits.
const std::vector< bool > & tgcHitInRoad() const
void setEtaBin(int value)
Set eta bin of pT LUT.
virtual double m() const
The invariant mass of the particle.
const std::vector< float > & rpcHitZ() const
void setEtaMap(float value)
Set eta used to refer pT LUT.
float zMin(int station, int sector) const
Z.
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double rapidity() const
The true rapidity (y) of the particle.
float rMin(int station, int sector) const
R.
float etaMin(int station, int sector) const
Eta.
void setMuonDetMask(uint32_t value)
float mdtHitSpace(unsigned int tube) const
const std::vector< int > & tgcHitStationNum() const
int cscHitWireLayer(unsigned int tube) const
const std::vector< float > & rpcHitTime() const
const std::vector< float > & stgcClusterR() const
float trackPositionEta(unsigned int n) const
Get eta postion of track.
void setDirPhiMS(float value)
Set tan phi at muon spectrometer.
const std::vector< float > & rpcHitY() const
uint32_t nMdtHits() const
Get the online ID, offline ID, R, Z, redidual, time, space and sigma of each MDT tube.
float cscHitResidual(unsigned int tube) const
int cscHitChamber(unsigned int tube) const
float rMax(int station, int sector) const
uint32_t roiThreshold() const
Get and set RoI threshold number.
int algoId() const
Get and set L2 muon algorithm ID (defined above)
float rpcFitMidPhi() const
uint32_t roiWord() const
Get the RoI ID of the seeding LVL1 muon.
const std::vector< unsigned int > & mmClusterLayer() const
Get MM clusters.
uint32_t roiSubsystem() const
Get and set RoI subsystem ID.
int cscHitChamberLayer(unsigned int tube) const
const std::vector< float > & rpcHitDistToPhiReadout() const
float rpcFitMidSlope() const
void setPtEndcapBeta(float value)
void setPtBarrelSagitta(float value)
void setCscHitsCapacity(int value)
Set size of storage for CSC hits.
float endcapRadius() const
Get the fitted radius of the muon in the endcap.
float endcapAlpha() const
Get the fitted value in the endcap.
void setRegionZ(int station, int sector, float min, float max)
Z range.
const std::vector< uint32_t > & rpcHitLayer() const
Get RPC hits.
uint32_t mdtHitOnlineId(unsigned int tube) const
uint32_t nTrackPositions() const
Number of track positions stored.
void setEndcapRadius(float value)
Set the fitted radius of the muon in the endcap.
float superPointR(int chamber) const
Get the measured radious of the muon in one particular super point.
void setEndcapBeta(float value)
Set the fitted value in the endcap.
const std::vector< float > & tgcHitZ() const
float tgcInnEta() const
Get the results of TGC fit.
void setChamberType1(int station, int sector, int chamberType)
Set the muon road information.
void setSAddress(int value)
Set the station address of the muon.
void setRpcFitMid(float phi, float slope, float offset)
float zMax(int station, int sector) const
const std::vector< int > & stgcClusterStationPhi() const
const std::vector< bool > & tgcHitIsStrip() const
const std::vector< uint32_t > & rpcHitMeasuresPhi() const
void setPhiMS(float value)
Set the phi at muon spectrometer.
float tgcPt() const
Set and get pT from different algorithms.
const std::vector< float > & stgcClusterResidualR() const
uint32_t cscHitStationName(unsigned int tube) const
void setEndcapAlpha(float value)
Set the fitted value in the endcap.
const std::vector< float > & tgcHitR() const
void setRoIWord(uint32_t value)
Set the RoI ID of the seeding LVL1 muon.
const std::vector< float > & tgcHitEta() const
Get TGC hits.
virtual double e() const
The total energy of the particle.
virtual Type::ObjectType type() const
The type of the object as a simple enumeration.
const std::vector< float > & rpcHitX() const
const std::vector< int > & mmClusterStationName() const
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for trig muons.
const std::vector< float > & mmClusterR() const
virtual FourMom_t p4() const
The full 4-momentum of the particle.
uint32_t lumiBlock() const
Get and set lumi block.
float ptEndcapAlpha() const
float superPointChi2(int chamber) const
Get the chi2 of the fit in one particular super point.
void setRoiId(uint32_t value)
void setTgcHitsCapacity(int value)
Set size of storage for TGC hits.
float deltaEta() const
Get error of eta.
int cscHitIsOutlier(unsigned int tube) const
void setRoiEta(float value)
void setTgcMid1(float eta, float phi, float r, float z)
float ptBarrelRadius() const
void setRegionEta(int station, int sector, float min, float max)
Eta range.
void setIsRpcFailure(int value)
Set flag to record if RPC is properly read.
uint32_t nCscHits() const
Get CSC hits.
float cscHitZ(unsigned int tube) const
const std::vector< float > & stgcClusterPhi() const
float rpcFitMidOffset() const
int mdtHitsCapacity() const
void setPt(float pt)
Set the transverse momentum ( ) of the muon.
uint32_t teId() const
Get and set input TE ID.
const std::vector< float > & tgcHitWidth() const
void setRoiPhi(float value)
float deltaPtParm2() const
float trackPositionR(unsigned int n) const
Get R postion of track.
float cscHitTime(unsigned int tube) const
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.
void setMdtHitsCapacity(int value)
Set size of storage for MDT hits.
float zMS() const
Get the Z at muon spectrometer.
float rpcFitInnOffset() const
float mdtHitTime(unsigned int tube) const
const std::vector< int > & stgcClusterIsOutlier() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
float superPointSlope(int chamber) const
Get the measured slope of the muon in one particular super point.
const std::vector< int > & stgcClusterType() const
void setDirZMS(float value)
Set dRdZ at muon spectrometer.
void setAlgoId(int value)
int cscHitsCapacity() const
float cscHitR(unsigned int tube) const
void setPhiBin(int value)
Set phi bin of pT LUT.
float superPointZ(int chamber) const
Get the measured Z position of the muon in one particular super point.
void setZMS(float value)
Set the Z at muon spectrometer.
void setBarrelRadius(float value)
Set the fitted radius of the muon in the barrel.
float cscHitPhi(unsigned int tube) const
void setPtEndcapAlpha(float value)
int etaBin() const
Get eta bin of pT LUT.
void setDeltaPtParm3(float value)
int cscHitStrip(unsigned int tube) const
void setTgcPt(float value)
uint32_t roiId() const
Get and set RoI ID.
float endcapBeta() const
Get the fitted value in the endcap.
uint32_t lvl1Id() const
Get and set extended level-1 ID.
void setTgcInnF(float rhoStd, long rhoN, float phiStd, long phiN)
const std::vector< float > & mmClusterResidualPhi() const
float rpcFitOutSlope() const
double chi2(TH1 *h0, TH1 *h1)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.