25 (
const std::string&
name, ISvcLocator* pSvcLocator )
46 ATH_CHECK( m_emTauRoILocation.initialize() );
47 ATH_CHECK( m_JetRoILocation.initialize() );
48 ATH_CHECK( m_energyRoILocation.initialize() );
50 m_jepSlinkKeys.clear();
51 m_jepSlinkKeys.push_back (m_jepSlinkLocation +
"0");
52 m_jepSlinkKeys.push_back (m_jepSlinkLocation +
"1");
55 m_emTauSlinkKeys.clear();
56 m_emTauSlinkKeys.push_back (m_emTauSlinkLocation +
"0");
57 m_emTauSlinkKeys.push_back (m_emTauSlinkLocation +
"1");
58 m_emTauSlinkKeys.push_back (m_emTauSlinkLocation +
"2");
59 m_emTauSlinkKeys.push_back (m_emTauSlinkLocation +
"3");
60 ATH_CHECK( m_emTauSlinkKeys.initialize() );
62 return StatusCode::SUCCESS ;
73 return StatusCode::SUCCESS ;
93 assignVectors (CPRoIROD, jepRoIROD);
94 formSlinkObjects (CPRoIROD, jepRoIROD, ctx);
95 ATH_CHECK( saveSlinkObjects (CPRoIROD, jepRoIROD, ctx) );
97 return StatusCode::SUCCESS ;
103 const EventContext& ctx)
const
122 int crate = tau->crate();
123 CPRoIROD[crate]->push_back( getWord(tau->roiWord()) );
133 int crate =
jet->crate();
134 jepRoIROD[crate]->push_back( getWord(
jet->roiWord()) );
150 const unsigned int headerWords=8+1;
153 addTail(*CPRoIROD[
i], (CPRoIROD[
i]->
size()-headerWords) );
156 addTail(*jepRoIROD[
i], (jepRoIROD[
i]->
size()-headerWords) );
164 unsigned int subDetID,
165 unsigned int moduleId,
166 const EventContext& ctx)
const
172 unsigned int moduleType=0x00;
173 slink.
push_back(getWord( (moduleType<<16)+(subDetID<<8)+moduleId ));
174 slink.
push_back(getWord(ctx.eventID().event_number()));
182 unsigned int numberOfDataWords)
const
188 slink.
push_back(getWord(numberOfDataWords));
197 const EventContext& ctx)
const
209 return StatusCode::SUCCESS;
220 CPRoIROD[
i] = std::make_unique<t_SlinkContainer>();
223 jepRoIROD[
i] = std::make_unique<t_SlinkContainer>();
228 std::unique_ptr<LVL1CTP::SlinkWord>
231 return std::make_unique<LVL1CTP::SlinkWord>(tword);
240 <<
" has "<<(CPRoIROD[slink]->
size())<<
" words");
242 i!=CPRoIROD[slink]->end();++
i){
243 ATH_MSG_INFO(
"Word :"<<MSG::hex<<(*i)->word()<<MSG::dec);