Compute morphology match of coinc events. More...
#include <MorphMatch.h>
Public Member Functions | |
int | ComputeMorphMatch (void) |
Runs the morphmatch algorithm. | |
Constructors and destructors | |
MorphMatch (EventMap *aTriggerSample0, EventMap *aTriggerSample1, const int aVerbose=0) | |
Constructor of the MorphMatch class. | |
virtual | ~MorphMatch (void) |
Destructor of the MorphMatch class. | |
Protected Attributes | |
double | CoMatch |
coinc match | |
double | CoMatchShift |
coinc match time shift | |
double | CoMatchSumw2 |
coinc match stat | |
EventMap * | triggers [2] |
overloads trigger sample |
Compute morphology match of coinc events.
MorphMatch::MorphMatch | ( | EventMap * | aTriggerSample0, | |
EventMap * | aTriggerSample1, | |||
const int | aVerbose = 0 | |||
) |
Constructor of the MorphMatch class.
See parent class: Coinc2::Coinc2(). Here, EventMap objects are used as input in order to compute the morphology match. Input maps with index=0 are used. It is the user responsibility to set the map parameters. The morphmatch alghorithm only works if maps have the same resolution in time and frequency and if the ranges (in time and frequency) are the same. FIXME: describe the MorphMatch algorithm.
aTriggerSample0 | first input trigger sample | |
aTriggerSample1 | second input trigger sample | |
aVerbose | verbosity level |
MorphMatch::~MorphMatch | ( | void | ) | [virtual] |
Destructor of the MorphMatch class.
int MorphMatch::ComputeMorphMatch | ( | void | ) |
Runs the morphmatch algorithm.
After the coincidence being performed (see Coinc2::MakeCoinc()), this function computes the morphology match parameters for each coinc event tagged to true. The map parameters must be properly set: see MorphMatch::MorphMatch(). Returns the number of coinc events with a mophology match. Returns -1 if this function fails. computes morphology match
double MorphMatch::CoMatch [protected] |
coinc match
double MorphMatch::CoMatchShift [protected] |
coinc match time shift
double MorphMatch::CoMatchSumw2 [protected] |
coinc match stat
EventMap* MorphMatch::triggers[2] [protected] |
overloads trigger sample
Reimplemented from Coinc2.