PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
A generic processor to be used as a template for others. More...
#include <CrosstalkProcessor.hpp>
Public Member Functions | |
CrosstalkProcessor () | |
~CrosstalkProcessor () | |
void | DeclarePlots (void) |
bool | PreProcess (RawEvent &event) |
bool | Process (RawEvent &event) |
![]() | |
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) |
![]() | |
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 | |
![]() | |
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... | |
![]() | |
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... | |
DetectorSummary * | geSummary_ |
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... | |
![]() | |
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 |
A generic processor to be used as a template for others.
Definition at line 14 of file CrosstalkProcessor.hpp.
|
private |
Typedef for crosstalk.
Definition at line 33 of file CrosstalkProcessor.hpp.
|
private |
typedef for map for crosstalk handling
Definition at line 34 of file CrosstalkProcessor.hpp.
CrosstalkProcessor::CrosstalkProcessor | ( | ) |
Default Constructor
Definition at line 24 of file CrosstalkProcessor.cpp.
|
inline |
Default Destructor
Definition at line 19 of file CrosstalkProcessor.hpp.
|
virtual |
Declares the plots for the processor
Reimplemented from VandleProcessor.
Definition at line 30 of file CrosstalkProcessor.cpp.
|
virtual |
Preprocess the data for Crosstalk
[in] | event | : the event to preprocess |
Reimplemented from VandleProcessor.
Definition at line 40 of file CrosstalkProcessor.cpp.
|
virtual |
Performs the main processsing, which may depend on other processors
[in] | event | : the event to process |
<set resolution of histograms
< set offset of histograms
Reimplemented from VandleProcessor.
Definition at line 56 of file CrosstalkProcessor.cpp.
|
private |
map to put in cross talk info
Definition at line 35 of file CrosstalkProcessor.hpp.