class TMuiTwoPackGeo

Describes a single two-pack in the muon identifier system

Public Methods

TMuiTwoPackGeo(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& tube, TMuiPanelGeo* const pointer, const Hep3Vector& xfront, const Hep3Vector& xback, const Hep3Vector& tubesize)
Constructor.
TMuiTwoPackGeo(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& tube, TMuiPanelGeo* const pointer)
Constructor (dummy tube positions and sizes).
~TMuiTwoPackGeo()
Destructor.
TMuiChannelId Channel() const
Return the channel identifier ("software" address) of this two-pack.
TMuiTubeGeo FrontTube() const
Return the object for the front tube of this two-pack.
TMuiTubeGeo BackTube() const
Return the object for the back tube of this two-pack.
TMuiPanelGeo* Panel() const
Return pointer to the panel that contains this two-pack.
TMuiTwoPackGeo* LeftNeighbor() const
Pointer to the adjacent two-pack on the -X or -Y side of this one.
TMuiTwoPackGeo* RightNeighbor() const
Pointer to the adjacent two-pack on the +X or +Y side of this one.
Hep3Vector CenterPos() const
Position of this two-pack (in the panel coordinate system).
Hep3Vector CenterSigma() const
Uncertainty in the position of this two-pack (panel coordinate system).
bool IsInTwoPack(const HepPoint3D& q) const
Is the point within the boundaries of this two-pack?
bool HitStatus() const
Get the two-pack hit status.
void SetTubeEdges(const short& layer, const float& x1, const float& x2, const float& y1, const float& y2, const float& length, const float& width, const float& thick)
Set the edge positions of a tube (in the panel coordinate system)
void SetTubeEdges(const PdbMuiTubeGeo& geo, const float& length, const float& width, const float& thick)
Set the edge positions of a tube (in the panel coordinate system)
void SetLeftNeighbor(TMuiTwoPackGeo* ptr)
Set pointer to the adjacent two-pack on -X or -Y side of this one.
void SetRightNeighbor(TMuiTwoPackGeo* ptr)
Set pointer to the adjacent two-pack on +X or +Y side of this one.
void SetHitStatus(const bool hit)
Tell the two-pack whether or not it registered a signal in this event.

Documentation

Describes a single two-pack in the muon identifier system. The two-pack is the unit of readout in the MuID; it consists of two Iarocci tubes.

TMuiTwoPackGeo(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& tube, TMuiPanelGeo* const pointer, const Hep3Vector& xfront, const Hep3Vector& xback, const Hep3Vector& tubesize)
Constructor.

TMuiTwoPackGeo(const short& arm, const short& plane, const short& panel, const EOrient_t& orient, const short& tube, TMuiPanelGeo* const pointer)
Constructor (dummy tube positions and sizes).

~TMuiTwoPackGeo()
Destructor.

TMuiChannelId Channel() const
Return the channel identifier ("software" address) of this two-pack.

TMuiTubeGeo FrontTube() const
Return the object for the front tube of this two-pack.

TMuiTubeGeo BackTube() const
Return the object for the back tube of this two-pack.

TMuiPanelGeo* Panel() const
Return pointer to the panel that contains this two-pack.

TMuiTwoPackGeo* LeftNeighbor() const
Pointer to the adjacent two-pack on the -X or -Y side of this one.

TMuiTwoPackGeo* RightNeighbor() const
Pointer to the adjacent two-pack on the +X or +Y side of this one.

Hep3Vector CenterPos() const
Position of this two-pack (in the panel coordinate system).

Hep3Vector CenterSigma() const
Uncertainty in the position of this two-pack (panel coordinate system).

bool IsInTwoPack(const HepPoint3D& q) const
Is the point within the boundaries of this two-pack?

bool HitStatus() const
Get the two-pack hit status.

void SetTubeEdges(const short& layer, const float& x1, const float& x2, const float& y1, const float& y2, const float& length, const float& width, const float& thick)
Set the edge positions of a tube (in the panel coordinate system)
Parameters:
layer - layer number of the tube in the two-pack
x1 - low-x edge pos for horiz tubes, center x pos for vert
x2 - high-x edge pos for horiz tubes, center x pos for vert
y1 - low-y edge pos for vert tubes, center y pos for horiz
y2 - high-y edge pos for vert tubes, center y pos for horiz
length - length of tube ("x" size for horiz, "y" for vert)
width - width of tube ("y" size for horiz, "x" for vert)
thick - thickness ("z" size) of tube

void SetTubeEdges(const PdbMuiTubeGeo& geo, const float& length, const float& width, const float& thick)
Set the edge positions of a tube (in the panel coordinate system)

void SetLeftNeighbor(TMuiTwoPackGeo* ptr)
Set pointer to the adjacent two-pack on -X or -Y side of this one.

void SetRightNeighbor(TMuiTwoPackGeo* ptr)
Set pointer to the adjacent two-pack on +X or +Y side of this one.

void SetHitStatus(const bool hit)
Tell the two-pack whether or not it registered a signal in this event.


This class has no child classes.
Author:
Kyle Pope mailto:pope@phy.ornl.gov

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de