BmnRoot
Loading...
Searching...
No Matches
BmnTof1Digit.cxx
Go to the documentation of this file.
1
#include "
BmnTof1Digit.h
"
2
3
BmnTof1Digit::BmnTof1Digit
()
4
: fAmplitude(-1),
5
fTime(-1),
6
fPlane(-1),
7
fStrip(-1),
8
fSide(-1)
9
{}
10
11
BmnTof1Digit::BmnTof1Digit
(Short_t plane, Short_t strip, Short_t side,Float_t t,Float_t a)
12
: fAmplitude(a),
13
fTime(t),
14
fPlane(plane),
15
fStrip(strip),
16
fSide(side)
17
{}
18
19
BmnTof1Digit::BmnTof1Digit
(
const
BmnTof1Digit
*ptr, Float_t t, Float_t a)
20
: fAmplitude(a),
21
fTime(t),
22
fPlane(ptr->fPlane),
23
fStrip(ptr->fStrip),
24
fSide(ptr->fSide)
25
{}
26
27
BmnTof1Digit::~BmnTof1Digit
()
28
{}
29
30
void
BmnTof1Digit::print
(
const
char
* comment, std::ostream& os)
const
31
{
32
os<<
" [BmnTof1Digit] "
;
if
(
nullptr
!= comment) os<<comment;
33
os<<
" detID: "
<<fPlane<<
", stripID: "
<<fStrip<<
", stripSide: "
<<fSide<<
", time: "
<<fTime<<
", ampl.: "
<<fAmplitude<<std::endl;
34
}
BmnTof1Digit
Definition
BmnTof1Digit.h:10
BmnTof1Digit::~BmnTof1Digit
virtual ~BmnTof1Digit()
Definition
BmnTof1Digit.cxx:27
BmnTof1Digit::BmnTof1Digit
BmnTof1Digit()
Definition
BmnTof1Digit.cxx:3
BmnTof1Digit::print
void print(const char *comment=nullptr, std::ostream &os=std::cout) const
Definition
BmnTof1Digit.cxx:30
BmnTof1Digit.h
detectors
tof1
BmnTof1Digit.cxx
Generated on Fri May 15 2026 10:40:53 for BmnRoot by
1.9.8