18 m_cache(), m_currentID( -1 ) {
32 return StatusCode::SUCCESS;
45 for( ; itr !=
end; ++itr ) {
49 conf.filledBCIDs = ( *itr )->collidingBCIDs();
50 if( ( *itr )->intensitiesBeam1Available() ) {
51 conf.filledIntBeam1 = ( *itr )->intensitiesBeam1();
53 conf.filledIntBeam1.clear();
55 if( ( *itr )->intensitiesBeam2Available() ) {
56 conf.filledIntBeam2 = ( *itr )->intensitiesBeam2();
58 conf.filledIntBeam2.clear();
60 if( ( *itr )->unpairedBCIDsBeam1Available() ) {
61 conf.unpairedBCIDsBeam1 = ( *itr )->unpairedBCIDsBeam1();
63 conf.unpairedBCIDsBeam1.clear();
65 if( ( *itr )->unpairedBCIDsBeam2Available() ) {
66 conf.unpairedBCIDsBeam2 = ( *itr )->unpairedBCIDsBeam2();
68 conf.unpairedBCIDsBeam2.clear();
70 if( ( *itr )->unpairedIntensitiesBeam1Available() ) {
71 conf.unpairedIntBeam1 = ( *itr )->unpairedIntensisitesBeam1();
73 conf.unpairedIntBeam1.clear();
75 if( ( *itr )->unpairedIntensitiesBeam2Available() ) {
76 conf.unpairedIntBeam2 = ( *itr )->unpairedIntensisitesBeam2();
78 conf.unpairedIntBeam2.clear();
83 return StatusCode::SUCCESS;
94 return StatusCode::SUCCESS;
98 Cache_t::const_iterator config_itr =
m_cache.find(
key->id() );
99 if( config_itr ==
m_cache.end() ) {
103 return StatusCode::FAILURE;
108 config_itr->second.filledIntBeam1,
109 config_itr->second.filledIntBeam2 ) );
111 config_itr->second.filledIntBeam1,
112 config_itr->second.filledIntBeam2 ) );
114 config_itr->second.unpairedBCIDsBeam2,
115 config_itr->second.unpairedIntBeam1,
116 config_itr->second.unpairedIntBeam2 ) );
122 return StatusCode::SUCCESS;