HARPO
5.1.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
base
Pmm2Mes.cxx
Go to the documentation of this file.
1
//
2
// File Pmm2Mes.cxx
3
//
14
#include "
Pmm2Mes.h
"
15
#include <cstring>
16
#include <iostream>
17
18
using namespace
std;
19
21
//
22
void
Pmm2Mes::print
()
const
23
{
24
cout << _ChannelNum <<
";"
<<
25
_TimeStamp <<
";"
<<
26
_TimeStampSign <<
";"
<<
27
_Gain <<
";"
<<
28
_FineTime <<
";"
<<
29
_TdcRamp <<
";"
<<
30
_Charge <<
";"
<<
31
_nu0 <<
";"
<<
32
_PPSCounter << endl;
33
}
34
35
//** Debug code **
36
37
//Pmm2Mes::Pmm2Mes() {
38
// cout << "+++ New Mes " << this << endl;
39
//}
40
41
//Pmm2Mes::~Pmm2Mes() {
42
// cout << "-- Del DccMes " << this << endl;
43
//}
44
45
// Pmm2Mes& Pmm2Mes::operator=(const Pmm2Mes &rhs) {
46
// if ( this != &rhs ) {
47
// cout << " Mes Copy " << &rhs << " to " << this << endl;
48
// memcpy(this,&rhs,sizeof(Pmm2Mes));
49
// } else {
50
// cout << " Mes Self assignment" << this << endl;
51
// }
52
// return *this;
53
// }
54
55
// Pmm2Mes::Pmm2Mes(const Pmm2Mes &rhs) {
56
// if ( this != &rhs ) {
57
// cout << " Mes Copy Ctor " << &rhs << " to " << this << endl;
58
// memcpy(this,&rhs,sizeof(Pmm2Mes));
59
// } else {
60
// cout << " Mes Self assignment in Ctor ??" << this << endl;
61
// }
62
// }
63
64
//**
Pmm2Mes::print
void print() const
print Mesurement in csv format, same as ConvertToCsv in PMM2v2_DAQ
Definition:
Pmm2Mes.cxx:22
Pmm2Mes.h
Generated by
1.8.6