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

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

Definition at line 137 of file MuonStubMakerBase.cc.

137 {}

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

References digiToStubsConverters.

147  {
148  //LogTrace("l1tOmtfEventPrint") << __FUNCTION__ << ":" << __LINE__ << " iProcessor " << iProcessor << " preocType "
149  // << procTyp << std::endl;
150 
151  for (auto& digiToStubsConverter : digiToStubsConverters)
152  digiToStubsConverter->makeStubs(muonStubsInLayers, iProcessor, procTyp, bxFrom, bxTo);
153 }
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 129 of file MuonStubMakerBase.cc.

References config, RpcClusterization::configure(), ProcConfigurationBase::getRpcDropAllClustersIfMoreThanMax(), ProcConfigurationBase::getRpcMaxClusterCnt(), ProcConfigurationBase::getRpcMaxClusterSize(), and rpcClusterization.

Referenced by OMTFinputMaker::initialize().

131  {
134 }
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 141 of file MuonStubMakerBase.cc.

References digiToStubsConverters.

141  {
142  for (auto& digiToStubsConverter : digiToStubsConverters)
143  digiToStubsConverter->loadDigis(event);
144 }
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().