 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 const IInterface*
p ) : base_class(
t,
n,
p)
36 return StatusCode::SUCCESS;
44 return StatusCode::SUCCESS;
60 return StatusCode::FAILURE;
66 return StatusCode::FAILURE;
72 for (
const auto *hjet : *hiJets) {
74 float matchedJvt = -1;
76 for (
const auto *tjet : *caloJets) {
81 deltaR(tjet->eta(), hjet->eta(), hjet->phi(), tjet->phi());
83 if (dR <
m_deltaR.value() && dR < mindR) {
90 (jvtMatchedHandle)(*hjet) = matchedJvt;
92 (jvtMatchedHandle)(*hjet) = -1;
97 return StatusCode::SUCCESS;
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
setEt setPhi setE277 setWeta2 eta1
const std::string & key() const
Return the StoreGate ID for the referenced object.
__HOSTDEV__ double Phi_mpi_pi(double)
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
double deltaR(double eta1, double eta2, double phi1, double phi2)