LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IMPL::LCRunHeaderImpl Class Reference

Implementation of LCRunHeader. More...

#include <LCRunHeaderImpl.h>

+ Inheritance diagram for IMPL::LCRunHeaderImpl:

Public Member Functions

 LCRunHeaderImpl ()
 
virtual ~LCRunHeaderImpl ()
 Destructor. More...
 
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
virtual int getRunNumber () const
 Returns the run number. More...
 
virtual const std::stringgetDetectorName () const
 Returns the name of the detector setup used in the simulation. More...
 
virtual const std::stringgetDescription () const
 Description of the simulation conditions, e.g. More...
 
virtual const std::vector
< std::string > * 
getActiveSubdetectors () const
 Returns the names of the active subdetectors used in the simulation. More...
 
virtual const EVENT::LCParametersgetParameters () const
 Parameters defined for this run. More...
 
virtual EVENT::LCParametersparameters ()
 Parameters defined for this run. More...
 
void setRunNumber (int rn)
 Sets the run number. More...
 
void setDetectorName (const std::string &dn)
 Sets the detector name. More...
 
void setDescription (const std::string &dsc)
 Sets the description of the run. More...
 
void addActiveSubdetector (const std::string &adn)
 Adds an active sub detector name. More...
 
- Public Member Functions inherited from EVENT::LCRunHeader
virtual ~LCRunHeader ()
 Destructor. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor. More...
 
virtual LCObjectclone () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
- Public Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ext_type ext ()
 Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... More...
 
template<class V >
const V::ext_type ext () const
 Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,... More...
 
template<class V >
V::rel_type rel ()
 Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation. More...
 
- Public Member Functions inherited from IMPL::AccessChecked
 AccessChecked ()
 
virtual ~AccessChecked ()
 
virtual int simpleUID () const
 

Protected Member Functions

virtual void setReadOnly (bool readOnly)
 
- Protected Member Functions inherited from IMPL::AccessChecked
void checkAccess ()
 
void checkAccess (const char *what)
 

Protected Attributes

int _runNumber {0}
 
std::string _detectorName {}
 
std::string _description {}
 
std::vector< std::string_activeSubdetectors {}
 
LCParametersImpl _params {}
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly {false}
 
int _id {-1}
 

Additional Inherited Members

- Public Types inherited from EVENT::LCRunHeader
typedef LCRunHeader lcobject_type
 Useful typedef for template programming with LCIO. More...
 
- Public Types inherited from lcrtrel::LCRTRelations
typedef std::type_index ext_index
 
typedef std::shared_ptr< void > ext_type
 
typedef std::map< ext_index,
ext_type
ext_map
 
- Static Protected Attributes inherited from IMPL::AccessChecked
static std::atomic_int _lCObjectId
 

Detailed Description

Implementation of LCRunHeader.

Author
gaede
Version
Mar 11, 2003

Definition at line 18 of file LCRunHeaderImpl.h.

Constructor & Destructor Documentation

IMPL::LCRunHeaderImpl::LCRunHeaderImpl ( )

Definition at line 8 of file LCRunHeaderImpl.cc.

IMPL::LCRunHeaderImpl::~LCRunHeaderImpl ( )
virtual

Destructor.

Definition at line 12 of file LCRunHeaderImpl.cc.

Member Function Documentation

void IMPL::LCRunHeaderImpl::addActiveSubdetector ( const std::string adn)

Adds an active sub detector name.

Definition at line 31 of file LCRunHeaderImpl.cc.

References _activeSubdetectors, and std::vector< T >::push_back().

const std::vector< std::string > * IMPL::LCRunHeaderImpl::getActiveSubdetectors ( ) const
virtual

Returns the names of the active subdetectors used in the simulation.

Implements EVENT::LCRunHeader.

Definition at line 17 of file LCRunHeaderImpl.cc.

References _activeSubdetectors.

const std::string & IMPL::LCRunHeaderImpl::getDescription ( ) const
virtual

Description of the simulation conditions, e.g.

physics channels.

Implements EVENT::LCRunHeader.

Definition at line 16 of file LCRunHeaderImpl.cc.

References _description.

const std::string & IMPL::LCRunHeaderImpl::getDetectorName ( ) const
virtual

Returns the name of the detector setup used in the simulation.

Implements EVENT::LCRunHeader.

Definition at line 15 of file LCRunHeaderImpl.cc.

References _detectorName.

virtual const EVENT::LCParameters& IMPL::LCRunHeaderImpl::getParameters ( ) const
inlinevirtual

Parameters defined for this run.

Implements EVENT::LCRunHeader.

Definition at line 49 of file LCRunHeaderImpl.h.

References _params.

int IMPL::LCRunHeaderImpl::getRunNumber ( ) const
virtual

Returns the run number.

Implements EVENT::LCRunHeader.

Definition at line 14 of file LCRunHeaderImpl.cc.

References _runNumber.

virtual int IMPL::LCRunHeaderImpl::id ( ) const
inlinevirtual

Returns an object id for internal (debugging) use in LCIO.

Implements EVENT::LCObject.

Definition at line 27 of file LCRunHeaderImpl.h.

References IMPL::AccessChecked::simpleUID().

virtual EVENT::LCParameters& IMPL::LCRunHeaderImpl::parameters ( )
inlinevirtual

Parameters defined for this run.

Implements EVENT::LCRunHeader.

Definition at line 53 of file LCRunHeaderImpl.h.

References _params.

void IMPL::LCRunHeaderImpl::setDescription ( const std::string dsc)

Sets the description of the run.

Definition at line 27 of file LCRunHeaderImpl.cc.

References _description, and IMPL::AccessChecked::checkAccess().

void IMPL::LCRunHeaderImpl::setDetectorName ( const std::string dn)

Sets the detector name.

Definition at line 23 of file LCRunHeaderImpl.cc.

References _detectorName, and IMPL::AccessChecked::checkAccess().

void IMPL::LCRunHeaderImpl::setReadOnly ( bool  readOnly)
protectedvirtual

Reimplemented from IMPL::AccessChecked.

Definition at line 38 of file LCRunHeaderImpl.cc.

References IMPL::AccessChecked::setReadOnly().

void IMPL::LCRunHeaderImpl::setRunNumber ( int  rn)

Sets the run number.

Definition at line 19 of file LCRunHeaderImpl.cc.

References _runNumber, and IMPL::AccessChecked::checkAccess().

Referenced by main().

Member Data Documentation

std::vector<std::string> IMPL::LCRunHeaderImpl::_activeSubdetectors {}
protected

Definition at line 83 of file LCRunHeaderImpl.h.

Referenced by addActiveSubdetector(), and getActiveSubdetectors().

std::string IMPL::LCRunHeaderImpl::_description {}
protected

Definition at line 82 of file LCRunHeaderImpl.h.

Referenced by getDescription(), and setDescription().

std::string IMPL::LCRunHeaderImpl::_detectorName {}
protected

Definition at line 81 of file LCRunHeaderImpl.h.

Referenced by getDetectorName(), and setDetectorName().

LCParametersImpl IMPL::LCRunHeaderImpl::_params {}
protected

Definition at line 85 of file LCRunHeaderImpl.h.

Referenced by getParameters(), and parameters().

int IMPL::LCRunHeaderImpl::_runNumber {0}
protected

Definition at line 80 of file LCRunHeaderImpl.h.

Referenced by getRunNumber(), and setRunNumber().


The documentation for this class was generated from the following files: