LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
evd::RawDataDrawer::OperationBaseClass Class Referenceabstract
Inheritance diagram for evd::RawDataDrawer::OperationBaseClass:
evd::RawDataDrawer::BoxDrawer evd::RawDataDrawer::ManyOperations evd::RawDataDrawer::RoIextractorClass

Public Member Functions

 OperationBaseClass (geo::PlaneID const &pid, RawDataDrawer *data_drawer=nullptr)
 
virtual ~OperationBaseClass ()=default
 
virtual bool Initialize ()
 
virtual bool ProcessWire (geo::WireID const &)
 
virtual bool ProcessTick (size_t)
 
virtual bool Operate (geo::WireID const &wireID, size_t tick, float adc)=0
 
virtual bool Finish ()
 
virtual std::string Name () const
 
bool operator() (geo::WireID const &wireID, size_t tick, float adc)
 
geo::PlaneID const & PlaneID () const
 
RawDataDrawerRawDataDrawerPtr () const
 

Protected Attributes

RawDataDrawerpRawDataDrawer = nullptr
 

Private Attributes

geo::PlaneID planeID
 

Detailed Description

Definition at line 645 of file RawDataDrawer.cxx.

Constructor & Destructor Documentation

evd::RawDataDrawer::OperationBaseClass::OperationBaseClass ( geo::PlaneID const &  pid,
RawDataDrawer data_drawer = nullptr 
)
inline

Definition at line 647 of file RawDataDrawer.cxx.

virtual evd::RawDataDrawer::OperationBaseClass::~OperationBaseClass ( )
virtualdefault

Member Function Documentation

virtual bool evd::RawDataDrawer::OperationBaseClass::Finish ( )
inlinevirtual
virtual bool evd::RawDataDrawer::OperationBaseClass::Initialize ( )
inlinevirtual

Reimplemented in evd::RawDataDrawer::BoxDrawer, and evd::RawDataDrawer::ManyOperations.

Definition at line 653 of file RawDataDrawer.cxx.

Referenced by evd::RawDataDrawer::RunOperation().

653 { return true; }
virtual std::string evd::RawDataDrawer::OperationBaseClass::Name ( ) const
inlinevirtual

Reimplemented in evd::RawDataDrawer::ManyOperations.

Definition at line 662 of file RawDataDrawer.cxx.

Referenced by evd::RawDataDrawer::RunOperation().

662 { return cet::demangle_symbol(typeid(*this).name()); }
virtual bool evd::RawDataDrawer::OperationBaseClass::Operate ( geo::WireID const &  wireID,
size_t  tick,
float  adc 
)
pure virtual
bool evd::RawDataDrawer::OperationBaseClass::operator() ( geo::WireID const &  wireID,
size_t  tick,
float  adc 
)
inline

Definition at line 664 of file RawDataDrawer.cxx.

665  {
666  return Operate(wireID, tick, adc);
667  }
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
Definition: electronics.h:73
virtual bool Operate(geo::WireID const &wireID, size_t tick, float adc)=0
geo::PlaneID const& evd::RawDataDrawer::OperationBaseClass::PlaneID ( ) const
inline

Definition at line 669 of file RawDataDrawer.cxx.

Referenced by evd::RawDataDrawer::RunOperation().

669 { return planeID; }
virtual bool evd::RawDataDrawer::OperationBaseClass::ProcessTick ( size_t  )
inlinevirtual

Reimplemented in evd::RawDataDrawer::BoxDrawer, and evd::RawDataDrawer::ManyOperations.

Definition at line 656 of file RawDataDrawer.cxx.

Referenced by evd::RawDataDrawer::RunOperation().

656 { return true; }
virtual bool evd::RawDataDrawer::OperationBaseClass::ProcessWire ( geo::WireID const &  )
inlinevirtual

Reimplemented in evd::RawDataDrawer::BoxDrawer, and evd::RawDataDrawer::ManyOperations.

Definition at line 655 of file RawDataDrawer.cxx.

Referenced by evd::RawDataDrawer::RunOperation().

655 { return true; }
RawDataDrawer* evd::RawDataDrawer::OperationBaseClass::RawDataDrawerPtr ( ) const
inline

Definition at line 670 of file RawDataDrawer.cxx.

670 { return pRawDataDrawer; }

Member Data Documentation

geo::PlaneID evd::RawDataDrawer::OperationBaseClass::planeID
private

Definition at line 676 of file RawDataDrawer.cxx.

RawDataDrawer* evd::RawDataDrawer::OperationBaseClass::pRawDataDrawer = nullptr
protected

Definition at line 673 of file RawDataDrawer.cxx.


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