CMS 3D CMS Logo

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

#include <FTLDigitizerBase.h>

Inheritance diagram for FTLDigitizerBase:
ftl_digitizer::FTLDigitizer< SensorPhysics, ElectronicsSim >

Public Member Functions

virtual void accumulate (edm::Event const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
 handle SimHit accumulation More...
 
virtual void accumulate (PileUpEventPrincipal const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
 
virtual void accumulate (edm::Handle< edm::PSimHitContainer > const &hits, int bxCrossing, CLHEP::HepRandomEngine *hre)=0
 
virtual void beginRun (const edm::EventSetup &es)=0
 actions at the start/end of run More...
 
virtual void endRun ()=0
 
virtual void finalizeEvent (edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)=0
 
 FTLDigitizerBase (const edm::ParameterSet &config, edm::ConsumesCollector &iC, edm::ProducerBase &parent)
 
virtual void initializeEvent (edm::Event const &e, edm::EventSetup const &c)=0
 actions at the start/end of event More...
 
const std::string & name () const
 
virtual ~FTLDigitizerBase ()
 

Protected Attributes

const std::string digiCollection_
 
const edm::InputTag inputSimHits_
 
const ForwardSubdetector mySubDet_
 
const float refSpeed_
 
const uint32_t verbosity_
 

Private Attributes

std::string name_
 

Detailed Description

Definition at line 30 of file FTLDigitizerBase.h.

Constructor & Destructor Documentation

FTLDigitizerBase::FTLDigitizerBase ( const edm::ParameterSet config,
edm::ConsumesCollector iC,
edm::ProducerBase parent 
)
inline

Definition at line 32 of file FTLDigitizerBase.h.

References edm::ConsumesCollector::consumes(), and edm::ProductRegistryHelper::produces().

34  :
35  inputSimHits_( config.getParameter<edm::InputTag>("inputSimHits") ),
36  digiCollection_( config.getParameter<std::string>("digiCollectionTag") ),
38  verbosity_( config.getUntrackedParameter< uint32_t >("verbosity",0) ),
39  refSpeed_( 0.1*CLHEP::c_light ),
40  name_( config.getParameter<std::string>("digitizerName") ) {
41  iC.consumes<std::vector<PSimHit> >(inputSimHits_);
43  }
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const edm::InputTag inputSimHits_
const float refSpeed_
const ForwardSubdetector mySubDet_
const uint32_t verbosity_
const std::string digiCollection_
virtual FTLDigitizerBase::~FTLDigitizerBase ( )
inlinevirtual

Member Function Documentation

virtual void FTLDigitizerBase::accumulate ( edm::Event const &  e,
edm::EventSetup const &  c,
CLHEP::HepRandomEngine *  hre 
)
pure virtual

handle SimHit accumulation

Implemented in ftl_digitizer::FTLDigitizer< SensorPhysics, ElectronicsSim >.

virtual void FTLDigitizerBase::accumulate ( PileUpEventPrincipal const &  e,
edm::EventSetup const &  c,
CLHEP::HepRandomEngine *  hre 
)
pure virtual
virtual void FTLDigitizerBase::accumulate ( edm::Handle< edm::PSimHitContainer > const &  hits,
int  bxCrossing,
CLHEP::HepRandomEngine *  hre 
)
pure virtual
virtual void FTLDigitizerBase::beginRun ( const edm::EventSetup es)
pure virtual

actions at the start/end of run

Implemented in ftl_digitizer::FTLDigitizer< SensorPhysics, ElectronicsSim >.

virtual void FTLDigitizerBase::endRun ( )
pure virtual
virtual void FTLDigitizerBase::finalizeEvent ( edm::Event e,
edm::EventSetup const &  c,
CLHEP::HepRandomEngine *  hre 
)
pure virtual
virtual void FTLDigitizerBase::initializeEvent ( edm::Event const &  e,
edm::EventSetup const &  c 
)
pure virtual

actions at the start/end of event

Implemented in ftl_digitizer::FTLDigitizer< SensorPhysics, ElectronicsSim >.

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

Definition at line 67 of file FTLDigitizerBase.h.

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

67  {
68  return name_;
69  }

Member Data Documentation

const std::string FTLDigitizerBase::digiCollection_
protected

Definition at line 74 of file FTLDigitizerBase.h.

const edm::InputTag FTLDigitizerBase::inputSimHits_
protected

Definition at line 73 of file FTLDigitizerBase.h.

const ForwardSubdetector FTLDigitizerBase::mySubDet_
protected

Definition at line 77 of file FTLDigitizerBase.h.

std::string FTLDigitizerBase::name_
private

Definition at line 86 of file FTLDigitizerBase.h.

const float FTLDigitizerBase::refSpeed_
protected

Definition at line 83 of file FTLDigitizerBase.h.

const uint32_t FTLDigitizerBase::verbosity_
protected

Definition at line 80 of file FTLDigitizerBase.h.