22 edm::LogInfo(
"Alignment") <<
"@SUB=TrajectoryFactoryBase" 24 <<
"' with following settings:" 43 Trajectory::DataContainer::iterator itM = trajectoryMeasurements.begin();
46 while (itM != trajectoryMeasurements.end()) {
47 if ((*itM).updatedState().isValid() &&
useRecHit((*itM).recHit()))
51 if (itM != trajectoryMeasurements.end())
52 result.first = (*itM).updatedState();
55 while (itM != trajectoryMeasurements.end()) {
58 result.second.push_back(aRecHit);
76 reordered.reserve(original.size());
78 Trajectory::DataContainer::const_reverse_iterator itM;
79 for (itM = original.rbegin(); itM != original.rend(); ++itM) {
80 reordered.push_back(*itM);
95 const GeomDet* det = hitPtr->det();
111 if (strME ==
"MultipleScattering")
113 if (strME ==
"EnergyLoss")
115 if (strME ==
"Combined")
119 if (strME ==
"BreakPoints")
121 if (strME ==
"BrokenLines")
123 if (strME ==
"BrokenLinesCoarse")
125 if (strME ==
"BrokenLinesFine")
127 if (strME ==
"LocalGBL")
129 if (strME ==
"CurvlinGBL")
132 throw cms::Exception(
"BadConfig") <<
"[TrajectoryFactoryBase::materialEffects] Unknown parameter: " << strME;
136 if (strPD ==
"oppositeToMomentum")
138 if (strPD ==
"alongMomentum")
140 if (strPD ==
"anyDirection")
143 throw cms::Exception(
"BadConfig") <<
"[TrajectoryFactoryBase::propagationDirection] Unknown parameter: " << strPD;
const bool useInvalidHits_
T getParameter(std::string const &) const
MaterialEffects materialEffects(void) const
const MaterialEffects materialEffects_
virtual const Trajectory::DataContainer orderedTrajectoryMeasurements(const Trajectory &trajectory) const
AlignmentAlgorithmBase::ConstTrajTrackPair ConstTrajTrackPair
const bool useWithoutDet_
bool useRecHit(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const
const unsigned int tracksPerTrajectory_
PropagationDirection const & direction() const
DataContainer const & measurements() const
TrajectoryFactoryBase(const edm::ParameterSet &config)
const bool useProjectedHits_
std::vector< TrajectoryMeasurement > DataContainer
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
bool sameSurface(const Surface &s1, const Surface &s2) const
const bool allowZeroMaterial_
std::pair< TrajectoryStateOnSurface, TransientTrackingRecHit::ConstRecHitContainer > TrajectoryInput
virtual const TrajectoryInput innermostStateAndRecHits(const ConstTrajTrackPair &track) const
const PropagationDirection propDir_
const edm::ParameterSet cfg_
PropagationDirection propagationDirection(void) const
unsigned int tracksPerTrajectory() const
virtual ~TrajectoryFactoryBase(void)
const PositionType & position() const
bool isProjected(TrackingRecHit const &hit)