#include <PseudoLayerPlugin.h>
Public Member Functions | |
PseudoLayerPlugin () | |
Default constructor. More... | |
Private Types | |
typedef std::vector< float > | LayerPositionList |
typedef std::vector< std::pair< float, float > > | AngleVector |
Private Member Functions | |
pandora::StatusCode | Initialize () |
unsigned int | GetPseudoLayer (const pandora::CartesianVector &positionVector) const |
unsigned int | GetPseudoLayerAtIp () const |
pandora::StatusCode | GetPseudoLayer (const float rCoordinate, const float zCoordinate, const float rCorrection, const float zCorrection, const float barrelInnerR, const float endCapInnerZ, unsigned int &pseudoLayer) const |
Get the appropriate pseudolayer for a specified parameters. More... | |
pandora::StatusCode | FindMatchingLayer (const float position, const LayerPositionList &layerPositionList, unsigned int &layer) const |
Find the layer number corresponding to a specified position, via reference to a specified layer position list. More... | |
void | StoreLayerPositions () |
Store all revelevant barrel and endcap layer positions upon initialization. More... | |
void | StoreLayerPositions (const pandora::SubDetector &subDetector, LayerPositionList &LayerPositionList) |
Store subdetector layer positions upon initialization. More... | |
void | StoreDetectorOuterEdge () |
Store positions of barrel and endcap outer edges upon initialization. More... | |
void | StorePolygonAngles () |
Store sine and cosine of angles used to project hit positions onto polygonal calorimeter surfaces upon initialization. More... | |
void | StoreOverlapCorrectionDetails () |
Store all details revelevant to barrel/endcap overlap corrections upon initialization. More... | |
float | GetMaximumRadius (const AngleVector &angleVector, const float x, const float y) const |
Get the maximum polygon radius, with reference to cached sine/cosine values for relevant polygon angles. More... | |
void | FillAngleVector (const unsigned int symmetryOrder, const float phi0, AngleVector &angleVector) const |
Fill a vector with sine/cosine values for relevant polygon angles. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
LayerPositionList | m_barrelLayerPositions |
List of barrel layer positions. More... | |
LayerPositionList | m_endCapLayerPositions |
List of endcap layer positions. More... | |
AngleVector | m_eCalBarrelAngleVector |
The ecal barrel angle vector. More... | |
float | m_barrelInnerR |
Barrel inner radius. More... | |
float | m_endCapInnerZ |
Endcap inner z position. More... | |
float | m_rCorrection |
Barrel/endcap overlap r correction. More... | |
float | m_zCorrection |
Barrel/endcap overlap z correction. More... | |
float | m_barrelEdgeR |
Extremal barrel r coordinate. More... | |
float | m_endCapEdgeZ |
Extremal endcap z coordinate. More... | |
Definition at line 22 of file PseudoLayerPlugin.h.
|
private |
Definition at line 90 of file PseudoLayerPlugin.h.
|
private |
Definition at line 51 of file PseudoLayerPlugin.h.
gar::gar_pandora::PseudoLayerPlugin::PseudoLayerPlugin | ( | ) |
Default constructor.
Definition at line 14 of file PseudoLayerPlugin.cxx.
|
private |
Fill a vector with sine/cosine values for relevant polygon angles.
symmetryOrder | the polygon symmetry order |
phi0 | the polygon cylindrical polar phi coordinate |
angleVector | the vector to fill with sine/cosine values for relevant polygon angles |
Definition at line 249 of file PseudoLayerPlugin.cxx.
|
private |
Find the layer number corresponding to a specified position, via reference to a specified layer position list.
position | the specified position |
layerPositionList | the specified layer position list |
layer | to receive the layer number |
Definition at line 106 of file PseudoLayerPlugin.cxx.
|
private |
Get the maximum polygon radius, with reference to cached sine/cosine values for relevant polygon angles.
angleVector | vector containing cached sine/cosine values |
x | the cartesian x coordinate |
y | the cartesian y coordinate |
Definition at line 230 of file PseudoLayerPlugin.cxx.
|
private |
Definition at line 45 of file PseudoLayerPlugin.cxx.
|
private |
Get the appropriate pseudolayer for a specified parameters.
rCoordinate | the radial coordinate |
zCoordinate | the z coordinate |
rCorrection | the barrel/endcap overlap r correction |
zCorrection | the barrel/endcap overlap z correction |
barrelInnerR | the barrel inner r coordinate |
endCapInnerZ | the endcap inner z coordinate |
pseudoLayer | to receive the appropriate pseudolayer |
Definition at line 77 of file PseudoLayerPlugin.cxx.
|
inlineprivate |
Definition at line 130 of file PseudoLayerPlugin.h.
|
private |
Definition at line 25 of file PseudoLayerPlugin.cxx.
|
private |
Definition at line 263 of file PseudoLayerPlugin.cxx.
|
private |
Store positions of barrel and endcap outer edges upon initialization.
Definition at line 183 of file PseudoLayerPlugin.cxx.
|
private |
Store all revelevant barrel and endcap layer positions upon initialization.
Definition at line 138 of file PseudoLayerPlugin.cxx.
|
private |
Store subdetector layer positions upon initialization.
subDetector | the sub detector |
layerParametersList | the layer parameters list |
|
private |
Store all details revelevant to barrel/endcap overlap corrections upon initialization.
Definition at line 213 of file PseudoLayerPlugin.cxx.
|
private |
Store sine and cosine of angles used to project hit positions onto polygonal calorimeter surfaces upon initialization.
Definition at line 203 of file PseudoLayerPlugin.cxx.
|
private |
Extremal barrel r coordinate.
Definition at line 124 of file PseudoLayerPlugin.h.
|
private |
Barrel inner radius.
Definition at line 118 of file PseudoLayerPlugin.h.
|
private |
List of barrel layer positions.
Definition at line 114 of file PseudoLayerPlugin.h.
|
private |
The ecal barrel angle vector.
Definition at line 116 of file PseudoLayerPlugin.h.
|
private |
Extremal endcap z coordinate.
Definition at line 125 of file PseudoLayerPlugin.h.
|
private |
Endcap inner z position.
Definition at line 119 of file PseudoLayerPlugin.h.
|
private |
List of endcap layer positions.
Definition at line 115 of file PseudoLayerPlugin.h.
|
private |
Barrel/endcap overlap r correction.
Definition at line 121 of file PseudoLayerPlugin.h.
|
private |
Barrel/endcap overlap z correction.
Definition at line 122 of file PseudoLayerPlugin.h.