|
TVector3 | TileCenter (short tileId) |
|
TVector3 | TileCenter (unsigned short absValueTileNumber, short eastwest) |
|
void | GetCorners (short tileId, double *x, double *y) |
|
void | GetCorners (unsigned short absValueTileNumber, short eastwest, double *x, double *y) |
|
void | GetOverlappingEpdTiles (short tileId, int *nOverlappingEpdTiles, short *EpdTileIDs) |
|
void | GetOverlappingEpdTiles (unsigned short absValueTileNumber, short eastwest, int *nOverlappingEpdTiles, short *EpdTileIDs) |
|
bool | IsInTile (short tileId, double x, double y) |
|
bool | IsInTile (unsigned short absValueTileNumber, short eastwest, double x, double y) |
|
unsigned short | PmtOfTile (unsigned short tileNumber) |
|
void | GetTilesOfPmt (unsigned short pmtNumber, unsigned short *nTiles, unsigned short *tileNumbers) |
|
Definition at line 34 of file StBbcGeom.h.
void StBbcGeom::GetCorners |
( |
short |
tileId, |
|
|
double * |
x, |
|
|
double * |
y |
|
) |
| |
returns the 6 corners of the hexagonal tile in STAR Coordinates
- Parameters
-
tileId | |tileId| = 1..18 (inner BBC). Sign of tileId tells side. +/- for West/East |
x,y | pointers to arrays of six corners |
Definition at line 121 of file StBbcGeom.cxx.
void StBbcGeom::GetCorners |
( |
unsigned short |
absValueTileNumber, |
|
|
short |
eastwest, |
|
|
double * |
x, |
|
|
double * |
y |
|
) |
| |
returns the 6 corners of the hexagonal tile in STAR Coordinates
- Parameters
-
absValueTileNumber | this is a positive number between 1 and 16, inclusive |
eastwest | <=0 for East, >0 for West |
x,y | pointers to arrays of six corners |
Definition at line 136 of file StBbcGeom.cxx.
void StBbcGeom::GetOverlappingEpdTiles |
( |
short |
tileId, |
|
|
int * |
nOverlappingEpdTiles, |
|
|
short * |
EpdTileIDs |
|
) |
| |
returns a list of (the IDs of) EPD tiles that overlap with a given BBC tile
- Parameters
-
tileId | |tileId| = 1..18 (inner BBC). Sign of tileId tells side. +/- for West/East |
nOverlappingEpdTiles | output parameter. Number of EPD tiles that overlaps this BBC tile (0, 8, or 10) |
EpdTileIDs | output parameter: list of EPD Tile IDs |
Definition at line 161 of file StBbcGeom.cxx.
void StBbcGeom::GetOverlappingEpdTiles |
( |
unsigned short |
absValueTileNumber, |
|
|
short |
eastwest, |
|
|
int * |
nOverlappingEpdTiles, |
|
|
short * |
EpdTileIDs |
|
) |
| |
returns a list of (the IDs of) EPD tiles that overlap with a given BBC tile
- Parameters
-
absValueTileNumber | this is a positive number between 1 and 16, inclusive |
eastwest | <=0 for East, >0 for West |
nOverlappingEpdTiles | output parameter. Number of EPD tiles that overlaps this BBC tile (0, 8, or 10) |
EpdTileIDs | output parameter: list of EPD Tile IDs |
Definition at line 167 of file StBbcGeom.cxx.
void StBbcGeom::GetTilesOfPmt |
( |
unsigned short |
pmtNumber, |
|
|
unsigned short * |
nTiles, |
|
|
unsigned short * |
tileNumbers |
|
) |
| |
returns the NUMBER OF TILES and the tile numbers corresponding to a given phototube the BBC is such a pain in the neck this way!! most PMTs correspond to one tile only. But PMT #7 corresponds to tiles 7 and 9, and PMT #12 corresponds to tiles 13 and 15 At least the correspondence is the same on both sides
- Parameters
-
pmtNumber | phototube number, from 1 to 16, inclusive |
nTiles | output parameter, either 1 or 2. tells the number of tiles corresponding to the PMT |
tileNumbers | array of tile numbers, between 1 and 18, corresponding to the PMT |
Definition at line 97 of file StBbcGeom.cxx.
bool StBbcGeom::IsInTile |
( |
short |
tileId, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
returns true if (x,y) lies within the tile. Assumes z=zWheel useful if the user would like to project a track (using straight line of helix or whatever) to the plane of the wheel and determine whether it hit a given tile
- Parameters
-
tileId | |tileId| = 1..18 (inner BBC). Sign of tileId tells side. +/- for West/East |
x | x-coordinate of projected hit |
y | y-coordinate of projected hit |
Definition at line 147 of file StBbcGeom.cxx.
bool StBbcGeom::IsInTile |
( |
unsigned short |
absValueTileNumber, |
|
|
short |
eastwest, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
returns true if (x,y) lies within the tile. Assumes z=zWheel useful if the user would like to project a track (using straight line of helix or whatever) to the plane of the wheel and determine whether it hit a given tile
- Parameters
-
absValueTileNumber | this is a positive number between 1 and 16, inclusive |
eastwest | <=0 for East, >0 for West |
x | x-coordinate of projected hit |
y | y-coordinate of projected hit |
Definition at line 151 of file StBbcGeom.cxx.
unsigned short StBbcGeom::PmtOfTile |
( |
unsigned short |
tileNumber | ) |
|
|
inline |
returns the phototube number (beginning at one) corresponding to the tile number (beginning at one) it is the same on the East and West sides
- Parameters
-
tileNumber | inner tile number, [1,18] inclusive |
Definition at line 148 of file StBbcGeom.h.
TVector3 StBbcGeom::TileCenter |
( |
short |
tileId | ) |
|
tells the position of the tile center in STAR Coordinates
- Parameters
-
tileId | |tileId| = 1..18 (inner BBC). Sign of tileId tells side. +/- for West/East |
Definition at line 107 of file StBbcGeom.cxx.
TVector3 StBbcGeom::TileCenter |
( |
unsigned short |
absValueTileNumber, |
|
|
short |
eastwest |
|
) |
| |
tells the position of the tile center in STAR Coordinates
- Parameters
-
absValueTileNumber | this is a positive number between 1 and 16, inclusive |
eastwest | <=0 for East, >0 for West |
Definition at line 114 of file StBbcGeom.cxx.
The documentation for this class was generated from the following files: