Version of PositionProcessor that is light weight.
More...
#include <LitePositionProcessor.hpp>
|
ChanEvent * | FindMatchingEdge (ChanEvent *match, std::vector< ChanEvent * >::const_iterator begin, std::vector< ChanEvent * >::const_iterator end) const |
|
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...
|
|
|
float | qdcLen [numQdcs] |
| the length of each qdc in pixie samples
|
|
float | qdcPos [numQdcs] |
| the ending sample number for each QDC position
|
|
float | totLen |
| calculated length of all qdcs excluding baseline qdc
|
|
int | whichQdc |
| which qdc we are using for position determination
|
|
int | numLocations |
| The number of locations.
|
|
float | posScale |
| an arbitrary scale for the position parameter to physical units
|
|
std::vector< float > | minNormQdc |
| the minimum normalized qdc observed for a location
|
|
std::vector< float > | maxNormQdc |
| the maximum normalized qdc observed for a location
|
|
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 |
|
|
static const std::string | configFile |
| Configuration file name.
|
|
static const int | numQdcs = 8 |
| Number of QDCs to calculate.
|
|
Version of PositionProcessor that is light weight.
LitePositionProcessor::LitePositionProcessor |
( |
| ) |
|
LitePositionProcessor::~LitePositionProcessor |
( |
| ) |
|
|
inline |
virtual void LitePositionProcessor::DeclarePlots |
( |
void |
| ) |
|
|
virtual |
Find the matching edge of the SSD
- Parameters
-
[in] | match | : the matching edge |
[in] | begin | : an iterator to the beginning of the event |
[in] | end | : an iterator to the end of the event |
- Returns
- a pointer to the matching ChanEvent
virtual bool LitePositionProcessor::Init |
( |
RawEvent & |
event | ) |
|
|
virtual |
Initialize the processor
- Parameters
-
[in] | event | : the event to use for init |
- Returns
- true if init was successful
Reimplemented from EventProcessor.
virtual bool LitePositionProcessor::Process |
( |
RawEvent & |
event | ) |
|
|
virtual |
Process an event
- Parameters
-
[in] | event | : the event to process |
- Returns
- true if the processing was successful
Reimplemented from EventProcessor.
The documentation for this class was generated from the following file: