36 #ifndef STI_PLACEMENT_H
37 #define STI_PLACEMENT_H
41 #include "TGeoMatrix.h"
49 enum StiRegion {kBackwardRapidity, kMidRapidity, kForwardRapidity, kUndefined};
57 StiPlacement(
float normRefAngle,
float normRadius,
float normYOffset,
float centralZ);
58 StiPlacement(
const TGeoMatrix& transMatrix,
const TVector3& localCenter=TVector3(),
const TVector3& normal=TVector3(0, 1, 0));
60 float getNormalRefAngle()
const {
return normalRefAngle; }
61 float getNormalRadius()
const {
return normalRadius; }
62 float getNormalYoffset()
const {
return normalYoffset; }
63 float getCenterRefAngle()
const {
return centerRefAngle; }
64 float getCenterRadius()
const {
return centerRadius; }
65 float getCenterOrientation()
const {
return centerOrientation;}
66 float getLayerRadius()
const {
return layerRadius; }
67 float getLayerAngle()
const {
return layerAngle; }
68 float getZcenter()
const {
return zCenter; }
69 StiRegion getRegion()
const {
return mRegion; }
72 void setNormalRep(
float refAngle_,
float radius_,
float xOffset_);
74 void setLayerRadius(
float radius_);
75 void setLayerAngle(
float angle);
76 void setZcenter(
float val) { zCenter = val; }
77 void setRegion(StiRegion r) { mRegion = r;}
79 friend std::ostream& operator<<(std::ostream& os,
const StiPlacement& p);
89 float centerOrientation;