#include <Geometry.h>
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.
|
|
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.
|
|
Draw the pad artwork of the EMEC at all four layers on four seperate cavases and fill each cell with a color contour histogram.
|
|
Draw the pad artwork of the HEC at all three layers and fill each cell with a color \ contour histogram.
|
|
Draw the pad artwork of the HEC at all 3 layers on 3 seperate cavases and fill each cell with a color contour histogram.
|
|
Draw the complete 3D geometry of the of the 2002 combined beam test.
|
|
get the emec delta eta.
|
|
get the emec delta phi (rad).
|
|
get the emec delta z (cm).
|
|
get the emec eta (median) coordinate.
|
|
get the emec integer eta index (test beam).
|
|
get the emec integer phi index (test beam).
|
|
is the cell with febno Connected in the emec.
|
|
get the emec integer z index (test beam).
|
|
Return the TVector3 object which the (median) center of the cell in the emec local detector coordinate system.
|
|
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 |
|
Return the TVector3 object which is the GeoCenter of the cell in the emec local detector coordinate system.
|
|
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 |
|
Take a point in the emec local detector coordinate system and transform it to the test beam system.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
get the emec phi (median) coordinate (rad).
|
|
Return the TVector3 object which the (median) center of the cell in the test beam coordinate system.
|
|
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 |
|
Return the TVector3 object which is the GeoCenter of the cell in the test beam coordinate system.
|
|
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 |
|
Take a point in the test beam coordinate system and transform it to the emec local detector coordinate system.
|
|
Return the volume (cm^3) of the cell.
|
|
get the emec z (median) coordinate (cm).
|
|
Take (eta, phi, z) coords and transform them to (x,y,z) coords.
|
|
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).
|
|
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).
|
|
Take a TVector3 which is packed with (rho,phi,z) coordinates and transform them xyz coordinates.
|
|
Return the TBID which corresponds to the input idet(hec = 2, emec = 1) and febno.
|
|
get the hec delta eta.
|
|
get the hec delta phi (rad).
|
|
get the hec delta z (cm).
|
|
get the hec eta (median) coordinate.
|
|
get the hec integer eta index (test beam).
|
|
get the hec interger module index (test beam).
|
|
get the hec integer phi index (test beam).
|
|
is the cell with febno Connected in the Hec.
|
|
get the hec integer z index (test beam).
|
|
Return the TVector3 object which is the (median) center of the cell in the hec local detector coordinate system.
|
|
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 |
|
Return the TVector3 object which is the GeoCenter of the cell in the hec local detector coordinate system.
|
|
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 |
|
Take a point in the hec local detector coordinate system and transform it to the test beam coordinate system.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
get the hec phi (median) coordinate (rad).
|
|
Return the TVector3 object which is the (median) center of the cell in the test beam coordinate system.
|
|
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 |
|
Return the TVector3 object which is the GeoCenter of the cell in the test beam coordinate system.
|
|
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 |
|
Take a point in the test beam coordinate system and transform it to the hec local detector system.
|
|
Return the volume (cm^3) of the cell.
|
|
get the hec z (median) coordinate (cm).
|