116 std::unique_ptr<std::vector<L1MuRegionalCand> > candBarell(
new std::vector<L1MuRegionalCand>);
117 std::unique_ptr<std::vector<L1MuRegionalCand> > candForward(
new std::vector<L1MuRegionalCand>);
121 <<
"\nWarning: RPCDigiCollection with input tag " <<
m_label 122 <<
"\nrequested in configuration, but not found in the event. Emulator will produce empty collection \n ";
131 if (rpcDigis->begin() == rpcDigis->end() )
134 <<
"\nWarning: RPCDigiCollection with input tag " <<
m_label 135 <<
"\n seems to be empty for this event. Emulator will run on empty collection ";
141 std::unique_ptr<std::vector<RPCDigiL1Link> > brlLinks(
new std::vector<RPCDigiL1Link>);
142 std::unique_ptr<std::vector<RPCDigiL1Link> > fwdLinks(
new std::vector<RPCDigiL1Link>);
144 for (
int iBx = -1; iBx < 2; ++ iBx) {
187 std::vector<RPCDigiL1Link> dlBrl;
188 std::vector<RPCDigiL1Link> dlFwd;
193 brlLinks->insert(brlLinks->end(), dlBrl.begin(), dlBrl.end() );
194 fwdLinks->insert(fwdLinks->end(), dlFwd.begin(), dlFwd.end() );
196 candBarell->insert(candBarell->end(), RPCb.begin(), RPCb.end());
197 candForward->insert(candForward->end(), RPCf.begin(), RPCf.end());
RPCBasicTrigConfig * m_trigConfig
EventNumber_t event() const
unsigned long long cacheIdentifier() const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
L1RpcLogConesVec getConesFromES(edm::Handle< RPCDigiCollection > rpcDigis, edm::ESHandle< L1RPCConeBuilder > coneBuilder, edm::ESHandle< L1RPCConeDefinition > coneDef, edm::ESHandle< L1RPCBxOrConfig > bxOrDef, edm::ESHandle< L1RPCHwConfig > hwConfig, int bx)
int bunchCrossing() const
std::vector< L1MuRegionalCand > giveFinallCandindates(const L1RpcTBMuonsVec &finalMuons, int type, int bx, edm::Handle< RPCDigiCollection > rpcDigis, std::vector< RPCDigiL1Link > &retRPCDigiLink)
Returns vector of L1MuRegionalCand (input of L1GMT)
static MuonsGrabber & Instance()
void setRPCBasicTrigConfig(RPCBasicTrigConfig *c)
void startNewEvent(int event, int bx)
RPCPacManager< RPCPacData > m_pacManager
std::vector< L1RpcTBMuonsVec > L1RpcTBMuonsVec2
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
RPCConeBuilderFromES m_theLinksystemFromES
void init(std::string patFilesDirectory, L1RpcPACsCntEnum _PACsCnt)
void setDebugLevel(int debgLevel)
RPCPacTrigger * m_pacTrigger
L1RpcTBMuonsVec2 runEvent(const L1RpcLogConesVec &logConesVec, edm::ESHandle< L1RPCHsbConfig > hsbConf)
T const * product() const
void writeDataForRelativeBX(int bx)
std::vector< RPCLogCone > L1RpcLogConesVec
unsigned long long m_cacheID