Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Geometry Class Reference

#include <Geometry.h>

List of all members.

Public Methods

 Geometry (string hecGeoFileName, string emecGeoFileName, string globalGeoFileName)
 Constructor. More...

int hec_ieta (int febno)
 get the hec integer eta index (test beam). More...

int hec_iphi (int febno)
 get the hec integer phi index (test beam). More...

int hec_iz (int febno)
 get the hec integer z index (test beam). More...

int hec_imod (int febno)
 get the hec interger module index (test beam). More...

float hec_eta (int febno)
 get the hec eta (median) coordinate. More...

float hec_phi (int febno)
 get the hec phi (median) coordinate (rad). More...

float hec_z (int febno)
 get the hec z (median) coordinate (cm). More...

float hec_deta (int febno)
 get the hec delta eta. More...

float hec_dphi (int febno)
 get the hec delta phi (rad). More...

float hec_dz (int febno)
 get the hec delta z (cm). More...

bool hec_isConnected (int febno)
 is the cell with febno Connected in the Hec. More...

map< int, TVector3 > hec_LocalCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno. More...

map< int, TVector3 > hec_TBCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno. More...

TVector3 hec_LocalCenter (int febno)
 Return the TVector3 object which is the (median) center of the cell in the hec local detector coordinate system. More...

TVector3 hec_TBCenter (int febno)
 Return the TVector3 object which is the (median) center of the cell in the test beam coordinate system. More...

map< int, TVector3 > hec_LocalGeoCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno. More...

map< int, TVector3 > hec_TBGeoCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno. More...

TVector3 hec_LocalGeoCenter (int febno)
 Return the TVector3 object which is the GeoCenter of the cell in the hec local detector coordinate system. More...

TVector3 hec_TBGeoCenter (int febno)
 Return the TVector3 object which is the GeoCenter of the cell in the test beam coordinate system. More...

double hec_Volume (int febno)
 Return the volume (cm^3) of the cell. More...

multimap< double, int > hec_neighbors (TVector3 point)
 Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the Hec. More...

multimap< double, int > hec_neighbors (TVector3 point, int layer)
 Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the hec for a particular layer. More...

multimap< double, int > hec_neighbors (vector< float > lineParameters)
 Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell. More...

multimap< double, int > hec_neighbors (vector< float > lineParameters, int layer)
 Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell. More...

vector< int > hec_neighbors (int febno)
 Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function on a per layer basis. More...

vector< int > hec_neighbors (int febno, int layer)
 Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function on a per layer basis. More...

TVector3 hec_LocalToTB (TVector3 local)
 Take a point in the hec local detector coordinate system and transform it to the test beam coordinate system. More...

TVector3 hec_TBToLocal (TVector3 tb)
 Take a point in the test beam coordinate system and transform it to the hec local detector system. More...

void draw2DHec (map< int, float > inputMap, int canID=0, bool lockScale=false, float scaleLower=0, float scaleUpper=0, string userTitle="")
 Draw the pad artwork of the HEC at all three layers and fill each cell with a color \ contour histogram. More...

void draw2DHecDetail (map< int, float > inputMap, int canID=0, bool lockScale=false, float scaleLower=0, float scaleUpper=0, string userTitle="")
 Draw the pad artwork of the HEC at all 3 layers on 3 seperate cavases and fill each cell with a color contour histogram. More...

int emec_ieta (int febno)
 get the emec integer eta index (test beam). More...

int emec_iphi (int febno)
 get the emec integer phi index (test beam). More...

int emec_iz (int febno)
 get the emec integer z index (test beam). More...

float emec_eta (int febno)
 get the emec eta (median) coordinate. More...

float emec_phi (int febno)
 get the emec phi (median) coordinate (rad). More...

float emec_z (int febno)
 get the emec z (median) coordinate (cm). More...

float emec_deta (int febno)
 get the emec delta eta. More...

float emec_dphi (int febno)
 get the emec delta phi (rad). More...

float emec_dz (int febno)
 get the emec delta z (cm). More...

bool emec_isConnected (int febno)
 is the cell with febno Connected in the emec. More...

map< int, TVector3 > emec_LocalCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno. More...

map< int, TVector3 > emec_TBCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno. More...

TVector3 emec_LocalCenter (int febno)
 Return the TVector3 object which the (median) center of the cell in the emec local detector coordinate system. More...

TVector3 emec_TBCenter (int febno)
 Return the TVector3 object which the (median) center of the cell in the test beam coordinate system. More...

