test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SeedFromNuclearInteraction.h
Go to the documentation of this file.
1 #ifndef SeedFromNuclearInteraction_H
2 #define SeedFromNuclearInteraction_H
3 
5 
7 
12 
14 
16 
17 #include <boost/shared_ptr.hpp>
18 
20 
22 private :
27  typedef std::vector<ConstRecHitPointer> ConstRecHitContainer;
28 
29 public :
30  SeedFromNuclearInteraction(const Propagator* prop, const TrackerGeometry* geom, const edm::ParameterSet& iConfig);
31 
33 
35  void setMeasurements(const TSOS& tsosAtInteractionPoint, ConstRecHitPointer ihit, ConstRecHitPointer ohit);
36 
38  void setMeasurements(TangentHelix& primHelix, const TSOS& inner_TSOS, ConstRecHitPointer ihit, ConstRecHitPointer ohit);
39 
40  PTrajectoryStateOnDet const & trajectoryState() const { return pTraj; }
41 
43 
45 
47 
48  recHitContainer hits() const;
49 
51 
52  bool isValid() const { return isValid_; }
53 
54  const TSOS& updatedTSOS() const { return *updatedTSOS_; }
55 
56  const TSOS& initialTSOS() const { return *initialTSOS_; }
57 
59  return theTrackerGeom->idToDet(outerHitDetId())->surface().toGlobal(outerHit_->localPosition());
60  }
61 
62  DetId outerHitDetId() const { return outerHit_->geographicalId(); }
63 
65 
69 
70 private :
71  bool isValid_;
74  /* initial freeTS and to be fitted */
75 
79  boost::shared_ptr<TSOS> updatedTSOS_;
81  boost::shared_ptr<TSOS> initialTSOS_;
83  boost::shared_ptr<FreeTrajectoryState> freeTS_;
88  // input parameters
89 
90  double ptMin;
94 
95  bool construct();
96 
97 };
98 #endif
const TrackerGeometry * theTrackerGeom
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
PropagationDirection direction() const
boost::shared_ptr< TSOS > updatedTSOS_
boost::shared_ptr< FreeTrajectoryState > freeTS_
PropagationDirection
void setMeasurements(const TSOS &tsosAtInteractionPoint, ConstRecHitPointer ihit, ConstRecHitPointer ohit)
Fill all data members from 2 TM&#39;s where the first one is supposed to be at the interaction point...
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
edm::OwnVector< TrackingRecHit > recHitContainer
SeedFromNuclearInteraction(const Propagator *prop, const TrackerGeometry *geom, const edm::ParameterSet &iConfig)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
std::vector< ConstRecHitPointer > ConstRecHitContainer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
PTrajectoryStateOnDet const & trajectoryState() const
AlgebraicMatrix33 rotationMatrix(const GlobalVector &perp) const
Definition: DetId.h:18
boost::shared_ptr< TSOS > initialTSOS_
T perp() const
Magnitude of transverse component.
ConstRecHitPointer outerHit() const
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepStd< double, 3, 3 > > AlgebraicMatrix33
virtual const TrackerGeomDet * idToDet(DetId) const
FreeTrajectoryState * stateWithError() const