ATLAS Offline Software
|
Helper to calculate the shower depth as used in the calib hits SW cluster correction. More...
#include <CaloSwCalibHitsShowerDepth.h>
Static Public Member Functions | |
static double | depth (const float aeta, const float start_crack, const float end_crack, const CaloRec::Array< 2 > &sampling_depth, const float etamax, const xAOD::CaloCluster *cluster, MsgStream &log) |
Calculate the depth of the cluster. More... | |
Static Private Member Functions | |
static void | barrelCoefs (const float aeta, float R[4]) |
Calculate the sampling depth coefficients for the barrel. More... | |
static bool | endcapCoefs (const float aeta, const CaloRec::Array< 2 > &sampling_depth, const float etamax, float R[4]) |
Calculate the sampling depth coefficients for the endcap. More... | |
Helper to calculate the shower depth as used in the calib hits SW cluster correction.
Broken out into a separate class so that it can be used by other components.
Definition at line 32 of file CaloSwCalibHitsShowerDepth.h.
|
staticprivate |
Calculate the sampling depth coefficients for the barrel.
aeta | abs(eta) of the cluster. |
R[out] | The set of coefficients per layer. |
Definition at line 94 of file CaloSwCalibHitsShowerDepth.cxx.
|
static |
Calculate the depth of the cluster.
aeta | abs(eta) of the cluster. |
start_crack | Eta of the start of the crack. |
end_crack | Eta of the end of the crack. |
sampling_depth | Array of sampling depths per bin/sampling in the EC. |
etamax | Maximum eta value in sampling_depth. |
cluster | Cluster for which to calculate the depth. |
log | Stream for debug messages. |
Note that the sampling depth is used only in the endcap. Parameters for the barrel are hardcoded. (FIXME!) Parameters are passed by reference to allow them to be changed.
Definition at line 36 of file CaloSwCalibHitsShowerDepth.cxx.
|
staticprivate |
Calculate the sampling depth coefficients for the endcap.
aeta | abs(eta) of the cluster. |
sampling_depth | Array of sampling depths per bin/sampling in the EC. |
etamax | Maximum eta value in sampling_depth. |
R[out] | The set of coefficients per layer. |
aeta | abs(eta) of the cluster. |
etamax | Maximum eta value in sampling_depth. |
etamax | Maximum eta value in sampling_depth. |
R[out] | The set of coefficients per layer. |
Definition at line 168 of file CaloSwCalibHitsShowerDepth.cxx.