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

Abstract description of layers in pixel beam telescope with or without DUT. More...

#include <SiPlanesParametersImpl.h>

Inheritance diagram for gear::SiPlanesParametersImpl:
gear::GearParametersImpl gear::SiPlanesParameters gear::GearParameters gear::GearParameters

Public Member Functions

 SiPlanesParametersImpl (int siplanesID, int siplanesType, int siplanesNumber)
 C'tor. More...
 
virtual void addLayer (int layerID, double layerPositionX, double layerPositionY, double layerPositionZ, double layerRotationXY, double layerRotationZX, double layerRotationZY, double layerSizeX, double layerSizeY, double layerThickness, double layerRadLength, int sensitiveID, double sensitivePositionX, double sensitivePositionY, double sensitivePositionZ, double sensitiveRotationXY, double sensitiveRotationZX, double sensitiveRotationZY, double sensitiveSizeX, double sensitiveSizeY, double sensitiveThickness, int sensitiveNpixelX, int sensitiveNpixelY, double sensitivePitchX, double sensitivePitchY, double sensitiveResolution, double sensitiveResolutionX, double sensitiveResolutionY, double sensitiveRotation1, double sensitiveRotation2, double sensitiveRotation3, double sensitiveRotation4, double sensitiveRadLength)
 Adding a Layer to the SiPlanes detector. More...
 
virtual void addLayer (int layerID, double layerPositionX, double layerPositionY, double layerPositionZ, double layerSizeX, double layerSizeY, double layerThickness, double layerRadLength, int sensitiveID, double sensitivePositionX, double sensitivePositionY, double sensitivePositionZ, double sensitiveSizeX, double sensitiveSizeY, double sensitiveThickness, int sensitiveNpixelX, int sensitiveNpixelY, double sensitivePitchX, double sensitivePitchY, double sensitiveResolution, double sensitiveRotation1, double sensitiveRotation2, double sensitiveRotation3, double sensitiveRotation4, double sensitiveRadLength)
 Adding a Layer to the SiPlanes detector (without parameters for layer rotation)
 
virtual void addDUT (int dutID, double dutPositionX, double dutPositionY, double dutPositionZ, double dutSizeX, double dutSizeY, double dutThickness, double dutRadLength, int dutsensitiveID, double dutsensitivePositionX, double dutsensitivePositionY, double dutsensitivePositionZ, double dutsensitiveSizeX, double dutsensitiveSizeY, double dutsensitiveThickness, int dutsensitiveNpixelX, int dutsensitiveNpixelY, double dutsensitivePitchX, double dutsensitivePitchY, double dutsensitiveResolution, double dutsensitiveRotation1, double dutsensitiveRotation2, double dutsensitiveRotation3, double dutsensitiveRotation4, double dutsensitiveRadLength)
 Adding DUT to the SiPlanes detector. More...
 
virtual const SiPlanesLayerLayoutgetSiPlanesLayerLayout () const
 Returns the layer layout of SiPlanes detector.
 
virtual int getSiPlanesID () const
 Returns the ID of SiPlanes detector setup.
 
virtual int getSiPlanesType () const
 Returns the type of SiPlanes detector: SiPlanesParametersImpl.TelescopeWithDUT or SiPlanesParametersImpl.TelescopeWithoutDUT.
 
virtual int getSiPlanesNumber () const
 Returns the number of Si planes.
 
virtual void setSiPlanesID (int value)
 Returns the ID of SiPlanes detector setup.
 
virtual void setSiPlanesType (int value)
 Returns the type of SiPlanes detector: SiPlanesParametersImpl.TelescopeWithDUT or SiPlanesParametersImpl.TelescopeWithoutDUT.
 
virtual void setSiPlanesNumber (int value)
 Returns the number of Si planes.
 
- 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::SiPlanesParameters
virtual ~SiPlanesParameters ()
 Destructor.
 

Static Public Attributes

static const int TelescopeWithDUT = 1
 
