CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1MuKBMTrack Class Reference

#include <L1MuKBMTrack.h>

Inheritance diagram for L1MuKBMTrack:
reco::LeafCandidate reco::Candidate

Public Member Functions

void addStub (const L1MuKBMTCombinedStubRef &)
 
int approxChi2 () const
 
int bendingAngle () const
 
int bx () const
 
int coarseEta () const
 
const std::vector< double > & covariance () const
 
int curvature () const
 
int curvatureAtMuon () const
 
int curvatureAtVertex () const
 
int dxy () const
 
int fineEta () const
 
bool hasFineEta () const
 
int hitPattern () const
 
const std::vector< float > & kalmanGain (unsigned int) const
 
 L1MuKBMTrack ()
 
 L1MuKBMTrack (const L1MuKBMTCombinedStubRef &, int, int)
 
bool operator== (const L1MuKBMTrack &t2) const
 
bool overlapTrack (const L1MuKBMTrack &) const
 
int phiAtMuon () const
 
int phiAtVertex () const
 
int phiBAtMuon () const
 
int positionAngle () const
 
float ptUnconstrained () const
 
int quality () const
 
int rank () const
 
int residual (uint) const
 
int sector () const
 
void setApproxChi2 (int)
 
void setCoarseEta (int)
 
void setCoordinates (int, int, int, int)
 
void setCoordinatesAtMuon (int, int, int)
 
void setCoordinatesAtVertex (int, int, int)
 
void setCovariance (const CovarianceMatrix &)
 
void setFineEta (int)
 
void setHitPattern (int)
 
void setKalmanGain (unsigned int step, unsigned int K, float a1, float a2, float a3, float a4=0, float a5=0, float a6=0)
 
void setPtEtaPhi (double, double, double)
 
void setPtUnconstrained (float)
 
void setRank (int)
 
void setResidual (uint, int)
 
void setTrackCompatibility (int)
 
int step () const
 
const L1MuKBMTCombinedStubRefVectorstubs () const
 
int trackCompatibility () const
 
int wheel () const
 
 ~L1MuKBMTrack () override
 
- Public Member Functions inherited from reco::LeafCandidate
Vector boostToCM () const final
 
int charge () const final
 electric charge More...
 
LeafCandidateclone () const override
 returns a clone of the Candidate object More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 fill SMatrix More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isElectron () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isPhoton () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&... args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
double mtSqr () const final
 transverse mass squared More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
void setVertex (const Point &vertex) override
 set vertex More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
const_iterator begin () const
 first daughter const_iterator More...
 
iterator begin ()
 first daughter iterator More...
 
virtual const TrackbestTrack () const
 
 Candidate ()
 default constructor More...
 
virtual float dxyError () const
 uncertainty on dxy More...
 
virtual float dzError () const
 uncertainty on dz More...
 
const_iterator end () const
 last daughter const_iterator More...
 
iterator end ()
 last daughter iterator More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Private Attributes

int approxChi2_ = 0
 
int bx_ = 0
 
int coarseEta_ = 0
 
std::vector< double > covariance_
 
int curv_ = 0
 
int curvMuon_ = 0
 
int curvVertex_ = 0
 
int dxy_ = 0
 
int fineEta_ = 0
 
bool hasFineEta_ = false
 
int hitPattern_ = 0
 
std::vector< float > kalmanGain0_
 
std::vector< float > kalmanGain1_
 
std::vector< float > kalmanGain2_
 
std::vector< float > kalmanGain3_
 
int phi_ = 0
 
int phiB_ = 0
 
int phiBMuon_ = 0
 
int phiMuon_ = 0
 
int phiVertex_ = 0
 
float ptUnconstrained_ = 0
 
int quality_ = 0
 
int rank_ = 0
 
std::vector< int > residuals_
 
int sector_ = 0
 
int step_ = 0
 
L1MuKBMTCombinedStubRefVector stubs_
 
int trackCompatibility_ = 0
 
int wheel_ = 0
 

Additional Inherited Members

- Public Types inherited from reco::LeafCandidate
typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1) / 2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >::type CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

Detailed Description

Definition at line 19 of file L1MuKBMTrack.h.

Constructor & Destructor Documentation

◆ L1MuKBMTrack() [1/2]

L1MuKBMTrack::L1MuKBMTrack ( )

Definition at line 3 of file L1MuKBMTrack.cc.

math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25

◆ ~L1MuKBMTrack()

L1MuKBMTrack::~L1MuKBMTrack ( )
override

