StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StEpdGeom Class Reference

Public Member Functions

unsigned short position (short uniqueID)
 
unsigned short tile (short uniqueID)
 
TVector3 TileCenter (short uniqueID)
 
TVector3 TileCenter (short position, short tilenumber, short eastwest)
 
TVector3 RandomPointOnTile (short uniqueID)
 
TVector3 RandomPointOnTile (short position, short tilenumber, short eastwest)
 
void GetCorners (short uniqueID, int *nCorners, double *x, double *y)
 
void GetCorners (short position, short tilenumber, short eastwest, int *nCorners, double *x, double *y)
 
void GetOverlappingBbcTiles (short uniqueID, int *nOverlappingBbcTiles, short *BbcTileIDs)
 
void GetOverlappingBbcTiles (short position, short tilenumber, short eastwest, int *nOverlappingBbcTiles, short *BbcTileIDs)
 
bool IsInTile (short uniqueID, double x, double y)
 
bool IsInTile (short position, short tilenumber, short eastwest, double x, double y)
 
bool IsWest (short uniqueID)
 
bool IsWest (short position, short tilenumber, short eastwest)
 
bool IsEast (short uniqueID)
 
bool IsEast (short position, short tilenumber, short eastwest)
 
short Row (short uniqueID)
 
short Row (short position, short tilenumber, short eastwest)
 

Detailed Description

Definition at line 24 of file StEpdGeom.h.

Member Function Documentation

void StEpdGeom::GetCorners ( short  uniqueID,
int *  nCorners,
double *  x,
double *  y 
)

returns the corners of the tile in the plane of the wheel, in STAR coordinate system

Parameters
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East
*nCornersthis is a RETURNED value. Number of corners the tile has (TT01 has 5, others have 4)
xthis is a RETURNED values. x-coordinates of corners
ythis is a RETURNED values. y-coordinates of corners

Definition at line 235 of file StEpdGeom.cxx.

void StEpdGeom::GetCorners ( short  position,
short  tilenumber,
short  eastwest,
int *  nCorners,
double *  x,
double *  y 
)

returns the corners of the tile in the plane of the wheel, in STAR coordinate system

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel
*nCornersthis is a RETURNED value. Number of corners the tile has (TT01 has 5, others have 4)
xthis is a RETURNED values. x-coordinates of corners
ythis is a RETURNED values. y-coordinates of corners

Definition at line 240 of file StEpdGeom.cxx.

void StEpdGeom::GetOverlappingBbcTiles ( short  uniqueID,
int *  nOverlappingBbcTiles,
short *  BbcTileIDs 
)

returns a list of (the IDs of) BBC tiles that overlap with a given EPD tile

Parameters
uniqueIDidentifier of the EPD tile = sign*(100*PP+TT) where sign=+/- for West/East
nOverlappingBbcTilesoutput parameter: number of BBC tiles that overlaps this EPD tile (even just barely)
BbcTileIDsoutput parameter: array of BBC tile IDs

Definition at line 323 of file StEpdGeom.cxx.

void StEpdGeom::GetOverlappingBbcTiles ( short  position,
short  tilenumber,
short  eastwest,
int *  nOverlappingBbcTiles,
short *  BbcTileIDs 
)

returns a list of (the IDs of) BBC tiles that overlap with a given EPD tile

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel
nOverlappingBbcTilesoutput parameter: number of BBC tiles that overlaps this EPD tile (even just barely)
BbcTileIDsoutput parameter: array of BBC tile IDs

Definition at line 329 of file StEpdGeom.cxx.

bool StEpdGeom::IsEast ( short  uniqueID)
inline

true if this tile is on east side

Parameters
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East

Definition at line 222 of file StEpdGeom.h.

bool StEpdGeom::IsEast ( short  position,
short  tilenumber,
short  eastwest 
)
inline

true if this tile is on east side

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel

Definition at line 223 of file StEpdGeom.h.

bool StEpdGeom::IsInTile ( short  uniqueID,
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
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East
xx-coordinate of projected hit
yy-coordinate of projected hit

Definition at line 299 of file StEpdGeom.cxx.

bool StEpdGeom::IsInTile ( short  position,
short  tilenumber,
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
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel
xx-coordinate of projected hit
yy-coordinate of projected hit

Definition at line 304 of file StEpdGeom.cxx.

bool StEpdGeom::IsWest ( short  uniqueID)
inline

true if this tile is on west side

Parameters
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East

Definition at line 220 of file StEpdGeom.h.

bool StEpdGeom::IsWest ( short  position,
short  tilenumber,
short  eastwest 
)
inline

true if this tile is on west side

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel

Definition at line 221 of file StEpdGeom.h.

TVector3 StEpdGeom::RandomPointOnTile ( short  uniqueID)

returns a random point somewhere on the tile. assumes a uniform hit density this is very useful for calculating things like dN/deta

Parameters
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East

Definition at line 174 of file StEpdGeom.cxx.

TVector3 StEpdGeom::RandomPointOnTile ( short  position,
short  tilenumber,
short  eastwest 
)

returns a random point somewhere on the tile. assumes a uniform hit density this is very useful for calculating things like dN/deta

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel

Definition at line 178 of file StEpdGeom.cxx.

short StEpdGeom::Row ( short  uniqueID)

the "tile row" of the tile. Row = [1,16]

Parameters
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East

Definition at line 136 of file StEpdGeom.cxx.

short StEpdGeom::Row ( short  position,
short  tilenumber,
short  eastwest 
)

the "tile row" of the tile. Row = [1,16]

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel

Definition at line 140 of file StEpdGeom.cxx.

TVector3 StEpdGeom::TileCenter ( short  uniqueID)

center of the tile in STAR coordinate system

Parameters
uniqueIDidentifier of the tile = sign*(100*PP+TT) where sign=+/- for West/East

Definition at line 151 of file StEpdGeom.cxx.

TVector3 StEpdGeom::TileCenter ( short  position,
short  tilenumber,
short  eastwest 
)

center of the tile in STAR coordinate system

Parameters
positionposition of supersector [1,12]
tilenumbertile on supsersector [1,31] east (-1) or west (+1) wheel

Definition at line 155 of file StEpdGeom.cxx.


The documentation for this class was generated from the following files: