ATLAS Offline Software
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 
10 namespace LVL1BS {
11 
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
LVL1BS::ZdcModifySlices::data
static void data(const std::vector< unsigned int > &oldVec, std::vector< unsigned int > &newVec, int newSlices)
Return modified data vector<unsigned int>
LVL1BS::ZdcModifySlices::data
static void data(const std::vector< int > &oldVec, std::vector< int > &newVec, int newSlices)
Return modified data vector<int>
LVL1BS::ZdcModifySlices::~ZdcModifySlices
~ZdcModifySlices()
LVL1BS::ZdcModifySlices
Utility to modify the number of slices.
Definition: ZdcModifySlices.h:23
LVL1BS::ZdcModifySlices::ZdcModifySlices
ZdcModifySlices()
LVL1BS
Definition: ZdcModifySlices.h:10
LVL1BS::ZdcModifySlices::peak
static int peak(int oldPeak, int oldSlices, int newSlices)
Return new triggered slice offset.