Definition at line 5 of file L1MuKBMTrack.cc.

5 {}

◆ L1MuKBMTrack() [2/2]

L1MuKBMTrack::L1MuKBMTrack ( const L1MuKBMTCombinedStubRef seed,
int  phi,
int  phiB 
)

Definition at line 7 of file L1MuKBMTrack.cc.

References residuals_, fileCollector::seed, and stubs_.

9  covariance_(6, 0.0),
10  phi_(phi),
11  phiB_(phiB),
12  step_(seed->stNum()),
13  sector_(seed->scNum()),
14  wheel_(seed->whNum()),
15  quality_(seed->quality()),
16  bx_(seed->bxNum()),
17  rank_(seed->bxNum()) {
18  stubs_.push_back(seed);
19  residuals_.push_back(0);
20  residuals_.push_back(0);
21  residuals_.push_back(0);
22 }
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:205
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:145
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:147
double phi() const final
momentum azimuthal angle

Member Function Documentation

◆ addStub()

void L1MuKBMTrack::addStub ( const L1MuKBMTCombinedStubRef stub)

Definition at line 99 of file L1MuKBMTrack.cc.

References quality_, and stubs_.

99  {
100  if (stub->quality() < quality_)
101  quality_ = stub->quality();
102  stubs_.push_back(stub);
103 }
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:147

◆ approxChi2()

int L1MuKBMTrack::approxChi2 ( ) const

Definition at line 42 of file L1MuKBMTrack.cc.

References approxChi2_.

42 { return approxChi2_; }

◆ bendingAngle()

int L1MuKBMTrack::bendingAngle ( ) const

Definition at line 38 of file L1MuKBMTrack.cc.

References phiB_.

38 { return phiB_; }

◆ bx()

int L1MuKBMTrack::bx ( ) const

Definition at line 59 of file L1MuKBMTrack.cc.

References bx_.

59 { return bx_; }

◆ coarseEta()

int L1MuKBMTrack::coarseEta ( ) const

Definition at line 40 of file L1MuKBMTrack.cc.

References coarseEta_.

40 { return coarseEta_; }

◆ covariance()

const std::vector< double > & L1MuKBMTrack::covariance ( void  ) const

Definition at line 170 of file L1MuKBMTrack.cc.

References covariance_.

170 { return covariance_; }
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:145

◆ curvature()

int L1MuKBMTrack::curvature ( ) const

Definition at line 34 of file L1MuKBMTrack.cc.

References curv_.

34 { return curv_; }

◆ curvatureAtMuon()

int L1MuKBMTrack::curvatureAtMuon ( ) const

Definition at line 24 of file L1MuKBMTrack.cc.

References curvMuon_.

24 { return curvMuon_; }

◆ curvatureAtVertex()

int L1MuKBMTrack::curvatureAtVertex ( ) const

Definition at line 28 of file L1MuKBMTrack.cc.

References curvVertex_.

28 { return curvVertex_; }

◆ dxy()

int L1MuKBMTrack::dxy ( ) const

Definition at line 32 of file L1MuKBMTrack.cc.

References dxy_.

Referenced by Electron.Electron::cutBasedId(), ntupleDataFormat.Track::dxyPull(), and setCoordinatesAtVertex().

32 { return dxy_; }

◆ fineEta()

int L1MuKBMTrack::fineEta ( ) const

Definition at line 55 of file L1MuKBMTrack.cc.

References fineEta_.

55 { return fineEta_; }

◆ hasFineEta()

bool L1MuKBMTrack::hasFineEta ( ) const

Definition at line 57 of file L1MuKBMTrack.cc.

References hasFineEta_.

57 { return hasFineEta_; }

◆ hitPattern()

int L1MuKBMTrack::hitPattern ( ) const

Definition at line 45 of file L1MuKBMTrack.cc.

References hitPattern_.

45 { return hitPattern_; }

◆ kalmanGain()

const std::vector< float > & L1MuKBMTrack::kalmanGain ( unsigned int  step) const

Definition at line 156 of file L1MuKBMTrack.cc.

References kalmanGain0_, kalmanGain1_, kalmanGain2_, and kalmanGain3_.

156  {
157  switch (step) {
158  case 3:
159  return kalmanGain3_;
160  case 2:
161  return kalmanGain2_;
162  case 1:
163  return kalmanGain1_;
164  case 0:
165  return kalmanGain0_;
166  }
167  return kalmanGain0_;
168 }
std::vector< float > kalmanGain0_
Definition: L1MuKBMTrack.h:200
std::vector< float > kalmanGain1_
Definition: L1MuKBMTrack.h:201
std::vector< float > kalmanGain3_
Definition: L1MuKBMTrack.h:203
std::vector< float > kalmanGain2_
Definition: L1MuKBMTrack.h:202
step
Definition: StallMonitor.cc:98

