ATLAS Offline Software
|
#include <ShowerDepthTool.h>
Public Member Functions | |
ShowerDepthTool () | |
~ShowerDepthTool () | |
bool | initialize () |
Function initialising the tool. More... | |
float | getCorrectedShowerDepthEM1 (float etas1, float phi, bool isData=true) const |
Shower depth (in mm) on EM1 vs. More... | |
float | getCorrectedShowerDepthEM2 (float etas2, float phi, bool isData=true) const |
Shower depth (in mm) on EM2 vs. More... | |
std::pair< float, float > | getCorrectedRZ (float eta, float phi, bool isData=true, int sampling=1) const |
Return the shower depth in R,Z considering misalignments. More... | |
float | getRZCorrection (float eta, float phi, bool isData=true) const |
Return the calorimeter displacement in R(Z) for barrel (endcap) More... | |
float | getCorrectedEtaDirection (float zvertex, float eta, float phi, bool isData=true, int sampling=1) const |
Eta direction from zvertex to the shower in the given sampling. More... | |
std::optional< float > | getCaloPointingEta (float etas1, float etas2, float phi, bool isData=true) const |
Eta direction from samplings 1 and 2 (pointing) More... | |
Static Public Member Functions | |
static float | getShowerDepthEM1 (float etas1) |
Shower depth (in mm) vs. More... | |
static float | getShowerDepthEM2 (float etas2) |
Shower depth (in mm) vs. More... | |
static std::pair< float, float > | getRZ (float eta, int sampling) |
Shower depth in R,Z for the given sampling. More... | |
static float | getEtaDirection (float zvertex, float R, float z) |
Static Private Member Functions | |
static std::unique_ptr< TH1 > | getHistoFromFile (const char *fileName, const char *histoName) |
Return TH1* from file given fileName, histoName. More... | |
Private Attributes | |
std::unique_ptr< TH1 > | m_hData |
std::unique_ptr< TH1 > | m_hMC |
Definition at line 18 of file ShowerDepthTool.h.
|
default |
|
default |
std::optional< float > CP::ShowerDepthTool::getCaloPointingEta | ( | float | etas1, |
float | etas2, | ||
float | phi, | ||
bool | isData = true |
||
) | const |
float CP::ShowerDepthTool::getCorrectedEtaDirection | ( | float | zvertex, |
float | eta, | ||
float | phi, | ||
bool | isData = true , |
||
int | sampling = 1 |
||
) | const |
Eta direction from zvertex to the shower in the given sampling.
Definition at line 100 of file ShowerDepthTool.cxx.
std::pair< float, float > CP::ShowerDepthTool::getCorrectedRZ | ( | float | eta, |
float | phi, | ||
bool | isData = true , |
||
int | sampling = 1 |
||
) | const |
Return the shower depth in R,Z considering misalignments.
Definition at line 135 of file ShowerDepthTool.cxx.
float CP::ShowerDepthTool::getCorrectedShowerDepthEM1 | ( | float | etas1, |
float | phi, | ||
bool | isData = true |
||
) | const |
Shower depth (in mm) on EM1 vs.
eta, considering misalignments
Definition at line 45 of file ShowerDepthTool.cxx.
float CP::ShowerDepthTool::getCorrectedShowerDepthEM2 | ( | float | etas2, |
float | phi, | ||
bool | isData = true |
||
) | const |
Shower depth (in mm) on EM2 vs.
eta, considering misalignments
Definition at line 51 of file ShowerDepthTool.cxx.
|
static |
Definition at line 190 of file ShowerDepthTool.cxx.
|
staticprivate |
Return TH1* from file given fileName, histoName.
Definition at line 194 of file ShowerDepthTool.cxx.
|
static |
float CP::ShowerDepthTool::getRZCorrection | ( | float | eta, |
float | phi, | ||
bool | isData = true |
||
) | const |
Return the calorimeter displacement in R(Z) for barrel (endcap)
Definition at line 151 of file ShowerDepthTool.cxx.
|
static |
Shower depth (in mm) vs.
Return the shower depth in sampling 1.
eta on EM1
Found by finding the depth where the eta resolution is optimal. See Calorimeter/CaloDetDescr/src/CaloDepthTool.cxx
Definition at line 61 of file ShowerDepthTool.cxx.
|
static |
Shower depth (in mm) vs.
Return the shower depth in sampling 1.
eta on EM2
Found by finding the depth where the eta resolution is optimal. See Calorimeter/CaloDetDescr/src/CaloDepthTool.cxx
Definition at line 83 of file ShowerDepthTool.cxx.
bool CP::ShowerDepthTool::initialize | ( | ) |
|
private |
Definition at line 65 of file ShowerDepthTool.h.
|
private |
Definition at line 66 of file ShowerDepthTool.h.