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

#include <FPGATrackSimEventInputHeader.h>

Inheritance diagram for FPGATrackSimEventInputHeader:
Collaboration diagram for FPGATrackSimEventInputHeader:

Public Member Functions

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

 ClassDef (FPGATrackSimEventInputHeader, 3)
 

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

virtual FPGATrackSimEventInputHeader::~FPGATrackSimEventInputHeader ( )
virtual

Member Function Documentation

◆ addHit()

void FPGATrackSimEventInputHeader::addHit ( FPGATrackSimHit const s)
inline

Definition at line 38 of file FPGATrackSimEventInputHeader.h.

38 { m_Hits.push_back(s); }

◆ ClassDef()

FPGATrackSimEventInputHeader::ClassDef ( FPGATrackSimEventInputHeader  ,
 
)
private

◆ clearHits()

void FPGATrackSimEventInputHeader::clearHits ( )
inline

Definition at line 39 of file FPGATrackSimEventInputHeader.h.

39 { m_Hits.clear(); }

◆ event()

FPGATrackSimEventInfo const& FPGATrackSimEventInputHeader::event ( ) const
inline

Definition at line 32 of file FPGATrackSimEventInputHeader.h.

32 { return m_event; }

◆ hits()

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

Definition at line 36 of file FPGATrackSimEventInputHeader.h.

36 { return m_Hits; }

◆ newEvent()

void FPGATrackSimEventInputHeader::newEvent ( FPGATrackSimEventInfo const event)
inline

Definition at line 27 of file FPGATrackSimEventInputHeader.h.

27 { reset(); m_event = event; }

◆ nHits()

int FPGATrackSimEventInputHeader::nHits ( ) const
inline

Definition at line 37 of file FPGATrackSimEventInputHeader.h.

37 { return m_Hits.size(); }

◆ optional()

FPGATrackSimOptionalEventInfo const& FPGATrackSimEventInputHeader::optional ( ) const
inline

Definition at line 33 of file FPGATrackSimEventInputHeader.h.

33 { return m_optional; }

◆ reserveHits()

void FPGATrackSimEventInputHeader::reserveHits ( size_t  size)
inline

Definition at line 40 of file FPGATrackSimEventInputHeader.h.

40 { m_Hits.reserve(size); }

◆ reset()

void FPGATrackSimEventInputHeader::reset ( )

Definition at line 15 of file FPGATrackSimEventInputHeader.cxx.

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

◆ setOptional()

void FPGATrackSimEventInputHeader::setOptional ( FPGATrackSimOptionalEventInfo const optional)
inline

Definition at line 28 of file FPGATrackSimEventInputHeader.h.

28 { m_optional = optional; }

Member Data Documentation

◆ m_event

FPGATrackSimEventInfo FPGATrackSimEventInputHeader::m_event
private

Definition at line 44 of file FPGATrackSimEventInputHeader.h.

◆ m_Hits

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

Definition at line 46 of file FPGATrackSimEventInputHeader.h.

◆ m_optional

FPGATrackSimOptionalEventInfo FPGATrackSimEventInputHeader::m_optional
private

Definition at line 45 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:46
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
FPGATrackSimEventInfo::reset
void reset()
Definition: FPGATrackSimEventInfo.cxx:16
FPGATrackSimEventInputHeader::m_optional
FPGATrackSimOptionalEventInfo m_optional
Definition: FPGATrackSimEventInputHeader.h:45
FPGATrackSimOptionalEventInfo::reset
void reset()
Definition: FPGATrackSimOptionalEventInfo.cxx:14
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
FPGATrackSimEventInputHeader::m_event
FPGATrackSimEventInfo m_event
Definition: FPGATrackSimEventInputHeader.h:44
FPGATrackSimEventInputHeader::event
FPGATrackSimEventInfo const & event() const
Definition: FPGATrackSimEventInputHeader.h:32
FPGATrackSimEventInputHeader::optional
FPGATrackSimOptionalEventInfo const & optional() const
Definition: FPGATrackSimEventInputHeader.h:33
FPGATrackSimEventInputHeader::reset
void reset()
Definition: FPGATrackSimEventInputHeader.cxx:15