CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

ClusterShapeTrajectoryFilterESProducer Class Reference

#include <TrackingTools/ClusterShapeTrajectoryFilterESProducer/src/ClusterShapeTrajectoryFilterESProducer.cc>

Inheritance diagram for ClusterShapeTrajectoryFilterESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef std::auto_ptr
< TrajectoryFilter
ReturnType

Public Member Functions

 ClusterShapeTrajectoryFilterESProducer (const edm::ParameterSet &)
ReturnType produce (const TrajectoryFilter::Record &)
 ~ClusterShapeTrajectoryFilterESProducer ()

Private Attributes

std::string componentName
std::string componentType
edm::ParameterSet filterPset

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 44 of file ClusterShapeTrajectoryFilterESProducer.h.


Member Typedef Documentation

Definition at line 50 of file ClusterShapeTrajectoryFilterESProducer.h.


Constructor & Destructor Documentation

ClusterShapeTrajectoryFilterESProducer::ClusterShapeTrajectoryFilterESProducer ( const edm::ParameterSet iConfig)

Definition at line 16 of file ClusterShapeTrajectoryFilterESProducer.cc.

References edm::ParameterSet::getParameter().

{
  componentName = iConfig.getParameter<std::string>("ComponentName");
  
  setWhatProduced(this, componentName);
}
ClusterShapeTrajectoryFilterESProducer::~ClusterShapeTrajectoryFilterESProducer ( )

Definition at line 26 of file ClusterShapeTrajectoryFilterESProducer.cc.

{
}

Member Function Documentation

ClusterShapeTrajectoryFilterESProducer::ReturnType ClusterShapeTrajectoryFilterESProducer::produce ( const TrajectoryFilter::Record iRecord)

Definition at line 33 of file ClusterShapeTrajectoryFilterESProducer.cc.

References edm::eventsetup::EventSetupRecord::get().

{
  using namespace edm::es;

  edm::ESHandle<ClusterShapeHitFilter> shape;
  iRecord.get("ClusterShapeHitFilter",shape);

  // Produce the filter using the plugin factory
  ClusterShapeTrajectoryFilterESProducer::ReturnType
    aFilter(new ClusterShapeTrajectoryFilter(  shape.product()));

  return aFilter;
}

Member Data Documentation

Definition at line 55 of file ClusterShapeTrajectoryFilterESProducer.h.

Definition at line 56 of file ClusterShapeTrajectoryFilterESProducer.h.

Definition at line 57 of file ClusterShapeTrajectoryFilterESProducer.h.