PAASS
Software suite to Acquire and Analyze Data from Pixie16
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 ()
 
void DeclarePlots (void)
 
bool PreProcess (RawEvent &event)
 
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 double CorrectTOF (const double &TOF, const double &corRadius, const double &z0)
 Correct the time of flight based on the geometry of the setup. More...
 
BarMap GetBars (void)
 
bool GetHasSmall (void)
 
bool GetHasMed (void)
 
bool GetHasBig (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 Types

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

Private Attributes

std::map< CrossTalkKey, double > crossTalk
 map to put in cross talk info 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 VandleProcessor
BarMap bars_
 A map to hold all the bars. More...
 
TimingMap starts_
 A map to to hold all the starts. More...
 
BarMap barStarts_
 A map that holds all of the bar starts. More...
 
DetectorSummarygeSummary_
 The Detector Summary for Ge Events. More...
 
bool hasDecay_
 True if there was a correlated beta decay. More...
 
double decayTime_
 the time of the decay More...
 
double plotMult_
 The resolution multiplier for DAMM histograms. More...
 
double plotOffset_
 The offset multiplier for DAMM histograms. More...
 
bool hasSmall_
 True if small bars were requested in the Config. More...
 
bool hasBig_
 True if big bars were requested in the Config. More...
 
bool hasMed_
 True if medium bars were requested in the Config. More...
 
unsigned int numStarts_
 The number of starts set in the Config File. 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

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

Definition at line 14 of file CrosstalkProcessor.hpp.

Member Typedef Documentation

§ CrossTalkKey

typedef std::pair<unsigned int, unsigned int> CrosstalkProcessor::CrossTalkKey
private

Typedef for crosstalk.

Definition at line 33 of file CrosstalkProcessor.hpp.

§ CrossTalkMap

typedef std::map<CrossTalkKey, double> CrosstalkProcessor::CrossTalkMap
private

typedef for map for crosstalk handling

Definition at line 34 of file CrosstalkProcessor.hpp.

Constructor & Destructor Documentation

§ CrosstalkProcessor()

CrosstalkProcessor::CrosstalkProcessor ( )

Default Constructor

Definition at line 24 of file CrosstalkProcessor.cpp.

§ ~CrosstalkProcessor()

CrosstalkProcessor::~CrosstalkProcessor ( )
inline

Default Destructor

Definition at line 19 of file CrosstalkProcessor.hpp.

Here is the call graph for this function:

Member Function Documentation

§ DeclarePlots()

void CrosstalkProcessor::DeclarePlots ( void  )
virtual

Declares the plots for the processor

Reimplemented from VandleProcessor.

Definition at line 30 of file CrosstalkProcessor.cpp.

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

§ PreProcess()

bool CrosstalkProcessor::PreProcess ( RawEvent event)
virtual

Preprocess the data for Crosstalk

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

Reimplemented from VandleProcessor.

Definition at line 40 of file CrosstalkProcessor.cpp.

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

§ Process()

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

<set resolution of histograms

< set offset of histograms

Reimplemented from VandleProcessor.

Definition at line 56 of file CrosstalkProcessor.cpp.

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

Field Documentation

§ crossTalk

std::map<CrossTalkKey, double> CrosstalkProcessor::crossTalk
private

map to put in cross talk info

Definition at line 35 of file CrosstalkProcessor.hpp.


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