Base detector class holding a name and a DETTYPE.
More...
#include <Detector.hh>
Inherited by detector::AreaDetector.
|
| std::ostream & | operator<< (std::ostream &os, Detector &o) |
| | Write "Detector name=", the name, " type=", the numeric type and " typename=" with dettypename() of o to os, and return os.
|
| |
Base detector class holding a name and a DETTYPE.
◆ Detector() [1/2]
Store detname and dettype; if dettype is UNDEFINED_DETECTOR it is looked up from detname with find_dettype().
◆ ~Detector()
| virtual detector::Detector::~Detector |
( |
| ) |
|
|
virtual |
Destructor; only logs a debug message.
◆ Detector() [2/2]
| detector::Detector::Detector |
( |
const Detector & |
| ) |
|
|
delete |
Copy construction is disabled.
◆ detname()
| const std::string & detector::Detector::detname |
( |
| ) |
|
|
inline |
Return the detector name.
◆ dettype()
| const DETTYPE & detector::Detector::dettype |
( |
| ) |
|
|
inline |
Return the detector type.
◆ operator=()
Copy assignment is disabled.
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
Detector & |
o |
|
) |
| |
|
friend |
Write "Detector name=", the name, " type=", the numeric type and " typename=" with dettypename() of o to os, and return os.
The documentation for this class was generated from the following file: