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

#include <TAPS.h>

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

Public Member Functions

 TAPS_2007 (bool cherenkovInstalled, bool useSensitiveChannels)
 
- Public Member Functions inherited from ant::expconfig::detector::TAPS
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
 
void SetToFOffset (unsigned channel, double value)
 
virtual double GetTimeOfFlight (double clustertime, unsigned channel, double trigger_reftime) const
 GetTimeOfFlight returns the time of flight in nanoseconds, is 0 ns for photons (if correctly calibrated!) More...
 
virtual double GetBeta (const TCandidate &cand_taps, double trigger_reftime) const
 GetBeta uses GetTimeOfFlight() to calculate the beta=v/c of the particle. More...
 
virtual double GetZPosition () const
 GetZPosition distance of front face from center of target. More...
 
virtual double GetRadius () const
 GetRadius radius of front face disk covering all elements. More...
 
virtual void BuildMappings (std::vector< hit_mapping_t > &, std::vector< scaler_mapping_t > &) const override
 
virtual const ClusterDetector_t::Element_tGetClusterElement (unsigned channel) const override
 
unsigned GetRing (const unsigned channel) const
 GetRing returns the ring number inside the hexagonal structure. More...
 
unsigned GetHexChannel (const unsigned channel) const
 GetHexChannel returns the "usual" hexagonal channel as if four PbWO4s were one BaF2 hexagon. More...
 
bool IsPbWO4 (const unsigned channel) const
 IsPbWO4 returns true if given logical channel is PbWO4 element. More...
 
bool IsBaF2 (const unsigned channel) const
 IsBaF2 returns true if given logical channel is BaF2 element. More...
 
std::vector< unsigned > GetBaF2Channels () const
 GetBaF2Channels returns a vector containing the channel numbers with the BaF2 channels of the used TAPS detector. More...
 
std::vector< unsigned > GetPbWO4Channels () const
 GetPbWO4Channels returns a vector containing the channel numbers with the PbWO4 channels of the used TAPS detector. More...
 
- 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
 

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::TAPS
 TAPS (bool cherenkovInstalled, bool pizzaInstalled, bool useSensitiveChannels, const std::vector< BaF2_Element_t > &BaF2s, const std::vector< PbWO4_Element_t > &PbWO4s)
 
- Protected Member Functions inherited from ant::ClusterDetector_t
 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
 
- Protected Member Functions inherited from ant::UnpackerAcquConfig
 ~UnpackerAcquConfig ()=default
 
- Static Protected Attributes inherited from ant::expconfig::detector::TAPS
static constexpr unsigned NHexElements = 384
 
static constexpr unsigned NSectors = 6
 
static constexpr unsigned PbWO4PerHex = 4
 

Constructor & Destructor Documentation

◆ TAPS_2007()

ant::expconfig::detector::TAPS_2007::TAPS_2007 ( bool  cherenkovInstalled,
bool  useSensitiveChannels 
)
inline

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