MPulseGenerator Class Reference
[Readers]

Inheritance diagram for MPulseGenerator:

QReader QBaseModule List of all members.

Detailed Description

Pulse generator.

Author:
Marco Vignati
Pulse generator can generate pulses with noise in different channels. This allows to have at the same time many channels with different features to test algorithms. Random generation involves time interval between pulses, amplitude and noise. See details in the configuration file description below.
Some material, together with examples can be found here: http://corleone.roma1.infn.it/~vignatim/cuore/generator/

where:


Public Member Functions

 MPulseGenerator (QSequence *s)
 constructor
 ~MPulseGenerator ()
 destructor
void Init ()
QEventDo (QEvent *ev)
 Doit method is called for each event, getting the event as argument.
void Done ()
 Done method is called after event loop.

Static Private Member Functions

static bool ComparePulseGenerator (QPulseGenerator *one, QPulseGenerator *two)

Private Attributes

std::vector< QPulseGenerator * > fChannelGenerators
std::string fConfigurationFile
int fSeed
time_t fStartTime
gsl_rng * fRandomGen
bool fRoundToADC
bool fGenerateFromEnergy
int fThisRun
int fRunNumber
double fApolloADC2mV
double fOldDAQADC2mV
double * fADC2mV
QRunDatafRunData
QVector fTimes
QVector fDeltaTs
QVector fEnergies
QVector fAmplitudes
QVector fMax
QVector fMaxPos


Member Function Documentation

void MPulseGenerator::Init (  )  [virtual]

Init method is called before event loop

Implements QReader.


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:41 2009 for CUORE Software by  doxygen 1.5.1