CMS 3D CMS Logo

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

◆ ~ME0DigiPreRecoModel()

virtual ME0DigiPreRecoModel::~ME0DigiPreRecoModel ( )
inlinevirtual

Definition at line 30 of file ME0DigiPreRecoModel.h.

30 {}

◆ ME0DigiPreRecoModel()

ME0DigiPreRecoModel::ME0DigiPreRecoModel ( const edm::ParameterSet )
inlineprotected

Definition at line 50 of file ME0DigiPreRecoModel.h.

50 {}

Member Function Documentation

◆ fillDigis()

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

Definition at line 4 of file ME0DigiPreRecoModel.cc.

4  {
5  for (const auto& d : digi_) {
6  digis.insertDigi(ME0DetId(rollDetId), d);
7  }
8  digi_.clear();
9 }

References ztail::d, and digi_.

◆ getGeometry()

const ME0Geometry* ME0DigiPreRecoModel::getGeometry ( )
inline

Definition at line 34 of file ME0DigiPreRecoModel.h.

34 { return geometry_; }

References geometry_.

◆ setGeometry()

void ME0DigiPreRecoModel::setGeometry ( const ME0Geometry geom)
inline

Definition at line 32 of file ME0DigiPreRecoModel.h.

32 { geometry_ = geom; }

References relativeConstraints::geom, and geometry_.

◆ setup()

virtual void ME0DigiPreRecoModel::setup ( )
pure virtual

◆ simulateNoise()

virtual void ME0DigiPreRecoModel::simulateNoise ( const ME0EtaPartition ,
CLHEP::HepRandomEngine *  engine 
)
pure virtual

◆ simulateSignal()

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

Member Data Documentation

◆ digi_

std::set<ME0DigiPreReco> ME0DigiPreRecoModel::digi_
protected

◆ geometry_

const ME0Geometry* ME0DigiPreRecoModel::geometry_
protected

Definition at line 52 of file ME0DigiPreRecoModel.h.

Referenced by getGeometry(), and setGeometry().

relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
ME0DigiPreRecoModel::geometry_
const ME0Geometry * geometry_
Definition: ME0DigiPreRecoModel.h:52
ME0DetId
Definition: ME0DetId.h:16
ME0DigiPreRecoModel::digi_
std::set< ME0DigiPreReco > digi_
Definition: ME0DigiPreRecoModel.h:48
ztail.d
d
Definition: ztail.py:151