Hall C ROOT/C++ Analyzer (hcana)
|
THcInterface is the interactive interface to the Hall C Analyzer. More...
#include <THcInterface.h>
Public Member Functions | |
virtual void | PrintLogo (Bool_t lite=kFALSE) |
THcInterface (const char *appClassName, int *argc, char **argv, void *options=NULL, int numOptions=0, Bool_t noLogo=kFALSE) | |
virtual | ~THcInterface () |
Public Member Functions inherited from THaInterface | |
virtual const char * | SetPrompt (const char *newPrompt) |
THaInterface (const char *appClassName, int *argc, char **argv, void *options=nullptr, int numOptions=0, Bool_t noLogo=false) | |
virtual | ~THaInterface () |
Public Member Functions inherited from TRint | |
TFileHandler * | GetInputHandler () |
virtual char * | GetPrompt () |
void | HandleException (Int_t sig) override |
Bool_t | HandleTermInput () override |
void | Interrupt () |
TClass * | IsA () const override |
void | Run (Bool_t retrn=kFALSE) override |
void | SetEchoMode (Bool_t mode) override |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Int_t | TabCompletionHook (char *buf, int *pLoc, std::ostream &out) override |
virtual void | Terminate (int status) override |
TRint (const char *appClassName, Int_t *argc, char **argv, void *options=nullptr, Int_t numOptions=0, Bool_t noLogo=kFALSE, Bool_t exitOnUnknownArgs=kFALSE) | |
virtual | ~TRint () |
Public Member Functions inherited from TApplication | |
virtual const char * | ApplicationName () const |
Int_t | Argc () const |
char ** | Argv () const |
char * | Argv (Int_t index) const |
void | ClearInputFiles () |
EExitOnException | ExitOnException (EExitOnException opt=kExit) |
virtual TApplicationImp * | GetApplicationImp () |
TApplication * | GetAppRemote () const |
const char * | GetIdleCommand () const |
virtual void | GetOptions (Int_t *argc, char **argv) |
TString | GetSetup () |
TSignalHandler * | GetSignalHandler () const |
virtual void | HandleIdleTimer () |
virtual void | Hide () |
virtual void | Iconify () |
virtual void | Init () |
void | InitializeGraphics (Bool_t only_web=kFALSE) |
TObjArray * | InputFiles () const |
virtual Bool_t | IsCmdThread () |
Bool_t | IsRunning () const |
virtual void | KeyPressed (Int_t key) |
virtual void | LineProcessed (const char *line) |
virtual void | Lower () |
void | ls (Option_t *option="") const override |
Bool_t | NoLogoOpt () const |
Bool_t | NoLogOpt () const |
virtual void | Open () |
void | OpenForumTopic (const TString &type) |
void | OpenGitHubIssue (const TString &type) |
void | OpenInBrowser (const TString &url) |
void | OpenReferenceGuideFor (const TString &strippedClass) |
virtual Longptr_t | ProcessFile (const char *file, Int_t *error=nullptr, Bool_t keep=kFALSE) |
virtual Longptr_t | ProcessLine (const char *line, Bool_t sync=kFALSE, Int_t *error=nullptr) |
Bool_t | QuitOpt () const |
virtual void | Raise () |
virtual void | RemoveIdleTimer () |
Bool_t | ReturnFromRun () const |
virtual void | ReturnPressed (char *text) |
virtual void | SetIdleTimer (UInt_t idleTimeInSec, const char *command) |
void | SetReturnFromRun (Bool_t ret) |
virtual void | Show () |
virtual void | StartIdleing () |
virtual void | StopIdleing () |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
TApplication (const char *appClassName, Int_t *argc, char **argv, void *options=nullptr, Int_t numOptions=0) | |
const char * | WorkingDirectory () const |
virtual | ~TApplication () |
Public Member Functions inherited from TObject | |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
virtual void | Browse (TBrowser *b) |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
virtual Int_t | Compare (const TObject *obj) const |
virtual void | Copy (TObject &object) const |
virtual void | Delete (Option_t *option="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual const char * | GetName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
virtual ULong_t | Hash () const |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Read (const char *name) |
virtual void | RecursiveRemove (TObject *obj) |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
TObject () | |
TObject (const TObject &object) | |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
virtual | ~TObject () |
Public Member Functions inherited from TQObject | |
Bool_t | AreSignalsBlocked () const |
Bool_t | BlockSignals (Bool_t b) |
virtual void | ChangedBy (const char *method) |
void | CollectClassSignalLists (TList &list, TClass *cls) |
Bool_t | Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot) |
virtual void | Connected (const char *) |
virtual void | Destroyed () |
Bool_t | Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
virtual void | Disconnected (const char *) |
void | Emit (const char *signal) |
void | Emit (const char *signal, const T &arg) |
void | EmitVA (const char *signal_name, Int_t, const T &... params) |
TList * | GetListOfClassSignals () const |
TList * | GetListOfConnections () const |
TList * | GetListOfSignals () const |
virtual Bool_t | HasConnection (const char *signal_name) const |
virtual void | HighPriority (const char *signal_name, const char *slot_name=nullptr) |
virtual void | LowPriority (const char *signal_name, const char *slot_name=nullptr) |
virtual void | Message (const char *msg) |
virtual Int_t | NumberOfConnections () const |
virtual Int_t | NumberOfSignals () const |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
TQObject () | |
virtual | ~TQObject () |
Static Public Member Functions | |
static const char * | GetHcDate () |
static const char * | GetVersionString () |
Static Public Member Functions inherited from THaInterface | |
static TClass * | GetDecoder () |
static const char * | GetHaDate () |
static const char * | GetVersion () |
static const char * | GetVersionString () |
static TClass * | SetDecoder (TClass *c) |
Static Public Member Functions inherited from TRint | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TApplication | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static void | CreateApplication () |
static const char * | DeclFileName () |
static Longptr_t | ExecuteFile (const char *file, Int_t *error=nullptr, Bool_t keep=kFALSE) |
static TList * | GetApplications () |
static void | NeedGraphicsLibs () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Static Public Member Functions inherited from TQObject | |
static Bool_t | AreAllSignalsBlocked () |
static Bool_t | BlockAllSignals (Bool_t b) |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static Bool_t | Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
static Bool_t | Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot) |
static const char * | DeclFileName () |
static Bool_t | Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr) |
static Bool_t | Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr) |
Additional Inherited Members | |
Public Types inherited from TApplication | |
enum | EExitOnException |
enum | EFileBits |
enum | EStatusBits |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Public Attributes inherited from TApplication | |
kAbort | |
kDefaultApplication | |
kDontExit | |
kExit | |
kExpression | |
kProcessRemotely | |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Member Functions inherited from TApplication | |
virtual void | Forum (const char *line) |
virtual void | GitHub (const char *line) |
virtual void | Help (const char *line) |
virtual void | LoadGraphicsLibs () |
virtual void | MakeBatch () |
void | SetSignalHandler (TSignalHandler *sh) |
TApplication () | |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Protected Member Functions inherited from TQObject | |
virtual void * | GetSender () |
virtual const char * | GetSenderClassName () const |
Static Protected Member Functions inherited from THaInterface | |
static TString | extract_short_date (const char *long_date) |
Static Protected Member Functions inherited from TApplication | |
static void | Close (TApplication *app) |
static TApplication * | Open (const char *url, Int_t debug, const char *script) |
static Int_t | ParseRemoteLine (const char *ln, TString &hostdir, TString &user, Int_t &dbg, TString &script) |
Static Protected Member Functions inherited from TQObject | |
static Int_t | CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot) |
static TString | CompressName (const char *method_name) |
static Bool_t | ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
static Bool_t | ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot) |
Protected Attributes inherited from TApplication | |
TApplication * | fAppRemote |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
Protected Attributes inherited from TQObject | |
TList * | fListOfConnections |
TList * | fListOfSignals |
Bool_t | fSignalsBlocked |
Static Protected Attributes inherited from THaInterface | |
static THaInterface * | fgAint |
Static Protected Attributes inherited from TApplication | |
static TList * | fgApplications |
Static Protected Attributes inherited from TQObject | |
static Bool_t | fgAllSignalsBlocked |
THcInterface is the interactive interface to the Hall C Analyzer.
Basically a rebranded copy of THaInterface with the addition of a global for the Hall C style parameter database.
Definition at line 14 of file THcInterface.h.
THcInterface::THcInterface | ( | const char * | appClassName, |
int * | argc, | ||
char ** | argv, | ||
void * | options = NULL , |
||
int | numOptions = 0 , |
||
Bool_t | noLogo = kFALSE |
||
) |
Create the Hall A/C analyzer application environment. The THcInterface environment provides an interface to the the interactive ROOT system via inheritance of TRint as well as access to the Hall A/C analyzer classes.
This class is copy of THaInterface with the addition of of the global gHcParms
to hold parameters. It does not inherit from THaInterface.
Definition at line 44 of file THcInterface.cxx.
|
virtual |
Definition at line 71 of file THcInterface.cxx.
|
static |
Definition at line 122 of file THcInterface.cxx.
|
static |
Definition at line 142 of file THcInterface.cxx.
Print the Hall C analyzer logo on standard output.
Reimplemented from THaInterface.
Definition at line 81 of file THcInterface.cxx.