// @(#)root/html:$Name:  $:$Id: THtml.cxx,v 1.124 2006/11/24 16:01:02 $
// Author: Mathieu Benoit <mailto:mbenoit@umontreal.ca> 

//////////////////////////////////////////////////////////////////////////
// Source file : class CTDR_Signal , A signal object			//				
//////////////////////////////////////////////////////////////////////////
#ifndef CTDR_SIGNAL_H_DEF
#define CTDR_SIGNAL_H_DEF

#include "TGraph.h"
#include "TString.h"
#include "TCanvas.h"
#include "TMultiGraph.h"

class CTDR_Signal: public TObject {

	private :
		double *Vx; // Inducted charge in X
		double *Vy; // Inducted charge in Y 
		double *t; // Time
		TGraph *sigx; // The graph of the  X signal
		TGraph *sigy; // The graph of the  Y signal
		int Channel; // Readout channel number
		int N; // length of data array

	public :
		CTDR_Signal();
		CTDR_Signal(TString nomFichier,int Channel=0);
		CTDR_Signal(double *t,double *Vx,double *Vy,int N, int Channel);
		void operator+=(CTDR_Signal another);
		void operator=(CTDR_Signal another);
		void Trace();
		TGraph* GetGraphX();
		TGraph* GetGraphY();
		double* GetVx();
		double* GetVy();
		double* Gett();
		int GetN();
		int GetChannel();
		ClassDef(CTDR_Signal,0) // A signal
};

#endif


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.