|
BmnRoot
|
#include <BmnPixelHit.h>
Public Member Functions | |
| BmnPixelHit () | |
| Default constructor. | |
| BmnPixelHit (Int_t address, Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy, Double_t dz, Double_t dxy, Int_t refId, Double_t time=-1., Double_t timeError=-1.) | |
| Standard constructor. | |
| BmnPixelHit (Int_t address, const TVector3 &pos, const TVector3 &err, Double_t dxy, Int_t refId, Double_t time=-1., Double_t timeError=-1.) | |
| virtual | ~BmnPixelHit () |
| virtual std::string | ToString () const |
| Inherited from BmnBaseHit. | |
| Double_t | GetX () const |
| Double_t | GetY () const |
| Double_t | GetDx () const |
| Double_t | GetDy () const |
| Double_t | GetDxy () const |
| void | Position (TVector3 &pos) const |
| Copies hit position to pos. | |
| void | PositionError (TVector3 &dpos) const |
| Copies hit position error to pos. | |
| void | SetX (Double_t x) |
| void | SetY (Double_t y) |
| void | SetDx (Double_t dx) |
| void | SetDy (Double_t dy) |
| void | SetDxy (Double_t dxy) |
| void | SetPosition (const TVector3 &pos) |
| Sets position of the hit. | |
| void | SetPositionError (const TVector3 &dpos) |
Public Member Functions inherited from BmnBaseHit | |
| BmnBaseHit () | |
| Default constructor. | |
| BmnBaseHit (HitType _type, Double_t _z, Double_t _dz, Int_t _refId, Int_t _address, Double_t _time=-1., Double_t _timeError=-1.) | |
| Constructor with arguments. | |
| virtual | ~BmnBaseHit () |
| Destructor. | |
| HitType | GetType () const |
| Double_t | GetZ () const |
| Double_t | GetDz () const |
| Int_t | GetRefId () const |
| Int_t | GetAddress () const |
| BmnMatch * | GetMatch () const |
| Double_t | GetTime () const |
| Double_t | GetTimeError () const |
| void | SetZ (Double_t z) |
| void | SetDz (Double_t dz) |
| void | SetRefId (Int_t refId) |
| void | SetAddress (Int_t address) |
| void | SetMatch (BmnMatch *match) |
| void | SetTime (Double_t time) |
| void | SetTime (Double_t time, Double_t error) |
| void | SetTimeError (Double_t error) |
| virtual Int_t | GetPlaneId () const |
Additional Inherited Members | |
Protected Member Functions inherited from BmnBaseHit | |
| void | SetType (HitType type) |
| Sets hit type. | |
| BmnBaseHit (const BmnBaseHit &) | |
| BmnBaseHit & | operator= (const BmnBaseHit &) |
Definition at line 18 of file BmnPixelHit.h.
| BmnPixelHit::BmnPixelHit | ( | ) |
Default constructor.
Definition at line 13 of file BmnPixelHit.cxx.
| BmnPixelHit::BmnPixelHit | ( | Int_t | address, |
| Double_t | x, | ||
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | dz, | ||
| Double_t | dxy, | ||
| Int_t | refId, | ||
| Double_t | time = -1., |
||
| Double_t | timeError = -1. |
||
| ) |
Standard constructor.
| [in] | address | Detector unique identifier. |
| [in] | x | X position of the hit [cm]. |
| [in] | y | Y position of the hit [cm]. |
| [in] | z | Z position of the hit [cm]. |
| [in] | dx | X position error of the hit [cm]. |
| [in] | dy | Y position error of the hit [cm]. |
| [in] | dz | Z position error of the hit [cm]. |
| [in] | dxy | XY correlation of the hit. |
| [in] | refId | Some reference ID. |
| [in] | time | Hit time [ns]. |
| [in] | timeError | Error of hit time [ns]. |
Definition at line 33 of file BmnPixelHit.cxx.
| BmnPixelHit::BmnPixelHit | ( | Int_t | address, |
| const TVector3 & | pos, | ||
| const TVector3 & | err, | ||
| Double_t | dxy, | ||
| Int_t | refId, | ||
| Double_t | time = -1., |
||
| Double_t | timeError = -1. |
||
| ) |
\breif Standard constructor.
| address | Detector unique identifier. | |
| pos | Position of the hit as TVector3 [cm]. | |
| err | Position errors of the hit as TVector3 [cm]. | |
| dxy | XY correlation of the hit. | |
| refId | Some reference ID. | |
| [in] | time | Hit time [ns]. |
| [in] | timeError | Error of hit time [ns]. |
Definition at line 19 of file BmnPixelHit.cxx.
|
virtual |
brief Destructor.
Definition at line 54 of file BmnPixelHit.cxx.
|
inline |
Definition at line 87 of file BmnPixelHit.h.
Referenced by PositionError(), ToString(), and BmnSsdHit::ToString().
|
inline |
Definition at line 89 of file BmnPixelHit.h.
Referenced by ToString().
|
inline |
Definition at line 88 of file BmnPixelHit.h.
Referenced by PositionError(), ToString(), and BmnSsdHit::ToString().
|
inline |
Definition at line 85 of file BmnPixelHit.h.
Referenced by Position(), ToString(), and BmnSsdHit::ToString().
|
inline |
Definition at line 86 of file BmnPixelHit.h.
Referenced by Position(), ToString(), and BmnSsdHit::ToString().
| void BmnPixelHit::Position | ( | TVector3 & | pos | ) | const |
Copies hit position to pos.
| pos | Output hit position. |
Definition at line 68 of file BmnPixelHit.cxx.
References GetX(), GetY(), and BmnBaseHit::GetZ().
| void BmnPixelHit::PositionError | ( | TVector3 & | dpos | ) | const |
Copies hit position error to pos.
| pos | Output hit position error. |
Definition at line 73 of file BmnPixelHit.cxx.
References GetDx(), GetDy(), and BmnBaseHit::GetDz().
|
inline |
Definition at line 106 of file BmnPixelHit.h.
Referenced by SetPositionError().
|
inline |
Definition at line 108 of file BmnPixelHit.h.
|
inline |
Definition at line 107 of file BmnPixelHit.h.
Referenced by SetPositionError().
| void BmnPixelHit::SetPosition | ( | const TVector3 & | pos | ) |
Sets position of the hit.
| pos | new hit position. |
Definition at line 78 of file BmnPixelHit.cxx.
References SetX(), SetY(), and BmnBaseHit::SetZ().
| void BmnPixelHit::SetPositionError | ( | const TVector3 & | dpos | ) |
\breif Sets position error of the hit.
| dpos | new hit position error |
Definition at line 85 of file BmnPixelHit.cxx.
References SetDx(), SetDy(), and BmnBaseHit::SetDz().
|
inline |
Definition at line 104 of file BmnPixelHit.h.
Referenced by SetPosition().
|
inline |
Definition at line 105 of file BmnPixelHit.h.
Referenced by SetPosition().
|
virtual |
Inherited from BmnBaseHit.
Reimplemented from BmnBaseHit.
Reimplemented in BmnSsdHit.
Definition at line 58 of file BmnPixelHit.cxx.
References BmnBaseHit::GetAddress(), GetDx(), GetDxy(), GetDy(), BmnBaseHit::GetDz(), BmnBaseHit::GetRefId(), GetX(), GetY(), and BmnBaseHit::GetZ().