#include <SeedFromNuclearInteraction.h>
Public Member Functions | |
PropagationDirection | direction () const |
recHitContainer | hits () const |
const TSOS & | initialTSOS () 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... | |
FreeTrajectoryState * | stateWithError () const |
FreeTrajectoryState * | stateWithError (TangentHelix &helix) const |
PTrajectoryStateOnDet const & | trajectoryState () const |
TrajectorySeed | TrajSeed () const |
const TSOS & | updatedTSOS () 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< TSOS > | initialTSOS_ |
ConstRecHitPointer | innerHit_ |
bool | isValid_ |
ConstRecHitPointer | outerHit_ |
double | ptMin |
PTrajectoryStateOnDet | pTraj |
ConstRecHitContainer | theHits |
const Propagator * | thePropagator |
const TrackerGeometry * | theTrackerGeom |
boost::shared_ptr< TSOS > | updatedTSOS_ |
Definition at line 21 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 27 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 26 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 25 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 23 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 24 of file SeedFromNuclearInteraction.h.
SeedFromNuclearInteraction::SeedFromNuclearInteraction | ( | const Propagator * | prop, |
const TrackerGeometry * | geom, | ||
const edm::ParameterSet & | iConfig | ||
) |
Definition at line 13 of file SeedFromNuclearInteraction.cc.
References freeTS_, initialTSOS_, isValid_, and updatedTSOS_.
|
inlinevirtual |
Definition at line 32 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 124 of file SeedFromNuclearInteraction.cc.
References freeTS_, TrackingRecHit::geographicalId(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), LogDebug, outerHitDetId(), trajectoryStateTransform::persistentState(), Propagator::propagate(), pTraj, evf::utils::state, theHits, thePropagator, theTrackerGeom, KFUpdator::update(), and updatedTSOS_.
Referenced by setMeasurements().
|
inline |
Definition at line 46 of file SeedFromNuclearInteraction.h.
References alongMomentum.
Referenced by stateWithError(), and TrajSeed().
edm::OwnVector< TrackingRecHit > SeedFromNuclearInteraction::hits | ( | ) | const |
Definition at line 155 of file SeedFromNuclearInteraction.cc.
References edm::OwnVector< T, P >::push_back(), and theHits.
Referenced by TrajSeed().
|
inline |
Definition at line 56 of file SeedFromNuclearInteraction.h.
References initialTSOS_.
|
inline |
|
inline |
Definition at line 64 of file SeedFromNuclearInteraction.h.
References outerHit_.
|
inline |
Definition at line 62 of file SeedFromNuclearInteraction.h.
References outerHit_.
Referenced by construct(), and outerHitPosition().
|
inline |
Definition at line 58 of file SeedFromNuclearInteraction.h.
References TrackerGeometry::idToDet(), outerHit_, outerHitDetId(), GeomDet::surface(), theTrackerGeom, and Surface::toGlobal().
Referenced by stateWithError().
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.
References Vector3DBase< T, FrameTag >::cross(), query::result, csvLumiCalc::unit, Vector3DBase< T, FrameTag >::unit(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by stateWithError().
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.
References construct(), freeTS_, initialTSOS_, innerHit_, isValid_, outerHit_, ptMin, stateWithError(), and theHits.
Referenced by NuclearInteractionFinder::fillSeeds(), and NuclearInteractionFinder::improveSeeds().
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.
References construct(), freeTS_, TrackerGeometry::idToDet(), initialTSOS_, innerHit_, isValid_, outerHit_, ptMin, stateWithError(), theHits, theTrackerGeom, and GeomDet::toGlobal().
FreeTrajectoryState * SeedFromNuclearInteraction::stateWithError | ( | ) | const |
Definition at line 76 of file SeedFromNuclearInteraction.cc.
References direction(), initialTSOS_, SurfaceOrientation::inner, and outerHitPosition().
Referenced by setMeasurements().
FreeTrajectoryState * SeedFromNuclearInteraction::stateWithError | ( | TangentHelix & | helix | ) | const |
Definition at line 87 of file SeedFromNuclearInteraction.cc.
References TangentHelix::charge(), TangentHelix::directionAtVertex(), initialTSOS_, MagneticField::inTesla(), mag(), TangentHelix::rho(), makeMuonMisalignmentScenario::rot, rotationMatrix(), TangentHelix::vertexError(), TangentHelix::vertexPoint(), and detailsBasic3DVector::z.
|
inline |
Definition at line 40 of file SeedFromNuclearInteraction.h.
References pTraj.
Referenced by TrajSeed().
|
inline |
Definition at line 50 of file SeedFromNuclearInteraction.h.
References direction(), hits(), and trajectoryState().
|
inline |
Definition at line 54 of file SeedFromNuclearInteraction.h.
References updatedTSOS_.
|
private |
Initial FreeTrajectoryState
Definition at line 83 of file SeedFromNuclearInteraction.h.
Referenced by construct(), SeedFromNuclearInteraction(), and setMeasurements().
|
private |
Initial TSOS used as input
Definition at line 81 of file SeedFromNuclearInteraction.h.
Referenced by initialTSOS(), SeedFromNuclearInteraction(), setMeasurements(), and stateWithError().
|
private |
Pointer to the hit of the inner TM
Definition at line 76 of file SeedFromNuclearInteraction.h.
Referenced by setMeasurements().
|
private |
check if the seed is valid
Definition at line 71 of file SeedFromNuclearInteraction.h.
Referenced by isValid(), SeedFromNuclearInteraction(), and setMeasurements().
|
private |
Pointer to the outer hit
Definition at line 77 of file SeedFromNuclearInteraction.h.
Referenced by outerHit(), outerHitDetId(), outerHitPosition(), and setMeasurements().
|
private |
Minimum transverse momentum of the seed
Definition at line 90 of file SeedFromNuclearInteraction.h.
Referenced by setMeasurements().
|
private |
the final persistent TSOS
Definition at line 85 of file SeedFromNuclearInteraction.h.
Referenced by construct(), and trajectoryState().
|
private |
all the hits to be used to update the
Definition at line 73 of file SeedFromNuclearInteraction.h.
Referenced by construct(), hits(), and setMeasurements().
|
private |
Definition at line 92 of file SeedFromNuclearInteraction.h.
Referenced by construct().
|
private |
Definition at line 93 of file SeedFromNuclearInteraction.h.
Referenced by construct(), outerHitPosition(), and setMeasurements().
|
private |
Final TSOS
Definition at line 79 of file SeedFromNuclearInteraction.h.
Referenced by construct(), SeedFromNuclearInteraction(), and updatedTSOS().