ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcModifySlices.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGT1CALOBYTESTREAM_MODIFYSLICES_H
6#define TRIGT1CALOBYTESTREAM_MODIFYSLICES_H
7
8#include <vector>
9
10namespace LVL1BS {
11
22
24
25 public:
28
30 static int peak(int oldPeak, int oldSlices, int newSlices);
32 static void data(const std::vector<int>& oldVec,
33 std::vector<int>& newVec, int newSlices);
35 static void data(const std::vector<unsigned int>& oldVec,
36 std::vector<unsigned int>& newVec, int newSlices);
37
38};
39
40} // end namespace
41
42#endif
static void data(const std::vector< int > &oldVec, std::vector< int > &newVec, int newSlices)
Return modified data vector<int>
static int peak(int oldPeak, int oldSlices, int newSlices)
Return new triggered slice offset.
static void data(const std::vector< unsigned int > &oldVec, std::vector< unsigned int > &newVec, int newSlices)
Return modified data vector<unsigned int>