Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TMuiMCTwoPack Class Reference
[Classes]

The Muon tracker Monte Carlo strip object. More...

#include <TMuiMCTwoPack.h>

List of all members.

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


Detailed Description

The Muon tracker Monte Carlo strip object.

Each TMuiMCHitO object can strike multiple twopacks in and between different orientations for a given panel.

Definition at line 21 of file TMuiMCTwoPack.h.


Member Enumeration Documentation

enum Status
 

Status enumeration

Enumeration values:
NOMINAL 
MASKED 

Definition at line 25 of file TMuiMCTwoPack.h.

00025 {NOMINAL, MASKED};


Constructor & Destructor Documentation

TMuiMCTwoPack   [inline]
 

Default constructor

Definition at line 30 of file TMuiMCTwoPack.h.

00030 {;}

TMuiMCTwoPack UShort_t    orient,
UShort_t    panel,
UShort_t    twopack_index
[inline]
 

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){;}

virtual ~TMuiMCTwoPack   [inline, virtual]
 

Destructor

Definition at line 42 of file TMuiMCTwoPack.h.

00042 {;}


Member Function Documentation

UShort_t get_orient   const [inline]
 

Get Orientation

Definition at line 54 of file TMuiMCTwoPack.h.

References _orient.

00054 {return _orient;}

UShort_t get_panel   const [inline]
 

Get Panel

Definition at line 57 of file TMuiMCTwoPack.h.

References _panel.

00057 {return _panel;}

UShort_t get_status   const [inline]
 

Get Status

Definition at line 61 of file TMuiMCTwoPack.h.

References _status.

00061 {return _status;}

UShort_t get_twopack_index   const [inline]
 

Get TwoPack Index

Definition at line 59 of file TMuiMCTwoPack.h.

References _twopack_index.

00059 {return _twopack_index;}

virtual void print std::ostream &    os = std::cout const [inline, virtual]
 

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   }

void set_orient UShort_t    orient [inline]
 

Set Orientation

Definition at line 63 of file TMuiMCTwoPack.h.

References _orient.

00063 { _orient = orient;}

void set_panel UShort_t    panel [inline]
 

Set Panel

Definition at line 65 of file TMuiMCTwoPack.h.

References _panel.

00065 { _panel = panel;}

void set_status UShort_t    status [inline]
 

Set Status

Definition at line 69 of file TMuiMCTwoPack.h.

References _status.

00069 { _status = status;}

void set_twopack_index UShort_t    twopack_index [inline]
 

Set TwoPack Index

Definition at line 67 of file TMuiMCTwoPack.h.

References _twopack_index.

00067 { _twopack_index = twopack_index;}


Member Data Documentation

UShort_t _orient [private]
 

Definition at line 89 of file TMuiMCTwoPack.h.

Referenced by get_orient, print, set_orient, and TMuiMCTwoPack.

UShort_t _panel [private]
 

Definition at line 90 of file TMuiMCTwoPack.h.

Referenced by get_panel, print, set_panel, and TMuiMCTwoPack.

UShort_t _status [private]
 

Definition at line 92 of file TMuiMCTwoPack.h.

Referenced by get_status, print, set_status, and TMuiMCTwoPack.

UShort_t _twopack_index [private]
 

Definition at line 91 of file TMuiMCTwoPack.h.

Referenced by get_twopack_index, print, set_twopack_index, and TMuiMCTwoPack.


The documentation for this class was generated from the following file:
MUIOO: PHENIX Muon Identifier Analysis Framework. Documentation by doxygen
Last modified: