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

Processor to handle 3Hen detector. More...

#include <Hen3Processor.hpp>

Inheritance diagram for Hen3Processor:
Collaboration diagram for Hen3Processor:

Public Member Functions

 Hen3Processor ()
 
 ~Hen3Processor ()
 
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
 

Protected Member Functions

EventData BestBetaForNeutron (double nTime)
 
- 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...
 

Additional Inherited Members

- 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

Processor to handle 3Hen detector.

Definition at line 11 of file Hen3Processor.hpp.

Constructor & Destructor Documentation

§ Hen3Processor()

Hen3Processor::Hen3Processor ( )

Default Constructor

Definition at line 43 of file Hen3Processor.cpp.

§ ~Hen3Processor()

Hen3Processor::~Hen3Processor ( )
inline

Default Destructor

Definition at line 16 of file Hen3Processor.hpp.

Here is the call graph for this function:

Member Function Documentation

§ BestBetaForNeutron()

EventData Hen3Processor::BestBetaForNeutron ( double  nTime)
protected

Find the best beta for a neutron event

Parameters
[in]nTime: the neutron time
Returns
the Event data for the bet matching neutron to beta

Definition at line 47 of file Hen3Processor.cpp.

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

§ DeclarePlots()

void Hen3Processor::DeclarePlots ( void  )
virtual

Declare the plots for the analysis

Reimplemented from EventProcessor.

Definition at line 73 of file Hen3Processor.cpp.

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

§ PreProcess()

bool Hen3Processor::PreProcess ( RawEvent event)
virtual

Preprocess the event

Parameters
[in]event: the event to preprocess
Returns
true if successful

Notice that places Hen3 and Neutron (counters) are activated as parents of detectors activated here. The threshold for the latter is set in the xml file.

Reimplemented from EventProcessor.

Definition at line 100 of file Hen3Processor.cpp.

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

§ Process()

bool Hen3Processor::Process ( RawEvent event)
virtual

Process the event

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

Place Cycle is activated by BeamOn event and deactivated by TapeMove

Cycle time is measured from the beginning of the last BeamON event

These plots show He3 bar location hit picture is as looking along the beam line (having ORIC behind, 3Hen in front)

Reimplemented from EventProcessor.

Definition at line 125 of file Hen3Processor.cpp.

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

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