ATLAS Offline Software
Loading...
Searching...
No Matches
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 const & event () const
FPGATrackSimOptionalEventInfo const & optional () 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

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); }
std::vector< FPGATrackSimHit > m_Hits

◆ ClassDefNV()

FPGATrackSimEventInputHeader::ClassDefNV ( FPGATrackSimEventInputHeader ,
4  )
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; }
FPGATrackSimEventInfo const & event() const

◆ 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; }
FPGATrackSimOptionalEventInfo 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.

FPGATrackSimOptionalEventInfo const & optional() const

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: