CMS 3D CMS Logo

SeedFromNuclearInteraction.h
Go to the documentation of this file.
1 #ifndef SeedFromNuclearInteraction_H
2 #define SeedFromNuclearInteraction_H
3 
5 
7 
12 
14 
16 
18 
20 private:
25  typedef std::vector<ConstRecHitPointer> ConstRecHitContainer;
26 
27 public:
28  SeedFromNuclearInteraction(const Propagator* prop, const TrackerGeometry* geom, const edm::ParameterSet& iConfig);
29 
31 
33  void setMeasurements(const TSOS& tsosAtInteractionPoint, ConstRecHitPointer ihit, ConstRecHitPointer ohit);
34 
36  void setMeasurements(TangentHelix& primHelix,
37  const TSOS& inner_TSOS,
38  ConstRecHitPointer ihit,
39  ConstRecHitPointer ohit);
40 
41  PTrajectoryStateOnDet const& trajectoryState() const { return pTraj; }
42 
44 
46 
48 
49  recHitContainer hits() const;
50 
52 
53  bool isValid() const { return isValid_; }
54 
55  const TSOS& updatedTSOS() const { return *updatedTSOS_; }
56 
57  const TSOS& initialTSOS() const { return *initialTSOS_; }
58 
60  return theTrackerGeom->idToDet(outerHitDetId())->surface().toGlobal(outerHit_->localPosition());
61  }
62 
63  DetId outerHitDetId() const { return outerHit_->geographicalId(); }
64 
66 
70 
71 private:
72  bool isValid_;
75  /* initial freeTS and to be fitted */
76 
80  std::shared_ptr<TSOS> updatedTSOS_;
82  std::shared_ptr<TSOS> initialTSOS_;
84  std::shared_ptr<FreeTrajectoryState> freeTS_;
88  // input parameters
89 
90  double ptMin;
94 
95  bool construct();
96 };
97 #endif
Vector3DBase
Definition: Vector3DBase.h:8
TrackerGeometry::idToDet
const TrackerGeomDet * idToDet(DetId) const override
Definition: TrackerGeometry.cc:193
Propagator.h
SeedFromNuclearInteraction::setMeasurements
void setMeasurements(const TSOS &tsosAtInteractionPoint, ConstRecHitPointer ihit, ConstRecHitPointer ohit)
Fill all data members from 2 TM's where the first one is supposed to be at the interaction point.
Definition: SeedFromNuclearInteraction.cc:25
SeedFromNuclearInteraction::theHits
ConstRecHitContainer theHits
Definition: SeedFromNuclearInteraction.h:74
TrackerGeometry.h
SeedFromNuclearInteraction::outerHit_
ConstRecHitPointer outerHit_
Definition: SeedFromNuclearInteraction.h:78
SeedFromNuclearInteraction::rotationMatrix
AlgebraicMatrix33 rotationMatrix(const GlobalVector &perp) const
Definition: SeedFromNuclearInteraction.cc:170
SeedFromNuclearInteraction::TrajSeed
TrajectorySeed TrajSeed() const
Definition: SeedFromNuclearInteraction.h:51
TrajectoryMeasurement.h
TransientTrackingRecHit.h
SeedFromNuclearInteraction::theTrackerGeom
const TrackerGeometry * theTrackerGeom
Definition: SeedFromNuclearInteraction.h:93
AlgebraicMatrix33
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepStd< double, 3, 3 > > AlgebraicMatrix33
Definition: AlgebraicROOTObjects.h:41
SeedFromNuclearInteraction
Definition: SeedFromNuclearInteraction.h:19
SeedFromNuclearInteraction::SeedFromNuclearInteraction
SeedFromNuclearInteraction(const Propagator *prop, const TrackerGeometry *geom, const edm::ParameterSet &iConfig)
Definition: SeedFromNuclearInteraction.cc:14
perp
T perp() const
Magnitude of transverse component.
Definition: Basic3DVectorLD.h:133
SeedFromNuclearInteraction::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition: SeedFromNuclearInteraction.h:25
SeedFromNuclearInteraction::updatedTSOS_
std::shared_ptr< TSOS > updatedTSOS_
Definition: SeedFromNuclearInteraction.h:80
Propagator
Definition: Propagator.h:44
DetId
Definition: DetId.h:17
SeedFromNuclearInteraction::recHitContainer
edm::OwnVector< TrackingRecHit > recHitContainer
Definition: SeedFromNuclearInteraction.h:23
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
SeedFromNuclearInteraction::thePropagator
const Propagator * thePropagator
Definition: SeedFromNuclearInteraction.h:92
SeedFromNuclearInteraction::direction
PropagationDirection direction() const
Definition: SeedFromNuclearInteraction.h:47
ConstRecHitPointer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Definition: MillePedeAlignmentAlgorithm.cc:70
SeedFromNuclearInteraction::outerHit
ConstRecHitPointer outerHit() const
Definition: SeedFromNuclearInteraction.h:65
SeedFromNuclearInteraction::initialTSOS
const TSOS & initialTSOS() const
Definition: SeedFromNuclearInteraction.h:57
SeedFromNuclearInteraction::TM
TrajectoryMeasurement TM
Definition: SeedFromNuclearInteraction.h:21
Surface::toGlobal
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:79
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
TangentHelix.h
SeedFromNuclearInteraction::construct
bool construct()
Definition: SeedFromNuclearInteraction.cc:133
Point3DBase< float, GlobalTag >
TrajectorySeed.h
SeedFromNuclearInteraction::innerHit_
ConstRecHitPointer innerHit_
Definition: SeedFromNuclearInteraction.h:77
SeedFromNuclearInteraction::hits
recHitContainer hits() const
Definition: SeedFromNuclearInteraction.cc:162
SeedFromNuclearInteraction::pTraj
PTrajectoryStateOnDet pTraj
Definition: SeedFromNuclearInteraction.h:86
edm::ParameterSet
Definition: ParameterSet.h:47
SeedFromNuclearInteraction::outerHitPosition
GlobalPoint outerHitPosition() const
Definition: SeedFromNuclearInteraction.h:59
SeedFromNuclearInteraction::outerHitDetId
DetId outerHitDetId() const
Definition: SeedFromNuclearInteraction.h:63
TrackingRecHit::ConstRecHitPointer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Definition: TrackingRecHit.h:25
SeedFromNuclearInteraction::initialTSOS_
std::shared_ptr< TSOS > initialTSOS_
Definition: SeedFromNuclearInteraction.h:82
SeedFromNuclearInteraction::freeTS_
std::shared_ptr< FreeTrajectoryState > freeTS_
Definition: SeedFromNuclearInteraction.h:84
SeedFromNuclearInteraction::isValid
bool isValid() const
Definition: SeedFromNuclearInteraction.h:53
SeedFromNuclearInteraction::~SeedFromNuclearInteraction
virtual ~SeedFromNuclearInteraction()
Definition: SeedFromNuclearInteraction.h:30
SeedFromNuclearInteraction::ConstRecHitPointer
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
Definition: SeedFromNuclearInteraction.h:24
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
SeedFromNuclearInteraction::ptMin
double ptMin
Definition: SeedFromNuclearInteraction.h:90
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
TrajectorySeed
Definition: TrajectorySeed.h:18
SeedFromNuclearInteraction::isValid_
bool isValid_
Definition: SeedFromNuclearInteraction.h:72
SeedFromNuclearInteraction::trajectoryState
PTrajectoryStateOnDet const & trajectoryState() const
Definition: SeedFromNuclearInteraction.h:41
SeedFromNuclearInteraction::TSOS
TrajectoryStateOnSurface TSOS
Definition: SeedFromNuclearInteraction.h:22
TransientTrackingRecHitBuilder.h
TangentHelix
Definition: TangentHelix.h:6
PTrajectoryStateOnDet
Definition: PTrajectoryStateOnDet.h:10
ParameterSet.h
SeedFromNuclearInteraction::updatedTSOS
const TSOS & updatedTSOS() const
Definition: SeedFromNuclearInteraction.h:55
SeedFromNuclearInteraction::stateWithError
FreeTrajectoryState * stateWithError() const
Definition: SeedFromNuclearInteraction.cc:86
TrajectoryMeasurement
Definition: TrajectoryMeasurement.h:25
alongMomentum
Definition: PropagationDirection.h:4
edm::OwnVector< TrackingRecHit >
TrackerGeometry
Definition: TrackerGeometry.h:14