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

#include <FPGATrackSimTowerInputHeader.h>

Collaboration diagram for FPGATrackSimTowerInputHeader:

Public Member Functions

 FPGATrackSimTowerInputHeader ()
 FPGATrackSimTowerInputHeader (int id)
 FPGATrackSimTowerInputHeader (int id, double eta, double phi, double deta=0, double dphi=0)
virtual ~FPGATrackSimTowerInputHeader ()=default
void reset ()
int setID (int id)
double setEta (double e)
double setPhi (double p)
double setDeltaEta (double de)
double setDeltaPhi (double dp)
int id () const
double eta () const
double phi () const
double deltaEta () const
double deltaPhi () const
const std::vector< FPGATrackSimHit > & hits () const
int nHits () const
void addHit (const FPGATrackSimHit &s)
void clearHits ()
void reserveHits (size_t size)

Private Attributes

int m_id
double m_Eta
double m_Phi
double m_DeltaEta
double m_DeltaPhi
std::vector< FPGATrackSimHitm_Hits

Detailed Description

Definition at line 17 of file FPGATrackSimTowerInputHeader.h.

Constructor & Destructor Documentation

◆ FPGATrackSimTowerInputHeader() [1/3]

FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader ( )
inline

◆ FPGATrackSimTowerInputHeader() [2/3]

FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader ( int id)
inline

◆ FPGATrackSimTowerInputHeader() [3/3]

FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader ( int id,
double eta,
double phi,
double deta = 0,
double dphi = 0 )

◆ ~FPGATrackSimTowerInputHeader()

virtual FPGATrackSimTowerInputHeader::~FPGATrackSimTowerInputHeader ( )
virtualdefault

Member Function Documentation

◆ addHit()

void FPGATrackSimTowerInputHeader::addHit ( const FPGATrackSimHit & s)
inline

Definition at line 48 of file FPGATrackSimTowerInputHeader.h.

48{ m_Hits.push_back(s); }

◆ clearHits()

void FPGATrackSimTowerInputHeader::clearHits ( )
inline

Definition at line 49 of file FPGATrackSimTowerInputHeader.h.

49{ m_Hits.clear(); }

◆ deltaEta()

double FPGATrackSimTowerInputHeader::deltaEta ( ) const
inline

Definition at line 41 of file FPGATrackSimTowerInputHeader.h.

41{ return m_DeltaEta; }

◆ deltaPhi()

double FPGATrackSimTowerInputHeader::deltaPhi ( ) const
inline

Definition at line 42 of file FPGATrackSimTowerInputHeader.h.

42{ return m_DeltaPhi; }

◆ eta()

double FPGATrackSimTowerInputHeader::eta ( ) const
inline

Definition at line 38 of file FPGATrackSimTowerInputHeader.h.

38{ return m_Eta; }

◆ hits()

const std::vector< FPGATrackSimHit > & FPGATrackSimTowerInputHeader::hits ( ) const
inline

Definition at line 46 of file FPGATrackSimTowerInputHeader.h.

46{ return m_Hits; }

◆ id()

int FPGATrackSimTowerInputHeader::id ( ) const
inline

Definition at line 37 of file FPGATrackSimTowerInputHeader.h.

37{ return m_id; };

◆ nHits()

int FPGATrackSimTowerInputHeader::nHits ( ) const
inline

Definition at line 47 of file FPGATrackSimTowerInputHeader.h.

47{ return m_Hits.size(); }

◆ phi()

double FPGATrackSimTowerInputHeader::phi ( ) const
inline

Definition at line 39 of file FPGATrackSimTowerInputHeader.h.

39{ return m_Phi; }

◆ reserveHits()

void FPGATrackSimTowerInputHeader::reserveHits ( size_t size)
inline

Definition at line 50 of file FPGATrackSimTowerInputHeader.h.

50{ m_Hits.reserve(size); }

◆ reset()

void FPGATrackSimTowerInputHeader::reset ( )

Definition at line 17 of file FPGATrackSimTowerInputHeader.cxx.

18{
19 m_id = 0;
20 m_Eta = 0.0;
21 m_Phi = 0.0;
22 m_DeltaEta = 0.0;
23 m_DeltaPhi = 0.0;
24 m_Hits.clear();
25}

◆ setDeltaEta()

double FPGATrackSimTowerInputHeader::setDeltaEta ( double de)
inline

Definition at line 34 of file FPGATrackSimTowerInputHeader.h.

34{ return m_DeltaEta = de; }

◆ setDeltaPhi()

double FPGATrackSimTowerInputHeader::setDeltaPhi ( double dp)
inline

Definition at line 35 of file FPGATrackSimTowerInputHeader.h.

◆ setEta()

double FPGATrackSimTowerInputHeader::setEta ( double e)
inline

Definition at line 31 of file FPGATrackSimTowerInputHeader.h.

◆ setID()

int FPGATrackSimTowerInputHeader::setID ( int id)
inline

Definition at line 30 of file FPGATrackSimTowerInputHeader.h.

30{ return m_id = id; };

◆ setPhi()

double FPGATrackSimTowerInputHeader::setPhi ( double p)
inline

Member Data Documentation

◆ m_DeltaEta

double FPGATrackSimTowerInputHeader::m_DeltaEta
private

Definition at line 59 of file FPGATrackSimTowerInputHeader.h.

◆ m_DeltaPhi

double FPGATrackSimTowerInputHeader::m_DeltaPhi
private

Definition at line 60 of file FPGATrackSimTowerInputHeader.h.

◆ m_Eta

double FPGATrackSimTowerInputHeader::m_Eta
private

Definition at line 56 of file FPGATrackSimTowerInputHeader.h.

◆ m_Hits

std::vector<FPGATrackSimHit> FPGATrackSimTowerInputHeader::m_Hits
private

Definition at line 62 of file FPGATrackSimTowerInputHeader.h.

◆ m_id

int FPGATrackSimTowerInputHeader::m_id
private

Definition at line 54 of file FPGATrackSimTowerInputHeader.h.

◆ m_Phi

double FPGATrackSimTowerInputHeader::m_Phi
private

Definition at line 57 of file FPGATrackSimTowerInputHeader.h.


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