ATLAS Offline Software
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
ITkPixelByteStreamCnv
src
ITkPixV2Encoder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/*EXTERNAL CODE PORTED FROM YARR MINIMALLY ADAPTED FOR ATHENA,
6
including the mutex in addToStream, which is the only externally-called
7
function that accesses the class resources.*/
8
9
10
/*
11
* Author: Ondra Kovanda, ondrej.kovanda at cern.ch
12
* Date: 02/2024
13
* Description: ITkPixv2 encoding
14
*/
15
16
#ifndef ITKPIXV2ENCODER_H
17
#define ITKPIXV2ENCODER_H
18
19
#include "
ITkPixEncoder.h
"
20
#include <mutex>
21
22
class
ITkPixV2Encoder
:
public
ITkPixEncoder
{
23
24
public
:
25
26
void
endStream
()
const
;
27
28
void
addToStream
(
const
HitMap
& hitMap,
bool
last =
false
)
const
;
29
30
};
31
32
#endif
ITkPixEncoder.h
ITkPixEncoder::HitMap
ITkPixLayout< uint16_t > HitMap
Definition
ITkPixEncoder.h:25
ITkPixEncoder::ITkPixEncoder
ITkPixEncoder(const bool enableChipID=true, const unsigned nCol=400, const unsigned nRow=384, const unsigned nColInCCol=8, const unsigned nRowInQRow=2, const unsigned nEventsPerStream=16, const bool plainHitMap=false, const bool dropToT=false)
Definition
ITkPixEncoder.cxx:19
ITkPixV2Encoder
Definition
ITkPixV2Encoder.h:22
ITkPixV2Encoder::addToStream
void addToStream(const HitMap &hitMap, bool last=false) const
Definition
ITkPixV2Encoder.cxx:21
ITkPixV2Encoder::endStream
void endStream() const
Definition
ITkPixV2Encoder.cxx:15
Generated on
for ATLAS Offline Software by
1.14.0