ant
A2 ant: class-based analysis framework
ant::ClusterDetector_t Struct Referenceabstract

#include <Detector_t.h>

+ Inheritance diagram for ant::ClusterDetector_t:
+ Collaboration diagram for ant::ClusterDetector_t:

Classes

struct  Element_t
 

Public Member Functions

virtual const Element_tGetClusterElement (unsigned channel) const =0
 
- Public Member Functions inherited from ant::Detector_t
virtual unsigned GetNChannels () const =0
 
virtual vec3 GetPosition (unsigned channel) const =0
 
virtual void SetElementFlags (unsigned channel, const ElementFlags_t &flags)=0
 
virtual const ElementFlags_tGetElementFlags (unsigned channel) const =0
 
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
 

Protected Member Functions

 ClusterDetector_t (const Type_t &type)
 
- Protected Member Functions inherited from ant::Detector_t
 Detector_t (const Type_t &type)
 
 Detector_t (const Detector_t &)=delete
 

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
 

Constructor & Destructor Documentation

◆ ClusterDetector_t()

ant::ClusterDetector_t::ClusterDetector_t ( const Type_t type)
inlineprotected

Member Function Documentation

◆ GetClusterElement()

virtual const Element_t* ant::ClusterDetector_t::GetClusterElement ( unsigned  channel) const
pure virtual

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