CMS 3D CMS Logo

Public Member Functions | Private Attributes

ES_HitMatchingAlgorithm_thresholds< T > Class Template Reference

#include <HitMatchingAlgorithm_thresholds.h>

Inheritance diagram for ES_HitMatchingAlgorithm_thresholds< T >:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 ES_HitMatchingAlgorithm_thresholds (const edm::ParameterSet &p)
 Constructor.
boost::shared_ptr
< HitMatchingAlgorithm< T > > 
produce (const HitMatchingAlgorithmRecord &record)
 Implement the producer.
virtual ~ES_HitMatchingAlgorithm_thresholds ()
 Destructor.

Private Attributes

boost::shared_ptr
< HitMatchingAlgorithm< T > > 
algo_
 Data members.
edm::ParameterSet pset_

Detailed Description

template<class T>
class ES_HitMatchingAlgorithm_thresholds< T >

********************** DECLARATION OF THE ALGORITHM TO THE FRAMEWORK **********************

Definition at line 155 of file HitMatchingAlgorithm_thresholds.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 164 of file HitMatchingAlgorithm_thresholds.h.

References edm::ESProducer::setWhatProduced().

      : pset_(p)
    {
      setWhatProduced( this );
    }
template<class T >
virtual ES_HitMatchingAlgorithm_thresholds< T >::~ES_HitMatchingAlgorithm_thresholds ( ) [inline, virtual]

Destructor.

Definition at line 171 of file HitMatchingAlgorithm_thresholds.h.

{}

Member Function Documentation

template<class T >
boost::shared_ptr< HitMatchingAlgorithm< T > > ES_HitMatchingAlgorithm_thresholds< T >::produce ( const HitMatchingAlgorithmRecord record) [inline]

Implement the producer.

Definition at line 174 of file HitMatchingAlgorithm_thresholds.h.

References ES_HitMatchingAlgorithm_thresholds< T >::algo_, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and ES_HitMatchingAlgorithm_thresholds< T >::pset_.

    { 
      edm::ESHandle< StackedTrackerGeometry > StackedTrackerGeomHandle;
      record.getRecord< StackedTrackerGeometryRecord >().get( StackedTrackerGeomHandle );

      algo_ = boost::shared_ptr< HitMatchingAlgorithm< T > >( new HitMatchingAlgorithm_thresholds< T >( &(*StackedTrackerGeomHandle),
                                                                           pset_ ) );
      return algo_;
    } 

Member Data Documentation

template<class T >
boost::shared_ptr< HitMatchingAlgorithm< T > > ES_HitMatchingAlgorithm_thresholds< T >::algo_ [private]
template<class T >
edm::ParameterSet ES_HitMatchingAlgorithm_thresholds< T >::pset_ [private]