CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
SeedFromNuclearInteraction Class Reference

#include <SeedFromNuclearInteraction.h>

Public Member Functions

PropagationDirection direction () const
 
recHitContainer hits () const
 
const TSOSinitialTSOS () const
 
bool isValid () const
 
ConstRecHitPointer outerHit () const
 
DetId outerHitDetId () const
 
GlobalPoint outerHitPosition () const
 
AlgebraicMatrix33 rotationMatrix (const GlobalVector &perp) const
 
 SeedFromNuclearInteraction (const Propagator *prop, const TrackerGeometry *geom, const edm::ParameterSet &iConfig)
 
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. More...
 
void setMeasurements (TangentHelix &primHelix, const TSOS &inner_TSOS, ConstRecHitPointer ihit, ConstRecHitPointer ohit)
 Fill all data members from 1 TSOS and 2 rec Hits and using the circle associated to the primary track as constraint. More...
 
FreeTrajectoryStatestateWithError () const
 
FreeTrajectoryStatestateWithError (TangentHelix &helix) const
 
PTrajectoryStateOnDet const & trajectoryState () const
 
TrajectorySeed TrajSeed () const
 
const TSOSupdatedTSOS () const
 
virtual ~SeedFromNuclearInteraction ()
 

Private Types

typedef std::vector
< ConstRecHitPointer
ConstRecHitContainer
 
typedef
TransientTrackingRecHit::ConstRecHitPointer 
ConstRecHitPointer
 
typedef edm::OwnVector
< TrackingRecHit
recHitContainer
 
typedef TrajectoryMeasurement TM
 
typedef TrajectoryStateOnSurface TSOS
 

Private Member Functions

bool construct ()
 

Private Attributes

boost::shared_ptr
< FreeTrajectoryState
freeTS_
 
boost::shared_ptr< TSOSinitialTSOS_
 
ConstRecHitPointer innerHit_
 
bool isValid_
 
ConstRecHitPointer outerHit_
 
double ptMin
 
PTrajectoryStateOnDet pTraj
 
ConstRecHitContainer theHits
 
const PropagatorthePropagator
 
const TrackerGeometrytheTrackerGeom
 
boost::shared_ptr< TSOSupdatedTSOS_
 

Detailed Description

Definition at line 21 of file SeedFromNuclearInteraction.h.

Member Typedef Documentation

Definition at line 27 of file SeedFromNuclearInteraction.h.

Definition at line 26 of file SeedFromNuclearInteraction.h.

Definition at line 25 of file SeedFromNuclearInteraction.h.

Definition at line 23 of file SeedFromNuclearInteraction.h.

Definition at line 24 of file SeedFromNuclearInteraction.h.

Constructor & Destructor Documentation

SeedFromNuclearInteraction::SeedFromNuclearInteraction ( const Propagator prop,
const TrackerGeometry geom,
const edm::ParameterSet iConfig 
)

Definition at line 13 of file SeedFromNuclearInteraction.cc.

virtual SeedFromNuclearInteraction::~SeedFromNuclearInteraction ( )
inlinevirtual

Definition at line 32 of file SeedFromNuclearInteraction.h.

32 {}

Member Function Documentation

bool SeedFromNuclearInteraction::construct ( )
private

Definition at line 124 of file SeedFromNuclearInteraction.cc.

PropagationDirection SeedFromNuclearInteraction::direction ( ) const
inline

Definition at line 46 of file SeedFromNuclearInteraction.h.

References alongMomentum.

Referenced by TrajSeed().

edm::OwnVector< TrackingRecHit > SeedFromNuclearInteraction::hits ( void  ) const

Definition at line 155 of file SeedFromNuclearInteraction.cc.

Referenced by TrajSeed().

const TSOS& SeedFromNuclearInteraction::initialTSOS ( ) const
inline

Definition at line 56 of file SeedFromNuclearInteraction.h.

References initialTSOS_.

56 { return *initialTSOS_; }
boost::shared_ptr< TSOS > initialTSOS_
bool SeedFromNuclearInteraction::isValid ( void  ) const
inline

Definition at line 52 of file SeedFromNuclearInteraction.h.

References isValid_.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

ConstRecHitPointer SeedFromNuclearInteraction::outerHit ( ) const
inline

Definition at line 64 of file SeedFromNuclearInteraction.h.

References outerHit_.

64 { return outerHit_; }
DetId SeedFromNuclearInteraction::outerHitDetId ( ) const
inline

Definition at line 62 of file SeedFromNuclearInteraction.h.

References outerHit_.

Referenced by outerHitPosition().

62 { return outerHit_->geographicalId(); }
GlobalPoint SeedFromNuclearInteraction::outerHitPosition ( ) const
inline

