34 "Input b-jet flag. Disabled by default.");
36 "Decoration which labels ID-ed taus");
38 "Decoration which labels anti-taus");
40 "Decoration which labels event type");
43 "Calculate delta-R using rapidity");
66 std::make_unique<OverlapDecorationHelper<columnar::Particle2Def>>
75 std::make_unique<OverlapDecorationHelper<columnar::Particle2Def>>
82 return StatusCode::SUCCESS;
98 return StatusCode::SUCCESS;
117 for(
const auto tau :
taus) {
127 for(
const auto tau :
taus) {
132 for(
const auto jet : jets) {
141 for(
const auto jet : jets) {
144 for(
const auto tau :
taus) {
154 int antiTauCategory = 0;
155 for(
const auto tau :
taus) {
159 antiTauCategory = acc.m_categoryAcc(tau);
162 int nAntiTauMax = int(ntaus<antiTauCategory);
166 auto eventInfo = acc.m_evtAcc(eventContext);
167 auto eventIndex = eventInfo(acc.m_eventNumberAcc);
169 int selIndex = eventIndex%nantitaus;
171 int nSelectedAntitaus = 0;
173 for(
const auto tau :
taus) {
176 if (idx == selIndex && nSelectedAntitaus < nAntiTauMax) nSelectedAntitaus++;
186 for(
const auto tau :
taus) {
190 for(
const auto jet : jets) {
200 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
DataVector adapter that acts like it holds const pointers.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ObjectId< Particle1Def > Particle1Id
ObjectId< EventContextDef > EventContextId
ObjectRange< Particle2Def > Particle2Range
ObjectRange< Particle1Def > Particle1Range
ObjectId< Particle2Def > Particle2Id
@ Jet
The object is a jet.
@ Tau
The object is a tau (jet).