GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
TrackerPlanesLayerLayout.cc
1 #include "gearimpl/TrackerPlanesLayerLayoutImpl.h"
2 #include <math.h>
3 
10 namespace gear{
11 
13  // layer
14  int id, std::string infostr,
15  double PositionX, double PositionY, double PositionZ,
16  double RotationXY, double RotationZX, double RotationZY,
17  double SizeX, double SizeY, double Thickness, double RadLength
18  )
19  {
20 
22  lL.setID ( id );
23  lL.setInfo ( infostr );
24  lL.setPositionX ( PositionX );
25  lL.setPositionY ( PositionY );
26  lL.setPositionZ ( PositionZ );
27  lL.setRotationXY ( RotationXY);
28  lL.setRotationZX ( RotationZX);
29  lL.setRotationZY ( RotationZY);
30  lL.setSizeX ( SizeX );
31  lL.setSizeY ( SizeY );
32  lL.setThickness ( Thickness );
33  lL.setRadLength ( RadLength );
34 
35  _materialVec.push_back( lL ) ;
36  }
37 
39  int id, std::string infostr,
40  double PositionX, double PositionY, double PositionZ,
41  double RotationXY, double RotationZX, double RotationZY,
42  double SizeX, double SizeY, double Thickness, double RadLength,
43  int NpixelX, int NpixelY, double PitchX,double PitchY, double ResolutionX, double ResolutionY
44  )
45  {
46 
48  sL.setID ( id );
49  sL.setInfo ( infostr );
50  sL.setPositionX ( PositionX );
51  sL.setPositionY ( PositionY );
52  sL.setPositionZ ( PositionZ );
53  sL.setRotationXY ( RotationXY);
54  sL.setRotationZX ( RotationZX);
55  sL.setRotationZY ( RotationZY);
56  sL.setSizeX ( SizeX );
57  sL.setSizeY ( SizeY );
58  sL.setThickness ( Thickness );
59  sL.setRadLength ( RadLength );
60 
61  sL.setNpixelX ( NpixelX );
62  sL.setNpixelY ( NpixelY );
63  sL.setPitchX ( PitchX );
64  sL.setPitchY ( PitchY );
65  sL.setResolutionX ( ResolutionX );
66  sL.setResolutionY ( ResolutionY );
67 
68  _sensitiveVec.push_back( sL ) ;
69 
70  }
71 
72 } //namespace
virtual void setPositionX(double value)
a free parameter string field
virtual void setID(int value)
a free parameter string field
virtual void setID(int value)
a free parameter string field
virtual void setThickness(double value)
a free parameter string field
virtual void setRotationZX(double value)
a free parameter string field
virtual void setPositionY(double value)
a free parameter string field
virtual void setThickness(double value)
a free parameter string field
virtual void addMaterialLayer(int ID, std::string info, double PositionX, double PositionY, double PositionZ, double RotationXY, double RotationZX, double RotationZY, double SizeX, double SizeY, double Thickness, double RadLength)
add methods
virtual void setPositionZ(double value)
a free parameter string field
virtual void setRotationZX(double value)
a free parameter string field
virtual void setRotationZY(double value)
a free parameter string field
virtual void setSizeX(double value)
a free parameter string field
virtual void setPositionZ(double value)
a free parameter string field
virtual void addSensitiveLayer(int ID, std::string info, double PositionX, double PositionY, double PositionZ, double RotationXY, double RotationZX, double RotationZY, double SizeX, double SizeY, double Thickness, double RadLength, int NpixelX, int NpixelY, double PitchX, double PitchY, double ResolutionX, double ResolutionY)
add methods
virtual void setRotationXY(double value)
a free parameter string field
virtual void setSizeX(double value)
a free parameter string field
virtual void setSizeY(double value)
a free parameter string field
Abstract description of layers in pixel beam telescope.
virtual void setPositionY(double value)
a free parameter string field
virtual void setPositionX(double value)
a free parameter string field
virtual void setSizeY(double value)
a free parameter string field
virtual void setRadLength(double value)
a free parameter string field
virtual void setRotationXY(double value)
a free parameter string field
virtual void setRadLength(double value)
a free parameter string field
virtual void setRotationZY(double value)
a free parameter string field