◆ operator==()

bool L1MuKBMTrack::operator== ( const L1MuKBMTrack t2) const
inline

Definition at line 88 of file L1MuKBMTrack.h.

References mps_fire::i, reco::Candidate::size, stubs(), and RandomServiceHelper::t2.

88  {
89  if (this->stubs().size() != t2.stubs().size())
90  return false;
91  for (unsigned int i = 0; i < this->stubs().size(); ++i) {
92  const L1MuKBMTCombinedStubRef& s1 = this->stubs()[i];
93  const L1MuKBMTCombinedStubRef& s2 = t2.stubs()[i];
94  if (s1->scNum() != s2->scNum() || s1->whNum() != s2->whNum() || s1->stNum() != s2->stNum() ||
95  s1->tag() != s2->tag())
96  return false;
97  }
98  return true;
99  }
const L1MuKBMTCombinedStubRefVector & stubs() const
Definition: L1MuKBMTrack.cc:63

◆ overlapTrack()

bool L1MuKBMTrack::overlapTrack ( const L1MuKBMTrack other) const

Definition at line 172 of file L1MuKBMTrack.cc.

References trackingPlots::other, and stubs_.

172  {
173  for (const auto& s1 : stubs_) {
174  for (const auto& s2 : other.stubs()) {
175  if (s1->scNum() == s2->scNum() && s1->whNum() == s2->whNum() && s1->stNum() == s2->stNum() &&
176  s1->tag() == s2->tag())
177  return true;
178  }
179  }
180  return false;
181 }
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:147

◆ phiAtMuon()

int L1MuKBMTrack::phiAtMuon ( ) const

Definition at line 25 of file L1MuKBMTrack.cc.

References phiMuon_.

25 { return phiMuon_; }

◆ phiAtVertex()

int L1MuKBMTrack::phiAtVertex ( ) const

Definition at line 30 of file L1MuKBMTrack.cc.

References phiVertex_.

30 { return phiVertex_; }

◆ phiBAtMuon()

int L1MuKBMTrack::phiBAtMuon ( ) const

Definition at line 26 of file L1MuKBMTrack.cc.

References phiBMuon_.

26 { return phiBMuon_; }

◆ positionAngle()

int L1MuKBMTrack::positionAngle ( ) const

Definition at line 36 of file L1MuKBMTrack.cc.

References phi_.

36 { return phi_; }

◆ ptUnconstrained()

float L1MuKBMTrack::ptUnconstrained ( ) const

Definition at line 53 of file L1MuKBMTrack.cc.

References ptUnconstrained_.

53 { return ptUnconstrained_; }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:197

◆ quality()

int L1MuKBMTrack::quality ( ) const

Definition at line 51 of file L1MuKBMTrack.cc.

References quality_.

51 { return quality_; }

◆ rank()

int L1MuKBMTrack::rank ( ) const

Definition at line 61 of file L1MuKBMTrack.cc.

References rank_.

Referenced by setRank().

61 { return rank_; }

◆ residual()

int L1MuKBMTrack::residual ( uint  i) const

Definition at line 65 of file L1MuKBMTrack.cc.

References mps_fire::i, and residuals_.

65 { return residuals_[i]; }
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:205

◆ sector()

int L1MuKBMTrack::sector ( ) const

Definition at line 48 of file L1MuKBMTrack.cc.

References sector_.

Referenced by geometryXMLparser.DTAlignable::index().

48 { return sector_; }

◆ setApproxChi2()

void L1MuKBMTrack::setApproxChi2 ( int  chi)

Definition at line 90 of file L1MuKBMTrack.cc.

References approxChi2_.

90 { approxChi2_ = chi; }

◆ setCoarseEta()

void L1MuKBMTrack::setCoarseEta ( int  eta)

Definition at line 86 of file L1MuKBMTrack.cc.

References coarseEta_, and reco::LeafCandidate::eta().

86 { coarseEta_ = eta; }
double eta() const final
momentum pseudorapidity

◆ setCoordinates()

void L1MuKBMTrack::setCoordinates ( int  step,
int  curv,
int  phi,
int  phiB 
)

Definition at line 67 of file L1MuKBMTrack.cc.

