ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
mdt_hit_info Class Reference

#include <MDT_SortedHitVector.h>

Collaboration diagram for mdt_hit_info:

Public Member Functions

 mdt_hit_info (Identifier i, double t, double a, double r, const TimedHitPtr< MDTSimHit > *aHit)
 
 mdt_hit_info (Identifier i, double t, double a)
 
 mdt_hit_info ()
 
bool operator< (const mdt_hit_info &aInfo) const
 

Public Attributes

Identifier id
 
double time {}
 
double adc {}
 
double radius {}
 
const TimedHitPtr< MDTSimHit > * simhit {}
 

Detailed Description

Definition at line 9 of file MDT_SortedHitVector.h.

Constructor & Destructor Documentation

◆ mdt_hit_info() [1/3]

mdt_hit_info::mdt_hit_info ( Identifier  i,
double  t,
double  a,
double  r,
const TimedHitPtr< MDTSimHit > *  aHit 
)
inline

Definition at line 11 of file MDT_SortedHitVector.h.

11  :
12  id(i), time(t), adc(a), radius(r), simhit(aHit) {}

◆ mdt_hit_info() [2/3]

mdt_hit_info::mdt_hit_info ( Identifier  i,
double  t,
double  a 
)
inline

Definition at line 13 of file MDT_SortedHitVector.h.

13 : id(i), time(t), adc(a) {}

◆ mdt_hit_info() [3/3]

mdt_hit_info::mdt_hit_info ( )
inline

Definition at line 14 of file MDT_SortedHitVector.h.

14 : time(0.), adc(0.) {}

Member Function Documentation

◆ operator<()

bool mdt_hit_info::operator< ( const mdt_hit_info aInfo) const
inline

Definition at line 20 of file MDT_SortedHitVector.h.

20  {
21  if (id < aInfo.id)
22  return true;
23  else if (id == aInfo.id)
24  return time < aInfo.time;
25  return false;
26  }

Member Data Documentation

◆ adc

double mdt_hit_info::adc {}

Definition at line 17 of file MDT_SortedHitVector.h.

◆ id

Identifier mdt_hit_info::id

Definition at line 15 of file MDT_SortedHitVector.h.

◆ radius

double mdt_hit_info::radius {}

Definition at line 18 of file MDT_SortedHitVector.h.

◆ simhit

const TimedHitPtr<MDTSimHit>* mdt_hit_info::simhit {}

Definition at line 19 of file MDT_SortedHitVector.h.

◆ time

double mdt_hit_info::time {}

Definition at line 16 of file MDT_SortedHitVector.h.


The documentation for this class was generated from the following file:
beamspotman.r
def r
Definition: beamspotman.py:676
mdt_hit_info::simhit
const TimedHitPtr< MDTSimHit > * simhit
Definition: MDT_SortedHitVector.h:19
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
lumiFormat.i
int i
Definition: lumiFormat.py:85
mdt_hit_info::time
double time
Definition: MDT_SortedHitVector.h:16
mdt_hit_info::id
Identifier id
Definition: MDT_SortedHitVector.h:15
a
TList * a
Definition: liststreamerinfos.cxx:10
mdt_hit_info::adc
double adc
Definition: MDT_SortedHitVector.h:17
mdt_hit_info::radius
double radius
Definition: MDT_SortedHitVector.h:18