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

TMuiMCHitO Class Reference
[Interface Objects]

The Muon identifier Monte Carlo hit object. More...

#include <TMuiMCHitO.h>

Inheritance diagram for TMuiMCHitO:

TMuiMCHitO_v1 List of all members.

Public Types

typedef std::vector< TMuiMCTwoPacktwopack_list
typedef twopack_list::const_iterator twopack_iterator

Public Methods

Constructors/Destructor
 TMuiMCHitO ()
 TMuiMCHitO (const Key &key)
virtual ~TMuiMCHitO ()
TMuiMCTwoPack Interface
virtual void add_twopack (UShort_t orient, UShort_t panel, UShort_t twopack_index)
virtual void clear_twopack_list ()
virtual size_t get_n_twopack () const
virtual const twopack_listget_twopack_list () const
virtual twopack_listget_mutable_twopack_list ()
Functional Interface
virtual Int_t get_track_id () const
virtual Float_t get_x () const
virtual Float_t get_y () const
virtual Float_t get_z () const
virtual PHPoint get_coord () const
virtual Float_t get_px () const
virtual Float_t get_py () const
virtual Float_t get_pz () const
virtual Short_t get_pid () const
virtual UShort_t get_file_key () const
virtual void set_track_id (Int_t track_id)
virtual void set_x (Float_t x)
virtual void set_y (Float_t y)
virtual void set_z (Float_t z)
virtual void set_px (Float_t px)
virtual void set_py (Float_t py)
virtual void set_pz (Float_t pz)
virtual void set_pid (Short_t pid)
virtual void set_file_key (UShort_t file_key)
Locators
virtual UShort_t get_arm () const
virtual UShort_t get_plane () const
virtual UShort_t get_index () const
virtual void set_arm (UShort_t arm)
virtual void set_plane (UShort_t plane)
virtual void set_index (UShort_t index)
Dumpers
virtual void print (std::ostream &os=std::cout) const

Detailed Description

The Muon identifier Monte Carlo hit object.

The Muon identifier Monte Carlo hit object

Definition at line 18 of file TMuiMCHitO.h.


Member Typedef Documentation

typedef twopack_list::const_iterator twopack_iterator
 

Name for the TMutMCTwoPack list iterator

Definition at line 27 of file TMuiMCHitO.h.

Referenced by TMuiMCHitO_v1::print.

typedef std::vector<TMuiMCTwoPack> twopack_list
 

Name for the list of TMuiMCTwoPack contained in this object

Definition at line 24 of file TMuiMCHitO.h.

Referenced by mMuiResponse::fill_hit, TMuiMCHitO_v1::get_mutable_twopack_list, get_mutable_twopack_list, mMuiEvalO::get_n_maskhit, TMuiMCHitO_v1::get_twopack_list, get_twopack_list, and TMuiMCHitO_v1::print.


Constructor & Destructor Documentation

TMuiMCHitO   [inline]
 

Default

Definition at line 32 of file TMuiMCHitO.h.

00032 {;}

TMuiMCHitO const Key &    key [inline]
 

Construct with key

Definition at line 35 of file TMuiMCHitO.h.

00035 : PHKey(key){;}

virtual ~TMuiMCHitO   [inline, virtual]
 

Default

Definition at line 38 of file TMuiMCHitO.h.

00038 {;}


Member Function Documentation

virtual void add_twopack UShort_t    orient,
UShort_t    panel,
UShort_t    twopack_index
[inline, virtual]
 

construct and add a new strip with specified parameters

Reimplemented in TMuiMCHitO_v1.

Definition at line 44 of file TMuiMCHitO.h.

00044 { }

virtual void clear_twopack_list   [inline, virtual]
 

clear twopack list

Reimplemented in TMuiMCHitO_v1.

Definition at line 46 of file TMuiMCHitO.h.

00046 {}                           

virtual UShort_t get_arm   const [inline, virtual]
 

Get arm number for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 111 of file TMuiMCHitO.h.

00111 {return 0;}

virtual PHPoint get_coord   const [inline, virtual]
 

Get PHPoint(x,y,z) of this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 76 of file TMuiMCHitO.h.

00076 { return PHPoint(); }

virtual UShort_t get_file_key   const [inline, virtual]
 

Get file key, which is used for embeding

Reimplemented in TMuiMCHitO_v1.

Definition at line 86 of file TMuiMCHitO.h.

00086 {return 0;} 

virtual UShort_t get_index   const [inline, virtual]
 

Get hit index associated with this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 115 of file TMuiMCHitO.h.

00115 {return 0;}

virtual twopack_list* get_mutable_twopack_list   [inline, virtual]
 

immutable access to twopack list

Reimplemented in TMuiMCHitO_v1.

Definition at line 57 of file TMuiMCHitO.h.

References twopack_list.

