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

#include <FPGATrackSimTowerInputHeader.h>

Inheritance diagram for FPGATrackSimTowerInputHeader:
Collaboration diagram for FPGATrackSimTowerInputHeader:

Public Member Functions

 FPGATrackSimTowerInputHeader ()
 
 FPGATrackSimTowerInputHeader (int id)
 
 FPGATrackSimTowerInputHeader (int id, double eta, double phi, double deta=0, double dphi=0)
 
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 (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

Definition at line 21 of file FPGATrackSimTowerInputHeader.h.

21 { reset(); }

◆ FPGATrackSimTowerInputHeader() [2/3]

FPGATrackSimTowerInputHeader::FPGATrackSimTowerInputHeader ( int  id)
inline

Definition at line 22 of file FPGATrackSimTowerInputHeader.h.

22 { reset(); m_id = id; }

◆ FPGATrackSimTowerInputHeader() [3/3]

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

Member Function Documentation

◆ addHit()

void FPGATrackSimTowerInputHeader::addHit ( FPGATrackSimHit  s)
inline

Definition at line 46 of file FPGATrackSimTowerInputHeader.h.

46 { m_Hits.push_back(s); }

◆ clearHits()

void FPGATrackSimTowerInputHeader::clearHits ( )
inline

Definition at line 47 of file FPGATrackSimTowerInputHeader.h.

47 { m_Hits.clear(); }

◆ deltaEta()

double FPGATrackSimTowerInputHeader::deltaEta ( ) const
inline

Definition at line 39 of file FPGATrackSimTowerInputHeader.h.

39 { return m_DeltaEta; }

◆ deltaPhi()

double FPGATrackSimTowerInputHeader::deltaPhi ( ) const
inline

Definition at line 40 of file FPGATrackSimTowerInputHeader.h.

40 { return m_DeltaPhi; }

◆ eta()

double FPGATrackSimTowerInputHeader::eta ( ) const
inline

Definition at line 36 of file FPGATrackSimTowerInputHeader.h.

36 { return m_Eta; }

◆ hits()

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

Definition at line 44 of file FPGATrackSimTowerInputHeader.h.

44 { return m_Hits; }

◆ id()

int FPGATrackSimTowerInputHeader::id ( ) const
inline

Definition at line 35 of file FPGATrackSimTowerInputHeader.h.

35 { return m_id; };

◆ nHits()

int FPGATrackSimTowerInputHeader::nHits ( ) const
inline

Definition at line 45 of file FPGATrackSimTowerInputHeader.h.

45 { return m_Hits.size(); }

◆ phi()

double FPGATrackSimTowerInputHeader::phi ( ) const
inline

Definition at line 37 of file FPGATrackSimTowerInputHeader.h.

37 { return m_Phi; }

◆ reserveHits()

void FPGATrackSimTowerInputHeader::reserveHits ( size_t  size)
inline

Definition at line 48 of file FPGATrackSimTowerInputHeader.h.

48 { m_Hits.reserve(size); }

◆ reset()

void FPGATrackSimTowerInputHeader::reset ( )

Definition at line 18 of file FPGATrackSimTowerInputHeader.cxx.

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

◆ setDeltaEta()

double FPGATrackSimTowerInputHeader::setDeltaEta ( double  de)
inline

Definition at line 32 of file FPGATrackSimTowerInputHeader.h.

32 { return m_DeltaEta = de; }

◆ setDeltaPhi()

double FPGATrackSimTowerInputHeader::setDeltaPhi ( double  dp)
inline

Definition at line 33 of file FPGATrackSimTowerInputHeader.h.

33 { return m_DeltaPhi = dp; }

◆ setEta()

double FPGATrackSimTowerInputHeader::setEta ( double  e)
inline

Definition at line 29 of file FPGATrackSimTowerInputHeader.h.

29 { return m_Eta = e; }

◆ setID()

int FPGATrackSimTowerInputHeader::setID ( int  id)
inline

Definition at line 28 of file FPGATrackSimTowerInputHeader.h.

28 { return m_id = id; };

◆ setPhi()

double FPGATrackSimTowerInputHeader::setPhi ( double  p)
inline

Definition at line 30 of file FPGATrackSimTowerInputHeader.h.

30 { return m_Phi = p; }

Member Data Documentation

◆ m_DeltaEta

double FPGATrackSimTowerInputHeader::m_DeltaEta
private

Definition at line 57 of file FPGATrackSimTowerInputHeader.h.

◆ m_DeltaPhi

double FPGATrackSimTowerInputHeader::m_DeltaPhi
private

Definition at line 58 of file FPGATrackSimTowerInputHeader.h.

◆ m_Eta

double FPGATrackSimTowerInputHeader::m_Eta
private

Definition at line 54 of file FPGATrackSimTowerInputHeader.h.

◆ m_Hits

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

Definition at line 60 of file FPGATrackSimTowerInputHeader.h.

◆ m_id

int FPGATrackSimTowerInputHeader::m_id
private

Definition at line 52 of file FPGATrackSimTowerInputHeader.h.

◆ m_Phi

double FPGATrackSimTowerInputHeader::m_Phi
private

Definition at line 55 of file FPGATrackSimTowerInputHeader.h.


The documentation for this class was generated from the following files:
TileDCSDataPlotter.dp
dp
Definition: TileDCSDataPlotter.py:840
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
FPGATrackSimTowerInputHeader::m_id
int m_id
Definition: FPGATrackSimTowerInputHeader.h:52
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
FPGATrackSimTowerInputHeader::m_Hits
std::vector< FPGATrackSimHit > m_Hits
Definition: FPGATrackSimTowerInputHeader.h:60
FPGATrackSimTowerInputHeader::m_Eta
double m_Eta
Definition: FPGATrackSimTowerInputHeader.h:54
FPGATrackSimTowerInputHeader::m_DeltaEta
double m_DeltaEta
Definition: FPGATrackSimTowerInputHeader.h:57
FPGATrackSimTowerInputHeader::reset
void reset()
Definition: FPGATrackSimTowerInputHeader.cxx:18
FPGATrackSimTowerInputHeader::m_DeltaPhi
double m_DeltaPhi
Definition: FPGATrackSimTowerInputHeader.h:58
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
FPGATrackSimTowerInputHeader::m_Phi
double m_Phi
Definition: FPGATrackSimTowerInputHeader.h:55
FPGATrackSimTowerInputHeader::id
int id() const
Definition: FPGATrackSimTowerInputHeader.h:35