9 void PileUpEventPrincipal::adjust<SimTrack>(
SimTrack& item)
const {
11 if(!item.noVertex()) {
12 item.setVertexIndex(item.vertIndex() + vertexOffset_);
17 void PileUpEventPrincipal::adjust<SimVertex>(
SimVertex& item)
const {
19 item.setTof(item.position().t() + bunchCrossingXbunchSpace_);
23 void PileUpEventPrincipal::adjust<PSimHit>(
PSimHit& item)
const {
25 item.setTof(item.timeOfFlight() + bunchCrossingXbunchSpace_);
29 void PileUpEventPrincipal::adjust<PCaloHit>(
PCaloHit& item)
const {
31 item.setTime(item.time() + bunchCrossingXbunchSpace_);