Main Page | Class Hierarchy | Class List | File List | Class Members

gear::GearMgrImpl Class Reference

Manager class that returns the Gear classes for the relevant subdetectors. More...

#include <GearMgrImpl.h>

Inheritance diagram for gear::GearMgrImpl:

gear::GearMgr List of all members.

Public Member Functions

virtual ~GearMgrImpl ()
 Destructor.

virtual const GearParametersgetGearParameters (const std::string &key) const throw (UnknownParameterException, std::exception )
 Get named parameters for key.

virtual const TPCParametersgetTPCParameters () const throw (UnknownParameterException, std::exception )
 Get the TPCParameters.

virtual const CalorimeterParametersgetEcalBarrelParameters () const throw (UnknownParameterException, std::exception )
 Get the Ecal barrel parameters.

virtual const CalorimeterParametersgetEcalEndcapParameters () const throw (UnknownParameterException, std::exception )
 Get the Ecal endcap parameters.

virtual const CalorimeterParametersgetHcalBarrelParameters () const throw (UnknownParameterException, std::exception )
 Get the Hcal barrel parameters.

virtual const CalorimeterParametersgetHcalEndcapParameters () const throw (UnknownParameterException, std::exception )
 Get the Hcal endcap parameters.

virtual const VXDParametersgetVXDParameters () const throw (UnknownParameterException, std::exception )
 Get the VXD parameters.

virtual const GearPointPropertiesgetPointProperties () const throw (NotImplementedException, std::exception )
 Get the point properties object.

virtual const GearDistancePropertiesgetDistanceProperties () const throw (NotImplementedException, std::exception )
 Get the distance properties object.

virtual const std::vector<
std::string > & 
getGearParameterKeys () const
 Keys of all GearParameters.

virtual void setGearParameters (const std::string &key, GearParameters *parameters)
 Set the GearParameters for the given key - overwrites any existing entries.

virtual void setTPCParameters (TPCParameters *tpcParameters)
 Set the TPCParameters.

virtual void setEcalBarrelParameters (CalorimeterParameters *ecalBarrelParameters)
 Set the EcalBarrelParameters.

virtual void setEcalEndcapParameters (CalorimeterParameters *ecalEndcapParameters)
 Set the EcalEndcapParameters.

virtual void setHcalBarrelParameters (CalorimeterParameters *hcalBarrelParameters)
 Set the HcalBarrelParameters.

virtual void setHcalEndcapParameters (CalorimeterParameters *hcalEndcapParameters)
 Set the HcalEndcapParameters.

virtual void setVXDParameters (VXDParameters *vxdParameters)
 Set the VXDParameters.

virtual void setPointProperties (GearPointProperties *pointProperties)
 Set the point properties object.

virtual void setDistanceProperties (GearDistanceProperties *distanceProperties)
 Set the distance properties object.


Protected Attributes

ParameterMap _map
TPCParameters_tpcParameters
CalorimeterParameters_ecalBarrelParameters
CalorimeterParameters_ecalEndcapParameters
CalorimeterParameters_hcalBarrelParameters
CalorimeterParameters_hcalEndcapParameters
VXDParameters_vxdParameters
GearPointProperties_pointProperties
GearDistanceProperties_distanceProperties
StringVec _keys

Detailed Description

Manager class that returns the Gear classes for the relevant subdetectors.

Based on ideas discussed at the 2004 Argonne Simulation Workshop as summarized by T.Behnke.

Author:
F. Gaede, DESY
Version:
Id
GearMgrImpl.h,v 1.2 2006/08/18 09:17:15 lippe Exp


Member Function Documentation

virtual const GearDistanceProperties& gear::GearMgrImpl::getDistanceProperties  )  const throw (NotImplementedException, std::exception ) [virtual]
 

Get the distance properties object.

Exceptions:
NotImplementedException 

Implements gear::GearMgr.

virtual const CalorimeterParameters& gear::GearMgrImpl::getEcalBarrelParameters  )  const throw (UnknownParameterException, std::exception ) [virtual]
 

Get the Ecal barrel parameters.

Exceptions:
UnknownParameterException 

Implements gear::GearMgr.

virtual const CalorimeterParameters& gear::GearMgrImpl::getEcalEndcapParameters  )  const throw (UnknownParameterException, std::exception ) [virtual]
 

Get the Ecal endcap parameters.

Exceptions:
UnknownParameterException 

Implements gear::GearMgr.

virtual const GearParameters& gear::GearMgrImpl::getGearParameters const std::string &  key  )  const throw (UnknownParameterException, std::exception ) [virtual]
 

Get named parameters for key.

This can be used to describe a subdetector that is not yet forseen in the Gear API.

Exceptions:
UnknownParameterException 

Implements gear::GearMgr.

virtual const CalorimeterParameters& gear::GearMgrImpl::getHcalBarrelParameters  )  const throw (UnknownParameterException, std::exception ) [virtual]
 

Get the Hcal barrel parameters.

Exceptions:
UnknownParameterException 

Implements gear::GearMgr.

virtual const CalorimeterParameters& gear::GearMgrImpl::getHcalEndcapParameters  )  const throw (UnknownParameterException, std::exception ) [virtual]
 

Get the Hcal endcap parameters.

Exceptions:
UnknownParameterException 

Implements gear::GearMgr.

virtual const GearPointProperties& gear::GearMgrImpl::getPointProperties  )  const throw (NotImplementedException, std::exception ) [virtual]
 

Get the point properties object.

Exceptions:
NotImplementedException 

Implements gear::GearMgr.

virtual const VXDParameters& gear::GearMgrImpl::getVXDParameters  )  const throw (UnknownParameterException, std::exception ) [virtual]
 

Get the VXD parameters.

Exceptions:
UnknownParameterException 

Implements gear::GearMgr.


The documentation for this class was generated from the following file:
Generated on Tue Sep 5 11:36:30 2006 for Gear by doxygen 1.3.5