References curv_, reco::LeafCandidate::phi(), phi_, phiB_, step(), and step_.

67  {
68  step_ = step;
69  curv_ = curv;
70  phiB_ = phiB;
71  phi_ = phi;
72 }
int step() const
Definition: L1MuKBMTrack.cc:47
double phi() const final
momentum azimuthal angle

◆ setCoordinatesAtMuon()

void L1MuKBMTrack::setCoordinatesAtMuon ( int  curv,
int  phi,
int  phiB 
)

Definition at line 80 of file L1MuKBMTrack.cc.

References curvMuon_, reco::LeafCandidate::phi(), phiBMuon_, and phiMuon_.

80  {
81  curvMuon_ = curv;
82  phiMuon_ = phi;
83  phiBMuon_ = phiB;
84 }
double phi() const final
momentum azimuthal angle

◆ setCoordinatesAtVertex()

void L1MuKBMTrack::setCoordinatesAtVertex ( int  curv,
int  phi,
int  dxy 
)

Definition at line 74 of file L1MuKBMTrack.cc.

References curvVertex_, dxy(), dxy_, reco::LeafCandidate::phi(), and phiVertex_.

74  {
75  curvVertex_ = curv;
76  phiVertex_ = phi;
77  dxy_ = dxy;
78 }
int dxy() const
Definition: L1MuKBMTrack.cc:32
double phi() const final
momentum azimuthal angle

◆ setCovariance()

void L1MuKBMTrack::setCovariance ( const CovarianceMatrix c)

Definition at line 183 of file L1MuKBMTrack.cc.

References c, and covariance_.

183  {
184  covariance_[0] = c(0, 0);
185  covariance_[1] = c(0, 1);
186  covariance_[2] = c(1, 1);
187  covariance_[3] = c(0, 2);
188  covariance_[4] = c(1, 2);
189  covariance_[5] = c(2, 2);
190 }
std::vector< double > covariance_
Definition: L1MuKBMTrack.h:145

◆ setFineEta()

void L1MuKBMTrack::setFineEta ( int  eta)

Definition at line 105 of file L1MuKBMTrack.cc.

References reco::LeafCandidate::eta(), fineEta_, and hasFineEta_.

105  {
106  fineEta_ = eta;
107  hasFineEta_ = true;
108 }
double eta() const final
momentum pseudorapidity

◆ setHitPattern()

void L1MuKBMTrack::setHitPattern ( int  pattern)

◆ setKalmanGain()

void L1MuKBMTrack::setKalmanGain ( unsigned int  step,
unsigned int  K,
float  a1,
float  a2,
float  a3,
float  a4 = 0,
float  a5 = 0,
float  a6 = 0 
)

Definition at line 112 of file L1MuKBMTrack.cc.

References testProducerWithPsetDescEmpty_cfi::a2, kalmanGain0_, kalmanGain1_, kalmanGain2_, and kalmanGain3_.

113  {
114  switch (step) {
115  case 3:
116  kalmanGain3_.push_back(K);
117  kalmanGain3_.push_back(a1);
118  kalmanGain3_.push_back(a2);
119  kalmanGain3_.push_back(a3);
120  kalmanGain3_.push_back(a4);
121  kalmanGain3_.push_back(a5);
122  kalmanGain3_.push_back(a6);
123  break;
124  case 2:
125  kalmanGain2_.push_back(K);
126  kalmanGain2_.push_back(a1);
127  kalmanGain2_.push_back(a2);
128  kalmanGain2_.push_back(a3);
129  kalmanGain2_.push_back(a4);
130  kalmanGain2_.push_back(a5);
131  kalmanGain2_.push_back(a6);
132  break;
133  case 1:
134  kalmanGain1_.push_back(K);
135  kalmanGain1_.push_back(a1);
136  kalmanGain1_.push_back(a2);
137  kalmanGain1_.push_back(a3);
138  kalmanGain1_.push_back(a4);
139  kalmanGain1_.push_back(a5);
140  kalmanGain1_.push_back(a6);
141  break;
142  case 0:
143  kalmanGain0_.push_back(K);
144  kalmanGain0_.push_back(a1);
145  kalmanGain0_.push_back(a2);
146  kalmanGain0_.push_back(a3);
147  break;
148 
149  default:
150  printf("Critical ERROR on setting the Klamn gain\n");
151  }
152 }
std::vector< float > kalmanGain0_
Definition: L1MuKBMTrack.h:200
std::vector< float > kalmanGain1_
Definition: L1MuKBMTrack.h:201
std::vector< float > kalmanGain3_
Definition: L1MuKBMTrack.h:203
std::vector< float > kalmanGain2_
Definition: L1MuKBMTrack.h:202
step
Definition: StallMonitor.cc:98

