| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include "na64calib/setupGeoCache.hh" | ||
| 2 | |||
| 3 | namespace na64dp { | ||
| 4 | namespace calib { | ||
| 5 | |||
| 6 | ✗ | SetupGeometryCache::SetupGeometryCache( calib::Dispatcher & cdsp | |
| 7 | , log4cpp::Category & logCat | ||
| 8 | , const std::string & namingCalibClass | ||
| 9 | , const std::string & placementsCalibClass | ||
| 10 | ✗ | ) | |
| 11 | : calib::Handle<nameutils::DetectorNaming>(namingCalibClass, cdsp) | ||
| 12 | ✗ | , _log(logCat) | |
| 13 | { | ||
| 14 | ✗ | cdsp.subscribe<calib::Placements>(*this, placementsCalibClass); | |
| 15 | } | ||
| 16 | |||
| 17 | void | ||
| 18 | ✗ | SetupGeometryCache::handle_update( const calib::Placements & placements ) { | |
| 19 | ✗ | for( const auto & pl : placements ) { | |
| 20 | ✗ | handle_single_placement_update(pl); | |
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | } // namespace ::na64dp::calib | ||
| 25 | } // namespace na64dp | ||
| 26 |