PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
#include <RootScanner.hpp>
Data Structures | |
struct | AxisInfo |
Public Member Functions | |
RootScanner () | |
~RootScanner () | |
TCanvas * | GetCanvas () |
void | IdleTask () |
void | UpdateZoom (TVirtualPad *pad=gPad) |
void | ResetZoom (TVirtualPad *pad=gPad) |
![]() | |
ScanInterface (Unpacker *core_=NULL) | |
Default constructor. More... | |
virtual | ~ScanInterface () |
Default destructor. More... | |
bool | IsInit () |
Return true if the ScanInterface object has been initialized. More... | |
bool | IsVerbose () |
Return true if verbose output mode is enabled. More... | |
bool | DebugMode () |
Return true if debug mode is enabled. More... | |
bool | DryRunMode () |
Return true if dry run mode is enabled. More... | |
bool | ShmMode () |
Return true if shared memory mode is enabled. More... | |
bool | BatchMode () |
Return true if batch processing mode is enabled. More... | |
std::string | GetMessageHeader () |
Return the header string used to prefix output messages. More... | |
std::string | GetProgramName () |
Return the name of the program. More... | |
std::string | GetSetupFilename () |
std::string | GetOutputFilename () |
fileInformation * | GetFileInfo () |
Return a pointer to a fileInformation object used to store file header info. More... | |
void | SetProgramName (const std::string &head_) |
Set the header string used to prefix output messages. More... | |
bool | SetVerboseMode (bool state_=true) |
Enable or disable verbose output mode. More... | |
bool | SetDebugMode (bool state_=true) |
Enable or disable debug mode. More... | |
bool | SetDryRunMode (bool state_=true) |
Enable or disable dry run mode. More... | |
bool | SetShmMode (bool state_=true) |
Enable or disable shared memory mode. More... | |
bool | SetBatchMode (bool state_=true) |
Enable or disable batch processing mode. More... | |
void | RunControl () |
Main scan control method. More... | |
void | CmdControl () |
Main command interpreter method. More... | |
bool | Setup (int argc, char *argv[]) |
Setup user options and initialize all required objects. More... | |
int | Execute () |
Run the program. More... | |
bool | Close () |
Shutdown cleanly. More... | |
virtual bool | AddEvent (XiaData *event_) |
virtual bool | ProcessEvents () |
Private Attributes | |
TCanvas * | canvas_ |
std::map< TVirtualPad *, AxisInfo > | zoomInfo_ |
Static Private Attributes | |
static const int | numAxes_ = 3 |
Additional Inherited Members | |
![]() | |
void | AddOption (optionExt opt_) |
Pointer to class derived from Unpacker class. More... | |
virtual bool | ExtraCommands (const std::string &cmd_, std::vector< std::string > &args_) |
virtual void | ExtraArguments () |
virtual void | CmdHelp (const std::string &prefix_="") |
virtual void | ArgHelp () |
virtual void | SyntaxStr (char *name_) |
virtual bool | Initialize (std::string prefix_="") |
virtual void | FinalInitialization () |
virtual bool | InitRootOutput (std::string fname_, bool overwrite_=true) |
virtual void | Notify (const std::string &code_="") |
virtual Unpacker * | GetCore () |
![]() | |
std::string | msgHeader |
std::string | progName |
The string to print before program output. More... | |
std::vector< option > | longOpts |
The name of the program. More... | |
std::vector< optionExt > | baseOpts |
Vector of all command line options. More... | |
std::vector< optionExt > | userOpts |
Base level command line options for the scan. More... | |
std::string | optstr |
User added command line options. More... | |
Unpacker * | core |
Definition at line 11 of file RootScanner.hpp.
RootScanner::RootScanner | ( | ) |
Definition at line 13 of file RootScanner.cpp.
RootScanner::~RootScanner | ( | ) |
Definition at line 20 of file RootScanner.cpp.
|
inline |
Definition at line 15 of file RootScanner.hpp.
|
virtual |
IdleTask is called whenever a scan is not busy doing things. This method may be used to update things which need to be updated every so often (e.g. a root TCanvas).
Reimplemented from ScanInterface.
Definition at line 30 of file RootScanner.cpp.
void RootScanner::ResetZoom | ( | TVirtualPad * | pad = gPad | ) |
void RootScanner::UpdateZoom | ( | TVirtualPad * | pad = gPad | ) |
Definition at line 47 of file RootScanner.cpp.
|
private |
Definition at line 21 of file RootScanner.hpp.
|
staticprivate |
Definition at line 23 of file RootScanner.hpp.
|
private |
Definition at line 31 of file RootScanner.hpp.