21 const std::string&
name,
26 declareInterface< ITrigMissingETCnvTool >(
this );
42 if( !xaod->
empty() ) {
44 << xaod->
size() <<
")" );
49 for( ; aod_itr != aod_end; ++aod_itr ) {
56 xMET->setEx( ( *aod_itr )->ex() );
57 xMET->setEy( ( *aod_itr )->ey() );
58 xMET->setEz( ( *aod_itr )->ez() );
59 xMET->setSumEt( ( *aod_itr )->sumEt() );
60 xMET->setSumE( ( *aod_itr )->sumE() );
61 xMET->setFlag( ( *aod_itr )->getFlag() );
62 xMET->setRoiWord( ( *aod_itr )->RoIword() );
66 unsigned int nComp ( ( *aod_itr )->getNumOfComponents());
67 std::vector< std::string > componentNames;
68 for (
unsigned int i = 0;
i < nComp;
i++) {
69 componentNames.push_back( ( *aod_itr )->getNameOfComponent(
i ) );
71 xMET->defineComponents( componentNames );
72 for (
unsigned int i = 0;
i < nComp;
i++) {
73 xMET->setExComponent(
i, ( *aod_itr )->getExComponent(
i ) );
74 xMET->setEyComponent(
i, ( *aod_itr )->getEyComponent(
i ) );
75 xMET->setEzComponent(
i, ( *aod_itr )->getEzComponent(
i ) );
76 xMET->setSumEtComponent(
i, ( *aod_itr )->getSumEtComponent(
i ) );
77 xMET->setSumEComponent(
i, ( *aod_itr )->getSumEComponent(
i ) );
78 xMET->setCalib0Component(
i, ( *aod_itr )->getComponentCalib0(
i ) );
79 xMET->setCalib1Component(
i, ( *aod_itr )->getComponentCalib1(
i ) );
80 xMET->setSumOfSignsComponent(
i, ( *aod_itr )->getSumOfSigns(
i ) );
81 xMET->setUsedChannelsComponent(
i, ( *aod_itr )->getUsedChannels(
i ) );
82 xMET->setStatusComponent(
i, ( *aod_itr )->getStatus(
i ) );
88 return StatusCode::SUCCESS;