BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTof1Digit.cxx
Go to the documentation of this file.
1#include "BmnTof1Digit.h"
2
4 : fAmplitude(-1)
5 , fTime(-1)
6 , fPlane(-1)
7 , fStrip(-1)
8 , fSide(-1)
9{}
10
12 : fAmplitude(a)
13 , fTime(t)
14 , fPlane(plane)
15 , fStrip(strip)
16 , fSide(side)
17{}
18
20 : fAmplitude(a)
21 , fTime(t)
22 , fPlane(ptr->fPlane)
23 , fStrip(ptr->fStrip)
24 , fSide(ptr->fSide)
25{}
26
28
29void BmnTof1Digit::print(const char* comment, std::ostream& os) const
30{
31 os << " [BmnTof1Digit] ";
32 if (nullptr != comment)
33 os << comment;
34 os << " detID: " << fPlane << ", stripID: " << fStrip << ", stripSide: " << fSide << ", time: " << fTime
35 << ", ampl.: " << fAmplitude << std::endl;
36}
float Float_t
short Short_t
virtual ~BmnTof1Digit()
Short_t fSide
Float_t fAmplitude
Short_t fPlane
Short_t fStrip
void print(const char *comment=nullptr, std::ostream &os=std::cout) const
Float_t fTime