GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TXXXAnalysis Class Reference

#include <TXXXAnalysis.h>

+ Inheritance diagram for TXXXAnalysis:

Public Member Functions

 TXXXAnalysis ()
 
 TXXXAnalysis (int argc, char **argv)
 
virtual ~TXXXAnalysis ()
 
virtual Int_t UserPreLoop ()
 
virtual Int_t UserEventFunc ()
 
virtual Int_t UserPostLoop ()
 
 TXXXAnalysis ()
 
 TXXXAnalysis (int argc, char **argv)
 
virtual ~TXXXAnalysis ()
 
virtual Int_t UserPreLoop ()
 
virtual Int_t UserEventFunc ()
 
virtual Int_t UserPostLoop ()
 
 TXXXAnalysis ()
 
 TXXXAnalysis (int argc, char **argv)
 
virtual ~TXXXAnalysis ()
 
virtual Int_t UserPreLoop ()
 
virtual Int_t UserEventFunc ()
 
virtual Int_t UserPostLoop ()
 
 TXXXAnalysis ()
 
 TXXXAnalysis (int argc, char **argv)
 
virtual ~TXXXAnalysis ()
 
virtual Int_t UserPreLoop ()
 
virtual Int_t UserEventFunc ()
 
virtual Int_t UserPostLoop ()
 
- Public Member Functions inherited from TGo4Analysis
virtual ~TGo4Analysis ()
 
virtual const char * GetName () const
 
void SetAnalysisName (const char *name)
 
Int_t MainCycle ()
 
Int_t PreLoop ()
 
Int_t PostLoop ()
 
Int_t Process ()
 
Int_t RunImplicitLoop (Int_t times, Bool_t showrate=kFALSE, Double_t process_event_interval=-1., Bool_t iswebserver=kFALSE)
 
virtual void CloseAnalysis ()
 
virtual Bool_t InitEventClasses ()
 
TGo4AnalysisObjectManagerObjectManager () const
 
Bool_t AddDynamicHistogram (const char *name, const char *histo, const char *hevx, const char *hmemx, const char *hevy=0, const char *hmemy=0, const char *hevz=0, const char *hmemz=0, const char *condition=0, const char *cevx=0, const char *cmemx=0, const char *cevy=0, const char *cmemy=0)
 
Bool_t AddDynamicEntry (TGo4DynamicEntry *entry)
 
Bool_t RemoveDynamicEntry (const char *entryname, const char *listname=0)
 
Bool_t AddObject (TNamed *anything, const char *subfolder=0, Bool_t replace=kTRUE)
 
TNamed * GetObject (const char *name, const char *folder=0)
 
Bool_t RemoveObject (const char *name, Bool_t del=kTRUE)
 
Bool_t DeleteObjects (const char *name)
 
Bool_t ClearObjects (const char *name)
 
Bool_t ProtectObjects (const char *name, const Option_t *flags)
 
Bool_t ResetBackStores (Bool_t clearflag=kFALSE)
 
TObject * NextMatchingObject (const char *expr=0, const char *folder=0, Bool_t reset=kFALSE)
 
TGo4TreeStructureCreateTreeStructure (const char *treename)
 
Bool_t AddHistogram (TH1 *his, const char *subfolder=0, Bool_t replace=kTRUE)
 
Bool_t AddTree (TTree *tree, const char *subfolder=0)
 
Bool_t RemoveTree (TTree *tree, const char *stepname=0)
 
Bool_t AddTreeHistogram (const char *hisname, const char *treename, const char *varexp, const char *cutexp)
 
TH1 * GetHistogram (const char *name)
 
TTree * GetTree (const char *name)
 
Bool_t RemoveHistogram (const char *name, Bool_t del=kTRUE)
 
Bool_t AddAnalysisCondition (TGo4Condition *con, const char *subfolder=0)
 
Bool_t SetAnalysisCondition (const char *name, TGo4Condition *con, Bool_t counter=kTRUE)
 
TGo4ConditionGetAnalysisCondition (const char *name, const char *cond_cl=0)
 
Bool_t RemoveAnalysisCondition (const char *name)
 
Bool_t AddParameter (TGo4Parameter *par, const char *subfolder=0)
 
Bool_t SetParameter (const char *name, TGo4Parameter *par)
 
Bool_t SetParameterStatus (const char *name, TGo4ParameterStatus *par)
 
TGo4ParameterGetParameter (const char *name, const char *parameter_class=0)
 
Bool_t RemoveParameter (const char *name)
 
Bool_t AddPicture (TGo4Picture *pic, const char *subfolder=0)
 
Bool_t SetPicture (const char *name, TGo4Picture *pic)
 
TGo4PictureGetPicture (const char *name)
 
