Data Structures | Public Member Functions | Protected Member Functions | Protected Attributes | Friends

TEpicsProc Class Reference

#include <TEpicsProc.h>

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

Data Structures

struct  VariableHist

Public Member Functions

 TEpicsProc ()
 TEpicsProc (const char *name)
virtual ~TEpicsProc ()
virtual void InitEvent (TGo4EventElement *)
virtual void ProcessSubevent (TGo4MbsSubEvent *subevt)
virtual void FinalizeEvent ()
virtual Bool_t BuildEvent (TGo4EventElement *)
Short_t GetTriggerNumber () const
Int_t GetEventNumber () const
Long_t ExecuteScript (const char *script_name)

Protected Member Functions

VariableHistCreateHist (const char *varname)
void UpdateHist (VariableHist *hst, double val, const char *varname)
void UpdateTrending (TH1 *histo, Double_t val, time_t time)
void IncTrending (TH1 *histo, Double_t value, bool forwards)
void UpdateTimeGraph (TGraph *gr, Double_t value, time_t time)
TGraph * MakeTimeGraph (const TString &name, const TString &dir)
VariableHistFindVariable (const char *name)
void AddSubProcessor (TCBMBeamtimeProc *)

Protected Attributes

TEpicsParamfPar
TEpicsEventfOutputEvent
std::vector< VariableHistall_hists
TCBMBeamtimeEventfBeamtimeEvent
TGo4MbsEvent * fMbsInput
Short_t fMbsTriggerNumber
Int_t fMbsEventNumber

Friends

class TCBMBeamtimeProc

Detailed Description

Definition at line 19 of file TEpicsProc.h.


Constructor & Destructor Documentation

TEpicsProc::TEpicsProc (  ) 

Definition at line 19 of file TEpicsProc.cxx.

TEpicsProc::TEpicsProc ( const char *  name  ) 

Definition at line 26 of file TEpicsProc.cxx.

References CreateHist(), TEpicsParam::DoubleName(), fPar, and TEpicsParam::LongName().

TEpicsProc::~TEpicsProc (  )  [virtual]

Definition at line 74 of file TEpicsProc.cxx.


Member Function Documentation

void TCBMBeamtimeProc::AddSubProcessor ( TCBMBeamtimeProc proc  )  [protected, inherited]
Bool_t TCBMBeamtimeProc::BuildEvent ( TGo4EventElement *  outevnt  )  [virtual, inherited]
TEpicsProc::VariableHist * TEpicsProc::CreateHist ( const char *  varname  )  [protected]

Definition at line 78 of file TEpicsProc.cxx.

References all_hists, and MakeTimeGraph().

Referenced by FinalizeEvent(), and TEpicsProc().

Long_t TCBMBeamtimeProc::ExecuteScript ( const char *  script_name  )  [inherited]

Temporary here - will be from 4.5.3 version in distribution

Definition at line 142 of file TCBMBeamtimeProc.cxx.

Referenced by TCernOct12UnpackProc::TCernOct12UnpackProc(), TFaspProc::TFaspProc(), TFiberHodProc::TFiberHodProc(), TSpadicV10Proc::TSpadicV10Proc(), and TTrbProc::TTrbProc().

void TEpicsProc::FinalizeEvent (  )  [virtual]
TEpicsProc::VariableHist * TEpicsProc::FindVariable ( const char *  name  )  [protected]

Definition at line 200 of file TEpicsProc.cxx.

References all_hists.

Referenced by FinalizeEvent().

Int_t TCBMBeamtimeProc::GetEventNumber (  )  const [inline, inherited]
Short_t TCBMBeamtimeProc::GetTriggerNumber (  )  const [inline, inherited]
void TEpicsProc::IncTrending ( TH1 *  histo,
Double_t  value,
bool  forwards 
) [protected]

Definition at line 267 of file TEpicsProc.cxx.

Referenced by UpdateTrending().

void TEpicsProc::InitEvent ( TGo4EventElement *  outevnt  )  [virtual]

Reimplemented from TCBMBeamtimeProc.

Definition at line 105 of file TEpicsProc.cxx.

References fOutputEvent, and TCBMBeamtimeEvent::GetSubEvent().

TGraph * TEpicsProc::MakeTimeGraph ( const TString &  name,
const TString &  dir 
) [protected]

Definition at line 282 of file TEpicsProc.cxx.

Referenced by CreateHist().

void TEpicsProc::ProcessSubevent ( TGo4MbsSubEvent *  subevt  )  [virtual]
void TEpicsProc::UpdateHist ( VariableHist hst,
double  val,
const char *  varname 
) [protected]
void TEpicsProc::UpdateTimeGraph ( TGraph *  gr,
Double_t  value,
time_t  time 
) [protected]

Definition at line 305 of file TEpicsProc.cxx.

Referenced by UpdateHist().

void TEpicsProc::UpdateTrending ( TH1 *  histo,
Double_t  val,
time_t  time 
) [protected]

Definition at line 260 of file TEpicsProc.cxx.

References IncTrending().

Referenced by UpdateHist().


Friends And Related Function Documentation

friend class TCBMBeamtimeProc [friend]

Definition at line 21 of file TEpicsProc.h.


Field Documentation

std::vector<VariableHist> TEpicsProc::all_hists [protected]

Definition at line 65 of file TEpicsProc.h.

Referenced by CreateHist(), and FindVariable().

Definition at line 60 of file TCBMBeamtimeProc.h.

Referenced by TCBMBeamtimeProc::BuildEvent().

Int_t TCBMBeamtimeProc::fMbsEventNumber [protected, inherited]
TGo4MbsEvent* TCBMBeamtimeProc::fMbsInput [protected, inherited]

Definition at line 61 of file TCBMBeamtimeProc.h.

Referenced by TCBMBeamtimeProc::BuildEvent().

Short_t TCBMBeamtimeProc::fMbsTriggerNumber [protected, inherited]

Definition at line 63 of file TEpicsProc.h.

Referenced by FinalizeEvent(), InitEvent(), ProcessSubevent(), and UpdateHist().

Definition at line 62 of file TEpicsProc.h.

Referenced by FinalizeEvent(), ProcessSubevent(), and TEpicsProc().


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