50 m_dtdigi = consumes<L1MuDTChambPhContainer>(
pset.getParameter<
edm::InputTag>(
"DTDigi_Source"));
51 m_dtthetadigi = consumes<L1MuDTChambThContainer>(
pset.getParameter<
edm::InputTag>(
"DTThetaDigi_Source"));
52 m_rpcsource = consumes<RPCDigiCollection>(
pset.getParameter<
edm::InputTag>(
"RPC_Source"));
53 m_tmParamsToken = esConsumes<L1TTwinMuxParams, L1TTwinMuxParamsRcd>();
55 produces<L1MuDTChambPhContainer>();
56 produces<L1MuDTChambThContainer>();
62 tmParamsHandle =
c.getHandle(m_tmParamsToken);
70 if (onlyDT && onlyRPC) {
71 edm::LogWarning(
"Inconsistent configuration") <<
"onlyRPC and onlyDT options";
78 e.getByToken(m_dtdigi, phiDigis);
79 e.getByToken(m_dtthetadigi, thetaDigis);
82 e.getByToken(m_rpcsource, rpcDigis);
85 edm::LogWarning(
"Inconsistent digis") <<
"input DT phi digis not valid";
89 auto l1ttmp = std::make_unique<L1MuDTChambPhContainer>();
90 m_l1tma->run(phiDigis, thetaDigis, rpcDigis,
c);
91 *l1ttmp = m_l1tma->get_ph_tm_output();
93 auto l1ttmth = std::make_unique<L1MuDTChambThContainer>();
95 l1ttmth->setContainer(*
theta);