Bool_t RemovePicture (const char *name)
 
Bool_t AddCanvas (TCanvas *can, const char *subfolder=0)
 
TCanvas * GetCanvas (const char *name)
 
Bool_t RemoveCanvas (const char *name)
 
TGo4AnalysisStatusCreateStatus ()
 
TGo4AnalysisWebStatusCreateWebStatus ()
 
TGo4ObjectStatusCreateObjectStatus (const char *name, const char *folder=0)
 
TGo4AnalysisObjectNamesCreateNamesList ()
 
TFolder * GetObjectFolder ()
 
void UpdateStatus (TGo4AnalysisStatus *state)
 
void SetStatus (TGo4AnalysisStatus *state)
 
Bool_t LoadStatus (const char *filename=0)
 
Bool_t LoadObjects (const char *filename=0)
 
Bool_t SaveStatus (const char *filename=0)
 
void SetStepChecking (Bool_t on=kTRUE)
 
Bool_t SetFirstStep (const char *name)
 
Bool_t SetLastStep (const char *name)
 
Bool_t SetStepStorage (const char *name, Bool_t on)
 
Bool_t NewStepStore (const char *name, TGo4EventStoreParameter *par)
 
Bool_t NewStepSource (const char *name, TGo4EventSourceParameter *par)
 
Bool_t NewStepProcessor (const char *name, TGo4EventProcessorParameter *par)
 
void SetAutoSaveInterval (Int_t interval=0)
 
void SetAutoSaveFile (const char *filename=0, Bool_t overwrite=kFALSE, Int_t compression=5)
 
Bool_t IsAutoSaveFileName () const
 
Int_t LockAutoSave ()
 
Int_t UnLockAutoSave ()
 
void SetAutoSave (Bool_t on=kTRUE)
 
Bool_t IsAutoSaveOn () const
 
void SetAutoSaveFileChange (Bool_t on=kTRUE)
 
Bool_t IsAutoSaveFileChange () const
 
Bool_t IsInitDone () const
 
Bool_t IsRunning ()
 
void SetRunning (Bool_t on=kTRUE)
 
Int_t WaitForStart ()
 
Int_t IsErrorStopEnabled ()
 
void SetNewInputFile (Bool_t on=kTRUE)
 
Bool_t IsNewInputFile () const
 
void SetInputFileName (const char *fname)
 
const char * GetInputFileName () const
 
const char * GetDefaultTestFileName () const
 
void SetDynListInterval (Int_t val)
 
Int_t GetDynListInterval ()
 
TGo4EventElementGetInputEvent (const char *stepname)
 
TGo4EventElementGetInputEvent (Int_t stepindex)
 
TGo4EventElementGetOutputEvent (const char *stepname)
 
TGo4EventElementGetOutputEvent (Int_t stepindex)
 
TGo4EventElementGetOutputEvent ()
 
TGo4EventElementGetEventStructure (const char *name)
 
void Message (Int_t prio, const char *text,...)
 
void SendObjectToGUI (TObject *ob)
 
void StartObjectServer (const char *basename, const char *passwd)
 
void StopObjectServer ()
 
void SetAdministratorPassword (const char *passwd)
 
void SetControllerPassword (const char *passwd)
 
void SetObserverPassword (const char *passwd)
 
virtual void Print (Option_t *opt="") const
 
void PrintHistograms (const char *expression=0)
 
void PrintConditions (const char *expression=0)
 
void PrintParameters (const char *expression=0)
 
void PrintDynamicList ()
 
void ShowEvent (const char *stepname, Bool_t isoutput=kTRUE)
 
Int_t StoreParameter (const char *name, TGo4Parameter *par)
 
Int_t StoreCondition (const char *name, TGo4Condition *con)
 
Int_t StoreFitter (const char *name, TGo4Fitter *fit)
 
Int_t StoreFolder (const char *stepname, TFolder *folder)
 
Int_t StoreFolder (const char *stepname, const char *foldername)
 
void AutoSave ()
 
Bool_t AddAnalysisStep (TGo4AnalysisStep *next)
 
TGo4AnalysisStepGetAnalysisStep (const char *name)
 
TGo4AnalysisStepGetAnalysisStepNum (Int_t number)
 
void DefineServerPasswords (const char *admin, const char *controller, const char *observer)
 
void SetBatchLoopCount (Int_t cnt=-1)
 
void SetMakeWithAutosave (Bool_t on=kTRUE)
 
Bool_t IsObjMade ()
 
TH1 * MakeTH1 (char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, const char *xtitle=0, const char *ytitle=0)
 
TH2 * MakeTH2 (char type, const char *fullname, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup, const char *xtitle=0, const char *ytitle=0, const char *ztitle=0)
 
