ATLAS Offline Software
Loading...
Searching...
No Matches
JetPseudojetCopier.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5// JetPseudojetCopier.h
6
7#ifndef JETREC_JetPseudojetCopier_H
8#define JETREC_JetPseudojetCopier_H
9
25
26#include <string>
27#include "AsgTools/AsgTool.h"
28#include "AsgTools/ToolHandle.h"
31
33: public asg::AsgTool,
34 virtual public IJetConsumer {
35
37
38public:
39
41 JetPseudojetCopier(const std::string& myname);
42
44 StatusCode initialize();
45
47 int copy(const xAOD::JetContainer& srcjets,
48 const xAOD::JetContainer& dstjets,
49 const std::string& label ="PseudojetMap") const;
50
52 int copy(const xAOD::JetContainer& srcjets,
53 const std::string& dstname, const std::string& label ="PseudojetMap") const;
54
55 // Process the input jets using the
56 int process(const xAOD::JetContainer& srcjets) const;
57
58private:
59
61 std::string m_dstname;
62 std::string m_label;
63 ToolHandle<IJetPseudojetRetriever> m_hpjr;
64
65};
66
67#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
int copy(const xAOD::JetContainer &srcjets, const xAOD::JetContainer &dstjets, const std::string &label="PseudojetMap") const
Copy pseudojets from srcjets to dstjets.
JetPseudojetCopier(const std::string &myname)
Ctor from tool name.
StatusCode initialize()
Intialization.
std::string m_dstname
Properties.
ToolHandle< IJetPseudojetRetriever > m_hpjr
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
const std::string process
std::string label(const std::string &format, int i)
Definition label.h:19
JetContainer_v1 JetContainer
Definition of the current "jet container version".