ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
Root
JetModifierBase.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
JetRec/JetModifierBase.h
"
6
7
//**********************************************************************
8
9
JetModifierBase::JetModifierBase
(
const
std::string& myname)
10
:
asg
::
AsgTool
(myname) {
11
#ifndef XAOD_STANDALONE
12
// Should we do this here or let the subclasses add this?
13
declareInterface<IJetModifier>(
this
);
14
#endif
15
}
16
17
//**********************************************************************
18
19
StatusCode
JetModifierBase::modify
(
xAOD::JetContainer
& jets)
const
{
20
for
(
xAOD::JetContainer::iterator
ijet=jets.begin(); ijet!=jets.end(); ++ijet) {
21
modifyJet
(**ijet);
22
}
23
return
StatusCode::SUCCESS;
24
}
25
26
int
JetModifierBase::modifyJet
(
xAOD::Jet
&)
const
{
27
ATH_MSG_WARNING
(
"JetModifierBase::modifyJet() is obsolete, does nothing, and should not be used!"
);
28
return
1;
29
}
30
//**********************************************************************
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition
AthMsgStreamMacros.h:32
JetModifierBase.h
DataVector< xAOD::Jet_v1 >::iterator
DataModel_detail::iterator< DataVector > iterator
Definition
DataVector.h:842
JetModifierBase::JetModifierBase
JetModifierBase(const std::string &myname)
Ctor.
Definition
JetModifierBase.cxx:9
JetModifierBase::modifyJet
virtual int modifyJet(xAOD::Jet &jet) const
Modify a single jet. This is obsolete and set to be removed.
Definition
JetModifierBase.cxx:26
JetModifierBase::modify
virtual StatusCode modify(xAOD::JetContainer &jets) const
Loop over calls to modifyJet.
Definition
JetModifierBase.cxx:19
asg::AsgTool::AsgTool
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition
AsgTool.cxx:58
asg
Definition
DataHandleTestTool.h:28
xAOD::Jet
Jet_v1 Jet
Definition of the current "jet version".
Definition
Event/xAOD/xAODJet/xAODJet/Jet.h:17
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
Generated on
for ATLAS Offline Software by
1.17.0