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 SeedingLayer &sl, const edm::EventSetup &es)
 
template<typename H >
TransientTrackingRecHit::ConstRecHitPointer operator() (const H &hit)
 

Private Attributes

const edm::EventSetupes_
 
const SeedingLayersl_
 

Detailed Description

Definition at line 31 of file HitExtractor.h.

Constructor & Destructor Documentation

ctfseeding::HitConv::HitConv ( const SeedingLayer sl,
const edm::EventSetup es 
)
inline

Definition at line 33 of file HitExtractor.h.

33 : sl_(sl), es_(es) {}
const SeedingLayer & sl_
Definition: HitExtractor.h:39
const edm::EventSetup & es_
Definition: HitExtractor.h:40

Member Function Documentation

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

Definition at line 35 of file HitExtractor.h.

References TransientTrackingRecHitBuilder::build(), ctfseeding::SeedingLayer::hitBuilder(), and sl_.

35  {
36  const TrackingRecHit* trh = &hit;
37  return sl_.hitBuilder()->build(trh); }
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
const SeedingLayer & sl_
Definition: HitExtractor.h:39
const TransientTrackingRecHitBuilder * hitBuilder() const
Definition: SeedingLayer.cc:85

Member Data Documentation

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

Definition at line 40 of file HitExtractor.h.

const SeedingLayer& ctfseeding::HitConv::sl_
private

Definition at line 39 of file HitExtractor.h.

Referenced by operator()().