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 8 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 10 of file MDT_SortedHitVector.h.

10  :
11  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 12 of file MDT_SortedHitVector.h.

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

◆ mdt_hit_info() [3/3]

mdt_hit_info::mdt_hit_info ( )
inline

Definition at line 13 of file MDT_SortedHitVector.h.

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

Member Function Documentation

◆ operator<()

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

Definition at line 19 of file MDT_SortedHitVector.h.

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

Member Data Documentation

◆ adc

double mdt_hit_info::adc

Definition at line 16 of file MDT_SortedHitVector.h.

◆ id

Identifier mdt_hit_info::id

Definition at line 14 of file MDT_SortedHitVector.h.

◆ radius

double mdt_hit_info::radius

Definition at line 17 of file MDT_SortedHitVector.h.

◆ simhit

const TimedHitPtr<MDTSimHit>* mdt_hit_info::simhit

Definition at line 18 of file MDT_SortedHitVector.h.

◆ time

double mdt_hit_info::time

Definition at line 15 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:18
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:15
mdt_hit_info::id
Identifier id
Definition: MDT_SortedHitVector.h:14
a
TList * a
Definition: liststreamerinfos.cxx:10
mdt_hit_info::adc
double adc
Definition: MDT_SortedHitVector.h:16
mdt_hit_info::radius
double radius
Definition: MDT_SortedHitVector.h:17