APRILPseudoLayerPlugin class.
More...
#include <APRILPseudoLayerPlugin.h>
|
| APRILPseudoLayerPlugin () |
| Default constructor.
|
|
unsigned int | GetPseudoLayer (const pandora::CartesianVector &positionVector) const |
|
unsigned int | GetPseudoLayerAtIp () const |
|
|
typedef std::vector< float > | LayerPositionList |
|
typedef std::vector< std::pair
< float, float > > | AngleVector |
|
|
pandora::StatusCode | Initialize () |
|
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.
|
|
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.
|
|
void | StorePolygonAngles () |
| Store sine and cosine of angles used to project hit positions onto polygonal calorimeter surfaces upon initialization.
|
|
void | StoreOverlapCorrectionDetails () |
| Store all details revelevant to barrel/endcap overlap corrections upon initialization.
|
|
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) |
|
void april_content::APRILPseudoLayerPlugin::FillAngleVector |
( |
const unsigned int |
symmetryOrder, |
|
|
const float |
phi0, |
|
|
AngleVector & |
angleVector |
|
) |
| const |
|
private |
Fill a vector with sine/cosine values for relevant polygon angles.
- Parameters
-
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 |
pandora::StatusCode april_content::APRILPseudoLayerPlugin::FindMatchingLayer |
( |
const float |
position, |
|
|
const LayerPositionList & |
layerPositionList, |
|
|
unsigned int & |
layer |
|
) |
| const |
|
private |
Find the layer number corresponding to a specified position, via reference to a specified layer position list.
- Parameters
-
position | the specified position |
layerPositionList | the specified layer position list |
layer | to receive the layer number |
float april_content::APRILPseudoLayerPlugin::GetMaximumRadius |
( |
const AngleVector & |
angleVector, |
|
|
const float |
x, |
|
|
const float |
y |
|
) |
| const |
|
private |
Get the maximum polygon radius, with reference to cached sine/cosine values for relevant polygon angles.
- Parameters
-
angleVector | vector containing cached sine/cosine values |
x | the cartesian x coordinate |
y | the cartesian y coordinate |
- Returns
- the maximum radius
pandora::StatusCode april_content::APRILPseudoLayerPlugin::GetPseudoLayer |
( |
const float |
rCoordinate, |
|
|
const float |
zCoordinate, |
|
|
const float |
rCorrection, |
|
|
const float |
zCorrection, |
|
|
const float |
barrelInnerR, |
|
|
const float |
endCapInnerZ, |
|
|
unsigned int & |
pseudoLayer |
|
) |
| const |
|
private |
Get the appropriate pseudolayer for a specified parameters.
- 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 |
void april_content::APRILPseudoLayerPlugin::StoreLayerPositions |
( |
const pandora::SubDetector & |
subDetector, |
|
|
LayerPositionList & |
LayerPositionList |
|
) |
| |
|
private |
Store subdetector layer positions upon initialization.
- Parameters
-
subDetector | the sub detector |
layerParametersList | the layer parameters list |
The documentation for this class was generated from the following files: