CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( const ProcConfigurationBase procConf)

Definition at line 138 of file MuonStubMakerBase.cc.

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

Definition at line 150 of file MuonStubMakerBase.cc.

150 {}

Member Function Documentation

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
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 config, RpcClusterization::configure(), ProcConfigurationBase::getRpcDropAllClustersIfMoreThanMax(), ProcConfigurationBase::getRpcMaxClusterCnt(), ProcConfigurationBase::getRpcMaxClusterSize(), and rpcClusterization.

Referenced by OMTFinputMaker::initialize().

144  {
147 }
virtual unsigned int getRpcMaxClusterCnt() const
virtual bool getRpcDropAllClustersIfMoreThanMax() const
const ProcConfigurationBase * config
RpcClusterization rpcClusterization
void configure(int maxClusterSize, int maxClusterCnt, bool dropAllClustersIfMoreThanMax)
virtual unsigned int getRpcMaxClusterSize() const
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

Member Data Documentation

const ProcConfigurationBase* MuonStubMakerBase::config = nullptr
protected
std::vector<std::unique_ptr<DigiToStubsConverterBase> > MuonStubMakerBase::digiToStubsConverters
protected
RpcClusterization MuonStubMakerBase::rpcClusterization
protected

Definition at line 177 of file MuonStubMakerBase.h.

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