ATLAS Offline Software
Loading...
Searching...
No Matches
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"
21
23#include "xAODTracking/Vertex.h"
24
26
27
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
45
46};
47
48#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloClusterConstituentsOrigin(const std::string &name)
StatusCode correctToOriginVtx(xAOD::CaloClusterContainer &cont, const xAOD::Vertex &vert) const
SG::ReadHandleKey< xAOD::VertexContainer > m_readVertexContainer_key
StatusCode initialize()
Dummy implementation of the initialisation function.
StatusCode process_impl(xAOD::IParticleContainer *cont) const
JetConstituentModifierBase(const std::string &name)
Property holding a SG store/key/clid from which a ReadHandle is made.
Vertex_v1 Vertex
Define the latest version of the vertex class.
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.