MPulseShapeChiSquare Class Reference
[Modules]

Inheritance diagram for MPulseShapeChiSquare:

QModule QBaseModule

List of all members.


Detailed Description

yet another pulse shape module that compute chi-square deviation of the pulse from Average Pulse (AP).

Author:
Marco Vignati
  • Config example:
        module PulseShapeChiSquare
        verbosity = info
        enable = true
        AvgPulsesFile = default
        AvgRMSFile = default
        endmod
        
  • Parameters
    • AvgPulsesFile [string = nodefault]: file containing average pulses of each chan
    • AvgNoiseFile [string = nodefault]: file containing avg noise of each chan
    • MaxDelay [int = 10]: maximum allowed delay in number of samples from the AP
    • DebugMode [bool = false]: dump corrected AP's on output file
    • DebugOutputFile [string = default]: debug output file


Public Member Functions

 MPulseShapeChiSquare (QSequence *s)
 constructor
 ~MPulseShapeChiSquare ()
 destructor
void Init ()
 Init method.
QEventDo (QEvent *ev)
 Do method.
void Done ()
 Done method.

Private Member Functions

bool SetupChannel (int ch, size_t n)

Static Private Member Functions

static double AvgPulseFunc (double x, double *params)

Private Attributes

QFitterfFitter
std::string fAvgPulsesFile
std::string fAvgNoiseFile
bool fDebugMode
int fMaxDelay

Static Private Attributes

static std::map< int, ChannelInfo > fChannelInfos
static gsl_interp_accel * fSplineAcc = 0

Classes

struct  ChannelInfo

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:03 2010 for CUORE Software by  doxygen 1.5.6