map< int, TVector3 > emec_LocalGeoCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno. More...

map< int, TVector3 > emec_TBGeoCenterMap ()
 Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno. More...

TVector3 emec_LocalGeoCenter (int febno)
 Return the TVector3 object which is the GeoCenter of the cell in the emec local detector coordinate system. More...

TVector3 emec_TBGeoCenter (int febno)
 Return the TVector3 object which is the GeoCenter of the cell in the test beam coordinate system. More...

double emec_Volume (int febno)
 Return the volume (cm^3) of the cell. More...

multimap< double, int > emec_neighbors (TVector3 point)
 Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the emec. More...

multimap< double, int > emec_neighbors (TVector3 point, int layer)
 Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the emec for a particular layer. More...

multimap< double, int > emec_neighbors (vector< float > lineParameters)
 Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell. More...

multimap< double, int > emec_neighbors (vector< float > lineParameters, int layer)
 Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell. More...

vector< int > emec_neighbors (int febno)
 Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function. More...

vector< int > emec_neighbors (int febno, int layer)
 Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function on a per layer basis. More...

TVector3 emec_LocalToTB (TVector3 local)
 Take a point in the emec local detector coordinate system and transform it to the test beam system. More...

TVector3 emec_TBToLocal (TVector3 tb)
 Take a point in the test beam coordinate system and transform it to the emec local detector coordinate system. More...

void draw2DEmec (map< int, float > inputMap, int canID=0, bool lockScale=false, float scaleLower=0, float scaleUpper=0, string userTitle="")
 Draw the pad artwork of the EMEC at all four layers on a single canvas without numbering the cells and fill each cell with a color contour histogram. More...

void draw2DEmecDetail (map< int, float > inputMap, int canID=0, bool lockScale=false, float scaleLower=0, float scaleUpper=0, string userTitle="")
 Draw the pad artwork of the EMEC at all four layers on four seperate cavases and fill each cell with a color contour histogram. More...

void draw3DGeometry ()
 Draw the complete 3D geometry of the of the 2002 combined beam test. More...

int FEBSerialChannelNumber (int idet, int ieta, int iphi, int iz)
 Return the FEB Serial Channel Number for the corresponding interger coordinates (idet,ieta,iphi,iz). More...

int FEBSerialChannelNumber (TBID id)
 Return the FEB Serial Channel Number for the corresponding TBID. More...

TBID getTBID (int idet, int febno)
 Return the TBID which corresponds to the input idet(hec = 2, emec = 1) and febno. More...

TVector3 epzTOxyz (double eta, double phi, double z)
 Take (eta, phi, z) coords and transform them to (x,y,z) coords. More...

TVector3 Geometry::rpzTOxyz (TVector3 rhoPhi)
 Take a TVector3 which is packed with (rho,phi,z) coordinates and transform them xyz coordinates. More...


Constructor & Destructor Documentation

Geometry::Geometry (  string    hecGeoFileName,
string    emecGeoFileName,
string    globalGeoFileName
) 
 

Constructor.

Parameters:
hecGeoFileName  The name of the Hec Geometry File. Can be relative or absolute path.
emecGeoFileName  The name of the Emec Geometry file. Can be relative or absolute path.
globalGeoFileName  The name of the file used to make the transformation betweem detector local and 'nominal test beam' coordinate systems.


Member Function Documentation

void Geometry::draw2DEmec (  map< int, float >    inputMap,
int    canID = 0,
bool    lockScale = false,
float    scaleLower = 0,
float    scaleUpper = 0,
string    userTitle = ""
) 
 

Draw the pad artwork of the EMEC at all four layers on a single canvas without numbering the cells and fill each cell with a color contour histogram.

Parameters:
inputMap  A STL map with key the febno of the cell and the value being any particular value you wish to plot on the emec.
canID  The number assigned to a particular canvas. Assigning a number other then zero will cause the canvas with that particular ID to be over written. If zero is given then a new canvas with a new number will be created.
lockScale  Set to true if you want this scale between all the layers to be the same.
scaleLower  Set a user defined lower limit to the scale.
scaleUpper  Set a user defined upper limit to the scale. If scalleUpper = scaleLower = 0 then a scale range is automatically picked.

void Geometry::draw2DEmecDetail (  map< int, float >    inputMap,
int    canID = 0,
bool    lockScale = false,
float    scaleLower = 0,
float    scaleUpper = 0,
string    userTitle = ""
) 
 