Definition at line 58 of file SeedFromNuclearInteraction.h.

References TrackerGeometry::idToDet(), outerHit_, outerHitDetId(), GeomDet::surface(), theTrackerGeom, and Surface::toGlobal().

58  {
59  return theTrackerGeom->idToDet(outerHitDetId())->surface().toGlobal(outerHit_->localPosition());
60  }
const TrackerGeometry * theTrackerGeom
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:106
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:42
const TrackerGeomDet * idToDet(DetId) const
AlgebraicMatrix33 SeedFromNuclearInteraction::rotationMatrix ( const GlobalVector perp) const

Return the rotation matrix to be applied to get parameters in a framework where the z direction is along perp

Definition at line 163 of file SeedFromNuclearInteraction.cc.

void SeedFromNuclearInteraction::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 at line 24 of file SeedFromNuclearInteraction.cc.

void SeedFromNuclearInteraction::setMeasurements ( TangentHelix primHelix,
const TSOS inner_TSOS,
ConstRecHitPointer  ihit,
ConstRecHitPointer  ohit 
)

Fill all data members from 1 TSOS and 2 rec Hits and using the circle associated to the primary track as constraint.

Definition at line 48 of file SeedFromNuclearInteraction.cc.

FreeTrajectoryState * SeedFromNuclearInteraction::stateWithError ( ) const

Definition at line 76 of file SeedFromNuclearInteraction.cc.

FreeTrajectoryState * SeedFromNuclearInteraction::stateWithError ( TangentHelix helix) const

Definition at line 87 of file SeedFromNuclearInteraction.cc.

PTrajectoryStateOnDet const& SeedFromNuclearInteraction::trajectoryState ( ) const
inline

Definition at line 40 of file SeedFromNuclearInteraction.h.

References pTraj.

Referenced by TrajSeed().

40 { return pTraj; }
TrajectorySeed SeedFromNuclearInteraction::TrajSeed ( ) const
inline

Definition at line 50 of file SeedFromNuclearInteraction.h.

References direction(), hits(), and trajectoryState().

PropagationDirection direction() const
PTrajectoryStateOnDet const & trajectoryState() const
const TSOS& SeedFromNuclearInteraction::updatedTSOS ( ) const
inline

Definition at line 54 of file SeedFromNuclearInteraction.h.

References updatedTSOS_.

54 { return *updatedTSOS_; }
boost::shared_ptr< TSOS > updatedTSOS_

Member Data Documentation

boost::shared_ptr<FreeTrajectoryState> SeedFromNuclearInteraction::freeTS_
private

Initial FreeTrajectoryState

Definition at line 83 of file SeedFromNuclearInteraction.h.

boost::shared_ptr<TSOS> SeedFromNuclearInteraction::initialTSOS_
private

Initial TSOS used as input

Definition at line 81 of file SeedFromNuclearInteraction.h.

Referenced by initialTSOS().

ConstRecHitPointer SeedFromNuclearInteraction::innerHit_
private

Pointer to the hit of the inner TM

Definition at line 76 of file SeedFromNuclearInteraction.h.

bool SeedFromNuclearInteraction::isValid_
private

check if the seed is valid

Definition at line 71 of file SeedFromNuclearInteraction.h.

Referenced by isValid().

ConstRecHitPointer SeedFromNuclearInteraction::outerHit_
private

Pointer to the outer hit

Definition at line 77 of file SeedFromNuclearInteraction.h.

Referenced by outerHit(), outerHitDetId(), and outerHitPosition().

double SeedFromNuclearInteraction::ptMin
private

Minimum transverse momentum of the seed

Definition at line 90 of file SeedFromNuclearInteraction.h.

PTrajectoryStateOnDet SeedFromNuclearInteraction::pTraj
private

the final persistent TSOS

Definition at line 85 of file SeedFromNuclearInteraction.h.

Referenced by trajectoryState().

ConstRecHitContainer SeedFromNuclearInteraction::theHits
private

all the hits to be used to update the

Definition at line 73 of file SeedFromNuclearInteraction.h.

const Propagator* SeedFromNuclearInteraction::thePropagator
private

Definition at line 92 of file SeedFromNuclearInteraction.h.

const TrackerGeometry* SeedFromNuclearInteraction::theTrackerGeom
private

Definition at line 93 of file SeedFromNuclearInteraction.h.

Referenced by outerHitPosition().

boost::shared_ptr<TSOS> SeedFromNuclearInteraction::updatedTSOS_
private

Final TSOS

Definition at line 79 of file SeedFromNuclearInteraction.h.

Referenced by updatedTSOS().