Abstract description of layers in pixel beam telescope with or without DUT. More...
#include <SiPlanesParametersImpl.h>
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 SiPlanesLayerLayout & | getSiPlanesLayerLayout () 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 |
Abstract description of layers in pixel beam telescope with or without DUT.
This assumes a number of silicon layers, arranged perpendicular to the beam.
Definition at line 20 of file SiPlanesParametersImpl.h.
gear::SiPlanesParametersImpl::SiPlanesParametersImpl | ( | int | siplanesID, |
int | siplanesType, | ||
int | siplanesNumber | ||
) |
C'tor.
siplanesID | ID of SiPlanes detector setup |
siplanesType | the type of the SiPlanes detector: TelescopeWithDUT, TelescopeWithoutDUT |
siplanesNumber | the number of Si planes |
Definition at line 9 of file SiPlanesParametersImpl.cc.
|
inlinevirtual |
Adding DUT to the SiPlanes detector.
dutID | ID of nonsensitive volume of the DUT |
dutPositionX | x position of nonsensitive volume of the DUT plane (mm) |
dutPositionY | y position of nonsensitive volume of the DUT plane (mm) |
dutPositionZ | z position of nonsensitive volume of the DUT plane (mm) |
dutSizeX | size in x direction of nonsensitive volume of the DUT (mm) |
dutSizeY | size in y direction of nonsensitive volume of the DUT (mm) |
dutThickness | the thickness of nonsensitive volume of the DUT layer (mm) |
dutRadLenght | the radiation lenght of nonsensitive volume of the DUT layer (mm) |
dutsensitiveID | ID of nonsensitive volume of the DUT |
dutsensitivePositionX | x position of sensitive volume of the DUT plane (mm) |
dutsensitivePositionY | y position of sensitive volume of the DUT plane (mm) |
dutsensitivePositionZ | z position of sensitive volume of the DUT plane (mm) |
dutsensitiveSizeX | size in x direction of sensitive volume of the DUT (mm) |
dutsensitiveSizeY | size in y direction of sensitive volume of the DUT (mm) |
dutsensitiveThickness | the thickness of sensitive volume of the DUT layer (mm) |
dutsensitiveNpixelX | number of pixels in x direction of sensitive area of the DUT |
dutsensitiveNpixelY | number of pixels in y direction of sensitive area of the DUT |
dutsensitivePitchX | x size of pitch of sensitive area of the DUT (mm) |
dutsensitivePitchY | y size of pitch of sensitive area of the DUT(mm) |
dutsensitiveResolution | intrinsic 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 |
dutsensitiveRadLenght | radiation 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().
|
inlinevirtual |
Adding a Layer to the SiPlanes detector.
layerID | ID of nonsensitive volume of telescope plane |
layerPositionX | x position of nonsensitive volume of telescope plane (mm) |
layerPositionY | y position of nonsensitive volume of telescope plane (mm) |
layerPositionZ | z position of nonsensitive volume of telescope plane (mm) |
layerSizeX | size in x direction of nonsensitive volume of telescope plane (mm) |
layerSizeY | size in y direction of nonsensitive volume of telescope plane (mm) |
layerThickness | the thickness of nonsensitive volume of telescope plane (mm) |
layerRadLenght | the radiation lenght of nonsensitive volume of telescope plane (mm) |
sensitiveID | ID of sensitive volume of telescope plane |
sensitivePositionX | x position of sensitive volume of telescope plane (mm) |
sensitivePositionY | y position of sensitive volume of telescope plane (mm) |
sensitivePositionZ | z position of sensitive volume of telescope plane (mm) |
sensitiveSizeX | size in x direction of sensitive volume of telescope plane (mm) |
sensitiveSizeY | size in y direction of sensitive volume of telescope plane (mm) |
sensitiveThickness | the thickness of sensitive volume of telescope plane (mm) |
sensitiveNpixelX | number of pixels in x direction of the sensitive area of telescope plane |
sensitiveNpixelY | number of pixels in y direction of the sensitive area of telescope plane |
sensitivePitchX | x size of pitch of sensitive area of telescope plane (mm) |
sensitivePitchY | y size of pitch of sensitive area of telescope plane (mm) |
sensitiveResolution | intrinsic 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 |
sensitiveRadLenght | the 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().