#include <PID.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 |
| |
◆ PID()
| ant::expconfig::detector::PID::PID |
( |
const std::vector< Element_t > & |
elements_init | ) |
|
|
inlineprotected |
Constructor.
- Parameters
-
| elements_init | The default PID offset angle is conposed of 15.476 degrees from Acqu, and 7.5 degrees empirical from MC studies. |
◆ BuildMappings()
◆ dPhi()
| double PID::dPhi |
( |
unsigned |
| ) |
const |
|
virtual |
Get the phi angle covered by one PID element.
- Returns
- angle in radian
◆ GetElementFlags()
| virtual const ElementFlags_t& ant::expconfig::detector::PID::GetElementFlags |
( |
unsigned |
channel | ) |
const |
|
inlineoverridevirtual |
◆ GetNChannels()
| virtual unsigned ant::expconfig::detector::PID::GetNChannels |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetPhiOffset()
| double PID::GetPhiOffset |
( |
| ) |
const |
|
virtual |
Get the current phi rotation angle.
- Returns
- angle in degrees
- Todo:
- Change to return values in radian
◆ GetPosition()
| virtual vec3 ant::expconfig::detector::PID::GetPosition |
( |
unsigned |
channel | ) |
const |
|
inlineoverridevirtual |
◆ RotateRelative()
| void PID::RotateRelative |
( |
const double |
offset | ) |
|
|
virtual |
Apply a rotation in addition to the already existing phi offset.
- Parameters
-
| offset | The angle in degrees |
- Todo:
- Change offset to be in radian
◆ SetElementFlags()
| virtual void ant::expconfig::detector::PID::SetElementFlags |
( |
unsigned |
channel, |
|
|
const ElementFlags_t & |
flags |
|
) |
| |
|
inlineoverridevirtual |
◆ SetPhiOffset()
| void PID::SetPhiOffset |
( |
double |
offset_degrees | ) |
|
|
virtual |
Set an absolute phi rotation angle.
- Parameters
-
| offset_degrees | angle in degrees |
- Todo:
- Change to use radian
The documentation for this struct was generated from the following files:
- src/expconfig/detectors/PID.h
- src/expconfig/detectors/PID.cc