#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, double ptMin) | |
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 | |
std::shared_ptr< FreeTrajectoryState > | freeTS_ |
std::shared_ptr< TSOS > | initialTSOS_ |
ConstRecHitPointer | innerHit_ |
bool | isValid_ |
ConstRecHitPointer | outerHit_ |
double | ptMin |
PTrajectoryStateOnDet | pTraj |
ConstRecHitContainer | theHits |
const Propagator * | thePropagator |
const TrackerGeometry * | theTrackerGeom |
std::shared_ptr< TSOS > | updatedTSOS_ |
Definition at line 17 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 23 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 22 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 21 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 19 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 20 of file SeedFromNuclearInteraction.h.
SeedFromNuclearInteraction::SeedFromNuclearInteraction | ( | const Propagator * | prop, |
const TrackerGeometry * | geom, | ||
double | ptMin | ||
) |
Definition at line 14 of file SeedFromNuclearInteraction.cc.
References freeTS_, initialTSOS_, isValid_, and updatedTSOS_.
|
inlinevirtual |
Definition at line 28 of file SeedFromNuclearInteraction.h.
|
private |
Definition at line 133 of file SeedFromNuclearInteraction.cc.
References freeTS_, TrackerGeometry::idToDet(), LogDebug, outerHitDetId(), trajectoryStateTransform::persistentState(), Propagator::propagate(), pTraj, theHits, thePropagator, theTrackerGeom, KFUpdator::update(), and updatedTSOS_.
Referenced by setMeasurements().
|
inline |
Definition at line 45 of file SeedFromNuclearInteraction.h.
References alongMomentum.
Referenced by stateWithError(), and TrajSeed().
edm::OwnVector< TrackingRecHit > SeedFromNuclearInteraction::hits | ( | void | ) | const |
Definition at line 162 of file SeedFromNuclearInteraction.cc.
References edm::OwnVector< T, P >::push_back(), and theHits.
Referenced by TrajSeed().
|
inline |
Definition at line 55 of file SeedFromNuclearInteraction.h.
References initialTSOS_.
|
inline |
Definition at line 51 of file SeedFromNuclearInteraction.h.
References isValid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
Definition at line 63 of file SeedFromNuclearInteraction.h.
References outerHit_.
|
inline |
Definition at line 61 of file SeedFromNuclearInteraction.h.
References outerHit_.
Referenced by construct(), and outerHitPosition().
|
inline |
Definition at line 57 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 170 of file SeedFromNuclearInteraction.cc.
References perp(), mps_fire::result, unit(), HLT_2022v14_cff::xAxis, HLT_2022v14_cff::yAxis, and HLT_2022v14_cff::zAxis.
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 25 of file SeedFromNuclearInteraction.cc.
References construct(), freeTS_, initialTSOS_, innerHit_, isValid_, outerHit_, ptMin, stateWithError(), and theHits.
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 52 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 86 of file SeedFromNuclearInteraction.cc.
References direction(), initialTSOS_, SurfaceOrientation::inner, and outerHitPosition().
Referenced by setMeasurements().
FreeTrajectoryState * SeedFromNuclearInteraction::stateWithError | ( | TangentHelix & | helix | ) | const |
Definition at line 96 of file SeedFromNuclearInteraction.cc.
References TangentHelix::charge(), TangentHelix::directionAtVertex(), initialTSOS_, mag(), TangentHelix::rho(), makeMuonMisalignmentScenario::rot, rotationMatrix(), TangentHelix::vertexError(), TangentHelix::vertexPoint(), and z.
|
inline |
Definition at line 39 of file SeedFromNuclearInteraction.h.
References pTraj.
Referenced by TrajSeed().
|
inline |
Definition at line 49 of file SeedFromNuclearInteraction.h.
References direction(), hits(), and trajectoryState().
|
inline |
Definition at line 53 of file SeedFromNuclearInteraction.h.
References updatedTSOS_.
|
private |
Initial FreeTrajectoryState
Definition at line 82 of file SeedFromNuclearInteraction.h.
Referenced by construct(), SeedFromNuclearInteraction(), and setMeasurements().
|
private |
Initial TSOS used as input
Definition at line 80 of file SeedFromNuclearInteraction.h.
Referenced by initialTSOS(), SeedFromNuclearInteraction(), setMeasurements(), and stateWithError().
|
private |
Pointer to the hit of the inner TM
Definition at line 75 of file SeedFromNuclearInteraction.h.
Referenced by setMeasurements().
|
private |
check if the seed is valid
Definition at line 70 of file SeedFromNuclearInteraction.h.
Referenced by isValid(), SeedFromNuclearInteraction(), and setMeasurements().
|
private |
Pointer to the outer hit
Definition at line 76 of file SeedFromNuclearInteraction.h.
Referenced by outerHit(), outerHitDetId(), outerHitPosition(), and setMeasurements().
|
private |
Minimum transverse momentum of the seed
Definition at line 88 of file SeedFromNuclearInteraction.h.
Referenced by setMeasurements().
|
private |
the final persistent TSOS
Definition at line 84 of file SeedFromNuclearInteraction.h.
Referenced by construct(), and trajectoryState().
|
private |
all the hits to be used to update the
Definition at line 72 of file SeedFromNuclearInteraction.h.
Referenced by construct(), hits(), and setMeasurements().
|
private |
Definition at line 90 of file SeedFromNuclearInteraction.h.
Referenced by construct().
|
private |
Definition at line 91 of file SeedFromNuclearInteraction.h.
Referenced by construct(), outerHitPosition(), and setMeasurements().
|
private |
Final TSOS
Definition at line 78 of file SeedFromNuclearInteraction.h.
Referenced by construct(), SeedFromNuclearInteraction(), and updatedTSOS().