8 int bunchSpace,
int bcr, std::vector<SimTrack>& simtracks,
unsigned int evtNr,
int vertexOffset,
bool wrap) {
10 for (
auto&
item : simtracks) {
12 if (!
item.noVertex()) {
13 item.setVertexIndex(
item.vertIndex() + vertexOffset);
19 int bunchSpace,
int bcr, std::vector<SimVertex>& simvertices,
unsigned int evtNr,
int vertexOffset,
bool wrap) {
22 for (
auto&
item : simvertices) {
29 int bunchSpace,
int bcr, std::vector<PSimHit>&
simhits,
unsigned int evtNr,
int vertexOffset,
bool wrap) {
36 float Tfloor = floor(
item.timeOfFlight());
37 float digits =
item.timeOfFlight() - Tfloor;
38 int remainder =
int(Tfloor) % bunchSpace;
50 int bunchSpace,
int bcr, std::vector<PCaloHit>& calohits,
unsigned int evtNr,
int vertexOffset,
bool wrap) {
53 for (
auto&
item : calohits) {
66 for (
auto it = trackingrechits.
begin(); it != trackingrechits.
end(); ++it) {
virtual void setEventId(int32_t eventId)
void doTheOffset(int bunchSpace, int bcr, std::vector< SimTrack > &simtracks, unsigned int evtNr, int vertexOffset, bool wrap)
bool isFast(TrackingRecHit const &hit)
auto wrap(F iFunc) -> decltype(iFunc())