ROOT logo
TCTAnalyse » . » MultiWF

class MultiWF: public TObject

Function Members (Methods)

public:
MultiWF(const MultiWF&)
MultiWF(Char_t*, Float_t = -1111., Int_t = 0)
virtual~MultiWF()
voidTObject::AbstractMethod(const char* method) const
TH1F*Add(Int_t = 0, Int_t end = 0)
virtual voidTObject::AppendPad(Option_t* option = "")
TH1F*Average(Int_t, Int_t)
TH1F*AverPlot(Int_t, Int_t = 0, Int_t = -1, Int_t = -1, Int_t = -1)
MeasureWF*AverTime(Int_t, Int_t)
virtual voidTObject::Browse(TBrowser* b)
Int_tCheckSize()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
TH1F*CMHisto()
voidCommonMode()
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
voidCorrectTime(Int_t, Float_t)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
voidDrawNextEvent()
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
voidEShaping(Elec*, TH1F*, Int_t = 1)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
Bool_tFilter()
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
voidFitShape(Int_t, Float_t)
Float_tGetDeltat()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetEvents()
Float_tGetI(int ind = 0)
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
voidGetNextEvent()
Int_tGetNU()
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tGetPoints()
Float_tGetT(int ind = 0)
Float_tGett0()
virtual const char*TObject::GetTitle() const
Float_tGetU(int ind = 0)
virtual UInt_tTObject::GetUniqueID() const
MeasureWF*GetWF()
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
voidInfo()
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
Float_tIntegral(Float_t = -1111, Float_t = -1111)
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
voidLegend(TH1F*, Int_t, Int_t, Int_t = 1)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TH1F*operator()(Int_t index)
MultiWF&operator=(const MultiWF&)
virtual voidTObject::Paint(Option_t* option = "")
voidPersistance(Int_t, Int_t, Int_t = -1111)
TH1F*PHSpecter(Float_t = 10, Int_t = 180, Float_t = 0, Float_t = 6, Float_t = -1e6, Float_t = -1e6, Int_t mode = 0, Int_t = -1, Int_t = -1)
voidPlotEvent(Int_t)
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
voidRewind(Int_t = 0)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidSelectPlot(Int_t = 0)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetNewFile(char*)
voidSetNumAver(Int_t x)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPoints(Int_t x)
voidSett0(Float_t x)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
TH1F*Specter(Float_t = 0, Float_t = -1111, Float_t = 1, Int_t = 100, Float_t = -0.5, Float_t = 5, Int_t = -1, Int_t = -1)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TH1F*Time(Float_t = 1, Float_t = 0, Float_t = -1111, Int_t = 1, Float_t = 0)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
TH1F*WaveHisto(Float_t, Int_t, Float_t, Float_t, Int_t = -1, Int_t = -1)
voidWF(Int_t, Int_t, Int_t, Float_t = -5, Float_t = 30, Int_t = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
Int_ti2a(Char_t*, Float_t, Int_t = 1)
voidswoo(char*, char*)
voidswooip(float*, int)

Data Members

public:
Int_tCCmode
Float_t*Cmode
Float_t**EbufEvent Buffer
Float_tFIntPass
Float_tFIntPassHi
Bool_tFOnOff
Float_tFmaxhi
Float_tFmaxlo
Int_tFmode
Float_tFxhi
Float_tFxlow
Float_tFyhi
Float_tFylow
Int_tTimeC
Float_tTimeThr
Float_tWeight
Int_tcevent
TH1F*chis
Float_tcm_maxt
Float_tcm_mint
Int_tcmcut
Float_tcmcut_hi
Float_tcmcut_low
Float_tcmodeselect exclusion =1 (cut region) =0 (except region)
TH1F**hisahistogram array
TPaveText*pt
private:
Char_tComment[2000]Comment
TArrayFCurrentArray of Currents
TArrayFDateDate of the Measurement (or simulation)
Int_tEventsNumber of Events
Int_tHeaderSizeSize of the header
Int_tNumCh
Int_tNumU
Int_tNumUAver
Int_tPointsNumber of points per event
Int_tSelPlotSelect plot
TArrayFTemperatureArray of Temperatures
TArrayFVoltageArray of Voltages
Float_tdeltatdistance between two points
FILE*inStream
Float_tt0Starting point

Class Charts

Inheritance Chart:
TObject
MultiWF

Function documentation

MultiWF(Char_t* , Float_t = -1111., Int_t = 0)
 constructor
	 Char_t *name  ;  file name
	 Float_t newt0 ;  time shift to correct time scale
~MultiWF()
destructor
void swoo(char* , char* )
 byte swaping (LABVIEW,HPUX g++)<->(LINUX g++, WINNT cl)
void swooip(float* , int )
 byte swaping (LABVIEW,HPUX g++)<->(LINUX g++, WINNT cl)
TH1F * AverPlot(Int_t , Int_t = 0, Int_t = -1, Int_t = -1, Int_t = -1)
void SelectPlot(Int_t = 0)
void PlotEvent(Int_t )
Int_t CheckSize()
 Retruns estimated number of events in the file
void GetNextEvent()
 Gets next event in the file
	         Int_t CM   ; ignore=0  ,  correct common mode=1 (this is base line shift)
void CommonMode()
 Corrects base line shift
Float_t Integral(Float_t = -1111, Float_t = -1111)
Calculates integral of the current histogram (chis)!
		Float_t mint	; integration time interval
		Float_t maxt	;
void EShaping(Elec* , TH1F* , Int_t = 1)
copies the current histogram in TH1F *his and shapes it with Elec *el
 Int_t what; 0-> preamplifier->CR-RC^2 shaper ,  1->deconvolution for the TCT transfer function
void WF(Int_t , Int_t , Int_t , Float_t = -5, Float_t = 30, Int_t = 0)
 Display waveform dependence on time of the measurement
			Int_t start   ;   the first event to be displayed
			Int_t end     ;   the first event to be displayed
                    Int_t step    ;   step size between events
			Float_t stime ;   time window of display
			Float_t etime ;   time window of display
			Int_t aver    ;   number of events to average first event
					  Average(start,start+aver) etc.
void Legend(TH1F* , Int_t , Int_t , Int_t = 1)
Draws legend
TH1F * Time(Float_t = 1, Float_t = 0, Float_t = -1111, Int_t = 1, Float_t = 0)
 Used with known trigger interval period
 Each event charge (integral) is drawn vs. time of its occurence
			Float_t time ; 1/frequency of repetition
			Float_t low  ; integration time interval
			Float_t high ;
			Int_t rebin  ; rebining factor (average charge is shown)
			Float_t stime ; start time of the histogram (used with delayed DAQ)
TH1F * Specter(Float_t = 0, Float_t = -1111, Float_t = 1, Int_t = 100, Float_t = -0.5, Float_t = 5, Int_t = -1, Int_t = -1)
 Specter of all recorded events
			Float_t low   ; integration time interval
			Float_t high  ;
			Float_t weight; normalization
			Int_t num     ; number of bins
			Int_t first   ; histogram limits
			Int_t last    ;
			Int_t evfirst   ; first event
			Int_t evlast    ; last event
TH1F * CMHisto()
TH1F * PHSpecter(Float_t = 10, Int_t = 180, Float_t = 0, Float_t = 6, Float_t = -1e6, Float_t = -1e6, Int_t mode = 0, Int_t = -1, Int_t = -1)
 Pulse height specter of all recorded events
			Float_t weight; normalization
			Int_t num     ; number of bins
			Int_t first   ; histogram limits
			Int_t last    ;
                    Float_t time_lo; select the time windows of sampling
                    Float_t time_hi; select the time windows of sampling
                    Int_t mode=0  ; mode of sampling
			Int_t StartE=-1  ;  select which events (StartE=-1 means 1st event)
			Int_t StopE=-1   ;  StopE=-1 je last event
TH1F * WaveHisto(Float_t , Int_t , Float_t , Float_t , Int_t = -1, Int_t = -1)
 Pulse height specter of all recorded events
			Float_t weight; normalization
			Int_t num     ; number of bins
			Int_t first   ; histogram limits
			Int_t last    ;
                    Int_t startbin; start bin of the waveform histogram
                    Int_t endbin;   end bin of the waveform histogram
void SetNewFile(char* )
void Rewind(Int_t = 0)
Rewinds the file poiter to the desired event
		      Int_t index ; event number (defualt=0, begining of the file)
TH1F * Average(Int_t , Int_t )
 Averaging events (Waveforms)
		Int_t start ; first event
		Int_t end   ; last event
		Function returns pointer to averaged histogram
TH1F * Add(Int_t = 0, Int_t end = 0)
 Averaging events (Waveforms)
		Int_t start ; first event
		Int_t end   ; last event
		Function returns pointer to averaged histogram
void Info()
Int_t i2a(Char_t* , Float_t , Int_t = 1)
 int to ascii with signs (same as in MeasureWF)
void Persistance(Int_t , Int_t , Int_t = -1111)
void FitShape(Int_t , Float_t )
MeasureWF * GetWF()
 Function gets the wafeforms
Bool_t Filter()
 Function filters the histograms
MeasureWF * AverTime(Int_t , Int_t )
void DrawNextEvent()
void CorrectTime(Int_t , Float_t )
MultiWF(Char_t* , Float_t = -1111., Int_t = 0)
Int_t GetPoints()
{return(Points);}
Float_t Gett0()
{return(t0);}
Float_t GetDeltat()
{return(deltat);}
Int_t GetEvents()
{return(Events);}
Float_t GetU(int ind = 0)
{return(Voltage[ind]); }
Int_t GetNU()
{return (NumU);}
Float_t GetT(int ind = 0)
{return(Temperature[ind]); }
Float_t GetI(int ind = 0)
{return(Current[ind]); }
void Sett0(Float_t x)
{t0=x; delete chis; chis=new TH1F("Event View","Event View",Points,t0*1e9,(t0+Points*deltat)*1e9);}
TH1F * operator()(Int_t index)
{ Rewind(index); return chis;}
void SetPoints(Int_t x)
{Points=x;}
void SetNumAver(Int_t x)