◆ setPtEtaPhi()

void L1MuKBMTrack::setPtEtaPhi ( double  pt,
double  eta,
double  phi 
)

Definition at line 93 of file L1MuKBMTrack.cc.

References reco::LeafCandidate::eta(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), reco::LeafCandidate::setP4(), and findQualityFiles::v.

Referenced by L1TMuonBarrelKalmanRegionModule::process().

93  {
94  PolarLorentzVector v(pt, eta, phi, 0.105);
95  setP4(v);
96 }
double pt() const final
transverse momentum
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
double phi() const final
momentum azimuthal angle
void setP4(const LorentzVector &p4) final
set 4-momentum
double eta() const final
momentum pseudorapidity

◆ setPtUnconstrained()

void L1MuKBMTrack::setPtUnconstrained ( float  pt)

Definition at line 97 of file L1MuKBMTrack.cc.

References reco::LeafCandidate::pt(), and ptUnconstrained_.

97 { ptUnconstrained_ = pt; }
float ptUnconstrained_
Definition: L1MuKBMTrack.h:197
double pt() const final
transverse momentum

◆ setRank()

void L1MuKBMTrack::setRank ( int  rank)

Definition at line 110 of file L1MuKBMTrack.cc.

References rank(), and rank_.

Referenced by L1TMuonBarrelKalmanRegionModule::process().

110 { rank_ = rank; }
int rank() const
Definition: L1MuKBMTrack.cc:61

◆ setResidual()

void L1MuKBMTrack::setResidual ( uint  i,
int  val 
)

Definition at line 154 of file L1MuKBMTrack.cc.

References mps_fire::i, residuals_, and heppy_batch::val.

154 { residuals_[i] = val; }
std::vector< int > residuals_
Definition: L1MuKBMTrack.h:205

◆ setTrackCompatibility()

void L1MuKBMTrack::setTrackCompatibility ( int  chi)

Definition at line 91 of file L1MuKBMTrack.cc.

References trackCompatibility_.

91 { trackCompatibility_ = chi; }
int trackCompatibility_
Definition: L1MuKBMTrack.h:168

◆ step()

int L1MuKBMTrack::step ( ) const

Definition at line 47 of file L1MuKBMTrack.cc.

References step_.

Referenced by setCoordinates().

47 { return step_; }

◆ stubs()

const L1MuKBMTCombinedStubRefVector & L1MuKBMTrack::stubs ( ) const

Definition at line 63 of file L1MuKBMTrack.cc.

References stubs_.

Referenced by operator==().

63 { return stubs_; }
L1MuKBMTCombinedStubRefVector stubs_
Definition: L1MuKBMTrack.h:147

◆ trackCompatibility()

int L1MuKBMTrack::trackCompatibility ( ) const

Definition at line 43 of file L1MuKBMTrack.cc.

References trackCompatibility_.

43 { return trackCompatibility_; }
int trackCompatibility_
Definition: L1MuKBMTrack.h:168

◆ wheel()

int L1MuKBMTrack::wheel ( ) const

Definition at line 49 of file L1MuKBMTrack.cc.

References wheel_.

Referenced by geometryXMLparser.DTAlignable::index().

49 { return wheel_; }

Member Data Documentation

◆ approxChi2_

int L1MuKBMTrack::approxChi2_ = 0
private

Definition at line 167 of file L1MuKBMTrack.h.

Referenced by approxChi2(), and setApproxChi2().

◆ bx_

int L1MuKBMTrack::bx_ = 0
private

Definition at line 191 of file L1MuKBMTrack.h.

Referenced by bx().

◆ coarseEta_

int L1MuKBMTrack::coarseEta_ = 0
private

Definition at line 164 of file L1MuKBMTrack.h.

Referenced by coarseEta(), and setCoarseEta().

◆ covariance_

std::vector<double> L1MuKBMTrack::covariance_
private

Definition at line 145 of file L1MuKBMTrack.h.

Referenced by covariance(), and setCovariance().

◆ curv_

int L1MuKBMTrack::curv_ = 0
private

Definition at line 160 of file L1MuKBMTrack.h.

Referenced by curvature(), and setCoordinates().

◆ curvMuon_

int L1MuKBMTrack::curvMuon_ = 0
private

Definition at line 155 of file L1MuKBMTrack.h.

