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
13#include <Framework/Logger.h>
14#include <sstream>
15
16using namespace o2::fit;
17
18std::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
25void Triggers::print(std::ostream& stream) const
26{
27 stream << print() << std::endl;
28}
29
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}
std::string print() const
Definition Triggers.cxx:18
void printLog() const
Definition Triggers.cxx:30
GLuint GLuint stream
Definition glcorearb.h:1806
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"