ant
A2 ant: class-based analysis framework
ant::calibration::CB_TimeWalk Class Reference

#include <CB_TimeWalk.h>

+ Inheritance diagram for ant::calibration::CB_TimeWalk:
+ Collaboration diagram for ant::calibration::CB_TimeWalk:

Classes

class  TheGUI
 

Public Member Functions

 CB_TimeWalk (const std::shared_ptr< expconfig::detector::CB > &cb, const std::shared_ptr< DataManager > &calmgr, const interval< double > &timeWindow, double badTDC_EnergyThreshold=std_ext::inf)
 
virtual ~CB_TimeWalk ()
 
virtual void GetGUIs (std::list< std::unique_ptr< calibration::gui::CalibModule_traits > > &guis, ant::OptionsPtr options) override
 
virtual void ApplyTo (clusterhits_t &sorted_clusterhits) override
 
virtual std::list< Loader_tGetLoaders () override
 
void UpdatedTIDFlags (const TID &id) override
 UpdatedTIDFlags called when processed event has some different flags in TID. More...
 
- Public Member Functions inherited from ant::Calibration::PhysicsModule
virtual std::vector< std::string > GetPhysicsModules () const
 
- Public Member Functions inherited from ant::Calibration::BaseModule
std::string GetName () const
 
virtual ~BaseModule ()=default
 
- Public Member Functions inherited from ant::Updateable_traits
virtual ~Updateable_traits ()=default
 
- Public Member Functions inherited from ant::ReconstructHook::Base
virtual ~Base ()=default
 

Protected Attributes

std::vector< std::shared_ptr< gui::FitTimewalk > > timewalks
 
std::shared_ptr< expconfig::detector::CBcb_detector
 
std::shared_ptr< DataManagercalibrationManager
 
const interval< double > TimeWindow
 
bool IsMC = false
 
const double BadTDC_EnergyThreshold
 

Additional Inherited Members

- Public Types inherited from ant::Updateable_traits
using Loader_t = std::function< void(const TID &currPoint, TID &nextChangePoint)>
 
- Public Types inherited from ant::ReconstructHook::Base
using readhits_t = std_ext::mapped_vectors< Detector_t::Type_t, std::reference_wrapper< TDetectorReadHit > >
 
using clusterhits_t = std::map< Detector_t::Type_t, TClusterHitList >
 
using clusters_t = std::map< Detector_t::Type_t, TClusterList >
 
- Protected Member Functions inherited from ant::Calibration::BaseModule
 BaseModule (const std::string &name_)
 

Constructor & Destructor Documentation

◆ CB_TimeWalk()

ant::calibration::CB_TimeWalk::CB_TimeWalk ( const std::shared_ptr< expconfig::detector::CB > &  cb,
const std::shared_ptr< DataManager > &  calmgr,
const interval< double > &  timeWindow,
double  badTDC_EnergyThreshold = std_ext::inf 
)

◆ ~CB_TimeWalk()

CB_TimeWalk::~CB_TimeWalk ( )
virtual

Member Function Documentation

◆ ApplyTo()

void CB_TimeWalk::ApplyTo ( clusterhits_t sorted_clusterhits)
overridevirtual

◆ GetGUIs()

void CB_TimeWalk::GetGUIs ( std::list< std::unique_ptr< calibration::gui::CalibModule_traits > > &  guis,
ant::OptionsPtr  options 
)
overridevirtual

◆ GetLoaders()

std::list< Updateable_traits::Loader_t > CB_TimeWalk::GetLoaders ( )
overridevirtual

◆ UpdatedTIDFlags()

void CB_TimeWalk::UpdatedTIDFlags ( const TID )
overridevirtual

UpdatedTIDFlags called when processed event has some different flags in TID.

Parameters
idthe ID with some different Flags field

Reimplemented from ant::Updateable_traits.

Member Data Documentation

◆ BadTDC_EnergyThreshold

const double ant::calibration::CB_TimeWalk::BadTDC_EnergyThreshold
protected

◆ calibrationManager

std::shared_ptr<DataManager> ant::calibration::CB_TimeWalk::calibrationManager
protected

◆ cb_detector

std::shared_ptr<expconfig::detector::CB> ant::calibration::CB_TimeWalk::cb_detector
protected

◆ IsMC

bool ant::calibration::CB_TimeWalk::IsMC = false
protected

◆ timewalks

std::vector< std::shared_ptr<gui::FitTimewalk> > ant::calibration::CB_TimeWalk::timewalks
protected

◆ TimeWindow

const interval<double> ant::calibration::CB_TimeWalk::TimeWindow
protected

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