13 #ifndef DT_TRIG_GEOM_H 14 #define DT_TRIG_GEOM_H 88 inline int nCell(
int sl)
const {
return (sl > 0 && sl <= 3) *
_NCELL[sl - 1]; }
105 int posFE(
int sl)
const;
187 void IEEE32toDSP(
float f,
short int &DSPmantissa,
short int &DSPexp);
LocalPoint localPosition(const DTBtiId) const
Local position in chamber of a BTI.
const DTChamber * stat() const
Associated chamber.
int station() const
Return the station number.
int sector() const
Return sector number.
DTTrigGeom(const DTChamber *stat, bool debug)
Constructor.
int posFE(int sl) const
Front End position : 1=toward negative y, 0=toward positive y.
float cellPitch() const
Width of a cell (cm) i.e. distance between ywo wires.
DTChamberId id() const
Return the DTChamberId of this chamber.
void setGeom(const DTChamber *stat)
Set/Update Geometry.
float phiCh() const
Rotation angle of chamber (deg)
LocalPoint toLocal(const GlobalPoint p) const
Go to Local coordinate system for a point.
void dumpLUT(short int btic)
Dump the LUT for this chamber.
GlobalPoint CMSPosition(const DTBtiId obj) const
CMS position of a BTI.
LocalPoint toLocal(const GlobalPoint &gp) const
int wheel() const
Return wheel number.
float distSL() const
Distance between the phi view superlayers (cms)
void dumpGeom() const
Dump the geometry.
DTChamberId statId() const
Identifier of the associated chamber.
int station() const
Return station number.
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
float ZcenterSL() const
Coordinate of center of the 2 Phi SL.
float cellH() const
Height of a cell (cm)
const Plane & surface() const
The nominal surface of the GeomDet.
float phiSLOffset()
Superlayer offset in chamber front-end frame, in cm.
void getGeom()
Get the geometry from the station.
int mapTubeInFEch(int nsl, int nlay, int ntube) const
Staggering of first wire of layer respect to default: obsolete 19/6/06.
GlobalVector toGlobal(const LocalVector v) const
Go to CMS coordinate system for a vector.
int wheel() const
Return the wheel number.
float ZSL(int) const
Radial coordinate in chamber frame of center of a superlayer.
GlobalPoint toGlobal(const LocalPoint p) const
Go to CMS coordinate system for a point.
GlobalPoint CMSPosition(const DTTracoId obj) const
CMS position of a TRACO.
void IEEE32toDSP(float f, short int &DSPmantissa, short int &DSPexp)
LocalVector toLocal(const GlobalVector v) const
Go to Local coordinate system for a vector.
LocalPoint tubePosInCh(int nsl, int nlay, int ntube) const
Wire position in chamber frame.
int nCell(int sl) const
Number of BTIs in a required superlayer (i.e. nCells in lay 1)