ROOTANA
Loading...
Searching...
No Matches
libAnalyzer
TTRB3Data.cxx
Go to the documentation of this file.
1
#include "
TTRB3Data.hxx
"
2
3
#include <iostream>
4
5
6
7
TTRB3Data::TTRB3Data
(
int
bklen,
int
bktype,
const
char
* name,
void
*pdata):
8
TGenericData
(bklen, bktype, name, pdata), decoder(bklen,pdata,std::string(name),bktype)
9
{
10
11
12
};
13
14
void
TTRB3Data::Print
(){
15
16
std::cout <<
"TRB3 decoder for bank "
<<
GetName
().c_str() << std::endl;
17
std::cout <<
"Packet size: "
<<
GetPacketSize
() << std::endl;
18
std::cout <<
"Seq Number/Run Number: "
<<
GetSeqNr
()
19
<<
"/"
<<
GetRunNr
() << std::endl;
20
std::cout <<
"Date: "
<<
GetYear
() <<
"/"
<<
GetMonth
() <<
"/"
<<
GetDay
() << std::endl;
21
std::cout <<
"Time: "
<<
GetTime
() << std::endl;
22
std::cout <<
"Number of measurements: "
<<
GetNumberMeasurements
()
23
<< std::endl;
24
25
}
TTRB3Data.hxx
TGenericData
Definition
TGenericData.hxx:11
TGenericData::GetName
std::string GetName() const
Definition
TGenericData.hxx:46
TTRB3Data::GetPacketSize
const uint32_t GetPacketSize()
Get Packet size.
Definition
TTRB3Data.hxx:27
TTRB3Data::GetRunNr
const uint32_t GetRunNr()
Definition
TTRB3Data.hxx:31
TTRB3Data::GetSeqNr
const uint32_t GetSeqNr()
Definition
TTRB3Data.hxx:29
TTRB3Data::GetTime
const uint32_t GetTime()
Definition
TTRB3Data.hxx:39
TTRB3Data::GetMonth
const uint32_t GetMonth()
Definition
TTRB3Data.hxx:35
TTRB3Data::TTRB3Data
TTRB3Data(int bklen, int bktype, const char *name, void *pdata)
Constructor.
Definition
TTRB3Data.cxx:7
TTRB3Data::GetYear
const uint32_t GetYear()
Definition
TTRB3Data.hxx:33
TTRB3Data::GetNumberMeasurements
const int GetNumberMeasurements()
Definition
TTRB3Data.hxx:21
TTRB3Data::GetDay
const uint32_t GetDay()
Definition
TTRB3Data.hxx:37
TTRB3Data::Print
void Print()
Print the bank contents in a structured way.
Definition
TTRB3Data.cxx:14
Generated on Thu Dec 26 2024 05:01:02 for ROOTANA by
1.9.8