static const int TelescopeWithoutDUT = 2
 
- Static Public Attributes inherited from gear::SiPlanesParameters
static const int TelescopeWithDUT = 1
 
static const int TelescopeWithoutDUT = 2
 

Protected Attributes

SiPlanesLayerLayoutImpl _layer {}
 
int _siplanesID {}
 
int _siplanesType {}
 
int _siplanesNumber {}
 
- 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
 

Detailed Description

Abstract description of layers in pixel beam telescope with or without DUT.

This assumes a number of silicon layers, arranged perpendicular to the beam.

Author
T Klimkovich, DESY
I. Rubinskiy, DESY
Version
$Id:

Definition at line 20 of file SiPlanesParametersImpl.h.

Constructor & Destructor Documentation

gear::SiPlanesParametersImpl::SiPlanesParametersImpl ( int  siplanesID,
int  siplanesType,
int  siplanesNumber 
)

C'tor.

Parameters
siplanesIDID of SiPlanes detector setup
siplanesTypethe type of the SiPlanes detector: TelescopeWithDUT, TelescopeWithoutDUT
siplanesNumberthe number of Si planes

Definition at line 9 of file SiPlanesParametersImpl.cc.

Member Function Documentation

virtual void gear::SiPlanesParametersImpl::addDUT ( int  dutID,
double  dutPositionX,
double  dutPositionY,
double  dutPositionZ,
double  dutSizeX,
double  dutSizeY,
double  dutThickness,
double  dutRadLength,
int  dutsensitiveID,
double  dutsensitivePositionX,
double  dutsensitivePositionY,
double  dutsensitivePositionZ,
double  dutsensitiveSizeX,
double  dutsensitiveSizeY,
double  dutsensitiveThickness,
int  dutsensitiveNpixelX,
int  dutsensitiveNpixelY,
double  dutsensitivePitchX,
double  dutsensitivePitchY,
double  dutsensitiveResolution,
double  dutsensitiveRotation1,
double  dutsensitiveRotation2,
double  dutsensitiveRotation3,
double  dutsensitiveRotation4,
double  dutsensitiveRadLength 
)
inlinevirtual

Adding DUT to the SiPlanes detector.

Parameters
dutIDID of nonsensitive volume of the DUT
dutPositionXx position of nonsensitive volume of the DUT plane (mm)
dutPositionYy position of nonsensitive volume of the DUT plane (mm)
dutPositionZz position of nonsensitive volume of the DUT plane (mm)
dutSizeXsize in x direction of nonsensitive volume of the DUT (mm)
dutSizeYsize in y direction of nonsensitive volume of the DUT (mm)
dutThicknessthe thickness of nonsensitive volume of the DUT layer (mm)
dutRadLenghtthe radiation lenght of nonsensitive volume of the DUT layer (mm)
dutsensitiveIDID of nonsensitive volume of the DUT
dutsensitivePositionXx position of sensitive volume of the DUT plane (mm)
dutsensitivePositionYy position of sensitive volume of the DUT plane (mm)
dutsensitivePositionZz position of sensitive volume of the DUT plane (mm)
dutsensitiveSizeXsize in x direction of sensitive volume of the DUT (mm)
dutsensitiveSizeYsize in y direction of sensitive volume of the DUT (mm)
dutsensitiveThicknessthe thickness of sensitive volume of the DUT layer (mm)
dutsensitiveNpixelXnumber of pixels in x direction of sensitive area of the DUT
dutsensitiveNpixelYnumber of pixels in y direction of sensitive area of the DUT
dutsensitivePitchXx size of pitch of sensitive area of the DUT (mm)
dutsensitivePitchYy size of pitch of sensitive area of the DUT(mm)
dutsensitiveResolutionintrinsic resolution of sensitive area of the DUT(mm), not relevant, just for completeness
dutsensitiveRotation1= cos(theta): element (11) of the rotation matrix of sensitive area of the DUT
dutsensitiveRotation2= -sin(theta): element (12) of the rotation matrix of sensitive area of the DUT
dutsensitiveRotation3= sin(theta): element (21) of the rotation matrix of sensitive area of the DUT
dutsensitiveRotation4= cos(theta): element (22) of the rotation matrix of sensitive area of the DUT
dutsensitiveRadLenghtradiation lenght of sensitive area of the DUT layer (mm)