Draw the pad artwork of the EMEC at all four layers on four seperate cavases and fill each cell with a color contour histogram.

Parameters:
inputMap  A STL map with key the febno of the cell and the value being any particular value you wish to plot on the emec.
canID  The number assigned to a particular canvas. Assigning a number other then zero will cause the canvas with that particular ID to be over written. If zero is given then a new canvas with a new number will be created.
lockScale  Set to true if you want this scale between all the layers to be the same.
scaleLower  Set a user defined lower limit to the scale.
scaleUpper  Set a user defined upper limit to the scale. If scalleUpper = scaleLower = 0 then a scale range is automatically picked.

void Geometry::draw2DHec (  map< int, float >    inputMap,
int    canID = 0,
bool    lockScale = false,
float    scaleLower = 0,
float    scaleUpper = 0,
string    userTitle = ""
) 
 

Draw the pad artwork of the HEC at all three layers and fill each cell with a color \ contour histogram.

Parameters:
inputMap  A STL map with key the febno of the cell and the value being any particular value you wish to plot on the hec.
canID  The number assigned to a particular canvas. Assigning a number other then zero will cause the canvas with that particular ID to be over written. If zero is given then a new canvas with a new number will be created.
lockScale  Set to true if you want this scale between all the layers to be the same.
scaleLower  Set a user defined lower limit to the scale.
scaleUpper  Set a user defined upper limit to the scale. If scalleUpper = scaleLower = 0 then a scale range is automatically picked.

void Geometry::draw2DHecDetail (  map< int, float >    inputMap,
int    canID = 0,
bool    lockScale = false,
float    scaleLower = 0,
float    scaleUpper = 0,
string    userTitle = ""
) 
 

Draw the pad artwork of the HEC at all 3 layers on 3 seperate cavases and fill each cell with a color contour histogram.

Parameters:
inputMap  A STL map with key the febno of the cell and the value being any particular value you wish to plot on the emec.
canID  The number assigned to a particular canvas. Assigning a number other then zero will cause the canvas with that particular ID to be over written. If zero is given then a new canvas with a new number will be created.
lockScale  Set to true if you want this scale between all the layers to be the same.
scaleLower  Set a user defined lower limit to the scale.
scaleUpper  Set a user defined upper limit to the scale. If scalleUpper = scaleLower = 0 then a scale range is automatically picked.

void Geometry::draw3DGeometry (    ) 
 

Draw the complete 3D geometry of the of the 2002 combined beam test.

float Geometry::emec_deta (  int    febno ) 
 

get the emec delta eta.

float Geometry::emec_dphi (  int    febno ) 
 

get the emec delta phi (rad).

float Geometry::emec_dz (  int    febno ) 
 

get the emec delta z (cm).

float Geometry::emec_eta (  int    febno ) 
 

get the emec eta (median) coordinate.

int Geometry::emec_ieta (  int    febno ) 
 

get the emec integer eta index (test beam).

int Geometry::emec_iphi (  int    febno ) 
 

get the emec integer phi index (test beam).

bool Geometry::emec_isConnected (  int    febno ) 
 

is the cell with febno Connected in the emec.

int Geometry::emec_iz (  int    febno ) 
 

get the emec integer z index (test beam).

TVector3 Geometry::emec_LocalCenter (  int    febno ) 
 

Return the TVector3 object which the (median) center of the cell in the emec local detector coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::emec_LocalCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno.

The TVector3 is a ROOT object containing the (median) center x,y,z in the emec local detector coordinate system

TVector3 Geometry::emec_LocalGeoCenter (  int    febno ) 
 

Return the TVector3 object which is the GeoCenter of the cell in the emec local detector coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::emec_LocalGeoCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno.

The TVector3 is a ROOT object containing the GeoCenter of the cell in the emec local detector coordinate system

TVector3 Geometry::emec_LocalToTB (  TVector3    local ) 
 

Take a point in the emec local detector coordinate system and transform it to the test beam system.

Parameters:
local  A TVector3 in the emec local detector coordinate system which you transform to the test beam system.

vector< int > Geometry::emec_neighbors (  int    febno,
int    layer
) 
 

Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function on a per layer basis.

The list will have 2,3, or 4 elements in it.

Parameters:
febno  The cell which you wish to find it's touching neighbors
layer  The layer which you with to have the search confined.

vector< int > Geometry::emec_neighbors (  int    febno ) 
 

Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function.

