#include <Detector_t.h>
|
| enum | Type_t : std::uint8_t {
Type_t::Trigger,
Type_t::Tagger,
Type_t::TaggerMicro,
Type_t::EPT,
Type_t::Moeller,
Type_t::PairSpec,
Type_t::CB,
Type_t::PID,
Type_t::MWPC0,
Type_t::MWPC1,
Type_t::TAPS,
Type_t::TAPSVeto,
Type_t::Cherenkov,
Type_t::Raw
} |
| |
| enum | ElementFlag_t {
ElementFlag_t::Missing,
ElementFlag_t::Broken,
ElementFlag_t::BadTDC,
ElementFlag_t::NoCalibFill,
ElementFlag_t::NoCalibUseDefault
} |
| |
| using | ElementFlags_t = bitflag< ElementFlag_t, 16 > |
| |
| static const char * | ToString (const Type_t &type) |
| |
| static Type_t | FromString (const std::string &str) |
| |
| const Type_t | Type |
| |
◆ TaggerDetector_t()
| ant::TaggerDetector_t::TaggerDetector_t |
( |
const Type_t & |
type, |
|
|
double |
beamEnergy |
|
) |
| |
|
inlineprotected |
◆ GetPhotonEnergy()
| virtual double ant::TaggerDetector_t::GetPhotonEnergy |
( |
unsigned |
channel | ) |
const |
|
pure virtual |
◆ GetPhotonEnergyWidth()
| double TaggerDetector_t::GetPhotonEnergyWidth |
( |
unsigned |
channel | ) |
const |
|
virtual |
GetPhotonEnergyWidth.
- Parameters
-
- Returns
- Width of channel in MeV
Calculates the with from the distance to the neighbor channels. Override if this is not what you want for your tagger.
- Note
- Only works for taggers with more than one channel.
Reimplemented in ant::expconfig::detector::Tagger.
◆ GetPosition()
| virtual vec3 ant::TaggerDetector_t::GetPosition |
( |
unsigned |
| ) |
const |
|
inlinefinalvirtual |
◆ TryGetChannelFromPhoton()
| bool TaggerDetector_t::TryGetChannelFromPhoton |
( |
double |
photonEnergy, |
|
|
unsigned & |
channel |
|
) |
| const |
◆ BeamEnergy
| double ant::TaggerDetector_t::BeamEnergy |
|
protected |
The documentation for this struct was generated from the following files: