MorphMatch Class Reference

Compute morphology match of coinc events. More...

#include <MorphMatch.h>

Inheritance diagram for MorphMatch:
Inheritance graph
[legend]
Collaboration diagram for MorphMatch:
Collaboration graph
[legend]

List of all members.

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
EventMaptriggers [2]
 overloads trigger sample

Detailed Description

Compute morphology match of coinc events.

Author:
Florent Robinet

Constructor & Destructor Documentation

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.

Parameters:
aTriggerSample0 first input trigger sample
aTriggerSample1 second input trigger sample
aVerbose verbosity level
MorphMatch::~MorphMatch ( void   )  [virtual]

Destructor of the MorphMatch class.


Member Function Documentation

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


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Friends Defines

Generated on 29 Sep 2016 by  doxygen 1.6.1