Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BbcPmtContainer.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BbcPmtContainer.cc
1 #include "BbcPmtContainer.h"
2 #include "BbcReturnCodes.h"
3 
4 #include <phool/phool.h>
5 
6 #include <iostream>
7 
8 void BbcPmtContainer::identify(std::ostream& os) const
9 {
10  os << "virtual BbcPmtContainer 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 BbcPmtContainer::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 BbcPmtHit *BbcPmtContainer::get_pmt(const int /*iPmt*/) const
39 {
40  virtual_warning("get_pmt(const short iPmt)");
41  return nullptr;
42 }
43 
44 void BbcPmtContainer::virtual_warning(const std::string& funcsname) const
45 {
46  std::cout << "BbcPmtContainer::" << funcsname << " is virtual, doing nothing" << std::endl;
47  return;
48 }