|
ATLAS Offline Software
|
Go to the documentation of this file.
30 m_bJetHelper(nullptr),
32 m_antiTauDecHelper(nullptr)
35 "Input b-jet flag. Disabled by default.");
37 "Decoration which labels ID-ed taus");
39 "Decoration which labels anti-taus");
41 "Decoration which labels event type");
44 "Calculate delta-R using rapidity");
66 std::make_unique<OverlapDecorationHelper>
74 std::make_unique<OverlapDecorationHelper>
77 return StatusCode::SUCCESS;
90 ATH_MSG_ERROR(
"First container arg is not of type JetContainer!");
91 return StatusCode::FAILURE;
95 ATH_MSG_ERROR(
"Second container arg is not of type TauJetContainer!");
96 return StatusCode::FAILURE;
100 return StatusCode::SUCCESS;
111 const EventContext& ctx = Gaudi::Hive::currentContext();
118 for(
const auto tau : taus) {
119 if(!
m_decHelper->isSurvivingObject(*tau))
continue;
128 for(
const auto tau : taus) {
129 if(!
m_decHelper->isSurvivingObject(*tau))
continue;
145 for(
const auto tau : taus) {
155 int antiTauCategory = 0;
157 for(
const auto tau : taus) {
158 if(!
m_decHelper->isSurvivingObject(*tau))
continue;
161 antiTauCategory = categoryAcc(*tau);
164 int nAntiTauMax =
int(ntaus<antiTauCategory);
173 int nSelectedAntitaus = 0;
175 for(
const auto tau : taus) {
176 if(!
m_decHelper->isSurvivingObject(*tau))
continue;
178 if (
idx == selIndex && nSelectedAntitaus < nAntiTauMax) nSelectedAntitaus++;
188 for(
const auto tau : taus) {
189 if(!
m_decHelper->isSurvivingObject(*tau))
continue;
202 return StatusCode::SUCCESS;
uint64_t eventNumber() const
The current event's event number.
DataVector adapter that acts like it holds const pointers.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Helper class to provide constant type-safe access to aux data.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a tau jet.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
DataVector adapter that acts like it holds const pointers.
thread_local event_number_t eventIndex