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 "
DataFormatsFT0/ChannelData.h
"
13
#include <
Framework/Logger.h
>
14
#include <iostream>
15
16
using namespace
o2::ft0
;
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
void
ChannelData::printLog
()
const
23
{
24
LOG
(info) <<
"ChId: "
<<
static_cast<
uint16_t
>
(
ChId
) <<
" | FEE bits:"
<<
static_cast<
uint16_t
>
(
ChainQTC
) <<
" | Time: "
<<
CFDTime
<<
" | Charge: "
<<
QTCAmpl
;
25
}
ChannelData.h
Class to describe fired and stored channels for the BC and to refer to channel data.
Logger.h
o2::ft0
Definition
SimTraits.h:139
o2::ft0::ChannelData::CFDTime
int16_t CFDTime
Definition
ChannelData.h:35
o2::ft0::ChannelData::ChainQTC
uint8_t ChainQTC
Definition
ChannelData.h:34
o2::ft0::ChannelData::printLog
void printLog() const
Definition
ChannelData.cxx:22
o2::ft0::ChannelData::ChId
uint8_t ChId
Definition
ChannelData.h:33
o2::ft0::ChannelData::QTCAmpl
int16_t QTCAmpl
Definition
ChannelData.h:36
o2::ft0::ChannelData::print
void print() const
Definition
ChannelData.cxx:18
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
DataFormats
Detectors
FIT
FT0
src
ChannelData.cxx
Generated on Tue Feb 25 2025 23:16:11 for Project by
1.9.8