CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MTDRecHitAlgoBase Class Referenceabstract

#include <MTDRecHitAlgoBase.h>

Inheritance diagram for MTDRecHitAlgoBase:
MTDRecHitAlgo

Public Member Functions

virtual void getEvent (const edm::Event &)=0
 get event and eventsetup information More...
 
virtual void getEventSetup (const edm::EventSetup &)=0
 
virtual FTLRecHit makeRecHit (const FTLUncalibratedRecHit &uRecHit, uint32_t &flags) const =0
 make rechits from dataframes More...
 
 MTDRecHitAlgoBase (const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
 Constructor. More...
 
const std::string & name () const
 
virtual ~MTDRecHitAlgoBase ()
 Destructor. More...
 

Private Attributes

std::string name_
 

Detailed Description

Template algorithm to make rechits from uncalibrated rechits

Author
Lindsey Gray

Definition at line 21 of file MTDRecHitAlgoBase.h.

Constructor & Destructor Documentation

◆ MTDRecHitAlgoBase()

MTDRecHitAlgoBase::MTDRecHitAlgoBase ( const edm::ParameterSet conf,
edm::ConsumesCollector sumes 
)
inline

Constructor.

Definition at line 24 of file MTDRecHitAlgoBase.h.

25  : name_(conf.getParameter<std::string>("algoName")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307

◆ ~MTDRecHitAlgoBase()

virtual MTDRecHitAlgoBase::~MTDRecHitAlgoBase ( )
inlinevirtual

Destructor.

Definition at line 28 of file MTDRecHitAlgoBase.h.

28 {}

Member Function Documentation

◆ getEvent()

virtual void MTDRecHitAlgoBase::getEvent ( const edm::Event )
pure virtual

get event and eventsetup information

Implemented in MTDRecHitAlgo.

◆ getEventSetup()

virtual void MTDRecHitAlgoBase::getEventSetup ( const edm::EventSetup )
pure virtual

Implemented in MTDRecHitAlgo.

◆ makeRecHit()

virtual FTLRecHit MTDRecHitAlgoBase::makeRecHit ( const FTLUncalibratedRecHit uRecHit,
uint32_t &  flags 
) const
pure virtual

make rechits from dataframes

Implemented in MTDRecHitAlgo.

◆ name()

const std::string& MTDRecHitAlgoBase::name ( void  ) const
inline

Definition at line 37 of file MTDRecHitAlgoBase.h.

References name_.

Referenced by config.CFG::__str__(), and validation.Sample::digest().

37 { return name_; }

Member Data Documentation

◆ name_

std::string MTDRecHitAlgoBase::name_
private

Definition at line 40 of file MTDRecHitAlgoBase.h.

Referenced by name().