#include <SeedJetBuilder.h>
|
| static const InterfaceID & | interfaceID () |
| | InterfaceID implementation needed for ToolHandle.
|
Definition at line 13 of file SeedJetBuilder.h.
◆ StoreGateSvc_t
◆ SeedJetBuilder()
| SeedJetBuilder::SeedJetBuilder |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Constructor.
Definition at line 9 of file SeedJetBuilder.cxx.
11 :
13{
14 declareInterface<DiTauToolBase > (this);
15}
◆ ~SeedJetBuilder()
| SeedJetBuilder::~SeedJetBuilder |
( |
| ) |
|
|
virtualdefault |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ eventInitialize()
Event initializer - called at the beginning of each event.
Definition at line 32 of file DiTauToolBase.cxx.
33{
34 return StatusCode::SUCCESS;
35}
◆ evtStore()
◆ execute()
Execute - called for each Ditau candidate.
Reimplemented from DiTauToolBase.
Definition at line 28 of file SeedJetBuilder.cxx.
29 {
30
32
34
35 if (pDiTau == nullptr) {
37 return StatusCode::FAILURE;
38 }
39
41 if (!pSeed) {
43 return StatusCode::FAILURE;
44 }
45
46
47
48 ATH_MSG_DEBUG(
"ditau candidate: pt: "<<pSeed->
pt()<<
" eta: "<<pSeed->
eta()<<
" phi: "<<pSeed->
phi()<<
" m: "<<pSeed->
m());
49 pDiTau->
setP4(pSeed->
pt(), pSeed->
eta(), pSeed->
phi(), pSeed->
m());
50
51
53
54 pDiTau->
setJet(pJetCont.get(), pSeed);
55
58 <<
" pt:" << (*pDiTau->
jetLink())->pt()
59 <<
" eta:" << (*pDiTau->
jetLink())->eta()
60 <<
" phi:" << (*pDiTau->
jetLink())->phi() );
61 }
62 else
64
65 if (
data->Rjet == 0 ||
data->Rsubjet == 0 ||
data->Rcore == 0 ||
68 " R_jet: " <<
data->Rjet <<
69 " R_subjet: " <<
data->Rsubjet <<
70 " R_core: " <<
data->Rcore);
71 }
72
76
77 return StatusCode::SUCCESS;
78}
#define ATH_MSG_WARNING(x)
bool isValid() const
Check if the element can be found.
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerName
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
const JetLink_t & jetLink() const
void setDetail(DiTauJetParameters::Detail detail, int value)
void setJet(const xAOD::JetContainer *cont, const xAOD::Jet *jet)
virtual double phi() const
The azimuthal angle ( ) of the particle.
virtual double pt() const
The transverse momentum ( ) of the particle.
virtual double m() const
The invariant mass of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
Jet_v1 Jet
Definition of the current "jet version".
DiTauJet_v1 DiTauJet
Definition of the current version.
◆ executeObj()
| StatusCode DiTauToolBase::executeObj |
( |
xAOD::DiTauJet & | xDiTau, |
|
|
const EventContext & | ctx ) const |
|
virtualinherited |
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ finalize()
| StatusCode DiTauToolBase::finalize |
( |
| ) |
|
|
virtualinherited |
◆ initialize()
| StatusCode SeedJetBuilder::initialize |
( |
| ) |
|
|
overridevirtual |
Tool initializer.
Reimplemented from DiTauToolBase.
Definition at line 21 of file SeedJetBuilder.cxx.
21 {
23
24 return StatusCode::SUCCESS;
25}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| const InterfaceID & DiTauToolBase::interfaceID |
( |
| ) |
|
|
staticinherited |
InterfaceID implementation needed for ToolHandle.
Definition at line 9 of file DiTauToolBase.cxx.
◆ msg()
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ retrieveTool()
template<class T>
| bool DiTauToolBase::retrieveTool |
( |
T & | tool | ) |
|
|
inherited |
Convenience functions to handle storegate objects.
Definition at line 59 of file DiTauToolBase.cxx.
59 {
60 if (
tool.retrieve().isFailure()) {
62 return false;
63 } else {
65 }
66 return true;
67}
#define ATH_MSG_VERBOSE(x)
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_detStore
◆ m_evtStore
◆ m_jetContainerName
Definition at line 34 of file SeedJetBuilder.h.
35{ this, "JetCollection", "AntiKt10LCTopoJets", "" };
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: