24 edm::LogInfo(
"Alignment") <<
"@SUB=TrajectoryFactoryBase"
26 <<
"' with following settings:"
27 <<
"\nmaterial effects: " << strMaterialEffects
28 <<
"\npropagation: " << strPropagationDirection
30 <<
"\nuse invalid hits: " << (theUseInvalidHits ?
"yes" :
"no")
31 <<
"\nuse projected hits: " << (theUseProjectedHits ?
"yes" :
"no")
32 <<
"\nuse beamspot: " << (theUseBeamSpot ?
"yes" :
"no");
47 Trajectory::DataContainer::iterator itM = trajectoryMeasurements.begin();
50 while ( itM != trajectoryMeasurements.end() )
52 if ( ( *itM ).updatedState().isValid() &&
useRecHit( ( *itM ).recHit() ) )
break;
55 if ( itM != trajectoryMeasurements.end() ) result.first = ( *itM ).updatedState();
58 while ( itM != trajectoryMeasurements.end() )
61 if (
useRecHit( aRecHit ) ) result.second.push_back( aRecHit );
82 reordered.reserve( original.size() );
84 Trajectory::DataContainer::const_reverse_iterator itM;
85 for ( itM = original.rbegin(); itM != original.rend(); ++itM )
87 reordered.push_back( *itM );
107 const GeomDet* det = hitPtr->det();
136 <<
"[TrajectoryFactoryBase::materialEffects] Unknown parameter: " << strME;
148 <<
"[TrajectoryFactoryBase::propagationDirection] Unknown parameter: " << strPD;
T getParameter(std::string const &) const
MaterialEffects theMaterialEffects
PropagationDirection thePropDir
MaterialEffects materialEffects(void) const
virtual const Trajectory::DataContainer orderedTrajectoryMeasurements(const Trajectory &trajectory) const
AlignmentAlgorithmBase::ConstTrajTrackPair ConstTrajTrackPair
bool useRecHit(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const
PropagationDirection const & direction() const
DataContainer const & measurements() const
TrajectoryFactoryBase(const edm::ParameterSet &config)
std::vector< TrajectoryMeasurement > DataContainer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
bool sameSurface(const Surface &s1, const Surface &s2) const
virtual const TrajectoryInput innermostStateAndRecHits(const ConstTrajTrackPair &track) const
PropagationDirection propagationDirection(void) const
std::pair< TrajectoryStateOnSurface, TransientTrackingRecHit::ConstRecHitContainer > TrajectoryInput
virtual ~TrajectoryFactoryBase(void)
const PositionType & position() const
bool isProjected(TrackingRecHit const &hit)