PAASS
Software suite to Acquire and Analyze Data from Pixie16
McpProcessor Class Reference

Class that handles MCP detectors. More...

#include <McpProcessor.hpp>

Inheritance diagram for McpProcessor:
Collaboration diagram for McpProcessor:

Data Structures

struct  McpData
 Data structure to hold MCP data. More...
 

Public Member Functions

 McpProcessor ()
 
virtual void DeclarePlots (void)
 
virtual bool Process (RawEvent &rEvent)
 
- 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

struct McpProcessor::McpData data
 instance of the McpData structure More...
 

Static Private Attributes

static const size_t nPos = 4
 number of positions More...
 

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 EventProcessor
std::string name
 Name of the Processor. More...
 
std::set< std::string > associatedTypes
 Set of associated types for Processor. More...
 
bool initDone
 True if the initialization has finished. More...
 
bool didProcess
 True if the process finished. More...
 
std::map< std::string, const DetectorSummary * > sumMap
 Map of associated detector summary. More...
 
Plots histo
 

Detailed Description

Class that handles MCP detectors.

Definition at line 10 of file McpProcessor.hpp.

Constructor & Destructor Documentation

§ McpProcessor()

McpProcessor::McpProcessor ( void  )

Default Constructor

Definition at line 40 of file McpProcessor.cpp.

Member Function Documentation

§ DeclarePlots()

void McpProcessor::DeclarePlots ( void  )
virtual

Declare the plots for the analysis

Reimplemented from EventProcessor.

Definition at line 44 of file McpProcessor.cpp.

Here is the call graph for this function:

§ Process()

bool McpProcessor::Process ( RawEvent rEvent)
virtual

Process the event

Parameters
[in]rEvent: the event to process
Returns
true if the process was successful

Reimplemented from EventProcessor.

Definition at line 55 of file McpProcessor.cpp.

Here is the call graph for this function:

Field Documentation

§ data

struct McpProcessor::McpData McpProcessor::data
private

instance of the McpData structure

§ nPos

const size_t McpProcessor::nPos = 4
staticprivate

number of positions

Definition at line 31 of file McpProcessor.hpp.


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