gear::GearParameters Class Reference

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

List of all members.

Public Member Functions

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

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 throw (UnknownParameterException, std::exception ) [pure virtual]
virtual const std::vector<double>& gear::GearParameters::getDoubleVals ( const std::string &  key  )  const throw (UnknownParameterException, std::exception ) [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 throw (UnknownParameterException, std::exception ) [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 throw (UnknownParameterException, std::exception ) [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 throw (UnknownParameterException, std::exception ) [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 throw (UnknownParameterException, std::exception ) [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:
 All Classes Namespaces Functions Variables Typedefs Enumerations

Generated on 22 Nov 2017 for GEAR by  doxygen 1.6.1