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

A generic processor to be used as a template for others. More...

#include <CrosstalkProcessor.hpp>

Inheritance diagram for CrosstalkProcessor:
Collaboration diagram for CrosstalkProcessor:

Public Member Functions

 CrosstalkProcessor ()
 
 ~CrosstalkProcessor ()
 
virtual void DeclarePlots (void)
 
virtual bool Process (RawEvent &event)
 
- Public Member Functions inherited from VandleProcessor
 VandleProcessor ()
 
 ~VandleProcessor ()
 
 VandleProcessor (const std::vector< std::string > &typeList, const double &res, const double &offset, const unsigned int &numStarts)
 
virtual bool PreProcess (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)
 
void EndProcess (void)
 
std::string GetName (void) const
 

Private Types

typedef std::pair< unsigned int, unsigned int > CrossTalkKey
 Typedef for crosstalk.
 
typedef std::map< CrossTalkKey, double > CrossTalkMap
 typedef for map for crosstalk handling
 

Private Attributes

std::map< CrossTalkKey, double > crossTalk
 map to put in cross talk info
 

Additional Inherited Members

- Protected Member Functions inherited from VandleProcessor
virtual double CorrectTOF (const double &TOF, const double &corRadius, const double &z0)
 Correct the time of flight based on the geometry of the setup. More...
 
- 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 VandleProcessor
BarMap bars_
 A map to hold all the bars.
 
TimingMap starts_
 A map to to hold all the starts.
 
BarMap barStarts_
 A map that holds all of the bar starts.
 
DetectorSummarygeSummary_
 The Detector Summary for Ge Events.
 
bool hasDecay_
 True if there was a correlated beta decay.
 
double decayTime_
 the time of the decay
 
double plotMult_
 The resolution multiplier for DAMM histograms.
 
double plotOffset_
 The offset multiplier for DAMM histograms.
 
bool hasSmall_
 True if small bars were requested in the Config.
 
bool hasBig_
 True if big bars were requested in the Config.
 
bool hasMed_
 True if medium bars were requested in the Config.
 
unsigned int numStarts_
 The number of starts set in the Config File.
 
- 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

A generic processor to be used as a template for others.

Constructor & Destructor Documentation

CrosstalkProcessor::CrosstalkProcessor ( )

Default Constructor

CrosstalkProcessor::~CrosstalkProcessor ( )
inline

Default Destructor

Member Function Documentation

virtual void CrosstalkProcessor::DeclarePlots ( void  )
virtual

Declares the plots for the processor

Reimplemented from VandleProcessor.

virtual bool CrosstalkProcessor::Process ( RawEvent event)
virtual

Performs the main processsing, which may depend on other processors

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

Reimplemented from VandleProcessor.


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