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

#include <FPGATrackSimLogicalEventInputHeader.h>

Collaboration diagram for FPGATrackSimLogicalEventInputHeader:

Public Member Functions

 FPGATrackSimLogicalEventInputHeader ()=default
virtual ~FPGATrackSimLogicalEventInputHeader ()=default
void reset ()
void newEvent (FPGATrackSimEventInfo &event)
FPGATrackSimEventInfo const & event () const
FPGATrackSimOptionalEventInfo const & optional () const
void setOptional (const FPGATrackSimOptionalEventInfo &o)
const std::vector< FPGATrackSimTowerInputHeader > & towers () const
int nTowers () const
void addTower (const 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 ( const FPGATrackSimTowerInputHeader & s)
inline

Definition at line 38 of file FPGATrackSimLogicalEventInputHeader.h.

38{ m_towers.push_back(s); }
std::vector< FPGATrackSimTowerInputHeader > m_towers

◆ addTowers()

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

Definition at line 41 of file FPGATrackSimLogicalEventInputHeader.h.

41{ m_towers = towers; }
const std::vector< FPGATrackSimTowerInputHeader > & towers() const

◆ event()

FPGATrackSimEventInfo const & FPGATrackSimLogicalEventInputHeader::event ( ) const
inline

Definition at line 30 of file FPGATrackSimLogicalEventInputHeader.h.

◆ getTower()

FPGATrackSimTowerInputHeader * FPGATrackSimLogicalEventInputHeader::getTower ( size_t index)
inline

Definition at line 39 of file FPGATrackSimLogicalEventInputHeader.h.

39{ return &m_towers[index]; } //get the pointer
str index
Definition DeMoScan.py:362

◆ newEvent()

void FPGATrackSimLogicalEventInputHeader::newEvent ( FPGATrackSimEventInfo & event)
inline

◆ 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 ( )

Definition at line 10 of file FPGATrackSimLogicalEventInputHeader.cxx.

11{
12 m_event.reset();
13 m_optional.reset();
14 m_towers.clear();
15}

◆ 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 files: