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=0, int bxTo=0)
 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 156 of file MuonStubMakerBase.h.

Constructor & Destructor Documentation

◆ MuonStubMakerBase()

MuonStubMakerBase::MuonStubMakerBase ( const ProcConfigurationBase procConf)

Definition at line 138 of file MuonStubMakerBase.cc.

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

◆ ~MuonStubMakerBase()

MuonStubMakerBase::~MuonStubMakerBase ( )
virtual

Definition at line 150 of file MuonStubMakerBase.cc.

150 {}

Member Function Documentation

◆ buildInputForProcessor()

void MuonStubMakerBase::buildInputForProcessor ( MuonStubPtrs2D muonStubsInLayers,
unsigned int  iProcessor,
l1t::tftype  procTyp,
int  bxFrom = 0,
int  bxTo = 0 
)

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

Definition at line 159 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

160  {
161  //LogTrace("l1tOmtfEventPrint") << __FUNCTION__ << ":" << __LINE__ << " iProcessor " << iProcessor << " preocType "
162  // << procTyp << std::endl;
163 
164  for (auto& digiToStubsConverter : digiToStubsConverters)
165  digiToStubsConverter->makeStubs(muonStubsInLayers, iProcessor, procTyp, bxFrom, bxTo);
166 }
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 142 of file MuonStubMakerBase.cc.

References RpcClusterization::configure(), and rpcClusterization.

Referenced by OMTFinputMaker::initialize().

144  {
146  config->getRpcMaxClusterSize(), config->getRpcMaxClusterCnt(), config->getRpcDropAllClustersIfMoreThanMax());
147 }
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 154 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

154  {
155  for (auto& digiToStubsConverter : digiToStubsConverters)
156  digiToStubsConverter->loadDigis(event);
157 }
std::vector< std::unique_ptr< DigiToStubsConverterBase > > digiToStubsConverters
Definition: event.py:1

Member Data Documentation

◆ config

const ProcConfigurationBase* MuonStubMakerBase::config = nullptr
protected

Definition at line 173 of file MuonStubMakerBase.h.

◆ digiToStubsConverters

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

◆ rpcClusterization

RpcClusterization MuonStubMakerBase::rpcClusterization
protected

Definition at line 177 of file MuonStubMakerBase.h.

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