HGCal Test Beam
03a93d6239a951948e06fb3ef8dae4cbdebfad30
|
#include <HGCalTBCellVertices.h>
Public Member Functions | |
HGCalTBCellVertices () | |
Constructor from cell iu & iv, valid sensorSizes are 128 and 256. More... | |
std::vector< std::pair< double, double > > | GetCellCoordinates (int layer, int sensor_iu, int sensor_iv, int iu, int iv, int sensorsize, bool flipX=false) |
returns the coordinates of each vertex of cell in the lab frame (x,y) More... | |
std::vector< std::pair< double, double > > | GetCellCoordinatesForPlots (int layer, int sensor_iu, int sensor_iv, int iu, int iv, int sensorsize) |
std::pair< double, double > | GetCellCentreCoordinates (int layer, int sensor_iu, int sensor_iv, int iu, int iv, int sensorsize, bool flipX=false) |
returns the coordinates of each vertex of cell in the lab frame (x,y) More... | |
std::pair< double, double > | GetCellCentreCoordinatesForPlots (int layer, int sensor_iu, int sensor_iv, int iu, int iv, int sensorsize) |
Definition at line 21 of file HGCalTBCellVertices.h.
HGCalTBCellVertices::HGCalTBCellVertices | ( | ) |
Constructor from cell iu & iv, valid sensorSizes are 128 and 256.
Definition at line 13 of file HGCalTBCellVertices.cc.
std::pair< double, double > HGCalTBCellVertices::GetCellCentreCoordinates | ( | int | layer, |
int | sensor_iu, | ||
int | sensor_iv, | ||
int | iu, | ||
int | iv, | ||
int | sensorsize, | ||
bool | flipX = false |
||
) |
returns the coordinates of each vertex of cell in the lab frame (x,y)
returns the center of the cell in absolute coordinates: (x,y)
Definition at line 51 of file HGCalTBCellVertices.cc.
References HGCalTBTopology::iu_iv_valid(), TEST_BEAM_LAYER_ROTATION, and Top.
Referenced by GetCellCentreCoordinatesForPlots(), and main().
|
inline |
Definition at line 36 of file HGCalTBCellVertices.h.
References GetCellCentreCoordinates().
std::vector< std::pair< double, double > > HGCalTBCellVertices::GetCellCoordinates | ( | int | layer, |
int | sensor_iu, | ||
int | sensor_iv, | ||
int | iu, | ||
int | iv, | ||
int | sensorsize, | ||
bool | flipX = false |
||
) |
returns the coordinates of each vertex of cell in the lab frame (x,y)
Definition at line 26 of file HGCalTBCellVertices.cc.
References delta, HGCalTBTopology::iu_iv_valid(), TEST_BEAM_LAYER_ROTATION, and Top.
Referenced by GetCellCoordinatesForPlots().
|
inline |
Definition at line 29 of file HGCalTBCellVertices.h.
References GetCellCoordinates().