28 InfoBox(
const std::string type=
"",
29 const std::string maus=
"",
30 const std::string run=
"",
31 const std::string cycle=
"");
49 const double alpha=.02,
50 const double beta=.16);
void SetOpacity(const double &opacity)
Sets the opacity of the TPaveText (0 is transparent, 1 is fully opaque)
Definition: InfoBox.cc:77
void SetPosition(const std::string &pos, const double alpha=.02, const double beta=.16)
Updates the position of the info box.
Definition: InfoBox.cc:42
~InfoBox()
Destructor.
Definition: InfoBox.cc:37
std::string _cycle
ISIS user cycle.
Definition: InfoBox.hh:79
InfoBox(const std::string type="", const std::string maus="", const std::string run="", const std::string cycle="")
MAUS info box constructor, sets the necessary information.
Definition: InfoBox.cc:3
void Draw()
Draws the info box on the current canvas.
Definition: InfoBox.cc:82
InfoBox & operator=(const InfoBox &ib)
Equality operator.
Definition: InfoBox.cc:22
TPaveText * _text
Info box.
Definition: InfoBox.hh:75
std::string _maus
Version of MAUS.
Definition: InfoBox.hh:77
Stores the MICE run information to be printed as TPaveText.
Definition: InfoBox.hh:18
std::string _run
Run tag.
Definition: InfoBox.hh:78
std::string _type
Type of data represented.
Definition: InfoBox.hh:76