|
|
#include <CosmicTrajectoryBuilder.h>
Definition at line 74 of file CosmicTrajectoryBuilder.h.
◆ TM
◆ TSOS
◆ CosmicTrajectoryBuilder()
◆ ~CosmicTrajectoryBuilder()
CosmicTrajectoryBuilder::~CosmicTrajectoryBuilder |
( |
| ) |
|
◆ AddHit()
Definition at line 192 of file CosmicTrajectoryBuilder.cc.
194 unsigned int ibestdet;
196 for (
unsigned int icosmhit = 0; icosmhit < Hits.size(); icosmhit++) {
198 unsigned int iraw = Hits[icosmhit]->geographicalId().rawId();
199 LogDebug(
"CosmicTrackFinder") <<
" HIT POSITION " << gphit;
211 LogDebug(
"CosmicTrackFinder") <<
"STATE PROPAGATED AT DET " << iraw <<
" " << prSt;
212 for (icosm2 = icosmhit; icosm2 < Hits.size(); icosm2++) {
213 if (iraw == Hits[icosm2]->geographicalId().rawId()) {
215 float contr =
theEstimator->estimate(prSt, *tmphit).second;
216 if (contr < chi2min) {
220 if (icosm2 != icosmhit)
224 icosm2 = Hits.size();
228 LogDebug(
"CosmicTrackFinder") <<
"Chi2 contribution for hit at "
229 <<
RHBuilder->
build(Hits[ibestdet])->globalPosition() <<
" is " << chi2min;
235 if ((
abs(ck.
x() / ck.
y()) > 2) || (
abs(ck.
z() / ck.
y()) > 2))
239 if (
abs(prLoc.
x()) < 25 &&
abs(prLoc.
y()) < 25) {
244 LogDebug(
"CosmicTrackFinder") <<
"STATE UPDATED WITH HIT AT POSITION " << tmphitbestdet->globalPosition()
247 hits.push_back(tmphitbestdet);
250 LogDebug(
"CosmicTrackFinder") <<
" Hits outside module surface " << prLoc;
252 LogDebug(
"CosmicTrackFinder") <<
" State can not be updated with hit at position " << gphit;
254 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
GlobalPoint globalPosition() const
KFTrajectorySmoother * theSmoother
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
KFTrajectoryFitter * theFitter
TrajectoryStateOnSurface const & updatedState() const
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
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
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.
T getParameter(std::string const &) const
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