#include <DTTrigGeom.h>
Public Member Functions | |
float | cellH () const |
Height of a cell (cm) More... | |
float | cellPitch () const |
Width of a cell (cm) i.e. distance between ywo wires. More... | |
GlobalPoint | CMSPosition (const DTBtiId obj) const |
CMS position of a BTI. More... | |
GlobalPoint | CMSPosition (const DTTracoId obj) const |
CMS position of a TRACO. More... | |
float | distSL () const |
Distance between the phi view superlayers (cms) More... | |
DTTrigGeom (const DTChamber *stat, bool debug) | |
Constructor. More... | |
void | dumpGeom () const |
Dump the geometry. More... | |
void | dumpLUT (short int btic) |
Dump the LUT for this chamber. More... | |
void | IEEE32toDSP (float f, short int &DSPmantissa, short int &DSPexp) |
LocalPoint | localPosition (const DTBtiId) const |
Local position in chamber of a BTI. More... | |
LocalPoint | localPosition (const DTTracoId) const |
Local position in chamber of a TRACO. More... | |
int | mapTubeInFEch (int nsl, int nlay, int ntube) const |
Staggering of first wire of layer respect to default: obsolete 19/6/06. More... | |
int | nCell (int sl) const |
Number of BTIs in a required superlayer (i.e. nCells in lay 1) More... | |
float | phiCh () const |
Rotation angle of chamber (deg) More... | |
float | phiSLOffset () |
Superlayer offset in chamber front-end frame, in cm. More... | |
int | posFE (int sl) const |
Front End position : 1=toward negative y, 0=toward positive y. More... | |
int | sector () const |
Return sector number. More... | |
void | setGeom (const DTChamber *stat) |
Set/Update Geometry. More... | |
const DTChamber * | stat () const |
Associated chamber. More... | |
DTChamberId | statId () const |
Identifier of the associated chamber. More... | |
int | station () const |
Return station number. More... | |
GlobalPoint | toGlobal (const LocalPoint p) const |
Go to CMS coordinate system for a point. More... | |
GlobalVector | toGlobal (const LocalVector v) const |
Go to CMS coordinate system for a vector. More... | |
LocalPoint | toLocal (const GlobalPoint p) const |
Go to Local coordinate system for a point. More... | |
LocalVector | toLocal (const GlobalVector v) const |
Go to Local coordinate system for a vector. More... | |
LocalPoint | tubePosInCh (int nsl, int nlay, int ntube) const |
Wire position in chamber frame. More... | |
int | wheel () const |
Return wheel number. More... | |
float | ZcenterSL () const |
Coordinate of center of the 2 Phi SL. More... | |
float | ZSL (int) const |
Radial coordinate in chamber frame of center of a superlayer. More... | |
~DTTrigGeom () | |
Destructor. More... | |
Private Member Functions | |
void | getGeom () |
Get the geometry from the station. More... | |
Private Attributes | |
bool | _debug |
float | _H |
int | _NCELL [3] |
float | _PHICH |
float | _PITCH |
const DTChamber * | _stat |
float | _ZSL [3] |
Muon Barrel Trigger Geometry
Definition at line 41 of file DTTrigGeom.h.
DTTrigGeom::DTTrigGeom | ( | const DTChamber * | stat, |
bool | debug | ||
) |
Constructor.
Definition at line 52 of file DTTrigGeom.cc.
DTTrigGeom::~DTTrigGeom | ( | ) |
Destructor.
Definition at line 63 of file DTTrigGeom.cc.
|
inline |
Height of a cell (cm)
Definition at line 75 of file DTTrigGeom.h.
|
inline |
Width of a cell (cm) i.e. distance between ywo wires.
Definition at line 78 of file DTTrigGeom.h.
|
inline |
CMS position of a BTI.
Definition at line 182 of file DTTrigGeom.h.
|
inline |
CMS position of a TRACO.
Definition at line 187 of file DTTrigGeom.h.
|
inline |
Distance between the phi view superlayers (cms)
Definition at line 81 of file DTTrigGeom.h.
void DTTrigGeom::dumpGeom | ( | ) | const |
Dump the geometry.
Definition at line 276 of file DTTrigGeom.cc.
Referenced by DTSCTrigUnit::dumpGeom().
void DTTrigGeom::dumpLUT | ( | short int | btic | ) |
Dump the LUT for this chamber.
Definition at line 327 of file DTTrigGeom.cc.
Referenced by DTSCTrigUnit::dumpLUT().
|
private |
Get the geometry from the station.
Definition at line 211 of file DTTrigGeom.cc.
void DTTrigGeom::IEEE32toDSP | ( | float | f, |
short int & | DSPmantissa, | ||
short int & | DSPexp | ||
) |
Definition at line 493 of file DTTrigGeom.cc.
LocalPoint DTTrigGeom::localPosition | ( | const DTBtiId | id | ) | const |
Local position in chamber of a BTI.
NB: attention: in NEWGEO definition has changed: +---------+---------+---------+ | 1 o | 5 o | 9 o | +----+----+----+----+----+----+ | 3 o | 7 o | +----+----+----+----+----+ - - - -> x/-x | 2 o | 6 o | +----+----+----+----+----+ | 4 o | 8 o | +---------+---------+ ^ | x=0
Definition at line 523 of file DTTrigGeom.cc.
LocalPoint DTTrigGeom::localPosition | ( | const DTTracoId | id | ) | const |
Local position in chamber of a TRACO.
NB: attention: in NEWGEO definition has changed: +----+----+----+----+----+----+----+----+----+----+----+----+ | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | +----+----+----+----+----+----+----+----+----+----+----+----+ \ / | \ / | \ / | \ / | \ / ----|-------------------------------------------------------------------> | \ / | \ / | \ / | \ / | \ / | +----+----+----+----+ | | 1 | 2 | 3 | 4 | | +----+----+----+----+ X=0 ^ | traco position
Definition at line 584 of file DTTrigGeom.cc.
int DTTrigGeom::mapTubeInFEch | ( | int | nsl, |
int | nlay, | ||
int | ntube | ||
) | const |
Staggering of first wire of layer respect to default: obsolete 19/6/06.
Map tube number into hw wire number, and reverse hw num->tube (nb NOT in bti hardware number, this depends on connectors)
Definition at line 144 of file DTTrigGeom.cc.
|
inline |
Number of BTIs in a required superlayer (i.e. nCells in lay 1)
Definition at line 90 of file DTTrigGeom.h.
|
inline |
Rotation angle of chamber (deg)
Definition at line 72 of file DTTrigGeom.h.
float DTTrigGeom::phiSLOffset | ( | ) |
Superlayer offset in chamber front-end frame, in cm.
Definition at line 71 of file DTTrigGeom.cc.
int DTTrigGeom::posFE | ( | int | sl | ) | const |
Front End position : 1=toward negative y, 0=toward positive y.
Definition at line 191 of file DTTrigGeom.cc.
|
inline |
Return sector number.
Definition at line 67 of file DTTrigGeom.h.
Referenced by DTGeomSupplier::sector(), and DTSCTrigUnit::sector().
void DTTrigGeom::setGeom | ( | const DTChamber * | stat | ) |
Set/Update Geometry.
Definition at line 203 of file DTTrigGeom.cc.
Referenced by DTSCTrigUnit::setGeom().
|
inline |
Associated chamber.
Definition at line 52 of file DTTrigGeom.h.
Referenced by DTGeomSupplier::stat(), and DTSCTrigUnit::stat().
|
inline |
Identifier of the associated chamber.
Definition at line 55 of file DTTrigGeom.h.
Referenced by DTGeomSupplier::ChamberId(), and DTSCTrigUnit::statId().
|
inline |
Return station number.
Definition at line 64 of file DTTrigGeom.h.
Referenced by DTGeomSupplier::station(), and DTSCTrigUnit::station().
|
inline |
Go to CMS coordinate system for a point.
Definition at line 115 of file DTTrigGeom.h.
Referenced by DTGeomSupplier::CMSDirection(), and DTGeomSupplier::CMSPosition().
|
inline |
Go to CMS coordinate system for a vector.
Definition at line 118 of file DTTrigGeom.h.
|
inline |
Go to Local coordinate system for a point.
Definition at line 121 of file DTTrigGeom.h.
|
inline |
Go to Local coordinate system for a vector.
Definition at line 124 of file DTTrigGeom.h.
LocalPoint DTTrigGeom::tubePosInCh | ( | int | nsl, |
int | nlay, | ||
int | ntube | ||
) | const |
Wire position in chamber frame.
Definition at line 169 of file DTTrigGeom.cc.
|
inline |
Return wheel number.
Definition at line 61 of file DTTrigGeom.h.
Referenced by DTGeomSupplier::wheel(), and DTSCTrigUnit::wheel().
|
inline |
Coordinate of center of the 2 Phi SL.
Definition at line 84 of file DTTrigGeom.h.
float DTTrigGeom::ZSL | ( | int | sl | ) | const |
Radial coordinate in chamber frame of center of a superlayer.
Definition at line 265 of file DTTrigGeom.cc.
|
private |
Definition at line 213 of file DTTrigGeom.h.
|
private |
Definition at line 209 of file DTTrigGeom.h.
|
private |
Definition at line 212 of file DTTrigGeom.h.
|
private |
Definition at line 208 of file DTTrigGeom.h.
|
private |
Definition at line 210 of file DTTrigGeom.h.
|
private |
Definition at line 205 of file DTTrigGeom.h.
|
private |
Definition at line 211 of file DTTrigGeom.h.