ROOTANA
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Variables
b
c
d
f
g
i
l
m
n
o
p
r
s
t
Typedefs
a
b
c
f
i
m
p
s
t
u
Enumerations
Enumerator
b
d
e
f
l
m
n
p
u
w
x
Macros
_
a
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
examples
TDT724Waveform.h
Go to the documentation of this file.
1
#ifndef TDT724Waveform_h
2
#define TDT724Waveform_h
3
4
#include <string>
5
#include "
THistogramArrayBase.h
"
6
7
/// Class for making histograms of raw DT724 waveforms;
8
class
TDT724Waveform
:
public
THistogramArrayBase
{
9
public
:
10
TDT724Waveform
();
11
virtual
~TDT724Waveform
(){};
12
13
void
UpdateHistograms
(
TDataContainer
& dataContainer);
14
15
/// Getters/setters
16
int
GetNsecsPerSample
() {
return
nanosecsPerSample
; }
17
void
SetNanosecsPerSample
(
int
nsecsPerSample) { this->
nanosecsPerSample
= nsecsPerSample; }
18
19
// Reset the histograms; needed before we re-fill each histo.
20
void
Reset
();
21
22
void
CreateHistograms
();
23
24
/// Take actions at begin run
25
void
BeginRun
(
int
transition,
int
run,
int
time){
26
CreateHistograms
();
27
}
25
void
BeginRun
(
int
transition,
int
run,
int
time) {
…
}
28
29
private
:
30
int
nanosecsPerSample
;
31
};
8
class
TDT724Waveform
:
public
THistogramArrayBase
{
…
};
32
33
#endif
34
35
THistogramArrayBase.h
TDT724Waveform
Class for making histograms of raw DT724 waveforms;.
Definition
TDT724Waveform.h:8
TDT724Waveform::nanosecsPerSample
int nanosecsPerSample
Definition
TDT724Waveform.h:30
TDT724Waveform::CreateHistograms
void CreateHistograms()
Function to create histograms; users will want to implement this function.
Definition
TDT724Waveform.cxx:19
TDT724Waveform::SetNanosecsPerSample
void SetNanosecsPerSample(int nsecsPerSample)
Definition
TDT724Waveform.h:17
TDT724Waveform::Reset
void Reset()
Definition
TDT724Waveform.cxx:86
TDT724Waveform::UpdateHistograms
void UpdateHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
Definition
TDT724Waveform.cxx:53
TDT724Waveform::~TDT724Waveform
virtual ~TDT724Waveform()
Definition
TDT724Waveform.h:11
TDT724Waveform::TDT724Waveform
TDT724Waveform()
Reset the histograms for this canvas.
Definition
TDT724Waveform.cxx:8
TDT724Waveform::GetNsecsPerSample
int GetNsecsPerSample()
Getters/setters.
Definition
TDT724Waveform.h:16
TDT724Waveform::BeginRun
void BeginRun(int transition, int run, int time)
Take actions at begin run.
Definition
TDT724Waveform.h:25
TDataContainer
Definition
TDataContainer.hxx:29
THistogramArrayBase
Definition
THistogramArrayBase.h:34
Generated on Sat Mar 15 2025 05:01:03 for ROOTANA by
1.9.8