![]() |
ATLAS Offline Software
|
#include <MuonHoughHitContainer.h>
Public Member Functions | |
| MuonHoughHitContainer ()=default | |
| MuonHoughHitContainer does own its hits all added hits should be 'newed', except when m_ownhits==false. More... | |
| ~MuonHoughHitContainer ()=default | |
| destructor More... | |
| std::shared_ptr< MuonHoughHit > | getHit (int hitno) const |
| returns Hit at position hitno More... | |
| const std::vector< std::shared_ptr< MuonHoughHit > > & | getHits () const |
| returns hit vector More... | |
| void | addHit (const std::shared_ptr< MuonHoughHit > &hit) |
| add hit to container More... | |
| void | removeHit (unsigned int hitno) |
| remove hit from container More... | |
| int | getHitId (unsigned int hitno) const |
| returns hitid of hit hitno More... | |
| double | getHitx (unsigned int hitno) const |
| returns x position of hit hitno More... | |
| double | getHity (unsigned int hitno) const |
| returns y position of hit hitno More... | |
| double | getHitz (unsigned int hitno) const |
| returns z position of hit hitno More... | |
| double | getRadius (unsigned int hitno) const |
| returns radius of hit hitno More... | |
| double | getTheta (unsigned int hitno) const |
| returns theta of hit hitno More... | |
| double | getPhi (unsigned int hitno) const |
| returns phi of hit hitno More... | |
| double | getWeight (unsigned int hitno) const |
| returns weight of hit hitno More... | |
| double | getOrigWeight (unsigned int hitno) const |
| returns the orignal weight of hit hitno More... | |
| bool | getMeasuresPhi (unsigned int hitno) const |
| returns if hit hitno measures phi More... | |
| const Trk::PrepRawData * | getPrd (unsigned int hitno) const |
| returns preprawdata pointer of hit hitno More... | |
| std::string | getWhichDetector (unsigned int hitno) const |
| returns detectortechnology in string of hit hitno More... | |
| MuonHough::DetectorTechnology | getDetectorId (unsigned int hitno) const |
| returns detectortechnology of hit hitno More... | |
| unsigned int | size () const |
| returns size of hitcontainer More... | |
| bool | empty () const |
| returns if hitcontainer is empty More... | |
| void | reserve (int size) |
| allocates memory for hitvector More... | |
| int | getRPChitno () const |
| returns number of rpc hits in container More... | |
| int | getRPCetahitno () const |
| returns number of rpc eta hits in container More... | |
| int | getMDThitno () const |
| returns number of mdt hits in container More... | |
| int | getCSChitno () const |
| returns number of csc hits in container More... | |
| int | getTGChitno () const |
| returns number of tgc hits in container More... | |
Protected Attributes | |
| std::vector< std::shared_ptr< MuonHoughHit > > | m_hit |
| vector of hits in container More... | |
Definition at line 15 of file MuonHoughHitContainer.h.
|
default |
MuonHoughHitContainer does own its hits all added hits should be 'newed', except when m_ownhits==false.
constructor, flag for deleting hits at destructor
|
default |
destructor
| void MuonHoughHitContainer::addHit | ( | const std::shared_ptr< MuonHoughHit > & | hit | ) |
|
inline |
| int MuonHoughHitContainer::getCSChitno | ( | ) | const |
returns number of csc hits in container
Definition at line 37 of file MuonHoughHitContainer.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int MuonHoughHitContainer::getMDThitno | ( | ) | const |
returns number of mdt hits in container
Definition at line 25 of file MuonHoughHitContainer.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int MuonHoughHitContainer::getRPCetahitno | ( | ) | const |
returns number of rpc eta hits in container
Definition at line 31 of file MuonHoughHitContainer.cxx.
| int MuonHoughHitContainer::getRPChitno | ( | ) | const |
returns number of rpc hits in container
Definition at line 19 of file MuonHoughHitContainer.cxx.
| int MuonHoughHitContainer::getTGChitno | ( | ) | const |
returns number of tgc hits in container
Definition at line 43 of file MuonHoughHitContainer.cxx.
|
inline |
|
inline |
|
inline |
returns detectortechnology in string of hit hitno
Definition at line 108 of file MuonHoughHitContainer.h.
| void MuonHoughHitContainer::removeHit | ( | unsigned int | hitno | ) |
remove hit from container
Definition at line 13 of file MuonHoughHitContainer.cxx.
|
inline |
allocates memory for hitvector
Definition at line 106 of file MuonHoughHitContainer.h.
|
inline |
|
protected |
vector of hits in container
Definition at line 86 of file MuonHoughHitContainer.h.
1.8.18