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

#include <FPGATrackSimLogicalEventInputHeader.h>

Inheritance diagram for FPGATrackSimLogicalEventInputHeader:
Collaboration diagram for FPGATrackSimLogicalEventInputHeader:

Public Member Functions

 FPGATrackSimLogicalEventInputHeader ()=default
 
virtual ~FPGATrackSimLogicalEventInputHeader ()=default
 
void reset ()
 
void newEvent (FPGATrackSimEventInfo &event)
 
FPGATrackSimEventInfo constevent () const
 
FPGATrackSimOptionalEventInfo constoptional () const
 
void setOptional (const FPGATrackSimOptionalEventInfo &o)
 
const std::vector< FPGATrackSimTowerInputHeader > & towers () const
 
int nTowers () const
 
void addTower (FPGATrackSimTowerInputHeader s)
 
FPGATrackSimTowerInputHeadergetTower (size_t index)
 
void reserveTowers (size_t size)
 
void addTowers (const std::vector< FPGATrackSimTowerInputHeader > &towers)
 

Private Attributes

FPGATrackSimEventInfo m_event
 
FPGATrackSimOptionalEventInfo m_optional
 
std::vector< FPGATrackSimTowerInputHeaderm_towers
 

Detailed Description

Definition at line 20 of file FPGATrackSimLogicalEventInputHeader.h.

Constructor & Destructor Documentation

◆ FPGATrackSimLogicalEventInputHeader()

FPGATrackSimLogicalEventInputHeader::FPGATrackSimLogicalEventInputHeader ( )
default

◆ ~FPGATrackSimLogicalEventInputHeader()

virtual FPGATrackSimLogicalEventInputHeader::~FPGATrackSimLogicalEventInputHeader ( )
virtualdefault

Member Function Documentation

◆ addTower()

void FPGATrackSimLogicalEventInputHeader::addTower ( FPGATrackSimTowerInputHeader  s)
inline

Definition at line 38 of file FPGATrackSimLogicalEventInputHeader.h.

38 { m_towers.push_back(s); }

◆ addTowers()

void FPGATrackSimLogicalEventInputHeader::addTowers ( const std::vector< FPGATrackSimTowerInputHeader > &  towers)
inline

Definition at line 41 of file FPGATrackSimLogicalEventInputHeader.h.

41 { m_towers = towers; }

◆ event()

FPGATrackSimEventInfo const& FPGATrackSimLogicalEventInputHeader::event ( ) const
inline

Definition at line 30 of file FPGATrackSimLogicalEventInputHeader.h.

30 { return m_event; }

◆ getTower()

FPGATrackSimTowerInputHeader* FPGATrackSimLogicalEventInputHeader::getTower ( size_t  index)
inline

Definition at line 39 of file FPGATrackSimLogicalEventInputHeader.h.

39 { return &m_towers[index]; } //get the pointer

◆ newEvent()

void FPGATrackSimLogicalEventInputHeader::newEvent ( FPGATrackSimEventInfo event)
inline

Definition at line 29 of file FPGATrackSimLogicalEventInputHeader.h.

29 { reset(); m_event = event; }

◆ nTowers()

int FPGATrackSimLogicalEventInputHeader::nTowers ( ) const
inline

Definition at line 37 of file FPGATrackSimLogicalEventInputHeader.h.

37 { return m_towers.size(); }

◆ optional()

FPGATrackSimOptionalEventInfo const& FPGATrackSimLogicalEventInputHeader::optional ( ) const
inline

Definition at line 32 of file FPGATrackSimLogicalEventInputHeader.h.

32 { return m_optional; }

◆ reserveTowers()

void FPGATrackSimLogicalEventInputHeader::reserveTowers ( size_t  size)
inline

Definition at line 40 of file FPGATrackSimLogicalEventInputHeader.h.

40 { m_towers.reserve(size); }

◆ reset()

void FPGATrackSimLogicalEventInputHeader::reset ( )

◆ setOptional()

void FPGATrackSimLogicalEventInputHeader::setOptional ( const FPGATrackSimOptionalEventInfo o)
inline

Definition at line 33 of file FPGATrackSimLogicalEventInputHeader.h.

33 { m_optional = o; }

◆ towers()

const std::vector<FPGATrackSimTowerInputHeader>& FPGATrackSimLogicalEventInputHeader::towers ( ) const
inline

Definition at line 36 of file FPGATrackSimLogicalEventInputHeader.h.

36 { return m_towers; }

Member Data Documentation

◆ m_event

FPGATrackSimEventInfo FPGATrackSimLogicalEventInputHeader::m_event
private

Definition at line 44 of file FPGATrackSimLogicalEventInputHeader.h.

◆ m_optional

FPGATrackSimOptionalEventInfo FPGATrackSimLogicalEventInputHeader::m_optional
private

Definition at line 45 of file FPGATrackSimLogicalEventInputHeader.h.

◆ m_towers

std::vector<FPGATrackSimTowerInputHeader> FPGATrackSimLogicalEventInputHeader::m_towers
private

Definition at line 46 of file FPGATrackSimLogicalEventInputHeader.h.


The documentation for this class was generated from the following file:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
FPGATrackSimLogicalEventInputHeader::m_towers
std::vector< FPGATrackSimTowerInputHeader > m_towers
Definition: FPGATrackSimLogicalEventInputHeader.h:46
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
FPGATrackSimLogicalEventInputHeader::m_optional
FPGATrackSimOptionalEventInfo m_optional
Definition: FPGATrackSimLogicalEventInputHeader.h:45
FPGATrackSimLogicalEventInputHeader::reset
void reset()
DeMoScan.index
string index
Definition: DeMoScan.py:362
FPGATrackSimLogicalEventInputHeader::event
FPGATrackSimEventInfo const & event() const
Definition: FPGATrackSimLogicalEventInputHeader.h:30
FPGATrackSimLogicalEventInputHeader::towers
const std::vector< FPGATrackSimTowerInputHeader > & towers() const
Definition: FPGATrackSimLogicalEventInputHeader.h:36
FPGATrackSimLogicalEventInputHeader::m_event
FPGATrackSimEventInfo m_event
Definition: FPGATrackSimLogicalEventInputHeader.h:44