|
ATLAS Offline Software
|
Go to the documentation of this file.
27 return StatusCode::SUCCESS;
46 if (!readHandleEvtShape.
isValid())
49 return StatusCode::FAILURE;
51 shape = readHandleEvtShape.
get();
56 return StatusCode::FAILURE;
63 ATH_MSG_ERROR(
"Could not retrieve output shape w/ modulator tool");
64 return StatusCode::FAILURE;
74 for (
const auto* constituent : constituents)
88 << std::setw(12) <<
"Before:"
89 << std::setw(10) << std::setprecision(3) << p4_unsubtr.Pt()*1
e-3
90 << std::setw(10) << std::setprecision(3) << p4_unsubtr.Eta()
91 << std::setw(10) << std::setprecision(3) << p4_unsubtr.Phi()
92 << std::setw(10) << std::setprecision(3) << p4_unsubtr.E()*1
e-3
93 << std::setw(10) << std::setprecision(3) << p4_unsubtr.M()*1
e-3
94 << std::setw(12) <<
"After:"
95 << std::setw(10) << std::setprecision(3) << p4_subtr.Pt()*1
e-3
96 << std::setw(10) << std::setprecision(3) << p4_subtr.Eta()
97 << std::setw(10) << std::setprecision(3) << p4_subtr.Phi()
98 << std::setw(10) << std::setprecision(3) << p4_subtr.E()*1
e-3
99 << std::setw(10) << std::setprecision(3) << p4_subtr.M()*1
e-3);
104 if(p4_subtr.E()/std::cosh(p4_subtr.Eta()) < E_min)
109 jet4vec.SetCoordinates(p4_subtr.Pt(),p4_subtr.Eta(),p4_subtr.Phi(),p4_subtr.M());
117 (*ijet)->setJetP4(
"JetPileupScaleMomentum", jet4vec );
124 return StatusCode::SUCCESS;
bool msgLvl(const MSG::Level lvl) const
#define ATH_MSG_VERBOSE(x)
This file defines helper classes to deal with jet constituents.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
Interface class for the HI reconstruction EDM.
Handle class for recording to StoreGate.
Description of a calorimeter cluster.
(Non-const) Iterator class for DataVector/DataList.
::StatusCode StatusCode
StatusCode definition for legacy code.
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
constexpr xAOD::CaloCluster::State unsubtractedClusterState()
constexpr xAOD::JetConstitScale subtractedConstitState()
A vector of jet constituents at the scale used during jet finding.
Handle class for reading from StoreGate.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]