Definition at line 163 of file SiPlanesParametersImpl.h.

References gear::SiPlanesLayerLayoutImpl::addDUT().

Referenced by gear::SiPlanesParametersXML::fromXML().

virtual void gear::SiPlanesParametersImpl::addLayer ( int  layerID,
double  layerPositionX,
double  layerPositionY,
double  layerPositionZ,
double  layerRotationXY,
double  layerRotationZX,
double  layerRotationZY,
double  layerSizeX,
double  layerSizeY,
double  layerThickness,
double  layerRadLength,
int  sensitiveID,
double  sensitivePositionX,
double  sensitivePositionY,
double  sensitivePositionZ,
double  sensitiveRotationXY,
double  sensitiveRotationZX,
double  sensitiveRotationZY,
double  sensitiveSizeX,
double  sensitiveSizeY,
double  sensitiveThickness,
int  sensitiveNpixelX,
int  sensitiveNpixelY,
double  sensitivePitchX,
double  sensitivePitchY,
double  sensitiveResolution,
double  sensitiveResolutionX,
double  sensitiveResolutionY,
double  sensitiveRotation1,
double  sensitiveRotation2,
double  sensitiveRotation3,
double  sensitiveRotation4,
double  sensitiveRadLength 
)
inlinevirtual

Adding a Layer to the SiPlanes detector.

Parameters
layerIDID of nonsensitive volume of telescope plane
layerPositionXx position of nonsensitive volume of telescope plane (mm)
layerPositionYy position of nonsensitive volume of telescope plane (mm)
layerPositionZz position of nonsensitive volume of telescope plane (mm)
layerSizeXsize in x direction of nonsensitive volume of telescope plane (mm)
layerSizeYsize in y direction of nonsensitive volume of telescope plane (mm)
layerThicknessthe thickness of nonsensitive volume of telescope plane (mm)
layerRadLenghtthe radiation lenght of nonsensitive volume of telescope plane (mm)
sensitiveIDID of sensitive volume of telescope plane
sensitivePositionXx position of sensitive volume of telescope plane (mm)
sensitivePositionYy position of sensitive volume of telescope plane (mm)
sensitivePositionZz position of sensitive volume of telescope plane (mm)
sensitiveSizeXsize in x direction of sensitive volume of telescope plane (mm)
sensitiveSizeYsize in y direction of sensitive volume of telescope plane (mm)
sensitiveThicknessthe thickness of sensitive volume of telescope plane (mm)
sensitiveNpixelXnumber of pixels in x direction of the sensitive area of telescope plane
sensitiveNpixelYnumber of pixels in y direction of the sensitive area of telescope plane
sensitivePitchXx size of pitch of sensitive area of telescope plane (mm)
sensitivePitchYy size of pitch of sensitive area of telescope plane (mm)
sensitiveResolutionintrinsic resolution of sensitive area of telescope plane (mm)
sensitiveRotation1= cos(theta): element (11) of the rotation matrix of sensitive area of telescope plane
sensitiveRotation2= -sin(theta): element (12) of the rotation matrix of sensitive area of telescope plane
sensitiveRotation3= sin(theta): element (21) of the rotation matrix of sensitive area of telescope plane
sensitiveRotation4= cos(theta): element (22) of the rotation matrix of sensitive area of telescope plane
sensitiveRadLenghtthe radiation lenght of sensitive area of telescope plane (mm)

Definition at line 66 of file SiPlanesParametersImpl.h.

References gear::SiPlanesLayerLayoutImpl::addLayer().

Referenced by addLayer(), and gear::SiPlanesParametersXML::fromXML().


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