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;
unsigned int size() const
returns size of hitcontainer
double getHitx(unsigned int hitno) const
returns x position of hit hitno
double getPhi(unsigned int hitno) const
returns phi of hit hitno
const std::vector< std::shared_ptr< MuonHoughHit > > & getHits() const
returns hit vector
MuonHough::DetectorTechnology getDetectorId(unsigned int hitno) const
returns detectortechnology of hit hitno
double getHity(unsigned int hitno) const
returns y position of hit hitno
std::string getWhichDetector(unsigned int hitno) const
returns detectortechnology in string of hit hitno
std::shared_ptr< MuonHoughHit > getHit(int hitno) const
returns Hit at position hitno
void reserve(int size)
allocates memory for hitvector
int getMDThitno() const
returns number of mdt hits in container
int getHitId(unsigned int hitno) const
returns hitid of hit hitno
bool getMeasuresPhi(unsigned int hitno) const
returns if hit hitno measures phi
const Trk::PrepRawData * getPrd(unsigned int hitno) const
returns preprawdata pointer 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
double getWeight(unsigned int hitno) const
returns weight of hit hitno
int getTGChitno() const
returns number of tgc hits in container
~MuonHoughHitContainer()=default
destructor
int getRPCetahitno() const
returns number of rpc eta hits in container
double getTheta(unsigned int hitno) const
returns theta of hit hitno
int getRPChitno() const
returns number of rpc hits in container
void removeHit(unsigned int hitno)
remove hit from container
double getHitz(unsigned int hitno) const
returns z position of hit hitno
int getCSChitno() const
returns number of csc hits in container
double getOrigWeight(unsigned int hitno) const
returns the orignal weight of hit hitno
bool empty() const
returns if hitcontainer is empty
double getRadius(unsigned int hitno) const
returns radius of hit hitno
MuonHoughHitContainer()=default
MuonHoughHitContainer does own its hits all added hits should be 'newed', except when m_ownhits==fals...
DetectorTechnology
enum to identify the muondetectortechnology
Ensure that the ATLAS eigen extensions are properly loaded.