25 static const std::string
prefix =
"HLT_TrigRoiDescriptorCollection";
26 static const std::string newPrefix =
"HLT_xAOD__RoiDescriptorStore";
38 std::vector< std::string >
keys;
42 std::vector< std::vector< uint32_t > > roiserial;
44 bool just_dandy =
true;
47 for(
const std::string&
key :
keys ) {
50 const std::string newKey = ( (
key.find(
prefix ) == 0 ) ?
51 ( newPrefix +
key.substr(
prefix.size() ) ) :
66 auto store = std::make_unique< xAOD::RoiDescriptorStore >();
67 auto aux = std::make_unique< xAOD::RoiDescriptorStoreAuxInfo >();
68 store->setStore( aux.get() );
69 store->setSerialised( roiserial );
74 else just_dandy =
false;
78 return just_dandy ? StatusCode::SUCCESS : StatusCode::FAILURE;