Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
TriggerLogicProcessor Class Reference

Trigger Logic Processing derived from LogicProcessor. More...

#include <TriggerLogicProcessor.hpp>

Inheritance diagram for TriggerLogicProcessor:
Collaboration diagram for TriggerLogicProcessor:

Public Member Functions

 TriggerLogicProcessor (void)
 
 ~TriggerLogicProcessor ()
 
virtual void DeclarePlots (void)
 
virtual bool Process (RawEvent &event)
 
- Public Member Functions inherited from LogicProcessor
 LogicProcessor ()
 
 LogicProcessor (int offset, int range)
 
virtual bool LogicStatus (size_t loc) const
 
unsigned long StopCount (size_t loc) const
 
unsigned long StartCount (size_t loc) const
 
double TimeOff (size_t loc, double t) const
 
double TimeOn (size_t loc, double t) const
 
- Public Member Functions inherited from EventProcessor
 EventProcessor ()
 
 EventProcessor (int offset, int range, std::string name)
 
virtual ~EventProcessor ()
 
virtual const std::set< std::string > & GetTypes (void) const
 
virtual bool DidProcess (void) const
 
virtual bool HasEvent (void) const
 
virtual bool Init (RawEvent &event)
 
virtual bool PreProcess (RawEvent &event)
 
void EndProcess (void)
 
std::string GetName (void) const
 

Private Attributes

int plotSize
 The size of the plots for the processor.
 

Additional Inherited Members

- Protected Member Functions inherited from EventProcessor
virtual void plot (int dammId, double val1, double val2=-1, double val3=-1, const char *name="h")
 Implementation of the plot command to interface with the DAMM routines. More...
 
virtual void DeclareHistogram1D (int dammId, int xSize, const char *title)
 Declares a 1D histogram calls the C++ wrapper for DAMM. More...
 
virtual void DeclareHistogram2D (int dammId, int xSize, int ySize, const char *title)
 Declares a 2D histogram calls the C++ wrapper for DAMM. More...
 
- Protected Attributes inherited from LogicProcessor
std::vector< double > lastStartTime
 time of last leading edge
 
std::vector< double > lastStopTime
 time of last trailing edge
 
std::vector< bool > logicStatus
 current level of the logic signal
 
std::vector< unsigned long > stopCount
 number of stops received
 
std::vector< unsigned long > startCount
 number of starts received
 
- Protected Attributes inherited from EventProcessor
std::string name
 Name of the Processor.
 
std::set< std::string > associatedTypes
 Set of associated types for Processor.
 
bool initDone
 True if the initialization has finished.
 
bool didProcess
 True if the process finished.
 
std::map< std::string, const DetectorSummary * > sumMap
 Map of associated detector summary.
 
Plots histo
 

Detailed Description

Trigger Logic Processing derived from LogicProcessor.

Constructor & Destructor Documentation

TriggerLogicProcessor::TriggerLogicProcessor ( void  )

Default Constructor

TriggerLogicProcessor::~TriggerLogicProcessor ( )
inline

Default destructor

Member Function Documentation

virtual void TriggerLogicProcessor::DeclarePlots ( void  )
virtual

Declare the plots for the processor

Reimplemented from LogicProcessor.

virtual bool TriggerLogicProcessor::Process ( RawEvent event)
virtual

Process an event

Parameters
[in]event: the event to process
Returns
True if the processing was successful

Reimplemented from LogicProcessor.


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