The method works in 3D elements in it.

Parameters:
febno  The cell which you wish to find it's touching neighbors

multimap< double, int > Geometry::emec_neighbors (  vector< float >    lineParameters,
int    layer
) 
 

Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
lineParameters  The line parameterized by the four numbers contained in the vector in order a0, b0, a1, b1.
layer  The layer which you want the search confined to.

multimap< double, int > Geometry::emec_neighbors (  vector< float >    lineParameters ) 
 

Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
lineParameters  The line parameterized by the four numbers contained in the vector in order a0, b0, a1, b1.

multimap< double, int > Geometry::emec_neighbors (  TVector3    point,
int    layer
) 
 

Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the emec for a particular layer.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
point  The point in the test beam coordinate system which you wish to calculate the nearest neighbors of.
layer  The layer which what the search confined to.

multimap< double, int > Geometry::emec_neighbors (  TVector3    point ) 
 

Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the emec.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
point  The point in the test beam coordinate system which you wish to calculate the nearest neighbors of.

float Geometry::emec_phi (  int    febno ) 
 

get the emec phi (median) coordinate (rad).

TVector3 Geometry::emec_TBCenter (  int    febno ) 
 

Return the TVector3 object which the (median) center of the cell in the test beam coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::emec_TBCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno.

The TVector3 is a ROOT object containing the (median) center x,y,z in the test beam coordinate system

TVector3 Geometry::emec_TBGeoCenter (  int    febno ) 
 

Return the TVector3 object which is the GeoCenter of the cell in the test beam coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::emec_TBGeoCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the emec keyed with febno.

The TVector3 is a ROOT object containing the GeoCenter of the cell in the test beam coordinate system

TVector3 Geometry::emec_TBToLocal (  TVector3    tb ) 
 

Take a point in the test beam coordinate system and transform it to the emec local detector coordinate system.

Parameters:
tb  A TVector3 in the test beam coordinate system which you wish to transform to the emec local detector coordinate system.

double Geometry::emec_Volume (  int    febno ) 
 

Return the volume (cm^3) of the cell.

Parameters:
febno  The febno of the cell.

float Geometry::emec_z (  int    febno ) 
 

get the emec z (median) coordinate (cm).

TVector3 Geometry::epzTOxyz (  double    eta,
double    phi,
double    z
) 
 

Take (eta, phi, z) coords and transform them to (x,y,z) coords.

Parameters:
eta  The eta coordinate
phi  The this coordinate
z  The z coordinate

int Geometry::FEBSerialChannelNumber (  TBID    id ) 
 

Return the FEB Serial Channel Number for the corresponding TBID.

If the cell does not exist -1 is returned ( there are no negative FEB Serial Channel Numbers).

Parameters:
id  The TBID of the cell for which you wish to get the febno.

int Geometry::FEBSerialChannelNumber (  int    idet,
int    ieta,
int    iphi,
int    iz
) 
 

Return the FEB Serial Channel Number for the corresponding interger coordinates (idet,ieta,iphi,iz).

If the cell does not exist -1 is returned ( there are no negative FEB Serial Channel Numbers).

Parameters:
idet  Detector id: hec = 2, emec = 1
ieta  hec = [ 1,14], emec = [ 0,67]
iphi  hec=[ 1, 6], emec = [ 0,31]
iz  hec = [ 1, 3], emec = [ 0, 3]

TVector3 Geometry::Geometry::rpzTOxyz (  TVector3    rhoPhi ) 
 

Take a TVector3 which is packed with (rho,phi,z) coordinates and transform them xyz coordinates.

Parameters:
rhoPhi  the TVector3 which contains the coords you wish to transform

TBID Geometry::getTBID (  int    idet,
int    febno
) 
 

Return the TBID which corresponds to the input idet(hec = 2, emec = 1) and febno.

Parameters:
idet  the detector id(hec = 2, emec = 1);
febno  the febno of the cell

float Geometry::hec_deta (  int    febno ) 
 

get the hec delta eta.

float Geometry::hec_dphi (  int    febno ) 
 

get the hec delta phi (rad).

float Geometry::hec_dz (  int    febno ) 
 

get the hec delta z (cm).

float Geometry::hec_eta (  int    febno ) 
 

get the hec eta (median) coordinate.

int Geometry::hec_ieta (  int    febno ) 
 

get the hec integer eta index (test beam).

int Geometry::hec_imod (  int    febno ) 
 

get the hec interger module index (test beam).

