31 double mPhiCenter[12][31][2];
37 static short mEastNumberOfOverlappingBbcTiles[12][9];
39 static short mEastBbcTilesWhichOverlap[12][9][3];
42 static short mWestNumberOfOverlappingBbcTiles[12][9];
44 static short mWestBbcTilesWhichOverlap[12][9][3];
47 void InitializeGeometry();
66 void SetPpTtEw(
short uniqueID);
70 TVector3 TileCenter();
76 TVector3 RandomPointOnTile();
83 void GetCorners(
int* nCorners,
double* x,
double* y);
91 bool IsInTile(
double x,
double y);
96 void GetOverlappingBbcTiles(
int* nOverlappingBbcTiles,
short* BbcTileIDs);
107 unsigned short position(
short uniqueID);
108 unsigned short tile(
short uniqueID);
113 TVector3 TileCenter(
short uniqueID);
119 TVector3 TileCenter(
short position,
short tilenumber,
short eastwest);
125 TVector3 RandomPointOnTile(
short uniqueID);
133 TVector3 RandomPointOnTile(
short position,
short tilenumber,
short eastwest);
140 void GetCorners(
short uniqueID,
141 int* nCorners,
double* x,
double* y);
149 void GetCorners(
short position,
short tilenumber,
short eastwest,
150 int* nCorners,
double* x,
double* y);
156 void GetOverlappingBbcTiles(
short uniqueID,
157 int* nOverlappingBbcTiles,
short* BbcTileIDs);
165 void GetOverlappingBbcTiles(
short position,
short tilenumber,
short eastwest,
166 int* nOverlappingBbcTiles,
short* BbcTileIDs);
176 bool IsInTile(
short uniqueID,
187 bool IsInTile(
short position,
short tilenumber,
short eastwest,
192 bool IsWest(
short uniqueID);
198 bool IsWest(
short position,
short tilenumber,
short eastwest);
202 bool IsEast(
short uniqueID);
207 bool IsEast(
short position,
short tilenumber,
short eastwest);
211 short Row(
short uniqueID);
217 short Row(
short position,
short tilenumber,
short eastwest);
221 inline bool StEpdGeom::IsWest(
short position,
short tilenumber,
short eastwest){
return eastwest>0;}
223 inline bool StEpdGeom::IsEast(
short position,
short tilenumber,
short eastwest){
return eastwest<0;}
224 inline unsigned short StEpdGeom::position(
short uniqueID){
return abs(uniqueID/100);}
225 inline unsigned short StEpdGeom::tile(
short uniqueID){
return abs(uniqueID%100);}
bool IsWest(short uniqueID)
bool IsEast(short uniqueID)