GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | Protected Attributes | List of all members
gear::CalorimeterParametersImpl Class Reference

Implementation of. More...

#include <CalorimeterParametersImpl.h>

Inheritance diagram for gear::CalorimeterParametersImpl:
gear::GearParametersImpl gear::CalorimeterParameters gear::GearParameters gear::GearParameters

Public Member Functions

 CalorimeterParametersImpl (double rMin, double zMax, int symOrder=8, double phi0=0.0)
 C'tor for a cylindrical (octagonal) BARREL calorimeter.
 
 CalorimeterParametersImpl (double rMin, double rMax, double zMin, int symOrder=2, double phi0=0.0)
 C'tor for a cylindrical (octagonal) ENDCAP calorimeter.
 
virtual ~CalorimeterParametersImpl ()
 Destructor.
 
virtual const LayerLayoutgetLayerLayout () const
 The layer layout in the calorimeter.
 
virtual int getLayoutType () const
 The type of the calorimeter layout: CalorimeterParametersImpl.BARREL or CalorimeterParametersImpl.ENDCAP.
 
virtual const std::vector
< double > & 
getExtent () const
 Extent of the calorimeter in the r-z-plane [ rmin, rmax, zmin, zmax ] in mm.
 
virtual int getSymmetryOrder () const
 The order of the rotational symmetry
8 for an octagonal barrel calorimeter
2 for an endcap calorimeter
1 for a standalone prototype
0 for an idealized cylindrical calorimeter.
 
virtual double getPhi0 () const
 The azimuthal angle of the first module if symmetryOrder > 0.
 
virtual LayerLayoutImpllayerLayout ()
 
- Public Member Functions inherited from gear::GearParametersImpl
virtual ~GearParametersImpl ()
 Destructor.
 
virtual int getIntVal (const std::string &key) const
 Integer value for key. More...
 
virtual double getDoubleVal (const std::string &key) const
 Double value for key. More...
 
virtual const std::string & getStringVal (const std::string &key) const
 String value for key. More...
 
virtual const std::vector< int > & getIntVals (const std::string &key) const
 Integer values for key. More...
 
virtual const std::vector
< double > & 
getDoubleVals (const std::string &key) const
 Double values for key. More...
 
virtual const std::vector
< std::string > & 
getStringVals (const std::string &key) const
 String values for key. More...
 
virtual void setIntVal (const std::string &key, int val)
 Set Integer value for key.
 
virtual void setDoubleVal (const std::string &key, double val)
 Double value for key.
 
virtual void setStringVal (const std::string &key, const std::string &val)
 String value for key.
 
virtual void setIntVals (const std::string &key, const std::vector< int > &vals)
 Integer values for key.
 
virtual void setDoubleVals (const std::string &key, const std::vector< double > &vals)
 Double values for key.
 
virtual void setStringVals (const std::string &key, const std::vector< std::string > &vals)
 String values for key.
 
virtual const std::vector
< std::string > & 
getIntKeys () const
 All keys of int variables. More...
 
virtual const std::vector
< std::string > & 
getDoubleKeys () const
 All keys of double variables. More...
 
virtual const std::vector
< std::string > & 
getStringKeys () const
 All keys of string variables. More...
 
virtual const std::vector
< std::string > & 
getIntVecKeys () const
 All keys of IntVec variables. More...
 
virtual const std::vector
< std::string > & 
getDoubleVecKeys () const
 All keys of DoubleVec variables. More...
 
virtual const std::vector
< std::string > & 
getStringVecKeys () const
 All keys of StringVec variables. More...
 
- Public Member Functions inherited from gear::GearParameters
virtual ~GearParameters ()
 Destructor.
 
- Public Member Functions inherited from gear::CalorimeterParameters
virtual ~CalorimeterParameters ()
 Destructor.
 

Protected Attributes

int _type {}
 
int _sym {}
 
double _phi {}
 
LayerLayoutImpl _layout {}
 
std::vector< double > _extent {}
 
- Protected Attributes inherited from gear::GearParametersImpl
std::map< std::string, int > _intMap {}
 
std::map< std::string, double > _doubleMap {}
 
std::map< std::string,
std::string > 
_stringMap {}
 
std::map< std::string, IntVec > _intVecMap {}
 
std::map< std::string, DoubleVec > _doubleVecMap {}
 
std::map< std::string, StringVec > _stringVecMap {}
 
StringVec _intKeys {}
 
StringVec _doubleKeys {}
 
StringVec _stringKeys {}
 
StringVec _intVecKeys {}
 
StringVec _doubleVecKeys {}
 
StringVec _stringVecKeys {}
 

Additional Inherited Members

- Public Types inherited from gear::GearParametersImpl
typedef std::map< std::string,
int > 
IntMap
 
typedef std::map< std::string,
double > 
DoubleMap
 
typedef std::map< std::string,
std::string > 
StringMap
 
typedef std::map< std::string,
IntVec > 
IntVecMap
 
typedef std::map< std::string,
DoubleVec > 
DoubleVecMap
 
typedef std::map< std::string,
StringVec > 
StringVecMap
 
- Static Public Attributes inherited from gear::CalorimeterParameters
static const int BARREL = 1
 
static const int ENDCAP = 2
 

Detailed Description

Implementation of.

Author
F. Gaede, DESY
Version
$Id$

Definition at line 20 of file CalorimeterParametersImpl.h.


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