Definition at line 31 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 62 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().
75 if(onlyDT && onlyRPC) {
edm::LogWarning(
"Inconsistent configuration")<<
"onlyRPC and onlyDT options";
return;}
93 auto l1ttmp = std::make_unique<L1MuDTChambPhContainer>();
94 m_l1tma->run(phiDigis, thetaDigis, rpcDigis,c);
95 *l1ttmp = m_l1tma->get_ph_tm_output();
97 auto l1ttmth = std::make_unique<L1MuDTChambThContainer>();
99 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::ESHandle< L1TTwinMuxParams > tmParamsHandle
Event Setup Handler.
edm::EDGetToken m_dtthetadigi
int get_UseOnlyDT() const
int get_UseOnlyRPC() const
T const * product() const
edm::EDGetToken m_rpcsource