TGo4WinCondMakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, const char *HistoName=0)
 
TGo4WinCondMakeWinCond (const char *fullname, Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, const char *HistoName=0)
 
TGo4PolyCondMakePolyCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0, Bool_t shapedcond=kFALSE)
 
TGo4ShapedCondMakeEllipseCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta=0, const char *HistoName=0)
 
TGo4ShapedCondMakeCircleCond (const char *fullname, Int_t npoints, Double_t cx, Double_t cy, Double_t r, const char *HistoName=0)
 
TGo4ShapedCondMakeBoxCond (const char *fullname, Double_t cx, Double_t cy, Double_t a1, Double_t a2, Double_t theta, const char *HistoName=0)
 
TGo4ShapedCondMakeFreeShapeCond (const char *fullname, Int_t npoints, Double_t(*points)[2], const char *HistoName=0)
 
TGo4ListCondMakeListCond (const char *fullname, const Int_t num, const Int_t *values, const char *HistoName=0)
 
TGo4ListCondMakeListCond (const char *fullname, const Int_t start, const Int_t stop, const Int_t step=1, const char *HistoName=0)
 
TGo4ListCondMakeListCond (const char *fullname, const char *title, const char *HistoName=0)
 
TGraph * MakeGraph (const char *fullname, const char *title, Int_t points=0, Double_t *xvalues=0, Double_t *yvalues=0)
 
TGraph * MakeGraph (const char *fullname, const char *title, TF1 *function)
 
TGo4RollingGraphMakeRollingGraph (const char *fullname, const char *title, Int_t points=0, Int_t average=1)
 
TGo4ParameterMakeParameter (const char *fullname, const char *classname, const char *cmd=0)
 
void SetSortedOrder (Bool_t on=kTRUE)
 
Bool_t IsSortedOrder () const
 
Long_t ExecuteScript (const char *script_name)
 
Long_t ExecutePython (const char *script_name, Int_t *errcode=0)
 
Long_t ExecuteLine (const char *command, Int_t *errcode=0)
 
void ProcessCrtlCSignal ()
 
void SetSniffer (TGo4AnalysisSniffer *sniff)
 
TGo4AnalysisSnifferGetSniffer () const
 
TGo4AnalysisClientGetAnalysisClient () const
 
void StopAnalysis ()
 
void StartAnalysis ()
 
void ProcessEvents ()
 
- Public Member Functions inherited from TGo4CommandReceiver
 TGo4CommandReceiver ()
 
virtual ~TGo4CommandReceiver ()
 

Private Attributes

TGo4MbsEventfMbsEvent
 
TXXXControlfCtl
 
Int_t fEvents
 
Int_t fLastEvent
 
TXXXUnpackEventfRawEvent
 
TXXXAnlEventfCalEvent
 
TGo4WinCondfWinCon1
 
TH1D * fSize
 
TXXXParameterfPar
 
TGo4FitterEnvelopefFitEnvSize
 
TGo4FitterEnvelopefFitEnvSpectrum
 

Additional Inherited Members

- Static Public Member Functions inherited from TGo4Analysis
static TGo4AnalysisInstance ()
 
static Bool_t Exists ()
 
static Bool_t IsBatchMode ()
 
static Bool_t IsClientMode ()
 
static Bool_t IsServerMode ()
 
static void SetRunningMode (int mode)
 
- Static Public Attributes inherited from TGo4Analysis
static const Int_t fgiAUTOSAVECOUNTS = 500
 
static const Int_t fgiDYNLISTINTERVAL = 1000
 
static const Int_t fgiMACROSTARTPOLL = 1000
 
static const char * fgcDEFAULTFILENAME ="Go4AutoSave.root"
 
static const char * fgcDEFAULTSTATUSFILENAME ="Go4AnalysisPrefs.root"
 
static const char * fgcDEFAULTFILESUF =".root"
 
static const char * fgcTOPDYNAMICLIST ="Go4DynamicList"
 
static const char fgcPYPROMPT = '$'
 
static const char * fgcPYINIT = "python/go4init.py"
 
- Protected Member Functions inherited from TGo4Analysis
 TGo4Analysis (const char *name=0)
 
 TGo4Analysis (int argc, char **argv)
 
void Constructor ()
 
Int_t ProcessAnalysisSteps ()
 
- Protected Attributes inherited from TGo4Analysis
Bool_t fbInitIsDone
 
Bool_t fbAutoSaveOn
 

Detailed Description

Definition at line 22 of file TXXXAnalysis.h.

Constructor & Destructor Documentation

TXXXAnalysis::TXXXAnalysis ( )

Definition at line 24 of file TXXXAnalysis.cxx.

