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

A basic ring item processor. More...

#include <TraceViewProcessor.h>

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

Public Member Functions

 TraceViewProcessor ()
 Constructor. More...
 
virtual ~TraceViewProcessor ()
 Destructor. More...
 
virtual void processEvent (CPhysicsEventItem &item)
 Process physics events. More...
 
virtual void processScalerItem (CRingScalerItem &)
 Scaler ring items are ignored.
 
virtual void processTextItem (CRingTextItem &)
 Text ring items are ignored.
 
virtual void processEventCount (CRingPhysicsEventCountItem &)
 PhysicsEventCount ring items are ignored.
 
virtual void processGlomParams (CGlomParameters &)
 GlomParameters ring items are ignored.
 
std::vector< ddastoys::DDASFitHitgetUnpackedHits ()
 Return the unpacked event data. More...
 
- Public Member Functions inherited from CRingItemProcessor
 CRingItemProcessor ()
 Constructor.
 
virtual ~CRingItemProcessor ()
 Destructor.
 
virtual void processStateChangeItem (CRingStateChangeItem &item)
 Output a state change item to stdout. More...
 
virtual void processFormat (CDataFormatItem &item)
 Output the ring item format to stdout. More...
 
virtual void processUnknownItemType (CRingItem &item)
 Output a ring item with unknown type to stdout. More...
 

Detailed Description

A basic ring item processor.

A ring item processor class for a small subset of relavent ring items. See latest $DAQROOT/share/recipes/process/processor.h/cpp for a more general example. This processer:

Constructor & Destructor Documentation

◆ TraceViewProcessor()

TraceViewProcessor::TraceViewProcessor ( )

Constructor.

Also constructs a DDASFitHitUnpacker object.

◆ ~TraceViewProcessor()

TraceViewProcessor::~TraceViewProcessor ( )
virtual

Destructor.

Processor owns the unpacker, so delete on destruction.

Member Function Documentation

◆ getUnpackedHits()

std::vector<ddastoys::DDASFitHit> TraceViewProcessor::getUnpackedHits ( )
inline

Return the unpacked event data.

Returns
Vector containing the event data.

◆ processEvent()

void TraceViewProcessor::processEvent ( CPhysicsEventItem &  item)
virtual

Process physics events.

Parameters
itemReference to the physics event item.

Break PHYSICS_EVENTs into fragments, convert the fragments into DDASFitHits and append them to the event (just a vector of DDASFitHits).

Reimplemented from CRingItemProcessor.


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