Public Member Functions | Protected Attributes | Private Attributes | List of all members
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 808 of file RawDataDrawer.cxx.

Constructor & Destructor Documentation

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

Definition at line 810 of file RawDataDrawer.cxx.

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

Member Function Documentation

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

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

Definition at line 832 of file RawDataDrawer.cxx.

833  {
834  return true;
835  }
virtual bool evd::RawDataDrawer::OperationBaseClass::Initialize ( void  )
inlinevirtual

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

Definition at line 817 of file RawDataDrawer.cxx.

818  {
819  return true;
820  }
virtual std::string evd::RawDataDrawer::OperationBaseClass::Name ( void  ) const
inlinevirtual

Reimplemented in evd::RawDataDrawer::ManyOperations.

Definition at line 838 of file RawDataDrawer.cxx.

839  {
840  return cet::demangle_symbol(typeid(*this).name());
841  }
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 844 of file RawDataDrawer.cxx.

845  {
846  return Operate(wireID, tick, adc);
847  }
int16_t adc
Definition: CRTFragment.hh:202
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
Definition: electronics.h:75
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 850 of file RawDataDrawer.cxx.

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

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

Definition at line 827 of file RawDataDrawer.cxx.

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

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

Definition at line 823 of file RawDataDrawer.cxx.

824  {
825  return true;
826  }
RawDataDrawer* evd::RawDataDrawer::OperationBaseClass::RawDataDrawerPtr ( ) const
inline

Definition at line 855 of file RawDataDrawer.cxx.

856  {
857  return pRawDataDrawer;
858  }

Member Data Documentation

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

Definition at line 864 of file RawDataDrawer.cxx.

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

Definition at line 861 of file RawDataDrawer.cxx.


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