Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaPidDetector.h
Go to the documentation of this file.
1#ifndef Podd_THaPidDetector_h_
2#define Podd_THaPidDetector_h_
3
5//
6// THaPidDetector.h
7//
8// Abstract base class for a generic spectrometer detector capable of
9// particle identification.
10//
11// This is a special THaNonTrackingDetector that is capable of
12// providing particle identification information. Typical examples are
13// Cherenkov detectors and shower counters.
14//
16
18
20
21public:
22 THaPidDetector() = default; // for ROOT I/O
23 virtual ~THaPidDetector() = default;
24
25 virtual Bool_t IsPid() { return true; }
26
27protected:
28
29 //Only derived classes may construct me
30
31 THaPidDetector( const char* name, const char* description,
32 THaApparatus* a = nullptr );
33
34 ClassDef(THaPidDetector,0) //ABC for a PID detector
35};
36
37#endif
bool Bool_t
#define ClassDef(name, id)
virtual Bool_t IsPid()
THaPidDetector()=default
THaPidDetector(const char *name, const char *description, THaApparatus *a=nullptr)
virtual ~THaPidDetector()=default