Referenced by curvatureAtMuon(), and setCoordinatesAtMuon().

◆ curvVertex_

int L1MuKBMTrack::curvVertex_ = 0
private

Definition at line 150 of file L1MuKBMTrack.h.

Referenced by curvatureAtVertex(), and setCoordinatesAtVertex().

◆ dxy_

int L1MuKBMTrack::dxy_ = 0
private

Definition at line 152 of file L1MuKBMTrack.h.

Referenced by dxy(), and setCoordinatesAtVertex().

◆ fineEta_

int L1MuKBMTrack::fineEta_ = 0
private

Definition at line 185 of file L1MuKBMTrack.h.

Referenced by fineEta(), and setFineEta().

◆ hasFineEta_

bool L1MuKBMTrack::hasFineEta_ = false
private

Definition at line 188 of file L1MuKBMTrack.h.

Referenced by hasFineEta(), and setFineEta().

◆ hitPattern_

int L1MuKBMTrack::hitPattern_ = 0
private

Definition at line 171 of file L1MuKBMTrack.h.

Referenced by hitPattern(), and setHitPattern().

◆ kalmanGain0_

std::vector<float> L1MuKBMTrack::kalmanGain0_
private

Definition at line 200 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

◆ kalmanGain1_

std::vector<float> L1MuKBMTrack::kalmanGain1_
private

Definition at line 201 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

◆ kalmanGain2_

std::vector<float> L1MuKBMTrack::kalmanGain2_
private

Definition at line 202 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

◆ kalmanGain3_

std::vector<float> L1MuKBMTrack::kalmanGain3_
private

Definition at line 203 of file L1MuKBMTrack.h.

Referenced by kalmanGain(), and setKalmanGain().

◆ phi_

int L1MuKBMTrack::phi_ = 0
private

Definition at line 161 of file L1MuKBMTrack.h.

Referenced by positionAngle(), and setCoordinates().

◆ phiB_

int L1MuKBMTrack::phiB_ = 0
private

Definition at line 162 of file L1MuKBMTrack.h.

Referenced by bendingAngle(), and setCoordinates().

◆ phiBMuon_

int L1MuKBMTrack::phiBMuon_ = 0
private

Definition at line 157 of file L1MuKBMTrack.h.

Referenced by phiBAtMuon(), and setCoordinatesAtMuon().

◆ phiMuon_

int L1MuKBMTrack::phiMuon_ = 0
private

Definition at line 156 of file L1MuKBMTrack.h.

Referenced by phiAtMuon(), and setCoordinatesAtMuon().

◆ phiVertex_

int L1MuKBMTrack::phiVertex_ = 0
private

Definition at line 151 of file L1MuKBMTrack.h.

Referenced by phiAtVertex(), and setCoordinatesAtVertex().

◆ ptUnconstrained_

float L1MuKBMTrack::ptUnconstrained_ = 0
private

Definition at line 197 of file L1MuKBMTrack.h.

Referenced by ptUnconstrained(), and setPtUnconstrained().

◆ quality_

int L1MuKBMTrack::quality_ = 0
private

Definition at line 182 of file L1MuKBMTrack.h.

Referenced by addStub(), and quality().

◆ rank_

int L1MuKBMTrack::rank_ = 0
private

Definition at line 194 of file L1MuKBMTrack.h.

Referenced by rank(), and setRank().

◆ residuals_

std::vector<int> L1MuKBMTrack::residuals_
private

Definition at line 205 of file L1MuKBMTrack.h.

Referenced by L1MuKBMTrack(), residual(), and setResidual().

◆ sector_

int L1MuKBMTrack::sector_ = 0
private

Definition at line 177 of file L1MuKBMTrack.h.

Referenced by sector().

◆ step_

int L1MuKBMTrack::step_ = 0
private

Definition at line 174 of file L1MuKBMTrack.h.

Referenced by setCoordinates(), and step().

◆ stubs_

L1MuKBMTCombinedStubRefVector L1MuKBMTrack::stubs_
private

Definition at line 147 of file L1MuKBMTrack.h.

Referenced by addStub(), L1MuKBMTrack(), overlapTrack(), and stubs().

◆ trackCompatibility_

int L1MuKBMTrack::trackCompatibility_ = 0
private

Definition at line 168 of file L1MuKBMTrack.h.

Referenced by setTrackCompatibility(), and trackCompatibility().

◆ wheel_

int L1MuKBMTrack::wheel_ = 0
private

Definition at line 179 of file L1MuKBMTrack.h.

Referenced by wheel().