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

Handles detectors of type ssd:implant. More...

#include <ImplantSsdProcessor.hpp>

Inheritance diagram for ImplantSsdProcessor:
Collaboration diagram for ImplantSsdProcessor:

Public Member Functions

 ImplantSsdProcessor ()
 
 ~ImplantSsdProcessor ()
 
virtual void DeclarePlots (void)
 
virtual bool Process (RawEvent &event)
 
- 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 Member Functions

EventInfo::EEventTypes SetType (EventInfo &info) const
 
void PlotType (EventInfo &info, int loc, Correlator::EConditions cond)
 
void Correlate (Correlator &corr, EventInfo &info, int location)
 

Private Attributes

unsigned int fastTracesWritten
 Number of fast traces written.
 
unsigned int highTracesWritten
 Number of high traces written.
 

Static Private Attributes

static const double cutoffEnergy
 cutoff energy for implants versus decays
 
static const double implantTof
 minimum time-of-flight for an implant
 
static const double goodAlphaCut
 interesting alpha energy
 
static const double fissionThresh
 minimum energy for a fission event
 
static const unsigned int numTraces = 100
 number of traces
 

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.
 
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

Handles detectors of type ssd:implant.

Constructor & Destructor Documentation

ImplantSsdProcessor::ImplantSsdProcessor ( )

Default Constructor

ImplantSsdProcessor::~ImplantSsdProcessor ( )
inline

Default Destructor

Member Function Documentation

void ImplantSsdProcessor::Correlate ( Correlator corr,
EventInfo info,
int  location 
)
private

Correlates the events

Parameters
[in]corr: the correlator
[in]info: the information to correlate
[in]location: the location for the correlations
virtual void ImplantSsdProcessor::DeclarePlots ( void  )
virtual

Declares the plots

Reimplemented from EventProcessor.

void ImplantSsdProcessor::PlotType ( EventInfo info,
int  loc,
Correlator::EConditions  cond 
)
private

Plots a specific type

Parameters
[in]info: the information to plot
[in]loc: the location to plot
[in]cond: the conditions for the plotting
virtual bool ImplantSsdProcessor::Process ( RawEvent event)
virtual

Process an event

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

Reimplemented from EventProcessor.

EventInfo::EEventTypes ImplantSsdProcessor::SetType ( EventInfo info) const
private

Sets the event type

Parameters
[in]info: the event information to set
Returns
The event types that were set

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