![]() |
ATLAS Offline Software
|
#include <CscCalibHitBase.h>
Public Member Functions | |
CscCalibHitBase ()=default | |
default constructor More... | |
CscCalibHitBase & | operator= (const CscCalibHitBase &rhs)=default |
assignment operator More... | |
CscCalibHitBase (const CscCalibHitBase &event)=default | |
Copy constructor. More... | |
~CscCalibHitBase ()=default | |
destructor More... | |
CscCalibHitBase (int nStrips, double stripWidth, int charge, double error, const Amg::Vector3D &globalPos, const Amg::Vector3D &localPos) | |
constructor setting almost all attributes of the hit More... | |
void | setIdentifier (const MuonFixedId &id) |
sets the MuonFixedId More... | |
void | setNStrips (int nStrips) |
sets the number of strips used to cluster More... | |
void | setStripWidth (double stripWidth) |
sets the strip width More... | |
void | setCharge (int charge) |
sets the charge More... | |
void | setError (double error) |
sets the error on the hit More... | |
void | setGlobalPos (const Amg::Vector3D &globalPos) |
sets the position of the hits in global coordinates More... | |
void | setLocalPos (const Amg::Vector3D &localPos) |
sets the position of the hits in local (station) coordinates More... | |
const MuonFixedId & | identify () const |
retrieve the MuonFixedId More... | |
int | nStrips () const |
retrieve the number of strips used to cluster More... | |
double | stripWidth () const |
retrieve the strip width More... | |
int | charge () const |
retrieve the charge More... | |
double | error () const |
retrieve the error on the hit More... | |
const Amg::Vector3D & | globalPosition () const |
retrieve the position of the hits in global coordinates More... | |
const Amg::Vector3D & | localPosition () const |
retrieve the position of the hits in local (station) coordinates More... | |
std::ostream & | dump (std::ostream &stream) const |
dump method used to implement operator<<() of the CscCalibHitBase More... | |
Private Attributes | |
MuonFixedId | m_id {0} |
identifier of the hit (as a MuonFixedId, not Identifier) More... | |
int | m_nStrips {0} |
number of strips used to cluster More... | |
double | m_stripWidth {0.} |
width of the strip More... | |
int | m_charge {0} |
charge More... | |
double | m_error {0.} |
error on the hit More... | |
Amg::Vector3D | m_globalPosition {0., 0., 0.} |
position of the hit expressed in global coordinates More... | |
Amg::Vector3D | m_localPosition {0., 0., 0.} |
position of the hit expressed in local (station) coordinates More... | |
Athena-independent part of the CscCalibHit. A CscCalibHitBase contains the basic information of a CSC hit:
Definition at line 38 of file CscCalibHitBase.h.
|
default |
default constructor
|
default |
Copy constructor.
|
default |
destructor
MuonCalib::CscCalibHitBase::CscCalibHitBase | ( | int | nStrips, |
double | stripWidth, | ||
int | charge, | ||
double | error, | ||
const Amg::Vector3D & | globalPos, | ||
const Amg::Vector3D & | localPos | ||
) |
constructor setting almost all attributes of the hit
Definition at line 10 of file CscCalibHitBase.cxx.
int MuonCalib::CscCalibHitBase::charge | ( | ) | const |
std::ostream & MuonCalib::CscCalibHitBase::dump | ( | std::ostream & | stream | ) | const |
dump method used to implement operator<<() of the CscCalibHitBase
Definition at line 19 of file CscCalibHitBase.cxx.
double MuonCalib::CscCalibHitBase::error | ( | ) | const |
const Amg::Vector3D & MuonCalib::CscCalibHitBase::globalPosition | ( | ) | const |
retrieve the position of the hits in global coordinates
Definition at line 39 of file CscCalibHitBase.cxx.
const MuonFixedId & MuonCalib::CscCalibHitBase::identify | ( | ) | const |
const Amg::Vector3D & MuonCalib::CscCalibHitBase::localPosition | ( | ) | const |
retrieve the position of the hits in local (station) coordinates
Definition at line 40 of file CscCalibHitBase.cxx.
int MuonCalib::CscCalibHitBase::nStrips | ( | ) | const |
|
default |
assignment operator
void MuonCalib::CscCalibHitBase::setCharge | ( | int | charge | ) |
void MuonCalib::CscCalibHitBase::setError | ( | double | error | ) |
sets the error on the hit
Definition at line 31 of file CscCalibHitBase.cxx.
void MuonCalib::CscCalibHitBase::setGlobalPos | ( | const Amg::Vector3D & | globalPos | ) |
sets the position of the hits in global coordinates
Definition at line 32 of file CscCalibHitBase.cxx.
void MuonCalib::CscCalibHitBase::setIdentifier | ( | const MuonFixedId & | id | ) |
void MuonCalib::CscCalibHitBase::setLocalPos | ( | const Amg::Vector3D & | localPos | ) |
sets the position of the hits in local (station) coordinates
Definition at line 33 of file CscCalibHitBase.cxx.
void MuonCalib::CscCalibHitBase::setNStrips | ( | int | nStrips | ) |
sets the number of strips used to cluster
Definition at line 28 of file CscCalibHitBase.cxx.
void MuonCalib::CscCalibHitBase::setStripWidth | ( | double | stripWidth | ) |
double MuonCalib::CscCalibHitBase::stripWidth | ( | ) | const |
|
private |
charge
Definition at line 69 of file CscCalibHitBase.h.
|
private |
error on the hit
Definition at line 70 of file CscCalibHitBase.h.
|
private |
position of the hit expressed in global coordinates
Definition at line 71 of file CscCalibHitBase.h.
|
private |
identifier of the hit (as a MuonFixedId, not Identifier)
Definition at line 66 of file CscCalibHitBase.h.
|
private |
position of the hit expressed in local (station) coordinates
Definition at line 72 of file CscCalibHitBase.h.
|
private |
number of strips used to cluster
Definition at line 67 of file CscCalibHitBase.h.
|
private |
width of the strip
Definition at line 68 of file CscCalibHitBase.h.