CMS 3D CMS Logo

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

#include <MuonStubMakerBase.h>

Inheritance diagram for MuonStubMakerBase:
OMTFinputMaker

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 150 of file MuonStubMakerBase.cc.

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

◆ ~MuonStubMakerBase()

MuonStubMakerBase::~MuonStubMakerBase ( )
virtual

Definition at line 162 of file MuonStubMakerBase.cc.

162 {}

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 171 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

176  {
177  //LogTrace("l1tOmtfEventPrint") << __FUNCTION__ << ":" << __LINE__ << " iProcessor " << iProcessor << " preocType "
178  // << procTyp << std::endl;
179 
180  for (auto& digiToStubsConverter : digiToStubsConverters)
181  digiToStubsConverter->makeStubs(muonStubsInLayers, iProcessor, procTyp, bxFrom, bxTo, observers);
182 }
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 154 of file MuonStubMakerBase.cc.

References RpcClusterization::configure(), and rpcClusterization.

Referenced by OMTFinputMaker::initialize().

156  {
158  config->getRpcMaxClusterSize(), config->getRpcMaxClusterCnt(), config->getRpcDropAllClustersIfMoreThanMax());
159 }
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 166 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

166  {
167  for (auto& digiToStubsConverter : digiToStubsConverters)
168  digiToStubsConverter->loadDigis(event);
169 }
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().