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::ContainerId::particle2>>
75 std::make_unique<OverlapDecorationHelper<columnar::ContainerId::particle2>>
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< ContainerId::particle1 > Particle1Id
ObjectId< ContainerId::particle2 > Particle2Id
ObjectId< ContainerId::eventContext > EventContextId
ObjectRange< ContainerId::particle2 > Particle2Range
ObjectRange< ContainerId::particle1 > Particle1Range
@ Jet
The object is a jet.
@ Tau
The object is a tau (jet)