|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef EGAMMA_CALIB_TOOL_H_
7 #define EGAMMA_CALIB_TOOL_H_
43 phi_calo = cluster.
phi();
47 phi_calo = phiCaloAcc(cluster);
51 msg.msg(MSG::ERROR) <<
"phiCalo not available as auxilliary variable" <<
endmsg;
52 if (do_throw) {
throw std::runtime_error(
"phiCalo not available as auxilliary variable"); }
53 msg.msg(MSG::WARNING) <<
"using phi as phiCalo" <<
endmsg;
54 phi_calo = cluster.
phi();
64 eta_calo = cluster.
eta();
69 eta_calo = etaCaloAcc(cluster);
73 msg.msg(MSG::ERROR) <<
"etaCalo not available as auxilliary variable" <<
endmsg;
74 if (do_throw) {
throw std::runtime_error(
"etaCalo not available as auxilliary variable"); }
75 msg.msg(MSG::WARNING) <<
"using eta as etaCalo" <<
endmsg;
164 "FixForMissingCells",
166 "AOD fix for cell recovery in core egamma cluster" };
197 std::vector<EgammaPredicate>
result;
198 result.reserve(edges.size());
199 for (
const auto&
it : edges) {
207 std::vector<EgammaPredicate>
result;
208 result.reserve(edges.size() - 1);
209 auto it2 = edges.begin();
211 for(; it2 != edges.end(); ++
it, ++it2)
231 "calibration service" };
238 std::unique_ptr<AtlasRoot::egammaEnergyCorrectionTool>
m_rootTool;
virtual double phi() const
The azimuthal angle ( ) of the particle.
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
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.
virtual double eta() const
The pseudorapidity ( ) of the particle.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
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