PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Class to handle correlations for super heavy event experiments. More...
#include <SheCorrelator.hpp>
Public Member Functions | |
SheCorrelator (int size_x, int size_y) | |
~SheCorrelator () | |
bool | add_event (SheEvent &event, int x, int y) |
void | human_event_info (SheEvent &event, std::stringstream &ss, double clockStart) |
Private Member Functions | |
bool | flush_chain (int x, int y) |
Private Attributes | |
int | size_x_ |
size in the x direction More... | |
int | size_y_ |
size in the y direction More... | |
std::deque< SheEvent > ** | pixels_ |
deque of the pixels hit More... | |
Class to handle correlations for super heavy event experiments.
Definition at line 84 of file SheCorrelator.hpp.
SheCorrelator::SheCorrelator | ( | int | size_x, |
int | size_y | ||
) |
Constructor taking x and y size
Definition at line 43 of file SheCorrelator.cpp.
SheCorrelator::~SheCorrelator | ( | ) |
Default Destructor
Definition at line 52 of file SheCorrelator.cpp.
bool SheCorrelator::add_event | ( | SheEvent & | event, |
int | x, | ||
int | y | ||
) |
adds an event to the deque
Definition at line 61 of file SheCorrelator.cpp.
|
private |
flushes the chain
If chain too short just clear it
Conditions for interesing chain:
If it doesn't start with hevayIon, clear and exit
If it is 2 elements long, check if the second is fission, if not - clear and exit
Definition at line 85 of file SheCorrelator.cpp.
void SheCorrelator::human_event_info | ( | SheEvent & | event, |
std::stringstream & | ss, | ||
double | clockStart | ||
) |
provides human readable event info
Definition at line 144 of file SheCorrelator.cpp.
|
private |
deque of the pixels hit
Definition at line 98 of file SheCorrelator.hpp.
|
private |
size in the x direction
Definition at line 96 of file SheCorrelator.hpp.
|
private |
size in the y direction
Definition at line 97 of file SheCorrelator.hpp.