InjEct Class Reference

Inject signals in a data stream. More...

#include <InjEct.h>

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

List of all members.

Public Member Functions

bool Inject (const int aDataSize, double *aData, const double aTimeStart)
 Injects in a data vector.
bool PlotInjection (const int aInjIndex)
 Plots a given injection waveforms.
Constructors and destructors



 InjEct (Streams *aStream, const string aPattern, const int aVerbose=0)
 Constructor of the InjEct class.
virtual ~InjEct ()
 Destructor of the InjEct class.

Detailed Description

Inject signals in a data stream.

Author:
Florent Robinet

Constructor & Destructor Documentation

InjEct::InjEct ( Streams aStream,
const string  aPattern,
const int  aVerbose = 0 
)

Constructor of the InjEct class.

Injections listed in the ROOT files designated by a file pattern are loaded. It is important that the injection files were generated using the InjGen class. Injection files in the pattern must be time-sorted and with no overlap.

The input stream, in which injections will be made, must be a LV detector and have a working sampling frequency larger than 16Hz.

Parameters:
aStream input data stream in which to inject
aPattern injection file pattern
aVerbose verbosity level
InjEct::~InjEct ( void   )  [virtual]

Destructor of the InjEct class.


Member Function Documentation

bool InjEct::Inject ( const int  aDataSize,
double *  aData,
const double  aTimeStart 
)

Injects in a data vector.

Parameters:
aDataSize input vector size
aData pointer to input data vector (time-domain)
aTimeStart GPS time of first sample
bool InjEct::PlotInjection ( const int  aInjIndex  ) 

Plots a given injection waveforms.

3 waveforms are plotted:

  • h+ (geocentric time)
  • hx (geocentric time)
  • hdet projected in the detector (local time)
    Parameters:
    aInjIndex injection index

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

Generated on 28 Jul 2015 by  doxygen 1.6.1