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
MbdPmtContainer.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MbdPmtContainer.cc
1
#include "
MbdPmtContainer.h
"
2
#include "
MbdReturnCodes.h
"
3
4
#include <
phool/phool.h
>
5
6
#include <iostream>
7
8
void
MbdPmtContainer::identify
(std::ostream&
os
)
const
9
{
10
os <<
"virtual MbdPmtContainer object"
<< std::endl;
11
return
;
12
}
13
14
void
MbdPmtContainer::Reset
()
15
{
16
std::cout <<
PHWHERE
<<
"ERROR Reset() not implemented by daughter class"
<< std::endl;
17
return
;
18
}
19
20
int
MbdPmtContainer::isValid
()
const
21
{
22
virtual_warning
(
"isValid()"
);
23
return
0;
24
}
25
26
void
MbdPmtContainer::set_npmt
(
const
Short_t
/*ival*/
)
27
{
28
virtual_warning
(
"set_npmt(const Short_t ival)"
);
29
return
;
30
}
31
32
Short_t
MbdPmtContainer::get_npmt
()
const
33
{
34
virtual_warning
(
"get_npmt()"
);
35
return
MbdReturnCodes::MBD_INVALID_SHORT
;
36
}
37
38
MbdPmtHit
*
MbdPmtContainer::get_pmt
(
const
int
/*iPmt*/
)
const
39
{
40
virtual_warning
(
"get_pmt(const short iPmt)"
);
41
return
nullptr
;
42
}
43
44
void
MbdPmtContainer::virtual_warning
(
const
std::string
& funcsname)
const
45
{
46
std::cout <<
"MbdPmtContainer::"
<< funcsname <<
" is virtual, doing nothing"
<< std::endl;
47
return
;
48
}
coresoftware
blob
master
offline
packages
mbd
MbdPmtContainer.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:07
using
1.8.2 with
sPHENIX GitHub integration