Definition at line 30 of file L1TTwinMuxProducer.cc.
Check consistency of the paramters
Only RPC: the emulator's output consist from rpc->dy primitives only
Only DT: the emulator's output consist from dt primitives only
—Check consistency of the paramters
Definition at line 56 of file L1TTwinMuxProducer.cc.
References DEFINE_FWK_MODULE, edm::EventSetup::get(), edm::eventsetup::EventSetupRecordImplementation< T >::get(), L1TTwinMuxParams::get_UseOnlyDT(), L1TTwinMuxParams::get_UseOnlyRPC(), edm::Event::getByToken(), L1MuDTChambThContainer::getContainer(), edm::HandleBase::isValid(), eostools::move(), edm::Event::put(), and theta().
68 if (onlyDT && onlyRPC) {
69 edm::LogWarning(
"Inconsistent configuration") <<
"onlyRPC and onlyDT options";
83 edm::LogWarning(
"Inconsistent digis") <<
"input DT phi digis not valid";
87 auto l1ttmp = std::make_unique<L1MuDTChambPhContainer>();
88 m_l1tma->run(phiDigis, thetaDigis, rpcDigis, c);
89 *l1ttmp = m_l1tma->get_ph_tm_output();
91 auto l1ttmth = std::make_unique<L1MuDTChambThContainer>();
93 l1ttmth->setContainer(*theta);
The_Container const * getContainer() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Geom::Theta< T > theta() const
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
edm::EDGetToken m_dtthetadigi
edm::ESHandle< L1TTwinMuxParams > tmParamsHandle
Event Setup Handler.
int get_UseOnlyDT() const
int get_UseOnlyRPC() const
T const * product() const
edm::EDGetToken m_rpcsource