BmnRoot
Loading...
Searching...
No Matches
BmnTrigDigit.h
Go to the documentation of this file.
1
#ifndef BMNTRIGDIGIT_H
2
#define BMNTRIGDIGIT_H
3
4
#include "TNamed.h"
5
6
class
BmnTrigDigit
:
public
TNamed
7
{
8
public
:
10
BmnTrigDigit
();
11
13
BmnTrigDigit
(Short_t iMod, Double_t iTime, Double_t iAmp, Double_t iTimestamp = -1.0);
14
15
Short_t
GetMod
()
const
{
return
fMod
; }
16
17
Double_t
GetTime
()
const
{
return
fTime
; }
18
19
Double_t
GetAmp
()
const
{
return
fAmp
; }
20
21
UShort_t
GetTimestamp
()
const
{
return
fTimestamp
; }
22
23
void
SetAmp
(Double_t amp) {
fAmp
= amp; }
24
25
void
SetMod
(Short_t mod) {
fMod
= mod; }
26
27
void
SetTime
(Double_t time) {
fTime
= time; }
28
29
void
SetTimestamp
(UShort_t
v
) {
fTimestamp
=
v
; }
30
32
virtual
~BmnTrigDigit
();
33
34
protected
:
35
Short_t
fMod
;
// inner channel (for Barrel 40 channels, for T0, BC1, BC2, VC, FD only one)
36
Double_t
fTime
;
37
Double_t
fAmp
;
38
Double_t
fTimestamp
;
39
40
ClassDef
(
BmnTrigDigit
, 1);
41
};
42
43
#endif
/* BMNTRIGDIGIT_H */
v
__m128 v
Definition
P4_F32vec4.h:1
BmnTrigDigit
Definition
BmnTrigDigit.h:7
BmnTrigDigit::fAmp
Double_t fAmp
Definition
BmnTrigDigit.h:37
BmnTrigDigit::SetTimestamp
void SetTimestamp(UShort_t v)
Definition
BmnTrigDigit.h:29
BmnTrigDigit::SetTime
void SetTime(Double_t time)
Definition
BmnTrigDigit.h:27
BmnTrigDigit::BmnTrigDigit
BmnTrigDigit()
Definition
BmnTrigDigit.cxx:3
BmnTrigDigit::GetAmp
Double_t GetAmp() const
Definition
BmnTrigDigit.h:19
BmnTrigDigit::GetTime
Double_t GetTime() const
Definition
BmnTrigDigit.h:17
BmnTrigDigit::fTime
Double_t fTime
Definition
BmnTrigDigit.h:36
BmnTrigDigit::SetMod
void SetMod(Short_t mod)
Definition
BmnTrigDigit.h:25
BmnTrigDigit::~BmnTrigDigit
virtual ~BmnTrigDigit()
Definition
BmnTrigDigit.cxx:21
BmnTrigDigit::GetTimestamp
UShort_t GetTimestamp() const
Definition
BmnTrigDigit.h:21
BmnTrigDigit::fTimestamp
Double_t fTimestamp
Definition
BmnTrigDigit.h:38
BmnTrigDigit::SetAmp
void SetAmp(Double_t amp)
Definition
BmnTrigDigit.h:23
BmnTrigDigit::ClassDef
ClassDef(BmnTrigDigit, 1)
BmnTrigDigit::GetMod
Short_t GetMod() const
Definition
BmnTrigDigit.h:15
BmnTrigDigit::fMod
Short_t fMod
Definition
BmnTrigDigit.h:35
base
raw
BmnTrigDigit.h
Generated on Fri May 15 2026 10:40:55 for BmnRoot by
1.9.8