Analysis Software
Documentation for sPHENIX simulation software
 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 
15 {
16  std::cout << PHWHERE << "ERROR Reset() not implemented by daughter class" << std::endl;
17  return;
18 }
19 
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 
33 {
34  virtual_warning("get_npmt()");
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 }