CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
MuonStubMakerBase Class Reference

#include <MuonStubMakerBase.h>

Inheritance diagram for MuonStubMakerBase:
OMTFinputMaker InputMakerPhase2

Public Member Functions

void buildInputForProcessor (MuonStubPtrs2D &muonStubsInLayers, unsigned int iProcessor, l1t::tftype procTyp, int bxFrom, int bxTo, std::vector< std::unique_ptr< IOMTFEmulationObserver > > &observers)
 Method translating trigger digis into input matrix with global phi coordinates, fills the muonStubsInLayers. More...
 
virtual void initialize (const edm::ParameterSet &edmCfg, const edm::EventSetup &es, const MuonGeometryTokens &muonGeometryTokens)
 
void loadAndFilterDigis (const edm::Event &event)
 
 MuonStubMakerBase (const ProcConfigurationBase *procConf)
 
virtual ~MuonStubMakerBase ()
 

Protected Attributes

const ProcConfigurationBaseconfig = nullptr
 
std::vector< std::unique_ptr< DigiToStubsConverterBase > > digiToStubsConverters
 
RpcClusterization rpcClusterization
 

Detailed Description

Definition at line 173 of file MuonStubMakerBase.h.

Constructor & Destructor Documentation

◆ MuonStubMakerBase()

MuonStubMakerBase::MuonStubMakerBase ( const ProcConfigurationBase procConf)

Definition at line 142 of file MuonStubMakerBase.cc.

142 : config(procConf), rpcClusterization() {}
const ProcConfigurationBase * config
RpcClusterization rpcClusterization

◆ ~MuonStubMakerBase()

MuonStubMakerBase::~MuonStubMakerBase ( )
virtual

Definition at line 154 of file MuonStubMakerBase.cc.

154 {}

Member Function Documentation

◆ buildInputForProcessor()

void MuonStubMakerBase::buildInputForProcessor ( MuonStubPtrs2D muonStubsInLayers,
unsigned int  iProcessor,
l1t::tftype  procTyp,
int  bxFrom,
int  bxTo,
std::vector< std::unique_ptr< IOMTFEmulationObserver > > &  observers 
)

Method translating trigger digis into input matrix with global phi coordinates, fills the muonStubsInLayers.

Definition at line 163 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

168  {
169  //LogTrace("l1tOmtfEventPrint") << __FUNCTION__ << ":" << __LINE__ << " iProcessor " << iProcessor << " preocType "
170  // << procTyp << std::endl;
171 
172  for (auto& digiToStubsConverter : digiToStubsConverters)
173  digiToStubsConverter->makeStubs(muonStubsInLayers, iProcessor, procTyp, bxFrom, bxTo, observers);
174 }
std::vector< std::unique_ptr< DigiToStubsConverterBase > > digiToStubsConverters

◆ initialize()

void MuonStubMakerBase::initialize ( const edm::ParameterSet edmCfg,
const edm::EventSetup es,
const MuonGeometryTokens muonGeometryTokens 
)
virtual

Reimplemented in OMTFinputMaker.

Definition at line 146 of file MuonStubMakerBase.cc.

References RpcClusterization::configure(), and rpcClusterization.

Referenced by OMTFinputMaker::initialize().

148  {
150  config->getRpcMaxClusterSize(), config->getRpcMaxClusterCnt(), config->getRpcDropAllClustersIfMoreThanMax());
151 }
Definition: config.py:1
RpcClusterization rpcClusterization
void configure(int maxClusterSize, int maxClusterCnt, bool dropAllClustersIfMoreThanMax)

◆ loadAndFilterDigis()

void MuonStubMakerBase::loadAndFilterDigis ( const edm::Event event)

Definition at line 158 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

158  {
159  for (auto& digiToStubsConverter : digiToStubsConverters)
160  digiToStubsConverter->loadDigis(event);
161 }
std::vector< std::unique_ptr< DigiToStubsConverterBase > > digiToStubsConverters
Definition: event.py:1

Member Data Documentation

◆ config

const ProcConfigurationBase* MuonStubMakerBase::config = nullptr
protected

Definition at line 194 of file MuonStubMakerBase.h.

◆ digiToStubsConverters

std::vector<std::unique_ptr<DigiToStubsConverterBase> > MuonStubMakerBase::digiToStubsConverters
protected

◆ rpcClusterization

RpcClusterization MuonStubMakerBase::rpcClusterization
protected

Definition at line 198 of file MuonStubMakerBase.h.

Referenced by initialize(), and OMTFinputMaker::OMTFinputMaker().