Project
Loading...
Searching...
No Matches
Triggers.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 "
DataFormatsFIT/Triggers.h
"
13
#include <
Framework/Logger.h
>
14
#include <sstream>
15
16
using namespace
o2::fit
;
17
18
std::string
Triggers::print
()
const
19
{
20
std::stringstream ss;
21
ss <<
" chA "
<< nChanA <<
" chC "
<< nChanC <<
" A amp "
<< amplA <<
" C amp "
<< amplC <<
" time A "
<< timeA <<
" time C "
<< timeC <<
" signals 0x"
<< std::hex <<
int
(triggersignals) << std::dec;
22
return
ss.str();
23
}
24
25
void
Triggers::print
(std::ostream&
stream
)
const
26
{
27
stream
<<
print
() << std::endl;
28
}
29
30
void
Triggers::printLog
()
const
31
{
32
LOG
(info) <<
"mTrigger: "
<<
static_cast<
uint16_t
>
(triggersignals);
33
LOG
(info) <<
"nChanA: "
<<
static_cast<
uint16_t
>
(nChanA) <<
" | nChanC: "
<<
static_cast<
uint16_t
>
(nChanC);
34
LOG
(info) <<
"amplA: "
<< amplA <<
" | amplC: "
<< amplC;
35
LOG
(info) <<
"timeA: "
<< timeA <<
" | timeC: "
<< timeC;
36
}
Triggers.h
Logger.h
int
o2::fit::Triggers::print
std::string print() const
Definition
Triggers.cxx:18
o2::fit::Triggers::printLog
void printLog() const
Definition
Triggers.cxx:30
stream
GLuint GLuint stream
Definition
glcorearb.h:1806
o2::fit
Definition
ChannelData.h:27
LOG
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"
DataFormats
Detectors
FIT
common
src
Triggers.cxx
Generated on Tue Feb 25 2025 23:16:10 for Project by
1.9.8