TXXXAnalysis::TXXXAnalysis ( int  argc,
char **  argv 
)
TXXXAnalysis::~TXXXAnalysis ( )
virtual

Definition at line 83 of file TXXXAnalysis.cxx.

References TGo4Log::Info().

TXXXAnalysis::TXXXAnalysis ( )
TXXXAnalysis::TXXXAnalysis ( int  argc,
char **  argv 
)
virtual TXXXAnalysis::~TXXXAnalysis ( )
virtual
TXXXAnalysis::TXXXAnalysis ( )
TXXXAnalysis::TXXXAnalysis ( int  argc,
char **  argv 
)
virtual TXXXAnalysis::~TXXXAnalysis ( )
virtual
TXXXAnalysis::TXXXAnalysis ( )
TXXXAnalysis::TXXXAnalysis ( int  argc,
char **  argv 
)
virtual TXXXAnalysis::~TXXXAnalysis ( )
virtual

Member Function Documentation

Int_t TXXXAnalysis::UserEventFunc ( )
virtual

User defined function which processes the actual analysis. May be called explicitly from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analysis works in a non threaded standalone mode. To be overridden in the user analysis class.

Reimplemented from TGo4Analysis.

Definition at line 114 of file TXXXAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, TGo4MbsEvent::GetCount(), TGo4Log::Info(), and TGo4Analysis::IsNewInputFile().

virtual Int_t TXXXAnalysis::UserEventFunc ( )
virtual

User defined function which processes the actual analysis. May be called explicitly from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analysis works in a non threaded standalone mode. To be overridden in the user analysis class.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::UserEventFunc ( )
virtual

User defined function which processes the actual analysis. May be called explicitly from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analysis works in a non threaded standalone mode. To be overridden in the user analysis class.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::UserEventFunc ( )
virtual

User defined function which processes the actual analysis. May be called explicitly from analysis client thread, or may run in an implicit loop provided by method RunImplicit, if analysis works in a non threaded standalone mode. To be overridden in the user analysis class.

Reimplemented from TGo4Analysis.

Int_t TXXXAnalysis::UserPostLoop ( )
virtual

User defined function called once after processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

Definition at line 103 of file TXXXAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, and TGo4Log::Info().

virtual Int_t TXXXAnalysis::UserPostLoop ( )
virtual

User defined function called once after processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::UserPostLoop ( )
virtual

User defined function called once after processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::UserPostLoop ( )
virtual

User defined function called once after processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

Int_t TXXXAnalysis::UserPreLoop ( )
virtual

User defined function called once before processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

Definition at line 89 of file TXXXAnalysis.cxx.

References fEvents, fLastEvent, fMbsEvent, TGo4Analysis::GetInputEvent(), TGo4Log::Info(), and TGo4MbsEvent::PrintMbsFileHeader().

virtual Int_t TXXXAnalysis::UserPreLoop ( )
virtual

User defined function called once before processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::UserPreLoop ( )
virtual

User defined function called once before processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

virtual Int_t TXXXAnalysis::UserPreLoop ( )
virtual

User defined function called once before processing the main event loop. Optionally.

Reimplemented from TGo4Analysis.

Member Data Documentation

TXXXAnlEvent * TXXXAnalysis::fCalEvent
private

Definition at line 37 of file TXXXAnalysis.h.

TXXXControl * TXXXAnalysis::fCtl
private

Definition at line 32 of file TXXXAnalysis.h.

Referenced by TXXXAnalysis().

Int_t TXXXAnalysis::fEvents
private

Definition at line 33 of file TXXXAnalysis.h.

Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().

TGo4FitterEnvelope* TXXXAnalysis::fFitEnvSize
private

Definition at line 39 of file TXXXAnalysis.h.

TGo4FitterEnvelope* TXXXAnalysis::fFitEnvSpectrum
private

Definition at line 40 of file TXXXAnalysis.h.

Int_t TXXXAnalysis::fLastEvent
private

Definition at line 34 of file TXXXAnalysis.h.

Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().

TGo4MbsEvent * TXXXAnalysis::fMbsEvent
private

Definition at line 31 of file TXXXAnalysis.h.

Referenced by UserEventFunc(), UserPostLoop(), and UserPreLoop().

TXXXParameter* TXXXAnalysis::fPar
private

Definition at line 38 of file TXXXAnalysis.h.

TXXXUnpackEvent * TXXXAnalysis::fRawEvent
private

Definition at line 36 of file TXXXAnalysis.h.

TH1D * TXXXAnalysis::fSize
private

Definition at line 39 of file TXXXAnalysis.h.

TGo4WinCond* TXXXAnalysis::fWinCon1
private

Definition at line 38 of file TXXXAnalysis.h.


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