Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
The all important raw event. More...
#include <RawEvent.hpp>
Public Member Functions | |
RawEvent () | |
~RawEvent () | |
void | Clear (void) |
size_t | Size (void) const |
void | Init (const std::set< std::string > &usedTypes) |
Raw event initialization and set the rawevent detector summary map with the passed argument. More... | |
void | AddChan (ChanEvent *event) |
void | Zero (const std::set< std::string > &usedev) |
Raw event zeroing. More... | |
Correlator & | GetCorrelator () |
DetectorSummary * | GetSummary (const std::string &a, bool construct=true) |
Get a pointer to a specific detector summary. More... | |
const DetectorSummary * | GetSummary (const std::string &a) const |
const std::vector< ChanEvent * > & | GetEventList (void) const |
Private Attributes | |
std::map< std::string, DetectorSummary > | sumMap |
std::set< std::string > | nullSummaries |
std::vector< ChanEvent * > | eventList |
Correlator | correlator |
The all important raw event.
The rawevent serves as the basis for the experimental analysis. The rawevent includes a vector of individual channels that have been deemed to be close to each other in time. This determination is performed in ScanList() from PixieStd.cpp. The rawevent also includes a map of detector summaries which contains a detector summary for each detector type that is used in the analysis
The rawevent is intended to be versatile enough to remain unaltered unless LARGE changes are made to the pixie16 code. Be careful when altering the rawevent.
|
inline |
Default Constructor
|
inline |
Default Destructor
|
inline |
Add a channel event to the raw event
[in] | event | : the event to add to the raw event |
|
inline |
Clear the list of individual channel events (Memory is managed elsewhere)
|
inline |
|
inline |
DetectorSummary* RawEvent::GetSummary | ( | const std::string & | a, |
bool | construct = true |
||
) |
Get a pointer to a specific detector summary.
Retrieve from the detector summary map a pointer to the specific detector summary that is associated with the passed string.
[in] | a | : the summary that you would like |
[in] | construct | : flag indicating if we need to construct the summary |
const DetectorSummary* RawEvent::GetSummary | ( | const std::string & | a | ) | const |
[in] | a | : the name of the summary that you would like |
void RawEvent::Init | ( | const std::set< std::string > & | usedTypes | ) |
Raw event initialization and set the rawevent detector summary map with the passed argument.
[in] | usedTypes | : the list of types used in the analysis |
|
inline |
void RawEvent::Zero | ( | const std::set< std::string > & | usedev | ) |
Raw event zeroing.
For any detector type that was used in the event, zero the appropriate detector summary in the map, and clear the event list
[in] | usedev | : the detector summary to zero |
|
private |
class to correlate decay data with implantation data
|
private |
Pointers to all the channels that are close enough in time to be considered a single event
|
mutableprivate |
Summaries which were requested but don't exist
|
private |
An STL map containing DetectorSummary classes associated with detector types