#include <TXXXUnpackProc.h>
Public Member Functions | |
TXXXUnpackProc () | |
TXXXUnpackProc (const char *name) | |
virtual | ~TXXXUnpackProc () |
virtual Bool_t | BuildEvent (TGo4EventElement *dest) |
TXXXUnpackProc () | |
TXXXUnpackProc (const char *name) | |
virtual | ~TXXXUnpackProc () |
virtual Bool_t | BuildEvent (TGo4EventElement *dest) |
Protected Attributes | |
TH1 * | fCr1Ch [XXX_NUM_CHAN] |
TH1 * | fCr2Ch [XXX_NUM_CHAN] |
TH2 * | fCr1Ch1x2 |
TH1 * | fHis1 |
TH1 * | fHis1gate |
TH1 * | fHis2 |
TH1 * | fHis2gate |
TGo4WinCond * | fconHis1 |
TGo4WinCond * | fconHis2 |
TGo4WinCond * | fWinCon1 |
TGo4WinCond * | fWinCon2 |
TGo4PolyCond * | fPolyCon1 |
TGo4CondArray * | fConArr1 |
TGo4CondArray * | fConArr2 |
TXXXParameter * | fParam |
TGo4Picture * | fPicture1 |
TGo4Picture * | fcondSet |
TLatex * | fLaText |
Private Member Functions | |
void | CreateRawHsitograms (int nbins, double xmin, double xmax) |
Private Attributes | |
TXXXParameter * | fParam1 |
TXXXParameter * | fParam2 |
Long_t | fEvCount |
Definition at line 27 of file TXXXUnpackProc.h.
TXXXUnpackProc::TXXXUnpackProc | ( | ) |
Definition at line 40 of file TXXXUnpackProc.cxx.
TXXXUnpackProc::TXXXUnpackProc | ( | const char * | name | ) |
this is example how arbitrary objects can be add to the picture and than displayed in the gui
Definition at line 65 of file TXXXUnpackProc.cxx.
References TGo4EventProcessor::AddAnalysisCondition(), TGo4Picture::AddCondition(), TGo4EventProcessor::AddObject(), TGo4Picture::AddObject(), TGo4EventProcessor::AddPicture(), TGo4Condition::Disable(), TGo4CondArray::Disable(), TGo4Condition::Enable(), TXXXParameter::fbHisto, fConArr1, fConArr2, fcondSet, fconHis1, fconHis2, fCr1Ch, fCr1Ch1x2, fCr2Ch, fHis1, fHis1gate, fHis2, fHis2gate, fLaText, fParam, fPicture1, fPolyCon1, fWinCon1, fWinCon2, TGo4EventProcessor::GetAnalysisCondition(), TGo4EventProcessor::GetPicture(), TGo4Log::Info(), TGo4Condition::Invert(), TGo4Picture::LPic(), TGo4EventProcessor::MakeParameter(), TGo4EventProcessor::MakePolyCond(), TGo4EventProcessor::MakeTH1(), TGo4EventProcessor::MakeTH2(), TGo4EventProcessor::MakeWinCond(), TGo4Picture::Pic(), TGo4PolyCond::PrintCondition(), TGo4WinCond::PrintCondition(), TGo4CondArray::ResetCounts(), TGo4Picture::SetAxisLabelFontSize(), TGo4Picture::SetDivision(), TGo4Picture::SetDrawOption(), TGo4Picture::SetFillAtt(), TGo4Picture::SetHisTitle(), TGo4Condition::SetHistogram(), TGo4Picture::SetLineAtt(), TGo4Picture::SetLinesDivision(), TGo4Picture::SetStatsAttr(), TGo4Picture::SetTitleAttr(), and TGo4CondArray::SetValues().
TXXXUnpackProc::~TXXXUnpackProc | ( | ) | [virtual] |
Definition at line 266 of file TXXXUnpackProc.cxx.
References TXXXParameter::fbHisto, fParam, fPolyCon1, fWinCon1, TGo4Log::Info(), TGo4PolyCond::PrintCondition(), and TGo4WinCond::PrintCondition().
TXXXUnpackProc::TXXXUnpackProc | ( | ) |
TXXXUnpackProc::TXXXUnpackProc | ( | const char * | name | ) |
virtual TXXXUnpackProc::~TXXXUnpackProc | ( | ) | [virtual] |
Bool_t TXXXUnpackProc::BuildEvent | ( | TGo4EventElement * | dest | ) | [virtual] |
Fill the destination event dest.
Reimplemented from TGo4EventSource.
Definition at line 275 of file TXXXUnpackProc.cxx.
References TGo4Log::Error(), TXXXParameter::fbHisto, fConArr2, fconHis1, fconHis2, fCr1Ch, fCr1Ch1x2, fCr2Ch, fHis1, fHis1gate, fHis2, fHis2gate, TXXXUnpackEvent::fiCrate1, TXXXUnpackEvent::fiCrate2, fLaText, fParam, fPolyCon1, TGo4MbsEvent::GetCount(), TGo4MbsSubEvent::GetDataField(), TGo4EventProcessor::GetInputEvent(), TGo4MbsSubEvent::GetIntLen(), TGo4MbsSubEvent::GetSubcrate(), TGo4MbsEvent::NextSubEvent(), TGo4MbsEvent::ResetIterator(), TGo4EventElement::SetValid(), TGo4PolyCond::Test(), TGo4WinCond::Test(), and XXX_NUM_CHAN.
virtual Bool_t TXXXUnpackProc::BuildEvent | ( | TGo4EventElement * | dest | ) | [virtual] |
Fill the destination event dest.
Reimplemented from TGo4EventSource.
void TXXXUnpackProc::CreateRawHsitograms | ( | int | nbins, | |
double | xmin, | |||
double | xmax | |||
) | [private] |
Definition at line 184 of file TXXXUnpackProc.cxx.
References fCr1Ch, fCr2Ch, TGo4EventProcessor::GetParameter(), TGo4EventProcessor::MakeTH1(), TGo4EventProcessor::RemoveHistogram(), and TXXXCalibPar::SetCalibSpectrum().
TGo4CondArray * TXXXUnpackProc::fConArr1 [protected] |
Definition at line 48 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
TGo4CondArray * TXXXUnpackProc::fConArr2 [protected] |
Definition at line 49 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TGo4Picture * TXXXUnpackProc::fcondSet [protected] |
Definition at line 52 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
TGo4WinCond * TXXXUnpackProc::fconHis1 [protected] |
Definition at line 43 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TGo4WinCond * TXXXUnpackProc::fconHis2 [protected] |
Definition at line 44 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TH1 * TXXXUnpackProc::fCr1Ch [protected] |
Definition at line 36 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHsitograms(), and TXXXUnpackProc().
TH2 * TXXXUnpackProc::fCr1Ch1x2 [protected] |
Definition at line 38 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TH1 * TXXXUnpackProc::fCr2Ch [protected] |
Definition at line 37 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), CreateRawHsitograms(), and TXXXUnpackProc().
Long_t TXXXUnpackProc::fEvCount [private] |
Definition at line 42 of file TXXXUnpackProc.h.
TH1 * TXXXUnpackProc::fHis1 [protected] |
Definition at line 39 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TH1 * TXXXUnpackProc::fHis1gate [protected] |
Definition at line 40 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TH1 * TXXXUnpackProc::fHis2 [protected] |
Definition at line 41 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TH1 * TXXXUnpackProc::fHis2gate [protected] |
Definition at line 42 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TLatex* TXXXUnpackProc::fLaText [protected] |
Definition at line 53 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), and TXXXUnpackProc().
TXXXParameter* TXXXUnpackProc::fParam [protected] |
Definition at line 50 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), TXXXUnpackProc(), and ~TXXXUnpackProc().
TXXXParameter* TXXXUnpackProc::fParam1 [private] |
Definition at line 38 of file TXXXUnpackProc.h.
TXXXParameter* TXXXUnpackProc::fParam2 [private] |
Definition at line 39 of file TXXXUnpackProc.h.
TGo4Picture * TXXXUnpackProc::fPicture1 [protected] |
Definition at line 51 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().
TGo4PolyCond * TXXXUnpackProc::fPolyCon1 [protected] |
Definition at line 47 of file TXXXUnpackProc.h.
Referenced by BuildEvent(), TXXXUnpackProc(), and ~TXXXUnpackProc().
TGo4WinCond * TXXXUnpackProc::fWinCon1 [protected] |
Definition at line 45 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc(), and ~TXXXUnpackProc().
TGo4WinCond * TXXXUnpackProc::fWinCon2 [protected] |
Definition at line 46 of file TXXXUnpackProc.h.
Referenced by TXXXUnpackProc().