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
BbcPmtHit.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BbcPmtHit.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef BBC_BBCPMTHIT_H
4
#define BBC_BBCPMTHIT_H
5
6
#include "
BbcReturnCodes.h
"
7
8
#include <
phool/PHObject.h
>
9
#include <
phool/phool.h
>
10
11
#include <iostream>
12
13
class
BbcPmtHit
:
public
PHObject
14
{
15
public
:
16
BbcPmtHit
() {}
17
virtual
~BbcPmtHit
()
override
=
default
;
18
19
virtual
Short_t
get_pmt
()
const
20
{
21
PHOOL_VIRTUAL_WARNING
;
22
return
-9999;
23
}
24
25
virtual
Float_t
get_q
()
const
26
{
27
PHOOL_VIRTUAL_WARNING
;
28
return
BbcReturnCodes::BBC_INVALID_FLOAT
;
29
}
30
31
virtual
Float_t
get_time
()
const
32
{
33
PHOOL_VIRTUAL_WARNING
;
34
return
BbcReturnCodes::BBC_INVALID_FLOAT
;
35
}
36
37
virtual
Float_t
get_tt
()
const
38
{
39
PHOOL_VIRTUAL_WARNING
;
40
return
BbcReturnCodes::BBC_INVALID_FLOAT
;
41
}
42
43
virtual
Float_t
get_tq
()
const
44
{
45
PHOOL_VIRTUAL_WARNING
;
46
return
BbcReturnCodes::BBC_INVALID_FLOAT
;
47
}
48
49
virtual
void
set_pmt
(
const
Short_t
/*pmt*/
,
const
Float_t
/*q*/
,
const
Float_t
/*tt*/
,
const
Float_t
/*tq*/
)
50
{
51
PHOOL_VIRTUAL_WARNING
;
52
}
53
54
virtual
void
identify
(std::ostream&
os
= std::cout)
const override
;
55
56
virtual
int
isValid
()
const override
{
return
0; }
57
58
private
:
59
ClassDefOverride(
BbcPmtHit
, 1)
60
};
61
62
#endif
coresoftware
blob
master
offline
packages
mbd
BbcPmtHit.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration