DDASToys for NSCLDAQ  6.2-000
Public Member Functions | List of all members
ProcessToRootSink Class Reference

A ring item processeor concrete class that overrides the CRingItemProcessor base class method to put PHYSICS_EVENTs into a ROOT file data sink. More...

#include <ProcessToRootSink.h>

Inheritance diagram for ProcessToRootSink:
Inheritance graph
[legend]
Collaboration diagram for ProcessToRootSink:
Collaboration graph
[legend]

Public Member Functions

 ProcessToRootSink (std::string sink)
 Constructor.
 
virtual ~ProcessToRootSink ()
 Destructor.
 
virtual void processEvent (CPhysicsEventItem &item)
 Process physics events. More...
 
- Public Member Functions inherited from CRingItemProcessor
 CRingItemProcessor ()
 Constructor.
 
virtual ~CRingItemProcessor ()
 Destructor.
 
virtual void processScalerItem (CRingScalerItem &item)
 Output an abbreviated scaler dump to stdout. More...
 
virtual void processStateChangeItem (CRingStateChangeItem &item)
 Output a state change item to stdout. More...
 
virtual void processTextItem (CRingTextItem &item)
 Output a text item to stdout. More...
 
virtual void processEventCount (CRingPhysicsEventCountItem &item)
 Output an event count item to stdout. More...
 
virtual void processFormat (CDataFormatItem &item)
 Output the ring item format to stdout. More...
 
virtual void processGlomParams (CGlomParameters &item)
 Output a glom parameters item to stdout. More...
 
virtual void processUnknownItemType (CRingItem &item)
 Output a ring item with unknown type to stdout. More...
 

Detailed Description

A ring item processeor concrete class that overrides the CRingItemProcessor base class method to put PHYSICS_EVENTs into a ROOT file data sink.

Member Function Documentation

◆ processEvent()

void ProcessToRootSink::processEvent ( CPhysicsEventItem &  item)
virtual

Process physics events.

Parameters
itemReferences the physics event item that we are 'analyzing'.

Derived class decides what to do with PHYSICS_EVENT ring items. In this case, we just pass the data to the ROOT file sink and let it handle the rest.

Reimplemented from CRingItemProcessor.


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