#include <TMuiMCTwoPack.h>
Public Types | |
enum | Status { NOMINAL, MASKED } |
Public Methods | |
Constructors/Destructors | |
TMuiMCTwoPack () | |
TMuiMCTwoPack (UShort_t orient, UShort_t panel, UShort_t twopack_index) | |
virtual | ~TMuiMCTwoPack () |
Locators | |
UShort_t | get_orient () const |
UShort_t | get_panel () const |
UShort_t | get_twopack_index () const |
UShort_t | get_status () const |
void | set_orient (UShort_t orient) |
void | set_panel (UShort_t panel) |
void | set_twopack_index (UShort_t twopack_index) |
void | set_status (UShort_t status) |
Dumpers | |
virtual void | print (std::ostream &os=std::cout) const |
Private Attributes | |
UShort_t | _orient |
UShort_t | _panel |
UShort_t | _twopack_index |
UShort_t | _status |
Each TMuiMCHitO object can strike multiple twopacks in and between different orientations for a given panel.
Definition at line 21 of file TMuiMCTwoPack.h.
|
Status enumeration Definition at line 25 of file TMuiMCTwoPack.h.
|
|
Default constructor Definition at line 30 of file TMuiMCTwoPack.h.
00030 {;} |
|
Construct with orientation, panel, and twopack_index Definition at line 33 of file TMuiMCTwoPack.h. References _orient, _panel, _status, _twopack_index, and NOMINAL.
00035 : 00036 _orient(orient), 00037 _panel(panel), 00038 _twopack_index(twopack_index), 00039 _status(NOMINAL){;} |
|
Destructor Definition at line 42 of file TMuiMCTwoPack.h.
00042 {;} |
|
Get Orientation Definition at line 54 of file TMuiMCTwoPack.h. References _orient.
00054 {return _orient;} |
|
Get Panel Definition at line 57 of file TMuiMCTwoPack.h. References _panel.
00057 {return _panel;} |
|
Get Status Definition at line 61 of file TMuiMCTwoPack.h. References _status.
00061 {return _status;} |
|
Get TwoPack Index Definition at line 59 of file TMuiMCTwoPack.h. References _twopack_index.
00059 {return _twopack_index;} |
|
Print data Definition at line 75 of file TMuiMCTwoPack.h. References _orient, _panel, _status, _twopack_index, MASKED, and NOMINAL.
00076 { 00077 std::string status; 00078 if(_status == NOMINAL) status += "NOMINAL"; 00079 if(_status == MASKED) status += "MASKED"; 00080 os << " orientation: " << _orient 00081 << " panel: " << _panel 00082 << " twopack_index: " << _twopack_index 00083 << " status: " << status << std::endl; 00084 } |
|
Set Orientation Definition at line 63 of file TMuiMCTwoPack.h. References _orient.
00063 { _orient = orient;} |
|
Set Panel Definition at line 65 of file TMuiMCTwoPack.h. References _panel.
00065 { _panel = panel;} |
|
Set Status Definition at line 69 of file TMuiMCTwoPack.h. References _status.
00069 { _status = status;} |
|
Set TwoPack Index Definition at line 67 of file TMuiMCTwoPack.h. References _twopack_index.
00067 { _twopack_index = twopack_index;} |
|
Definition at line 89 of file TMuiMCTwoPack.h. Referenced by get_orient, print, set_orient, and TMuiMCTwoPack. |
|
Definition at line 90 of file TMuiMCTwoPack.h. Referenced by get_panel, print, set_panel, and TMuiMCTwoPack. |
|
Definition at line 92 of file TMuiMCTwoPack.h. Referenced by get_status, print, set_status, and TMuiMCTwoPack. |
|
Definition at line 91 of file TMuiMCTwoPack.h. Referenced by get_twopack_index, print, set_twopack_index, and TMuiMCTwoPack. |