CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HICMuonUpdator.h
Go to the documentation of this file.
1 #ifndef _TRACKER_HICMUUPDATOR_H_
2 #define _TRACKER_HICMUUPDATOR_H_
8 
11 #include <vector>
12 
14 
15 public:
16  HICMuonUpdator(double&la1,double&la2, const MagneticField * mf, const cms::HICConst* hh){theHICConst=hh; zvert=hh->zvert;
17  thePhiWin=la1; theZWin=la2; field = mf;};
18  virtual ~HICMuonUpdator(){}
21  const TrajectoryMeasurement&,
22  const DetLayer*,
23  double&, double&) const;
24 
25 
26  TrajectoryStateOnSurface updateBarrel(std::vector<double>& rhit, std::vector<double>& zhit,
27  std::vector<double>& dphihit, std::vector<double>& drhit,
28  std::vector<double>& ehitstrip, std::vector<double>& dehitphi,
30  const TrajectoryStateOnSurface& nTsos, double&, double&, int&) const;
31 
32  TrajectoryStateOnSurface updateEndcap(std::vector<double>& rhit, std::vector<double>& zhit,
33  std::vector<double>& dphihit, std::vector<double>& drhit,
34  std::vector<double>& ehitstrip, std::vector<double>& dehitphi,
36  const TrajectoryStateOnSurface& nTsos, double&, double&, int& ) const;
37 
38 private:
39 
40  double findPhiInVertex(const FreeTrajectoryState& fts, const double& rc, const GeomDetEnumerators::Location) const;
41 
42  bool linefit1(const std::vector <double>& x, const std::vector <double>& y, const std::vector <double>& err,
43  double& a, double& chi ) const;
44  bool linefit2(const std::vector <double>& x, const std::vector <double>& y, const std::vector <double>& err,
45  double& a, double& b, double& chi ) const;
46  double zvert;
47  double thePhiWin;
48  double theZWin;
49  const MagneticField * field;
51 };
52 
53 #endif
bool linefit1(const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &err, double &a, double &chi) const
float zvert
Definition: HICConst.h:25
bool linefit2(const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &err, double &a, double &b, double &chi) const
const MagneticField * field
HICMuonUpdator(double &la1, double &la2, const MagneticField *mf, const cms::HICConst *hh)
double findPhiInVertex(const FreeTrajectoryState &fts, const double &rc, const GeomDetEnumerators::Location) const
const cms::HICConst * theHICConst
TrajectoryStateOnSurface updateBarrel(std::vector< double > &rhit, std::vector< double > &zhit, std::vector< double > &dphihit, std::vector< double > &drhit, std::vector< double > &ehitstrip, std::vector< double > &dehitphi, const TransientTrackingRecHit::ConstRecHitPointer &pRecHit, const TransientTrackingRecHit::ConstRecHitPointer &nRecHit, const TrajectoryStateOnSurface &nTsos, double &, double &, int &) const
virtual ~HICMuonUpdator()
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
TrajectoryStateOnSurface update(const Trajectory &mt, const TrajectoryStateOnSurface &, const TrajectoryMeasurement &, const DetLayer *, double &, double &) const
Definition: DDAxes.h:10
TrajectoryStateOnSurface updateEndcap(std::vector< double > &rhit, std::vector< double > &zhit, std::vector< double > &dphihit, std::vector< double > &drhit, std::vector< double > &ehitstrip, std::vector< double > &dehitphi, const TransientTrackingRecHit::ConstRecHitPointer &pRecHit, const TransientTrackingRecHit::ConstRecHitPointer &nRecHit, const TrajectoryStateOnSurface &nTsos, double &, double &, int &) const