ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FPGATrackSimBinUtil::StoredHit Struct Reference

#include <FPGATrackSimBinUtil.h>

Collaboration diagram for FPGATrackSimBinUtil::StoredHit:

Public Member Functions

 StoredHit (const std::shared_ptr< const FPGATrackSimHit > &hit)
 
double rzrad () const
 

Public Attributes

std::shared_ptr< const FPGATrackSimHithitptr
 
double phiShift
 
double etaShift
 
unsigned layer
 

Static Public Attributes

static const unsigned invalidLayer = std::numeric_limits<unsigned>::max()
 

Detailed Description

Definition at line 101 of file FPGATrackSimBinUtil.h.

Constructor & Destructor Documentation

◆ StoredHit()

FPGATrackSimBinUtil::StoredHit::StoredHit ( const std::shared_ptr< const FPGATrackSimHit > &  hit)
inline

Definition at line 102 of file FPGATrackSimBinUtil.h.

102 : hitptr(hit), phiShift(0), etaShift(0), layer(-1) {}

Member Function Documentation

◆ rzrad()

double FPGATrackSimBinUtil::StoredHit::rzrad ( ) const

Definition at line 53 of file FPGATrackSimBinUtil.cxx.

53  {
54  return sqrt(hitptr->getR()*hitptr->getR()+hitptr->getZ()*hitptr->getZ());
55 }

Member Data Documentation

◆ etaShift

double FPGATrackSimBinUtil::StoredHit::etaShift

Definition at line 105 of file FPGATrackSimBinUtil.h.

◆ hitptr

std::shared_ptr<const FPGATrackSimHit> FPGATrackSimBinUtil::StoredHit::hitptr

Definition at line 103 of file FPGATrackSimBinUtil.h.

◆ invalidLayer

const unsigned FPGATrackSimBinUtil::StoredHit::invalidLayer = std::numeric_limits<unsigned>::max()
static

Definition at line 108 of file FPGATrackSimBinUtil.h.

◆ layer

unsigned FPGATrackSimBinUtil::StoredHit::layer

Definition at line 106 of file FPGATrackSimBinUtil.h.

◆ phiShift

double FPGATrackSimBinUtil::StoredHit::phiShift

Definition at line 104 of file FPGATrackSimBinUtil.h.


The documentation for this struct was generated from the following files:
FPGATrackSimBinUtil::StoredHit::hitptr
std::shared_ptr< const FPGATrackSimHit > hitptr
Definition: FPGATrackSimBinUtil.h:103
FPGATrackSimBinUtil::StoredHit::layer
unsigned layer
Definition: FPGATrackSimBinUtil.h:106
FPGATrackSimBinUtil::StoredHit::etaShift
double etaShift
Definition: FPGATrackSimBinUtil.h:105
FPGATrackSimBinUtil::StoredHit::phiShift
double phiShift
Definition: FPGATrackSimBinUtil.h:104