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

Class to handle liquid scintillator. More...

#include <LiquidScintProcessor.hpp>

Inheritance diagram for LiquidScintProcessor:
Collaboration diagram for LiquidScintProcessor:

Public Member Functions

 LiquidScintProcessor ()
 
 ~LiquidScintProcessor ()
 
virtual bool PreProcess (RawEvent &event)
 
virtual bool Process (RawEvent &event)
 
virtual void DeclarePlots (void)
 
- 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)
 
void EndProcess (void)
 
std::string GetName (void) const
 

Private Attributes

unsigned int counter
 A counter for counting... 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 to handle liquid scintillator.

Definition at line 12 of file LiquidScintProcessor.hpp.

Constructor & Destructor Documentation

§ LiquidScintProcessor()

LiquidScintProcessor::LiquidScintProcessor ( )

Default Constructor

Definition at line 36 of file LiquidScintProcessor.cpp.

§ ~LiquidScintProcessor()

LiquidScintProcessor::~LiquidScintProcessor ( )
inline

Default Destructor

Definition at line 17 of file LiquidScintProcessor.hpp.

Here is the call graph for this function:

Member Function Documentation

§ DeclarePlots()

void LiquidScintProcessor::DeclarePlots ( void  )
virtual

Declare plots for processor

WARNING This part was commented in the old ScintProcessor and is copied as is.

Reimplemented from EventProcessor.

Definition at line 41 of file LiquidScintProcessor.cpp.

Here is the caller graph for this function:

§ PreProcess()

bool LiquidScintProcessor::PreProcess ( RawEvent event)
virtual

Performs the preprocessing, which cannot depend on other processors

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

Reimplemented from EventProcessor.

Definition at line 62 of file LiquidScintProcessor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ Process()

bool LiquidScintProcessor::Process ( RawEvent event)
virtual

Process an event

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

WARNING! This part was the LiquidAnalysis function in the old ScintProcessor. It looks like written for some older version of code. Before using, examine it carefully!

Reimplemented from EventProcessor.

Definition at line 74 of file LiquidScintProcessor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

§ counter

unsigned int LiquidScintProcessor::counter
private

A counter for counting...

Definition at line 29 of file LiquidScintProcessor.hpp.


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