CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes
TkGluedMeasurementDet::HitCollectorForRecHits Class Reference

Public Types

typedef
SiStripRecHitMatcher::Collector 
Collector
 

Public Member Functions

void add (SiStripMatchedRecHit2D const &hit)
 
void addProjected (const TransientTrackingRecHit &hit, const GlobalVector &gdir)
 
void clearNewMatchedHitsFlag ()
 
SiStripRecHitMatcher::Collectorcollector ()
 
bool hasNewMatchedHits () const
 
 HitCollectorForRecHits (const GeomDet *geomDet, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe, RecHitContainer &target)
 

Private Attributes

SiStripRecHitMatcher::Collector collector_
 
const
StripClusterParameterEstimator
cpe_
 
const GeomDetgeomDet_
 
bool hasNewHits_
 
const SiStripRecHitMatchermatcher_
 
RecHitContainertarget_
 

Detailed Description

Definition at line 59 of file TkGluedMeasurementDet.h.

Member Typedef Documentation

Definition at line 61 of file TkGluedMeasurementDet.h.

Constructor & Destructor Documentation

TkGluedMeasurementDet::HitCollectorForRecHits::HitCollectorForRecHits ( const GeomDet geomDet,
const SiStripRecHitMatcher matcher,
const StripClusterParameterEstimator cpe,
RecHitContainer target 
)

Definition at line 282 of file TkGluedMeasurementDet.cc.

284  :
285  geomDet_(geomDet), matcher_(matcher), cpe_(cpe),target_(target),
286  collector_(boost::bind(&HitCollectorForRecHits::add,boost::ref(*this),_1)),
287  hasNewHits_(false)
288 {
289 }
const StripClusterParameterEstimator * cpe_
void add(SiStripMatchedRecHit2D const &hit)

Member Function Documentation

void TkGluedMeasurementDet::HitCollectorForRecHits::add ( SiStripMatchedRecHit2D const &  hit)
inline

Definition at line 66 of file TkGluedMeasurementDet.h.

References newFWLiteAna::build.

void TkGluedMeasurementDet::HitCollectorForRecHits::addProjected ( const TransientTrackingRecHit hit,
const GlobalVector gdir 
)

Definition at line 292 of file TkGluedMeasurementDet.cc.

References trackerHitRTTI::proj, and TrackingRecHitProjector< ResultingHit >::project().

294 {
296  target_.push_back( proj.project( hit, *geomDet_, gdir));
297 }
RecHitPointer project(const TransientTrackingRecHit &hit, const GeomDet &det, const TrajectoryStateOnSurface &ts) const
void TkGluedMeasurementDet::HitCollectorForRecHits::clearNewMatchedHitsFlag ( )
inline
SiStripRecHitMatcher::Collector& TkGluedMeasurementDet::HitCollectorForRecHits::collector ( void  )
inline

Definition at line 75 of file TkGluedMeasurementDet.h.

75 { return collector_; }
bool TkGluedMeasurementDet::HitCollectorForRecHits::hasNewMatchedHits ( ) const
inline

Member Data Documentation

SiStripRecHitMatcher::Collector TkGluedMeasurementDet::HitCollectorForRecHits::collector_
private

Definition at line 83 of file TkGluedMeasurementDet.h.

const StripClusterParameterEstimator* TkGluedMeasurementDet::HitCollectorForRecHits::cpe_
private

Definition at line 81 of file TkGluedMeasurementDet.h.

const GeomDet* TkGluedMeasurementDet::HitCollectorForRecHits::geomDet_
private

Definition at line 79 of file TkGluedMeasurementDet.h.

bool TkGluedMeasurementDet::HitCollectorForRecHits::hasNewHits_
private

Definition at line 84 of file TkGluedMeasurementDet.h.

const SiStripRecHitMatcher* TkGluedMeasurementDet::HitCollectorForRecHits::matcher_
private

Definition at line 80 of file TkGluedMeasurementDet.h.

RecHitContainer& TkGluedMeasurementDet::HitCollectorForRecHits::target_
private

Definition at line 82 of file TkGluedMeasurementDet.h.