CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
ME0DigiPreRecoModel Class Referenceabstract

#include <ME0DigiPreRecoModel.h>

Inheritance diagram for ME0DigiPreRecoModel:
ME0PreRecoGaussianModel ME0PreRecoNoSmearModel

Public Member Functions

void fillDigis (int rollDetId, ME0DigiPreRecoCollection &)
 
const ME0GeometrygetGeometry ()
 
void setGeometry (const ME0Geometry *geom)
 
virtual void setup ()=0
 
virtual void simulateNoise (const ME0EtaPartition *, CLHEP::HepRandomEngine *engine)=0
 
virtual void simulateSignal (const ME0EtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *engine)=0
 
virtual ~ME0DigiPreRecoModel ()
 

Protected Member Functions

 ME0DigiPreRecoModel (const edm::ParameterSet &)
 

Protected Attributes

std::set< ME0DigiPreRecodigi_
 
const ME0Geometrygeometry_
 

Detailed Description

Base Class for the ME0 strip response simulation

Definition at line 28 of file ME0DigiPreRecoModel.h.

Constructor & Destructor Documentation

virtual ME0DigiPreRecoModel::~ME0DigiPreRecoModel ( )
inlinevirtual

Definition at line 32 of file ME0DigiPreRecoModel.h.

32 {}
ME0DigiPreRecoModel::ME0DigiPreRecoModel ( const edm::ParameterSet )
inlineprotected

Definition at line 52 of file ME0DigiPreRecoModel.h.

52 {}

Member Function Documentation

void ME0DigiPreRecoModel::fillDigis ( int  rollDetId,
ME0DigiPreRecoCollection digis 
)

Definition at line 5 of file ME0DigiPreRecoModel.cc.

References ztail::d, and digi_.

Referenced by ME0DigiPreRecoProducer::produce().

6 {
7  for (auto d: digi_)
8  {
9  digis.insertDigi(ME0DetId(rollDetId), d);
10  }
11  digi_.clear();
12 }
tuple d
Definition: ztail.py:151
std::set< ME0DigiPreReco > digi_
const ME0Geometry* ME0DigiPreRecoModel::getGeometry ( )
inline

Definition at line 36 of file ME0DigiPreRecoModel.h.

References geometry_.

Referenced by ME0DigiPreRecoProducer::produce().

36 {return geometry_;}
const ME0Geometry * geometry_
void ME0DigiPreRecoModel::setGeometry ( const ME0Geometry geom)
inline

Definition at line 34 of file ME0DigiPreRecoModel.h.

References relativeConstraints::geom, and geometry_.

Referenced by ME0DigiPreRecoProducer::beginRun().

virtual void ME0DigiPreRecoModel::setup ( )
pure virtual
virtual void ME0DigiPreRecoModel::simulateNoise ( const ME0EtaPartition ,
CLHEP::HepRandomEngine *  engine 
)
pure virtual
virtual void ME0DigiPreRecoModel::simulateSignal ( const ME0EtaPartition ,
const edm::PSimHitContainer ,
CLHEP::HepRandomEngine *  engine 
)
pure virtual

Member Data Documentation

std::set< ME0DigiPreReco> ME0DigiPreRecoModel::digi_
protected
const ME0Geometry* ME0DigiPreRecoModel::geometry_
protected

Definition at line 54 of file ME0DigiPreRecoModel.h.

Referenced by getGeometry(), and setGeometry().