int Geometry::hec_iphi (  int    febno ) 
 

get the hec integer phi index (test beam).

bool Geometry::hec_isConnected (  int    febno ) 
 

is the cell with febno Connected in the Hec.

int Geometry::hec_iz (  int    febno ) 
 

get the hec integer z index (test beam).

TVector3 Geometry::hec_LocalCenter (  int    febno ) 
 

Return the TVector3 object which is the (median) center of the cell in the hec local detector coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::hec_LocalCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno.

The TVector3 is a ROOT object containing the (median) center x,y,z in the hec local detector coordinate system

TVector3 Geometry::hec_LocalGeoCenter (  int    febno ) 
 

Return the TVector3 object which is the GeoCenter of the cell in the hec local detector coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::hec_LocalGeoCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno.

The TVector3 is a ROOT object containing the GeoCenter of the cell in the hec local detector coordinate system

TVector3 Geometry::hec_LocalToTB (  TVector3    local ) 
 

Take a point in the hec local detector coordinate system and transform it to the test beam coordinate system.

Parameters:
local  A TVector3 in the hec local detector coordinate system which you transform to the test beam system.

vector< int > Geometry::hec_neighbors (  int    febno,
int    layer
) 
 

Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function on a per layer basis.

The list will have 2,3, or 4 elements in it.

Parameters:
febno  The cell which you wish to find it's touching neighbors
layer  The layer which you with to have the search confined.

vector< int > Geometry::hec_neighbors (  int    febno ) 
 

Produce a vector of feb numbers which is a list of cells which are in direct contact with the cell passed to the function on a per layer basis.

The list will have 2,3, or 4 elements in it.

Parameters:
febno  The cell which you wish to find it's touching neighbors
layer  The layer which you with to have the search confined.

multimap< double, int > Geometry::hec_neighbors (  vector< float >    lineParameters,
int    layer
) 
 

Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
lineParameters  The line parameterized by the four numbers contained in the vector in order a0, b0, a1, b1.
layer  The layer which you want the search confined to.

multimap< double, int > Geometry::hec_neighbors (  vector< float >    lineParameters ) 
 

Return a STL multimap which has as the key a double which is the shortest distance to the line given by the input line parameterization from the median of the cell.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
lineParameters  The line parameterized by the four numbers contained in the vector in order a0, b0, a1, b1.

multimap< double, int > Geometry::hec_neighbors (  TVector3    point,
int    layer
) 
 

Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the hec for a particular layer.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
point  The point in the test beam coordinate system which you wish to calculate the nearest neighbors of.
layer  The layer which you want the search confined to.

multimap< double, int > Geometry::hec_neighbors (  TVector3    point ) 
 

Return a STL multimap which has as the key a double which is the distance to the nearest neighbors in the Hec.

The second thing in the map is the febno of that cell. All calculations done in the test beam coordinate system using the (median) center of cells.

Parameters:
point  The point in the test beam system which you wish to calculate the nearest neighbors of.

float Geometry::hec_phi (  int    febno ) 
 

get the hec phi (median) coordinate (rad).

TVector3 Geometry::hec_TBCenter (  int    febno ) 
 

Return the TVector3 object which is the (median) center of the cell in the test beam coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::hec_TBCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno.

The TVector3 is a ROOT object containing the (median) center x,y,z in the test beam coordinate system

TVector3 Geometry::hec_TBGeoCenter (  int    febno ) 
 

Return the TVector3 object which is the GeoCenter of the cell in the test beam coordinate system.

Parameters:
febno  The febno of the cell.

map< int, TVector3 > Geometry::hec_TBGeoCenterMap (    ) 
 

Return a map<int,TVector3> which is a complete list of all the cells in the hec keyed with febno.

The TVector3 is a ROOT object containing the GeoCenter of the cell in the test beam coordinate system

TVector3 Geometry::hec_TBToLocal (  TVector3    tb ) 
 

Take a point in the test beam coordinate system and transform it to the hec local detector system.

Parameters:
tb  A TVector3 in the hec test beam coordinate system which you transform to the Local coordinate system.

double Geometry::hec_Volume (  int    febno ) 
 

Return the volume (cm^3) of the cell.

Parameters:
febno  The febno of the cell.

float Geometry::hec_z (  int    febno ) 
 

get the hec z (median) coordinate (cm).


The documentation for this class was generated from the following files:
Generated on Fri Aug 15 10:52:05 2003 for TBRootAna by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002