10 const std::string& name,
11 const IInterface* parent):
12 base_class(
type, name, parent){
19 return StatusCode::SUCCESS;
28 ATH_MSG_DEBUG(
"Number of gFexRhoROIs read in " << inContainer->size());
29 if(inContainer->size() != 3){
30 ATH_MSG_ERROR(
"Expected 3 input gFex Rho TOBs. I received " << inContainer->size());
34 auto outContainer = std::make_unique<OutContainer>();
38 for(
auto tob:*inContainer){
40 rho_bits += tob->gFexTobEt();
41 rho_scale = tob->tobEtScale();
44 outContainer->push_back(std::make_unique<IOBitwise::gFexRhoTOB>(rho_bits, rho_scale));
46 for(
auto tob:*outContainer){
52 CHECK(h_write.record(std::move(outContainer)));
54 return StatusCode::SUCCESS;
58 return "gFexRhoRoI to gFexRhoTOB converter";
#define CHECK(...)
Evaluate an expression and check for errors.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
DataVector< GlobalSim::IOBitwise::gFexRhoTOB > gFexRhoTOBContainer
AlgTool to read in LArStripNeighborhoods, and run the eRatio Algorithm.