ATLAS Offline Software
JetClustererByVertex.h
Go to the documentation of this file.
1 // this file is -*- C++ -*-
2 /*
3  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4 */
5 
6 #ifndef JETREC_JETCLUSTERERBYVERTEX_H
7 #define JETREC_JETCLUSTERERBYVERTEX_H
8 
20 
24 
26 #include "AsgTools/AsgTool.h"
28 
31 #include "JetRec/JetClusterer.h"
32 
33 #include "JetEDM/PseudoJetVector.h"
34 #include "JetEDM/ClusterSequence.h"
35 
36 #include "fastjet/PseudoJet.hh"
37 #include "fastjet/AreaDefinition.hh"
38 #include "fastjet/JetDefinition.hh"
39 
42 
45 
46 
47 public:
48 
49  JetClustererByVertex(const std::string &name);
50 
51  StatusCode initialize() override;
52 
55  std::pair<std::unique_ptr<xAOD::JetContainer>, std::unique_ptr<SG::IAuxStore> > getJets() const override;
56 
57 
58 private:
59  SG::ReadHandleKey<xAOD::VertexContainer> m_vertexContainer_key{this, "VertexContainer", "PrimaryVertices", "SG key for input vertex container"};
60 };
61 
62 
63 #endif
IJetProvider.h
JetClustererByVertex
Definition: JetClustererByVertex.h:43
PropertyWrapper.h
JetClustererByVertex::m_vertexContainer_key
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
Definition: JetClustererByVertex.h:69
PseudoJetVector.h
ClusterSequence.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
JetClusterer
Definition: JetClusterer.h:45
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JetClusterer.h
JetClustererByVertex::getJets
std::pair< std::unique_ptr< xAOD::JetContainer >, std::unique_ptr< SG::IAuxStore > > getJets() const override
Return the final jets with their aux store.
Definition: JetClustererByVertex.cxx:36
JetClustererByVertex::initialize
StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition: JetClustererByVertex.cxx:28
EventInfo.h
VertexContainer.h
PseudoJetContainer.h
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
JetClustererByVertex::JetClustererByVertex
JetClustererByVertex(const std::string &name)
Definition: JetClustererByVertex.cxx:26
JetAuxContainer.h
JetFromPseudojet.h
AsgTool.h
IJetProvider
Definition: IJetProvider.h:27