Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EGAMMA_CALIB_TOOL_H_
6 #define EGAMMA_CALIB_TOOL_H_
42 bool do_throw =
false) {
46 phi_calo = cluster.phi();
50 phi_calo = phiCaloAcc(cluster);
53 msg.msg(MSG::ERROR) <<
"phiCalo not available as auxilliary variable"
56 throw std::runtime_error(
"phiCalo not available as auxilliary variable");
58 msg.msg(MSG::WARNING) <<
"using phi as phiCalo" <<
endmsg;
59 phi_calo = cluster.phi();
65 bool do_throw =
false) {
69 eta_calo = cluster.eta();
73 eta_calo = etaCaloAcc(cluster);
76 msg.msg(MSG::ERROR) <<
"etaCalo not available as auxilliary variable"
79 throw std::runtime_error(
"etaCalo not available as auxilliary variable");
81 msg.msg(MSG::WARNING) <<
"using eta as etaCalo" <<
endmsg;
98 enum class ScaleDecorrelation {
150 double energy,
double cl_eta,
double cl_etaCalo,
152 bool withCT =
false)
const override;
200 this,
"FixForMissingCells",
true,
201 "AOD fix for cell recovery in core egamma cluster"};
238 double eta_max)
const {
246 std::pair<double, double> edges)
const {
251 const std::vector<std::pair<double, double>>& edges)
const {
252 std::vector<EgammaPredicate>
result;
253 result.reserve(edges.size());
254 for (
const auto&
it : edges) {
261 const std::vector<double>& edges)
const {
262 std::vector<EgammaPredicate>
result;
263 result.reserve(edges.size() - 1);
264 auto it2 = edges.begin();
266 for (; it2 != edges.end(); ++
it, ++it2) {
274 double eta2_min,
double eta2_max)
292 double eta1_min,
double eta1_max,
double eta2_min,
293 double eta2_max)
const {
304 bool withCT =
true)
const override;
310 "calibration service"};
318 std::unique_ptr<AtlasRoot::egammaEnergyCorrectionTool>
m_rootTool;
327 std::map<CP::SystematicVariation, egEnergyCorr::Resolution::Variation>
Class to wrap a set of SystematicVariations.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
const uint16_t AuthorFwdElectron
Electron reconstructed by the Forward cluster-based algorithm.
Select isolated Photons, Electrons and Muons.
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
parameterization of correction for ADC non linearity
Class mimicking the AthMessaging class from the offline software.
float get_phi_calo(const xAOD::CaloCluster &cluster, int author, bool do_throw=false)
@ PHICALOFRAME
Phi in the calo frame (for egamma)
Class describing the basic event information.
Return value from object correction CP tools.
float get_eta_calo(const xAOD::CaloCluster &cluster, int author, bool do_throw=false)
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Helper class to provide constant type-safe access to aux data.
@ ETACALOFRAME
Eta in the calo frame (for egamma)
setBGCode setTAP setLVL2ErrorBits bool