#include <BmnBaseHit.h>
Definition at line 35 of file BmnBaseHit.h.
◆ BmnBaseHit() [1/3]
| BmnBaseHit::BmnBaseHit |
( |
| ) |
|
◆ BmnBaseHit() [2/3]
| BmnBaseHit::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.
- Parameters
-
| [in] | _type | Hit type (see enum HitType). |
| [in] | _z | z position of the hit [cm]. |
| [in] | _dz | Error of z position of the hit [cm]. |
| [in] | _refId | Reference id (usually to cluster, digi or MC point). |
| [in] | _address | Unique detector identifier. |
| [in] | _time | Hit time [ns]. |
| [in] | _timeError | Error of hit time [ns]. |
Definition at line 15 of file BmnBaseHit.cxx.
◆ ~BmnBaseHit()
| BmnBaseHit::~BmnBaseHit |
( |
| ) |
|
|
virtual |
◆ BmnBaseHit() [3/3]
◆ GetAddress()
| Int_t BmnBaseHit::GetAddress |
( |
| ) |
const |
|
inline |
◆ GetDz()
| Double_t BmnBaseHit::GetDz |
( |
| ) |
const |
|
inline |
◆ GetMatch()
| BmnMatch * BmnBaseHit::GetMatch |
( |
| ) |
const |
|
inline |
◆ GetPlaneId()
| virtual Int_t BmnBaseHit::GetPlaneId |
( |
| ) |
const |
|
inlinevirtual |
Virtual function. Must be implemented in derived class. Should return plane identifier of the hit. Usually this is station or layer number of the detector. Can be calculated using unique detector identifier or can use additional class member from the derived class to store the plane identifier.
Definition at line 90 of file BmnBaseHit.h.
◆ GetRefId()
| Int_t BmnBaseHit::GetRefId |
( |
| ) |
const |
|
inline |
◆ GetTime()
| Double_t BmnBaseHit::GetTime |
( |
| ) |
const |
|
inline |
◆ GetTimeError()
| Double_t BmnBaseHit::GetTimeError |
( |
| ) |
const |
|
inline |
◆ GetType()
| HitType BmnBaseHit::GetType |
( |
| ) |
const |
|
inline |
◆ GetZ()
| Double_t BmnBaseHit::GetZ |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ SetAddress()
| void BmnBaseHit::SetAddress |
( |
Int_t |
address | ) |
|
|
inline |
◆ SetDz()
| void BmnBaseHit::SetDz |
( |
Double_t |
dz | ) |
|
|
inline |
◆ SetMatch()
| void BmnBaseHit::SetMatch |
( |
BmnMatch * |
match | ) |
|
◆ SetRefId()
| void BmnBaseHit::SetRefId |
( |
Int_t |
refId | ) |
|
|
inline |
◆ SetTime() [1/2]
| void BmnBaseHit::SetTime |
( |
Double_t |
time | ) |
|
|
inline |
◆ SetTime() [2/2]
| void BmnBaseHit::SetTime |
( |
Double_t |
time, |
|
|
Double_t |
error |
|
) |
| |
|
inline |
◆ SetTimeError()
| void BmnBaseHit::SetTimeError |
( |
Double_t |
error | ) |
|
|
inline |
◆ SetType()
| void BmnBaseHit::SetType |
( |
HitType |
type | ) |
|
|
inlineprotected |
◆ SetZ()
| void BmnBaseHit::SetZ |
( |
Double_t |
z | ) |
|
|
inline |
◆ ToString()
| virtual std::string BmnBaseHit::ToString |
( |
| ) |
const |
|
inlinevirtual |
Virtual function. Must be implemented in derived class. Has to return string representation of the object.
Reimplemented in BmnPixelHit, and BmnSsdHit.
Definition at line 96 of file BmnBaseHit.h.
The documentation for this class was generated from the following files: