29 :
Transformer(
name, pSvcLocator, { {
"MCHitsLocation",
"/Event/MCHits" } },
30 {
"HitsLocation",
"/Event/Hits" } ) {}
34 hits.reserve( mcHits.size() );
37 for (
auto const& mcHit : mcHits ) {
38 auto nx = mcHit.x + dist( engine );
39 auto ny = mcHit.y + dist( engine );
43 hits.emplace_back( nx, ny );
52 "A service providing a thread safe random number generator" };
54 "Sigma of the noise (a normal distribution centered on 0)" };