Project
Loading...
Searching...
No Matches
PixelChipRecord.cxx
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#include <bitset>
13
#include <iostream>
14
#include "
DataFormatsFOCAL/PixelChipRecord.h
"
15
16
using namespace
o2::focal
;
17
18
void
PixelChipRecord::printStream
(std::ostream&
stream
)
const
19
{
20
stream
<<
"Chip "
<< mChipID <<
" in layer "
<< mLayerID <<
" (lane "
<< mLaneID <<
"), number of hits: "
<<
getNumberOfHits
() <<
" (first hit: "
<<
getFirstHit
() <<
")"
;
21
}
22
23
std::ostream&
o2::focal::operator<<
(std::ostream&
stream
,
const
PixelChipRecord
& chip)
24
{
25
chip.
printStream
(
stream
);
26
return
stream
;
27
}
PixelChipRecord.h
o2::focal::PixelChipRecord
Definition
PixelChipRecord.h:22
o2::focal::PixelChipRecord::getFirstHit
int getFirstHit() const
Definition
PixelChipRecord.h:43
o2::focal::PixelChipRecord::getNumberOfHits
int getNumberOfHits() const
Definition
PixelChipRecord.h:44
o2::focal::PixelChipRecord::printStream
void printStream(std::ostream &stream) const
Definition
PixelChipRecord.cxx:18
stream
GLuint GLuint stream
Definition
glcorearb.h:1806
o2::focal
Definition
SimTraits.h:171
o2::focal::operator<<
std::ostream & operator<<(std::ostream &in, const IndexExceptionEvent &error)
Definition
ErrorHandling.cxx:46
DataFormats
Detectors
FOCAL
src
PixelChipRecord.cxx
Generated on Tue Feb 25 2025 17:02:52 for Project by
1.9.8