namespace Muon class MuoHit

Abstract base class for hits in the muon system.

Inheritance:


Public Methods

const int& getLayer()
Initialized in constructor.
const MuoIndex& getMuoIndex()
Set the index of the hit.
virtual const MuoPointVector& getMuoPoints()
Return the position of the MuoHit.
const int& getPlane()
Return the layer. Initialized in constructor.
const Position& getPosition()
Initialized in constructor.
const int& getType()
Initialized in constructor.
MuoHit(const Muon::Position pos, const Muon::MuoIndex &index)
Empty constructor needed for persistency.
MuoHit(const MuoHit& rhs)
Constructor from position and index.
inline const int& MuoHit::getLayer()
Get the layer of the detector on whicht the hit is located.
inline const Muon::MuoIndex& MuoHit::getMuoIndex()
Return the MuonIndex of the hit.
inline const int& MuoHit::getPlane()
Get the plane in the layer.
inline const Muon::Position& MuoHit::getPosition()
Get the position of the MuoHit.
inline const int& MuoHit::getSide()
Get the side of the detector on which the hit is located.
inline const int& MuoHit::getType()
Get the type of the hit.
inline void MuoHit::setPosition(const Muon::Position &pos)
Set the position of the MuoHit.
friend std::ostream& operator<<(std::ostream &os, const MuoHit& hit)
Equality operator.
friend bool operator==(const MuoHit& lhs, const MuoHit& rhs)
Return the MuoPoints of the hit
void print(std::ostream &os)
Output stream.
void setMuoIndex(const Muon::MuoIndex &index)
Set the position of the hit.
void setPosition(const Muon::Position &pos)
Destructor.
~MuoHit()
Copy constructor.

Public

Return the plane.
Return the type.
Return the side.

Protected Fields

Deduct the side, layer and plane info from _index.
int _layer
Side of the detector on which the hit is located.
MuoIndex _muoIndex
Position of the MuoHit (includes error).
int _plane
Layer of the detector on which the hit is located.
int _side
Geometry index of the MuoHit.

Documentation

Abstract base class for hits in the muon system.
MuoHit(const Muon::Position pos, const Muon::MuoIndex &index)
Empty constructor needed for persistency.

MuoHit(const MuoHit& rhs)
Constructor from position and index.

~MuoHit()
Copy constructor.

void setPosition(const Muon::Position &pos)
Destructor.

void setMuoIndex(const Muon::MuoIndex &index)
Set the position of the hit.

const MuoIndex& getMuoIndex()
Set the index of the hit.

Return the side.

const int& getLayer()
Initialized in constructor.

const int& getPlane()
Return the layer. Initialized in constructor.

Return the plane.

const int& getType()
Initialized in constructor.

Return the type.

const Position& getPosition()
Initialized in constructor.

virtual const MuoPointVector& getMuoPoints()
Return the position of the MuoHit.

friend bool operator==(const MuoHit& lhs, const MuoHit& rhs)
Return the MuoPoints of the hit

friend std::ostream& operator<<(std::ostream &os, const MuoHit& hit)
Equality operator.

void print(std::ostream &os)
Output stream.

MuoIndex _muoIndex
Position of the MuoHit (includes error).

int _side
Geometry index of the MuoHit.

int _layer
Side of the detector on which the hit is located.

int _plane
Layer of the detector on which the hit is located.

Deduct the side, layer and plane info from _index.

inline const int& MuoHit::getLayer()
Get the layer of the detector on whicht the hit is located.

inline const Muon::MuoIndex& MuoHit::getMuoIndex()
Return the MuonIndex of the hit.

inline const int& MuoHit::getPlane()
Get the plane in the layer.

inline const Muon::Position& MuoHit::getPosition()
Get the position of the MuoHit.

inline const int& MuoHit::getSide()
Get the side of the detector on which the hit is located.

inline const int& MuoHit::getType()
Get the type of the hit.

inline void MuoHit::setPosition(const Muon::Position &pos)
Set the position of the MuoHit.


Direct child classes:
MuoWireHit
MuoScintHit

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