|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONHOUGHPATTERNEVENT_MUONHOUGHHITCONTAINER_H
6 #define MUONHOUGHPATTERNEVENT_MUONHOUGHHITCONTAINER_H
27 std::shared_ptr<MuonHoughHit>
getHit(
int hitno)
const;
29 const std::vector<std::shared_ptr<MuonHoughHit>>&
getHits()
const;
32 void addHit(
const std::shared_ptr<MuonHoughHit>& hit);
38 int getHitId(
unsigned int hitno)
const;
40 double getHitx(
unsigned int hitno)
const;
42 double getHity(
unsigned int hitno)
const;
44 double getHitz(
unsigned int hitno)
const;
47 double getRadius(
unsigned int hitno)
const;
49 double getTheta(
unsigned int hitno)
const;
51 double getPhi(
unsigned int hitno)
const;
53 double getWeight(
unsigned int hitno)
const;
67 unsigned int size()
const;
86 std::vector<std::shared_ptr<MuonHoughHit>>
m_hit;
112 #endif // MUONHOUGHPATTERNEVENT_MUONHOUGHHITCONTAINER_H
MuonHoughHitContainer()=default
MuonHoughHitContainer does own its hits all added hits should be 'newed', except when m_ownhits==fals...
double getWeight(unsigned int hitno) const
returns weight of hit hitno
double getTheta(unsigned int hitno) const
returns theta of hit hitno
double getHitz(unsigned int hitno) const
returns z position of hit hitno
bool getMeasuresPhi(unsigned int hitno) const
returns if hit hitno measures phi
std::shared_ptr< MuonHoughHit > getHit(int hitno) const
returns Hit at position hitno
double getPhi(unsigned int hitno) const
returns phi of hit hitno
std::vector< std::shared_ptr< MuonHoughHit > > m_hit
vector of hits in container
void addHit(const std::shared_ptr< MuonHoughHit > &hit)
add hit to container
int getHitId(unsigned int hitno) const
returns hitid of hit hitno
int getRPCetahitno() const
returns number of rpc eta hits in container
const std::vector< std::shared_ptr< MuonHoughHit > > & getHits() const
returns hit vector
unsigned int size() const
returns size of hitcontainer
void reserve(int size)
allocates memory for hitvector
double getHity(unsigned int hitno) const
returns y position of hit hitno
const Trk::PrepRawData * getPrd(unsigned int hitno) const
returns preprawdata pointer of hit hitno
double getOrigWeight(unsigned int hitno) const
returns the orignal weight of hit hitno
int getRPChitno() const
returns number of rpc hits in container
std::string getWhichDetector(unsigned int hitno) const
returns detectortechnology in string of hit hitno
Ensure that the ATLAS eigen extensions are properly loaded.
MuonHough::DetectorTechnology getDetectorId(unsigned int hitno) const
returns detectortechnology of hit hitno
~MuonHoughHitContainer()=default
destructor
int getTGChitno() const
returns number of tgc hits in container
bool empty() const
returns if hitcontainer is empty
int getMDThitno() const
returns number of mdt hits in container
void removeHit(unsigned int hitno)
remove hit from container
double getRadius(unsigned int hitno) const
returns radius of hit hitno
DetectorTechnology
enum to identify the muondetectortechnology
int getCSChitno() const
returns number of csc hits in container
double getHitx(unsigned int hitno) const
returns x position of hit hitno