CMS 3D CMS Logo

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

#include <HitExtractor.h>

Public Member Functions

 HitConv (const TransientTrackingRecHitBuilder &ttrhBuilder, const edm::EventSetup &es)
 
template<typename H >
TransientTrackingRecHit::ConstRecHitPointer operator() (const H &hit)
 

Private Attributes

const edm::EventSetupes_
 
const
TransientTrackingRecHitBuilder
ttrhBuilder_
 

Detailed Description

Definition at line 37 of file HitExtractor.h.

Constructor & Destructor Documentation

ctfseeding::HitConv::HitConv ( const TransientTrackingRecHitBuilder ttrhBuilder,
const edm::EventSetup es 
)
inline

Definition at line 39 of file HitExtractor.h.

39 : ttrhBuilder_(ttrhBuilder), es_(es) {}
const TransientTrackingRecHitBuilder & ttrhBuilder_
Definition: HitExtractor.h:45
const edm::EventSetup & es_
Definition: HitExtractor.h:46

Member Function Documentation

template<typename H >
TransientTrackingRecHit::ConstRecHitPointer ctfseeding::HitConv::operator() ( const H &  hit)
inline

Definition at line 41 of file HitExtractor.h.

References TransientTrackingRecHitBuilder::build(), and ttrhBuilder_.

41  {
42  const TrackingRecHit* trh = &hit;
43  return ttrhBuilder_.build(trh); }
const TransientTrackingRecHitBuilder & ttrhBuilder_
Definition: HitExtractor.h:45
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit

Member Data Documentation

const edm::EventSetup& ctfseeding::HitConv::es_
private

Definition at line 46 of file HitExtractor.h.

const TransientTrackingRecHitBuilder& ctfseeding::HitConv::ttrhBuilder_
private

Definition at line 45 of file HitExtractor.h.

Referenced by operator()().