NAIA
1.0.2
|
Container class for base unbiased external hits info. More...
#include <Containers/UnbExtHit.h>
Classes | |
struct | HitData |
needed to get basic info without computing twice More... | |
Public Types | |
enum | ExtHit : char { ExtHit::L1 = 0, ExtHit::L9 = 1 } |
Handy enum to distinguish L1 and L9. More... | |
Public Member Functions | |
void | Clear () |
Clear container content. More... | |
void | Dump () const |
Dump on screen container content. More... | |
bool | IsHitPresent (ExtHit hit) const |
Checks if there is a hit on required layer. More... | |
int | ChargeStatus (ExtHit hit) |
Get the charge status for required hit. More... | |
float | HitPosX (ExtHit hit) |
Hit position, X side. More... | |
float | HitPosY (ExtHit hit) |
Hit position, Y side. More... | |
float | Charge (ExtHit hit, TrTrack::ChargeRecoType chType) |
Hit charge. More... | |
Public Attributes | |
const TofBaseData * | tofBase = nullptr |
const TrdKBaseData * | trdBase = nullptr |
needed to get basic info without computing twice More... | |
Private Attributes | |
bool | _isMC = false |
float | _beta = 1.0f |
std::map< ExtHit, HitData > | m_hits |
Container class for base unbiased external hits info.
Definition at line 36 of file UnbExtHit.h.
|
strong |
|
inline |
Hit charge.
hit | hit type: L1 or L9 |
chType | charge reconstruction type. See TrTrack::ChargeRecoType for available types. |
Definition at line 101 of file UnbExtHit.h.
References m_hits.
|
inline |
Get the charge status for required hit.
hit | hit type: L1 or L9 |
Definition at line 76 of file UnbExtHit.h.
References m_hits.
void NAIA::UnbExtHitBaseData::Clear | ( | ) |
Clear container content.
Definition at line 9 of file UnbExtHit.cpp.
Referenced by NAIA::Event::Clear().
void NAIA::UnbExtHitBaseData::Dump | ( | ) | const |
Dump on screen container content.
Definition at line 15 of file UnbExtHit.cpp.
References NAIA::UnbExtHitBaseData::HitData::Charge, NAIA::UnbExtHitBaseData::HitData::ChargeStatus, NAIA::UnbExtHitBaseData::HitData::HitPosX, NAIA::UnbExtHitBaseData::HitData::HitPosY, L1, m_hits, and NAIA::TrTrack::recoTypes.
|
inline |
Hit position, X side.
hit | hit type: L1 or L9 |
Definition at line 84 of file UnbExtHit.h.
References m_hits.
|
inline |
Hit position, Y side.
hit | hit type: L1 or L9 |
Definition at line 92 of file UnbExtHit.h.
References m_hits.
|
inline |
Checks if there is a hit on required layer.
hit | hit type: L1 or L9 |
Definition at line 68 of file UnbExtHit.h.
References NAIA::end(), and m_hits.
|
private |
Definition at line 117 of file UnbExtHit.h.
Referenced by Clear().
|
private |
Definition at line 116 of file UnbExtHit.h.
Definition at line 119 of file UnbExtHit.h.
Referenced by Charge(), ChargeStatus(), Clear(), Dump(), HitPosX(), HitPosY(), and IsHitPresent().
const TofBaseData* NAIA::UnbExtHitBaseData::tofBase = nullptr |
Definition at line 103 of file UnbExtHit.h.
Referenced by NAIA::Event::LinkContainers().
const TrdKBaseData* NAIA::UnbExtHitBaseData::trdBase = nullptr |
needed to get basic info without computing twice
Definition at line 104 of file UnbExtHit.h.
Referenced by NAIA::Event::LinkContainers().