00057                                                    {
00058     // Print a warning about leaked resource, in case it is called.
00059     //
00060     MUTOO::TRACE(DESCRIPTION("Resource leak from base"));
00061     return new twopack_list();
00062   }

virtual size_t get_n_twopack   const [inline, virtual]
 

number of twopacks associated with this MChit

Reimplemented in TMuiMCHitO_v1.

Definition at line 48 of file TMuiMCHitO.h.

00048 { return 0;}

virtual Short_t get_pid   const [inline, virtual]
 

Get particle id of the hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 84 of file TMuiMCHitO.h.

00084 {return 0;}

virtual UShort_t get_plane   const [inline, virtual]
 

Get muid plane number for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 113 of file TMuiMCHitO.h.

00113 {return 0;}

virtual Float_t get_px   const [inline, virtual]
 

Get x-momentum of track at this hit position

Reimplemented in TMuiMCHitO_v1.

Definition at line 78 of file TMuiMCHitO.h.

00078 {return 0;}

virtual Float_t get_py   const [inline, virtual]
 

Get y-momentum of track at this hit position

Reimplemented in TMuiMCHitO_v1.

Definition at line 80 of file TMuiMCHitO.h.

00080 {return 0;}

virtual Float_t get_pz   const [inline, virtual]
 

Get z-momentum of track at this hit position

Reimplemented in TMuiMCHitO_v1.

Definition at line 82 of file TMuiMCHitO.h.

00082 {return 0;}

virtual Int_t get_track_id   const [inline, virtual]
 

Get the PISA track number associated with this track

Reimplemented in TMuiMCHitO_v1.

Definition at line 68 of file TMuiMCHitO.h.

00068 {return 0;}

virtual const twopack_list* get_twopack_list   const [inline, virtual]
 

immutable access to twopack list

Reimplemented in TMuiMCHitO_v1.

Definition at line 50 of file TMuiMCHitO.h.

References twopack_list.

00050                                                        {
00051     // Print a warning about leaked resource, in case it is called.
00052     //
00053     MUTOO::TRACE(DESCRIPTION("Resource leak from base"));
00054     return new twopack_list();
00055   }

virtual Float_t get_x   const [inline, virtual]
 

Get x-position of track for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 70 of file TMuiMCHitO.h.

00070 {return 0;}

virtual Float_t get_y   const [inline, virtual]
 

Get y-position of track for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 72 of file TMuiMCHitO.h.

00072 {return 0;}

virtual Float_t get_z   const [inline, virtual]
 

Get z-position of track for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 74 of file TMuiMCHitO.h.

00074 {return 0;}

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

Set Charge associated with this strip

Reimplemented in TMuiMCHitO_v1.

Definition at line 128 of file TMuiMCHitO.h.

00128 {}

virtual void set_arm UShort_t    arm [inline, virtual]
 

Set arm number for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 117 of file TMuiMCHitO.h.

00117 { }

virtual void set_file_key UShort_t    file_key [inline, virtual]
 

Set file key, which is used for embeding

Reimplemented in TMuiMCHitO_v1.

Definition at line 104 of file TMuiMCHitO.h.

00104 { }

virtual void set_index UShort_t    index [inline, virtual]
 

Set hit index associated with this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 121 of file TMuiMCHitO.h.

00121 { }

virtual void set_pid Short_t    pid [inline, virtual]
 

Set particle id for the hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 102 of file TMuiMCHitO.h.

00102 { }

virtual void set_plane UShort_t    plane [inline, virtual]
 

Set muid plane number for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 119 of file TMuiMCHitO.h.

00119 { }

virtual void set_px Float_t    px [inline, virtual]
 

Set x-momentum of track at this hit position

Reimplemented in TMuiMCHitO_v1.

Definition at line 96 of file TMuiMCHitO.h.

00096 { }

virtual void set_py Float_t    py [inline, virtual]
 

Set y-momentum of track at this hit position

Reimplemented in TMuiMCHitO_v1.

Definition at line 98 of file TMuiMCHitO.h.

00098 { }

virtual void set_pz Float_t    pz [inline, virtual]
 

Set z-momentum of track at this hit position

Reimplemented in TMuiMCHitO_v1.

Definition at line 100 of file TMuiMCHitO.h.

00100 { }

virtual void set_track_id Int_t    track_id [inline, virtual]
 

PISA track number associated with this track

Reimplemented in TMuiMCHitO_v1.

Definition at line 88 of file TMuiMCHitO.h.

00088 { }

virtual void set_x Float_t    x [inline, virtual]
 

Set x-position of track for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 90 of file TMuiMCHitO.h.

00090 { }

virtual void set_y Float_t    y [inline, virtual]
 

Set y-position of track for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 92 of file TMuiMCHitO.h.

00092 { }

virtual void set_z Float_t    z [inline, virtual]
 

Set z-position of track for this hit

Reimplemented in TMuiMCHitO_v1.

Definition at line 94 of file TMuiMCHitO.h.

00094 { }


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