14#include "fairlogger/Logger.h"
22void Tracklet64::print()
const
24 LOGF(info,
"%02i_%i_%i, ROB(%i), MCM(%i), row(%i), col(%i), position(%i), slope(%i), pid(%i), q0(%i), q1(%i), q2(%i). Format(%i)",
25 HelperMethods::getSector(getDetector()),
HelperMethods::getStack(getDetector()),
HelperMethods::getLayer(getDetector()), getROB(), getMCM(), getPadRow(), getPadCol(), getPosition(), getSlope(), getPID(), getQ0(), getQ1(), getQ2(), getFormat());
28#ifndef GPUCA_GPUCODE_DEVICE
31 stream <<
"Tracklet64 : 0x" << std::hex << getTrackletWord();
32 stream <<
"\t hcid : " << getHCID() <<
" row:" << getPadRow() <<
" col:" <<
getColumn()
33 <<
" Position:" << getPosition() <<
" slope:" << getSlope()
34 <<
" PID:0x" << getPID()
35 <<
" Q0:" << getQ0() <<
" Q1:" << getQ1() <<
" Q2:" << getQ2();
46 return (lhs.getDetector() < rhs.getDetector()) ||
47 (lhs.getDetector() == rhs.getDetector() && lhs.getROB() < rhs.getROB()) ||
48 (lhs.getDetector() == rhs.getDetector() && lhs.getROB() == rhs.getROB() && lhs.getMCM() < rhs.getMCM()) ||
49 (lhs.getDetector() == rhs.getDetector() && lhs.getROB() == rhs.getROB() && lhs.getMCM() == rhs.getMCM() && lhs.getPadRow() < rhs.getPadRow()) ||
50 (lhs.getDetector() == rhs.getDetector() && lhs.getROB() == rhs.getROB() && lhs.getMCM() == rhs.getMCM() && lhs.getPadRow() == rhs.getPadRow() && lhs.getPadCol() < rhs.getPadCol());
o2::mid::ColumnData & getColumn(std::vector< o2::mid::ColumnData > &patterns, uint8_t icolumn, uint8_t deId)
void printStream(std::ostream &stream) const
bool operator<(const Tracklet64 &lhs, const Tracklet64 &rhs)
std::ostream & operator<<(std::ostream &stream, const Digit &d)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static int getStack(int det)
static int getLayer(int det)
static int getSector(int det)