ATLAS Offline Software
Loading...
Searching...
No Matches
micromegas_hit_info Class Reference

#include <MM_SortedHitVector.h>

Collaboration diagram for micromegas_hit_info:

Public Member Functions

 micromegas_hit_info (Identifier i, double t, int ch, double strP, const TimedHitPtr< MMSimHit > *aHit)
 micromegas_hit_info (Identifier i, double t, int ch)
 micromegas_hit_info ()=default
bool operator< (const micromegas_hit_info &aInfo) const

Public Attributes

Identifier id {}
double time {0.}
int charge {0}
double stripPos {0.}
const TimedHitPtr< MMSimHit > * simhit {nullptr}

Detailed Description

Definition at line 9 of file MM_SortedHitVector.h.

Constructor & Destructor Documentation

◆ micromegas_hit_info() [1/3]

micromegas_hit_info::micromegas_hit_info ( Identifier i,
double t,
int ch,
double strP,
const TimedHitPtr< MMSimHit > * aHit )
inline

Definition at line 11 of file MM_SortedHitVector.h.

11 :
12 id(i), time(t), charge(ch), stripPos(strP), simhit(aHit) {}
const TimedHitPtr< MMSimHit > * simhit

◆ micromegas_hit_info() [2/3]

micromegas_hit_info::micromegas_hit_info ( Identifier i,
double t,
int ch )
inline

Definition at line 13 of file MM_SortedHitVector.h.

13: id(i), time(t), charge(ch) {}

◆ micromegas_hit_info() [3/3]

micromegas_hit_info::micromegas_hit_info ( )
default

Member Function Documentation

◆ operator<()

bool micromegas_hit_info::operator< ( const micromegas_hit_info & aInfo) const
inline

Definition at line 20 of file MM_SortedHitVector.h.

20 {
21 if (id != aInfo.id) {
22 return id < aInfo.id;
23 }
24 return time < aInfo.time;
25 }

Member Data Documentation

◆ charge

int micromegas_hit_info::charge {0}

Definition at line 17 of file MM_SortedHitVector.h.

17{0};

◆ id

Identifier micromegas_hit_info::id {}

Definition at line 15 of file MM_SortedHitVector.h.

15{};

◆ simhit

const TimedHitPtr<MMSimHit>* micromegas_hit_info::simhit {nullptr}

Definition at line 19 of file MM_SortedHitVector.h.

19{nullptr};

◆ stripPos

double micromegas_hit_info::stripPos {0.}

Definition at line 18 of file MM_SortedHitVector.h.

18{0.};

◆ time

double micromegas_hit_info::time {0.}

Definition at line 16 of file MM_SortedHitVector.h.

16{0.};

The documentation for this class was generated from the following file: