|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef MUONCALIBEVENT_RPCCALIBHIT_BASE_H
15 #define MUONCALIBEVENT_RPCCALIBHIT_BASE_H
40 class RpcCalibHitBase {
72 std::ostream&
dump(std::ostream&
stream)
const;
90 #endif // MUONCALIBEVENT_RPCCALIBHITBASE_H
double distanceToRO() const
retrieve the distance of the hit to readout
double stripWidth() const
retrieve the strip width
void setNStrips(int nStrips)
sets the number of strips used to construct the hit
void setTime(double time)
sets the time
const Amg::Vector3D & globalPosition() const
retrieve the position in global coordinates
MuonFixedId m_id
Indentifier of the RpcCalibHit (is not of the type Identifier but MuonFixedId )
double m_stripLength
strip length
int nStrips() const
retrieve the number of strips used to construct the hit
void setLocalPos(const Amg::Vector3D &localPos)
sets the position in local (station) coordinates
std::ostream & operator<<(std::ostream &stream, const MuonCalib::RpcCalibHitBase &hit)
void setError(double error)
sets the error
double error() const
retrieve the error
Amg::Vector3D m_globalPosition
position expressed in global coordinates
int m_nStrips
number of strips
POOL::TEvent event(POOL::TEvent::kClassAccess)
void setGlobalPos(const Amg::Vector3D &globalPos)
sets the position in global coordinates
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
const MuonFixedId & identify() const
retrieve the MuonFixedId of the hit
const Amg::Vector3D & localPosition() const
retrieve the position in local (station) coordinates
void setStripLength(double stripLength)
sets the strip length
void setIdentifier(const MuonFixedId &id)
sets the MuonFixedId of the hit
Eigen::Matrix< double, 3, 1 > Vector3D
double m_stripWidth
strip width
RpcCalibHitBase()=default
default constructor
RpcCalibHitBase & operator=(const RpcCalibHitBase &rhs)=default
assignment operator
~RpcCalibHitBase()=default
destructor
double time() const
retrieve the time
Amg::Vector3D m_localPosition
position expressed in local (station) coordinates
std::ostream & dump(std::ostream &stream) const
dump to be used for operator<<() to dump the RpcCalibHitBase
double stripLength() const
retrieve the strip length
void setStripWidth(double stripWidth)
sets the strip width
double m_distanceToRO
distance from hit to readout of the strip
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
void setDistanceToRO(const double distance)
sets the distance of the hit to readout