ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRecTools
JetRecTools
CaloClusterConstituentsOrigin.h
Go to the documentation of this file.
1
// this file is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// Example implementation class for the JetConstsituentModSequence sequencer.
8
// A daughter class of JetConstituentModifierBase.
9
//
10
// Author: Michael Nelson, University of Oxford, UK
11
//
12
13
14
#ifndef CALOCLUSTERCONSTITUENTSORIGIN_H
15
#define CALOCLUSTERCONSTITUENTSORIGIN_H
16
17
#include "
AsgTools/AsgTool.h
"
18
#include "
JetRecTools/JetConstituentModifierBase.h
"
19
#include "
xAODBase/IParticleContainer.h
"
20
#include "
xAODCaloEvent/CaloClusterContainer.h
"
21
22
#include "
xAODTracking/VertexContainer.h
"
23
#include "
xAODTracking/Vertex.h
"
24
25
#include "
AsgDataHandles/ReadHandleKey.h
"
26
27
28
class
CaloClusterConstituentsOrigin
:
public
JetConstituentModifierBase
{
29
ASG_TOOL_CLASS
(
CaloClusterConstituentsOrigin
,
IJetConstituentModifier
)
30
31
public
:
32
33
CaloClusterConstituentsOrigin
(
const
std::string & name);
// MEN: constructor
34
35
// Check that the configuration is reasonable
36
StatusCode
initialize
();
37
38
private
:
39
40
// Implement the correction
41
StatusCode
process_impl
(
xAOD::IParticleContainer
* cont)
const
;
42
StatusCode
correctToOriginVtx
(
xAOD::CaloClusterContainer
& cont,
const
xAOD::Vertex
& vert)
const
;
43
44
SG::ReadHandleKey<xAOD::VertexContainer>
m_readVertexContainer_key
;
45
46
};
47
48
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloClusterContainer.h
Vertex.h
JetConstituentModifierBase.h
VertexContainer.h
CaloClusterConstituentsOrigin::CaloClusterConstituentsOrigin
CaloClusterConstituentsOrigin(const std::string &name)
Definition
CaloClusterConstituentsOrigin.cxx:13
CaloClusterConstituentsOrigin::correctToOriginVtx
StatusCode correctToOriginVtx(xAOD::CaloClusterContainer &cont, const xAOD::Vertex &vert) const
Definition
CaloClusterConstituentsOrigin.cxx:50
CaloClusterConstituentsOrigin::m_readVertexContainer_key
SG::ReadHandleKey< xAOD::VertexContainer > m_readVertexContainer_key
Definition
CaloClusterConstituentsOrigin.h:44
CaloClusterConstituentsOrigin::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition
CaloClusterConstituentsOrigin.cxx:17
CaloClusterConstituentsOrigin::process_impl
StatusCode process_impl(xAOD::IParticleContainer *cont) const
Definition
CaloClusterConstituentsOrigin.cxx:27
IJetConstituentModifier
Definition
IJetConstituentModifier.h:16
JetConstituentModifierBase::JetConstituentModifierBase
JetConstituentModifierBase(const std::string &name)
Definition
JetConstituentModifierBase.cxx:14
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
xAOD::Vertex
Vertex_v1 Vertex
Define the latest version of the vertex class.
Definition
Event/xAOD/xAODTracking/xAODTracking/Vertex.h:16
xAOD::CaloClusterContainer
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
Definition
Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloClusterContainer.h:17
xAOD::IParticleContainer
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
Definition
xAOD/xAODBase/xAODBase/IParticleContainer.h:32
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0