Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
MbdOut.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MbdOut.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef MBD_MBDOUT_H
4
#define MBD_MBDOUT_H
5
6
#include <
phool/PHObject.h
>
7
8
#include <string>
9
11
class
MbdOut
:
public
PHObject
12
{
13
public
:
15
~MbdOut
()
override
{}
16
20
void
identify
(std::ostream&
os
= std::cout)
const override
;
21
23
virtual
void
Reset
()
override
;
24
26
int
isValid
()
const override
;
27
29
virtual
Float_t
get_zvtx
()
const
;
30
32
virtual
Float_t
get_zvtxerr
()
const
;
33
35
virtual
Float_t
get_t0
()
const
;
36
38
virtual
Float_t
get_t0err
()
const
;
39
46
virtual
void
set_t0zvtx
(
const
Float_t t0,
const
Float_t t0err,
const
Float_t vtx,
const
Float_t vtxerr)
47
{
48
set_t0
(t0, t0err);
49
set_zvtx
(vtx, vtxerr);
50
}
51
56
virtual
void
set_t0
(
const
Float_t t0,
const
Float_t t0err = 0);
57
59
virtual
void
set_zvtx
(
const
Float_t vtx,
const
Float_t vtxerr);
60
64
virtual
void
set_zvtxerr
(
const
Float_t vtxerr);
65
72
virtual
void
set_arm
(
const
int
iarm,
const
Short_t npmt,
const
Float_t ncharge,
const
Float_t timing);
73
79
virtual
void
set_clocks
(
const
Int_t ievt,
const
UShort_t iclk,
const
UShort_t ifemclk);
80
84
virtual
Short_t
get_npmt
(
const
int
iarm)
const
;
85
89
virtual
Float_t
get_q
(
const
int
iarm)
const
;
90
94
virtual
Float_t
get_time
(
const
int
iarm)
const
;
95
98
virtual
Int_t
get_evt
()
const
;
99
102
virtual
UShort_t
get_clock
()
const
;
103
106
virtual
UShort_t
get_femclock
()
const
;
107
108
virtual
void
FillFromClass
(
const
MbdOut
& old);
109
110
private
:
111
void
virtual_warning
(
const
std::string
& funcname)
const
;
112
113
ClassDefOverride(
MbdOut
, 1)
114
};
115
116
#endif
coresoftware
blob
master
offline
packages
mbd
MbdOut.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration