ATLAS Offline Software
ForwardDetectors
ZDC
ZdcCnv
ZdcByteStream
ZdcByteStream
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
23
class
ZdcModifySlices
{
24
25
public
:
26
ZdcModifySlices
();
27
~ZdcModifySlices
();
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.
Generated on Sun Dec 22 2024 21:23:05 for ATLAS Offline Software by
1.8.18