Project
Loading...
Searching...
No Matches
ChannelData.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 "
DataFormatsFV0/ChannelData.h
"
13
#include <
Framework/Logger.h
>
14
#include <iostream>
15
16
using namespace
o2::fv0
;
17
18
void
ChannelData::print
()
const
19
{
20
printf(
" ChID%d | CFDtime=%d | QTCampl=%d QTC chain %d\n"
,
ChId
,
CFDTime
,
QTCAmpl
,
ChainQTC
);
21
}
22
23
void
ChannelData::printLog
()
const
24
{
25
LOG
(info) <<
"ChId: "
<<
static_cast<
uint16_t
>
(
ChId
) <<
" | FEE bits:"
<<
static_cast<
uint16_t
>
(
ChainQTC
) <<
" | Time: "
<<
CFDTime
<<
" | Charge: "
<<
QTCAmpl
;
26
}
ChannelData.h
Container class to store time and charge values of single FV0 channel.
Logger.h
o2::fv0
Definition
SimTraits.h:151
o2::fv0::ChannelData::printLog
void printLog() const
Definition
ChannelData.cxx:23
o2::fv0::ChannelData::QTCAmpl
int16_t QTCAmpl
Definition
ChannelData.h:36
o2::fv0::ChannelData::ChId
uint8_t ChId
Definition
ChannelData.h:33
o2::fv0::ChannelData::ChainQTC
uint8_t ChainQTC
Definition
ChannelData.h:34
o2::fv0::ChannelData::CFDTime
int16_t CFDTime
Definition
ChannelData.h:35
o2::fv0::ChannelData::print
void print() const
Definition
ChannelData.cxx:18
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
DataFormats
Detectors
FIT
FV0
src
ChannelData.cxx
Generated on Tue Feb 25 2025 23:16:11 for Project by
1.9.8