 |
ATLAS Offline Software
|
Go to the documentation of this file.
32 ATH_MSG_ERROR (
"only one of 'useDressedProperties', 'useClusterEta' and 'useConstituentMomentum' can be used at the same time");
33 return StatusCode::FAILURE;
38 return StatusCode::FAILURE;
43 return StatusCode::FAILURE;
48 return StatusCode::FAILURE;
53 return StatusCode::FAILURE;
58 return StatusCode::FAILURE;
63 return StatusCode::FAILURE;
68 return StatusCode::FAILURE;
73 return StatusCode::FAILURE;
78 return StatusCode::FAILURE;
83 return StatusCode::FAILURE;
88 return StatusCode::FAILURE;
94 return StatusCode::FAILURE;
98 ATH_MSG_ERROR (
"cannot use both eta and rapidity cuts at the same time");
99 return StatusCode::FAILURE;
103 ATH_MSG_DEBUG(
"Performing pt and eta cuts on the dressed properties" );
117 ATH_MSG_DEBUG(
"Performing eta cut on the e/gamma cluster" );
122 ATH_MSG_DEBUG(
"Performing eta/rapidity cut on the jet constituent momentum" );
149 return StatusCode::SUCCESS;
181 pt = (*m_dressedPtAccessor) (*particle);
185 if (!std::isfinite(
pt) ||
pt < 0.)
220 ANA_MSG_ERROR (
"no calo-cluster associated with e-gamma object");
225 absEta = std::abs (caloCluster->etaBE(2));
262 float absRapidity = 0;
276 absRapidity = std::abs (
jet->getAttribute<
xAOD::JetFourMom_t>(
"JetConstitScaleMomentum").Rapidity());
279 absRapidity = std::abs (
particle->rapidity());
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
void setCutResult(const std::string &cutName, bool cutResult)
Set the result of a cut, based on the cut name (safer)
bool absEta(const xAOD::TauJet &tau, double &out)
int addCut(const std::string &cutName, const std::string &cutDescription)
Add a cut; returning the cut position.