HGCal Test Beam  03a93d6239a951948e06fb3ef8dae4cbdebfad30
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
HGCalTBCellVertices Class Reference

#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)
 

Detailed Description

Definition at line 21 of file HGCalTBCellVertices.h.

Constructor & Destructor Documentation

HGCalTBCellVertices::HGCalTBCellVertices ( )

Constructor from cell iu & iv, valid sensorSizes are 128 and 256.

Definition at line 13 of file HGCalTBCellVertices.cc.

Member Function Documentation

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().

std::pair<double, double> HGCalTBCellVertices::GetCellCentreCoordinatesForPlots ( int  layer,
int  sensor_iu,
int  sensor_iv,
int  iu,
int  iv,
int  sensorsize 
)
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().

std::vector<std::pair<double, double> > HGCalTBCellVertices::GetCellCoordinatesForPlots ( int  layer,
int  sensor_iu,
int  sensor_iv,
int  iu,
int  iv,
int  sensorsize 
)
inline

Definition at line 29 of file HGCalTBCellVertices.h.

References GetCellCoordinates().


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