|
|
#include <CosmicTrajectoryBuilder.h>
Definition at line 74 of file CosmicTrajectoryBuilder.h.
◆ TM
◆ TSOS
◆ CosmicTrajectoryBuilder()
◆ ~CosmicTrajectoryBuilder()
CosmicTrajectoryBuilder::~CosmicTrajectoryBuilder |
( |
| ) |
|
◆ AddHit()
Definition at line 194 of file CosmicTrajectoryBuilder.cc.
196 unsigned int ibestdet;
198 for (
unsigned int icosmhit = 0; icosmhit < Hits.size(); icosmhit++) {
200 unsigned int iraw = Hits[icosmhit]->geographicalId().rawId();
201 LogDebug(
"CosmicTrackFinder") <<
" HIT POSITION " << gphit;
213 LogDebug(
"CosmicTrackFinder") <<
"STATE PROPAGATED AT DET " << iraw <<
" " << prSt;
214 for (icosm2 = icosmhit; icosm2 < Hits.size(); icosm2++) {
215 if (iraw == Hits[icosm2]->geographicalId().rawId()) {
217 float contr =
theEstimator->estimate(prSt, *tmphit).second;
218 if (contr < chi2min) {
222 if (icosm2 != icosmhit)
226 icosm2 = Hits.size();
230 LogDebug(
"CosmicTrackFinder") <<
"Chi2 contribution for hit at "
231 <<
RHBuilder->
build(Hits[ibestdet])->globalPosition() <<
" is " << chi2min;
237 if ((
abs(ck.
x() / ck.
y()) > 2) || (
abs(ck.
z() / ck.
y()) > 2))
241 if (
abs(prLoc.
x()) < 25 &&
abs(prLoc.
y()) < 25) {
246 LogDebug(
"CosmicTrackFinder") <<
"STATE UPDATED WITH HIT AT POSITION " << tmphitbestdet->globalPosition()
249 hits.push_back(tmphitbestdet);
252 LogDebug(
"CosmicTrackFinder") <<
" Hits outside module surface " << prLoc;
254 LogDebug(
"CosmicTrackFinder") <<
" State can not be updated with hit at position " << gphit;
256 LogDebug(
"CosmicTrackFinder") <<
" State can not be propagated at det " << iraw;
References funct::abs(), trackAssociatorByChi2_cfi::chi2cut, Trajectory::chiSquared(), Trajectory::firstMeasurement(), Trajectory::foundHits(), TrajectoryStateOnSurface::globalPosition(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localPosition(), LogDebug, Trajectory::push(), Trajectory::seed(), PbPb_ZMuSkimMuonDPG_cff::tracker, TrajectoryStateOnSurface::update(), TrajectoryMeasurement::updatedState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
◆ createStartingTrajectory()
◆ hitBuilder()
◆ init()
void CosmicTrajectoryBuilder::init |
( |
const edm::EventSetup & |
es, |
|
|
bool |
seedplus |
|
) |
| |
◆ qualityFilter()
bool CosmicTrajectoryBuilder::qualityFilter |
( |
const Trajectory & |
traj | ) |
|
|
private |
◆ run()
◆ seedMeasurements()
◆ SortHits()
◆ startingTSOS()
◆ updateTrajectory()
◆ chi2cut
double CosmicTrajectoryBuilder::chi2cut |
|
private |
◆ geometry
std::string CosmicTrajectoryBuilder::geometry |
|
private |
◆ hitCloner
◆ hits
◆ magfield
◆ RHBuilder
◆ seed_plus
bool CosmicTrajectoryBuilder::seed_plus |
|
private |
◆ theBuilderName
std::string CosmicTrajectoryBuilder::theBuilderName |
|
private |
◆ theEstimator
◆ theFitter
◆ theMinHits
int CosmicTrajectoryBuilder::theMinHits |
|
private |
◆ thePropagator
◆ thePropagatorOp
◆ theSmoother
◆ theUpdator
KFUpdator* CosmicTrajectoryBuilder::theUpdator |
|
private |
◆ tracker
◆ trajFit
std::vector<Trajectory> CosmicTrajectoryBuilder::trajFit |
|
private |
const TrackerGeomDet * idToDet(DetId) const override
PropagatorWithMaterial * thePropagatorOp
T const * product() const
void AddHit(Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits)
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const override
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
std::pair< const_iterator, const_iterator > range
GlobalPoint globalPosition() const
KFTrajectorySmoother * theSmoother
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
KFTrajectoryFitter * theFitter
recHitContainer::const_iterator const_iterator
TrajectoryStateOnSurface const & updatedState() const
T getUntrackedParameter(std::string const &, T const &) const
std::shared_ptr< TrackingRecHit const > RecHitPointer
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
virtual TrajectoryContainer trajectories(const Trajectory &traj) const
edm::ESHandle< TrackerGeometry > tracker
const Plane & surface() const
The nominal surface of the GeomDet.
edm::ESHandle< MagneticField > magfield
std::vector< Trajectory > trajFit
LocalPoint localPosition() const
void init(const edm::EventSetup &es, bool)
PropagatorWithMaterial * thePropagator
TrajectoryMeasurement const & lastMeasurement() const
const TransientTrackingRecHitBuilder * RHBuilder
std::vector< const TrackingRecHit * > SortHits(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed)
bool qualityFilter(const Trajectory &traj)
std::string theBuilderName
void push(const TrajectoryMeasurement &tm)
TransientTrackingRecHit::RecHitContainer hits
T getParameter(std::string const &) const
ConstRecHitContainer recHits() const
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
TrajectoryMeasurement const & firstMeasurement() const
data_type const * data(size_t cell) const
TrajectorySeed const & seed() const
Access to the seed used to reconstruct the Trajectory.
Abs< T >::type abs(const T &t)
Trajectory createStartingTrajectory(const TrajectorySeed &seed) const
TSOS startingTSOS(const TrajectorySeed &seed) const
void setHitCloner(TkCloner const *hc) override
Chi2MeasurementEstimator * theEstimator