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

#include <FPGATrackSimEventInputHeader.h>

Collaboration diagram for FPGATrackSimEventInputHeader:

Public Member Functions

 FPGATrackSimEventInputHeader ()=default
 
virtual ~FPGATrackSimEventInputHeader ()
 
void newEvent (FPGATrackSimEventInfo const &event)
 
void setOptional (FPGATrackSimOptionalEventInfo const &optional)
 
void reset ()
 
FPGATrackSimEventInfo constevent () const
 
FPGATrackSimOptionalEventInfo constoptional () const
 
const std::vector< FPGATrackSimHit > & hits () const
 
int nHits () const
 
void addHit (FPGATrackSimHit const &s)
 
void clearHits ()
 
void reserveHits (size_t size)
 

Private Member Functions

 ClassDefNV (FPGATrackSimEventInputHeader, 4)
 

Private Attributes

FPGATrackSimEventInfo m_event
 
FPGATrackSimOptionalEventInfo m_optional
 
std::vector< FPGATrackSimHitm_Hits
 

Detailed Description

Definition at line 21 of file FPGATrackSimEventInputHeader.h.

Constructor & Destructor Documentation

◆ FPGATrackSimEventInputHeader()

FPGATrackSimEventInputHeader::FPGATrackSimEventInputHeader ( )
default

◆ ~FPGATrackSimEventInputHeader()

FPGATrackSimEventInputHeader::~FPGATrackSimEventInputHeader ( )
virtual

Definition at line 9 of file FPGATrackSimEventInputHeader.cxx.

10 {
11  reset();
12 }

Member Function Documentation

◆ addHit()

void FPGATrackSimEventInputHeader::addHit ( FPGATrackSimHit const s)
inline

Definition at line 39 of file FPGATrackSimEventInputHeader.h.

39 { m_Hits.push_back(s); }

◆ ClassDefNV()

FPGATrackSimEventInputHeader::ClassDefNV ( FPGATrackSimEventInputHeader  ,
 
)
private

◆ clearHits()

void FPGATrackSimEventInputHeader::clearHits ( )
inline

Definition at line 40 of file FPGATrackSimEventInputHeader.h.

40 { m_Hits.clear(); }

◆ event()

FPGATrackSimEventInfo const& FPGATrackSimEventInputHeader::event ( ) const
inline

Definition at line 33 of file FPGATrackSimEventInputHeader.h.

33 { return m_event; }

◆ hits()

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

Definition at line 37 of file FPGATrackSimEventInputHeader.h.

37 { return m_Hits; }

◆ newEvent()

void FPGATrackSimEventInputHeader::newEvent ( FPGATrackSimEventInfo const event)
inline

Definition at line 28 of file FPGATrackSimEventInputHeader.h.

28 { reset(); m_event = event; }

◆ nHits()

int FPGATrackSimEventInputHeader::nHits ( ) const
inline

Definition at line 38 of file FPGATrackSimEventInputHeader.h.

38 { return m_Hits.size(); }

◆ optional()

FPGATrackSimOptionalEventInfo const& FPGATrackSimEventInputHeader::optional ( ) const
inline

Definition at line 34 of file FPGATrackSimEventInputHeader.h.

34 { return m_optional; }

◆ reserveHits()

void FPGATrackSimEventInputHeader::reserveHits ( size_t  size)
inline

Definition at line 41 of file FPGATrackSimEventInputHeader.h.

41 { m_Hits.reserve(size); }

◆ reset()

void FPGATrackSimEventInputHeader::reset ( )

Definition at line 14 of file FPGATrackSimEventInputHeader.cxx.

15 {
16  m_event.reset();
17  m_optional.reset();
18  m_Hits.clear();
19 }

◆ setOptional()

void FPGATrackSimEventInputHeader::setOptional ( FPGATrackSimOptionalEventInfo const optional)
inline

Definition at line 29 of file FPGATrackSimEventInputHeader.h.

29 { m_optional = optional; }

Member Data Documentation

◆ m_event

FPGATrackSimEventInfo FPGATrackSimEventInputHeader::m_event
private

Definition at line 45 of file FPGATrackSimEventInputHeader.h.

◆ m_Hits

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

Definition at line 47 of file FPGATrackSimEventInputHeader.h.

◆ m_optional

FPGATrackSimOptionalEventInfo FPGATrackSimEventInputHeader::m_optional
private

Definition at line 46 of file FPGATrackSimEventInputHeader.h.


The documentation for this class was generated from the following files:
FPGATrackSimEventInputHeader::m_Hits
std::vector< FPGATrackSimHit > m_Hits
Definition: FPGATrackSimEventInputHeader.h:47
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
FPGATrackSimEventInfo::reset
void reset()
Definition: FPGATrackSimEventInfo.cxx:15
FPGATrackSimEventInputHeader::m_optional
FPGATrackSimOptionalEventInfo m_optional
Definition: FPGATrackSimEventInputHeader.h:46
FPGATrackSimOptionalEventInfo::reset
void reset()
Definition: FPGATrackSimOptionalEventInfo.cxx:13
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
FPGATrackSimEventInputHeader::m_event
FPGATrackSimEventInfo m_event
Definition: FPGATrackSimEventInputHeader.h:45
FPGATrackSimEventInputHeader::event
FPGATrackSimEventInfo const & event() const
Definition: FPGATrackSimEventInputHeader.h:33
FPGATrackSimEventInputHeader::optional
FPGATrackSimOptionalEventInfo const & optional() const
Definition: FPGATrackSimEventInputHeader.h:34
FPGATrackSimEventInputHeader::reset
void reset()
Definition: FPGATrackSimEventInputHeader.cxx:14