Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MbdPmtContainer.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MbdPmtContainer.h
1 // virtual Mbd PMT Container class
2 
3 #ifndef __MBD_MBDPMTCONTAINER_H__
4 #define __MBD_MBDPMTCONTAINER_H__
5 
6 #include <phool/PHObject.h>
7 
8 #include <iostream>
9 #include <string>
10 
11 class MbdPmtHit;
12 
14 class MbdPmtContainer : public PHObject
15 {
16  public:
18  virtual ~MbdPmtContainer() {}
19 
23  virtual void identify(std::ostream& os = std::cout) const override;
24 
26  virtual void Reset() override;
27 
29  virtual int isValid() const override;
30 
34  virtual void set_npmt(const short ival);
35 
37  virtual Short_t get_npmt() const;
38 
40  virtual MbdPmtHit *get_pmt(const int ipmt) const;
41 
42  private:
43  void virtual_warning(const std::string& funcname) const;
44 
45  ClassDefOverride(MbdPmtContainer, 1)
46 };
47 
48 #endif // __MBD_MBDPMTCONTAINER_H__