ant
A2 ant: class-based analysis framework
ant::expconfig::detector::PID_2009_07 Struct Reference

#include <PID.h>

+ Inheritance diagram for ant::expconfig::detector::PID_2009_07:
+ Collaboration diagram for ant::expconfig::detector::PID_2009_07:

Public Member Functions

 PID_2009_07 ()
 
- Public Member Functions inherited from ant::expconfig::detector::PID
virtual vec3 GetPosition (unsigned channel) const override
 
virtual unsigned GetNChannels () const override
 
virtual void SetElementFlags (unsigned channel, const ElementFlags_t &flags) override
 
virtual const ElementFlags_tGetElementFlags (unsigned channel) const override
 
virtual double dPhi (unsigned) const
 Get the phi angle covered by one PID element. More...
 
virtual void SetPhiOffset (double offset_degrees)
 Set an absolute phi rotation angle. More...
 
virtual double GetPhiOffset () const
 Get the current phi rotation angle. More...
 
virtual void RotateRelative (const double offset)
 Apply a rotation in addition to the already existing phi offset. More...
 
virtual void BuildMappings (std::vector< hit_mapping_t > &, std::vector< scaler_mapping_t > &) const override
 
- Public Member Functions inherited from ant::Detector_t
virtual void SetElementFlag (ElementFlag_t flag, const std::vector< unsigned > &channels)
 
virtual bool HasElementFlags (unsigned channel, const ElementFlags_t &flags) const
 
virtual bool IsIgnored (unsigned channel) const
 
virtual ~Detector_t ()=default
 

Static Public Attributes

static const std::vector< Element_telements_init
 

Additional Inherited Members

- Public Types inherited from ant::Detector_t
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 Public Member Functions inherited from ant::Detector_t
static const char * ToString (const Type_t &type)
 
static Type_t FromString (const std::string &str)
 
- Public Attributes inherited from ant::Detector_t
const Type_t Type
 
- Protected Member Functions inherited from ant::expconfig::detector::PID
 PID (const std::vector< Element_t > &elements_init)
 Constructor. More...
 
- Protected Member Functions inherited from ant::Detector_t
 Detector_t (const Type_t &type)
 
 Detector_t (const Detector_t &)=delete
 
- Protected Member Functions inherited from ant::UnpackerAcquConfig
 ~UnpackerAcquConfig ()=default
 

Constructor & Destructor Documentation

◆ PID_2009_07()

ant::expconfig::detector::PID_2009_07::PID_2009_07 ( )
inline

Member Data Documentation

◆ elements_init

const std::vector< ant::expconfig::detector::PID::Element_t > ant::expconfig::detector::PID_2009_07::elements_init
static
Initial value:
=
{
{ 0, 100, 2016},
{ 1, 101, 2017},
{ 2, 102, 2018},
{ 3, 103, 2019},
{ 4, 104, 2020},
{ 5, 105, 2021},
{ 6, 106, 2022},
{ 7, 107, 2023},
{ 8, 108, 2024},
{ 9, 109, 2025},
{10, 110, 2026},
{11, 111, 2027},
{12, 112, 2028},
{13, 113, 2029},
{14, 114, 2030},
{15, 115, 2031},
{16, 116, 2008},
{17, 117, 2009},
{18, 118, 2010},
{19, 119, 2011},
{20, 120, 2012},
{21, 121, 2013},
{22, 122, 2014},
{23, 123, 2015},
}

The documentation for this struct was generated from the following files: