ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
DiTauRec
DiTauRec
DiTauWPDecorator.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#pragma once
8
9
// EDM include(s):
10
#include "
xAODTau/DiTauJet.h
"
11
#include "
DiTauToolBase.h
"
12
13
#include "
AsgTools/PropertyWrapper.h
"
14
#include "
AsgDataHandles/WriteDecorHandleKeyArray.h
"
15
16
class
DiTauWPDecorator
17
:
public
DiTauToolBase
18
{
19
public
:
20
21
DiTauWPDecorator
(
const
std::string&
type
,
const
std::string& name,
const
IInterface * parent);
22
23
virtual
~DiTauWPDecorator
();
24
25
// initialize the tool
26
virtual
StatusCode
initialize
()
override
;
27
28
virtual
StatusCode
executeObj
(
xAOD::DiTauJet
& xDiTau,
const
EventContext& ctx )
const override
;
29
30
bool
passOmniWP
(
float
score,
float
wp_thrshold )
const
;
31
32
private
:
33
34
Gaudi::Property<std::string>
m_scoreName
{
this
,
"ScoreName"
,
""
,
"Name of the original score"
};
35
Gaudi::Property<std::vector<std::string>>
m_decorWPs
{
this
,
"DecorWPNames"
, {},
"Name of WPs"
};
36
Gaudi::Property<std::vector<float>>
m_decorWPCuts
{
this
,
"DecorWPCuts"
, {},
"Cut on each WP to be docorated for ditaus"
};
37
38
std::vector<SG::AuxElement::Accessor<char>>
m_charDecors
;
39
40
Gaudi::Property<std::string>
m_ditauContainerName
{
this
,
"DiTauContainerName"
,
""
,
"Name of DiTauJetContainer, must be set when using "
};
41
42
};
43
44
WriteDecorHandleKeyArray.h
DiTauJet.h
DiTauToolBase.h
PropertyWrapper.h
DiTauToolBase::DiTauToolBase
DiTauToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
DiTauToolBase.cxx:14
DiTauWPDecorator::m_decorWPCuts
Gaudi::Property< std::vector< float > > m_decorWPCuts
Definition
DiTauWPDecorator.h:36
DiTauWPDecorator::m_decorWPs
Gaudi::Property< std::vector< std::string > > m_decorWPs
Definition
DiTauWPDecorator.h:35
DiTauWPDecorator::passOmniWP
bool passOmniWP(float score, float wp_thrshold) const
Definition
DiTauWPDecorator.cxx:47
DiTauWPDecorator::m_scoreName
Gaudi::Property< std::string > m_scoreName
Definition
DiTauWPDecorator.h:34
DiTauWPDecorator::~DiTauWPDecorator
virtual ~DiTauWPDecorator()
DiTauWPDecorator::DiTauWPDecorator
DiTauWPDecorator(const std::string &type, const std::string &name, const IInterface *parent)
Definition
DiTauWPDecorator.cxx:9
DiTauWPDecorator::executeObj
virtual StatusCode executeObj(xAOD::DiTauJet &xDiTau, const EventContext &ctx) const override
Execute - called for each Ditau jet.
Definition
DiTauWPDecorator.cxx:33
DiTauWPDecorator::initialize
virtual StatusCode initialize() override
Tool initializer.
Definition
DiTauWPDecorator.cxx:19
DiTauWPDecorator::m_ditauContainerName
Gaudi::Property< std::string > m_ditauContainerName
Definition
DiTauWPDecorator.h:40
DiTauWPDecorator::m_charDecors
std::vector< SG::AuxElement::Accessor< char > > m_charDecors
Definition
DiTauWPDecorator.h:38
xAOD::DiTauJet
DiTauJet_v1 DiTauJet
Definition of the current version.
Definition
DiTauJet.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0