GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | List of all members
gear::GearParameters Class Referenceabstract

Abstract interface for a set of parameters that can be used to describe the geometrical properties of a specific subdetector type for reconstruction. More...

#include <GearParameters.h>

Inheritance diagram for gear::GearParameters:
gear::BField gear::CalorimeterParameters gear::FTDParameters gear::GearParametersImpl gear::SiPlanesParameters gear::TPCModule gear::TPCParameters gear::TrackerPlanesParameters gear::ZPlanarParameters

Public Member Functions

virtual ~GearParameters ()
 Destructor.
 
virtual int getIntVal (const std::string &key) const =0
 Integer value for key. More...
 
virtual double getDoubleVal (const std::string &key) const =0
 Double value for key. More...
 
virtual const std::string & getStringVal (const std::string &key) const =0
 String value for key. More...
 
virtual const std::vector< int > & getIntVals (const std::string &key) const =0
 Integer values for key. More...
 
virtual const std::vector
< double > & 
getDoubleVals (const std::string &key) const =0
 Double values for key. More...
 
virtual const std::vector
< std::string > & 
getStringVals (const std::string &key) const =0
 String values for key. More...
 
virtual const std::vector
< std::string > & 
getIntKeys () const =0
 All keys of int variables. More...
 
virtual const std::vector
< std::string > & 
getDoubleKeys () const =0
 All keys of double variables. More...
 
virtual const std::vector
< std::string > & 
getStringKeys () const =0
 All keys of string variables. More...
 
virtual const std::vector
< std::string > & 
getIntVecKeys () const =0
 All keys of IntVec variables. More...
 
virtual const std::vector
< std::string > & 
getDoubleVecKeys () const =0
 All keys of DoubleVec variables. More...
 
virtual const std::vector
< std::string > & 
getStringVecKeys () const =0
 All keys of StringVec variables. More...
 

Detailed Description

Abstract interface for a set of parameters that can be used to describe the geometrical properties of a specific subdetector type for reconstruction.

It basically allows to retrieve named parameters of type int, string and double and arrays/vectors of these types.

Author
F. Gaede, DESY
Version
$Id$

Definition at line 20 of file GearParameters.h.

Member Function Documentation

virtual const std::vector<std::string>& gear::GearParameters::getDoubleKeys ( ) const
pure virtual

All keys of double variables.

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual double gear::GearParameters::getDoubleVal ( const std::string &  key) const
pure virtual
virtual const std::vector<double>& gear::GearParameters::getDoubleVals ( const std::string &  key) const
pure virtual

Double values for key.

Exceptions
UnknownParameterException

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<std::string>& gear::GearParameters::getDoubleVecKeys ( ) const
pure virtual

All keys of DoubleVec variables.

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<std::string>& gear::GearParameters::getIntKeys ( ) const
pure virtual

All keys of int variables.

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual int gear::GearParameters::getIntVal ( const std::string &  key) const
pure virtual

Integer value for key.

Exceptions
UnknownParameterException

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<int>& gear::GearParameters::getIntVals ( const std::string &  key) const
pure virtual

Integer values for key.

Exceptions
UnknownParameterException

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<std::string>& gear::GearParameters::getIntVecKeys ( ) const
pure virtual

All keys of IntVec variables.

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<std::string>& gear::GearParameters::getStringKeys ( ) const
pure virtual

All keys of string variables.

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::string& gear::GearParameters::getStringVal ( const std::string &  key) const
pure virtual

String value for key.

Exceptions
UnknownParameterException

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<std::string>& gear::GearParameters::getStringVals ( const std::string &  key) const
pure virtual

String values for key.

Exceptions
UnknownParameterException

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().

virtual const std::vector<std::string>& gear::GearParameters::getStringVecKeys ( ) const
pure virtual

All keys of StringVec variables.

Implemented in gear::GearParametersImpl.

Referenced by gear::GearParametersXML::getXMLForParameters().


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