ATLAS Offline Software
Loading...
Searching...
No Matches
PseudoJetMerger.h
Go to the documentation of this file.
1// this file is -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7// PseudoJetMerger.h
8
19
20#ifndef JETREC_PSEUDOJETMERGER_H
21#define JETREC_PSEUDOJETMERGER_H
22
23
24#include <memory>
26#include "fastjet/PseudoJet.hh"
31
33
36
37public:
38
40
41 // Can't use "using ctor" because of incompatiblity with pyroot in AnalysisBase
42 PseudoJetMerger(const std::string & n, ISvcLocator* l) : EL::AnaReentrantAlgorithm(n,l) {}
43
46 virtual StatusCode initialize() override;
47
48 // Standard execute, forwards to createAndRecord
49 virtual StatusCode execute(const EventContext& ctx) const override final;
50
51private: // data
52
53 // Job options.
54
55 SG::ReadHandleKeyArray<PseudoJetContainer> m_inputPJC = {this, "InputPJContainers", { } , "Set of input pseudojets to merge"};
56
58 SG::WriteHandleKey<PseudoJetContainer> m_outcoll = {this, "OutputContainer", "", "Merged output container name" };
59
61 Gaudi::Property<std::string> m_label = {this , "Label", "merged", "Label of the collection"};
62
63
64};
65#endif
Property holding a SG store/key/clid from which a WriteHandle is made.
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
PseudoJetMerger(const std::string &n, ISvcLocator *l)
SG::ReadHandleKeyArray< PseudoJetContainer > m_inputPJC
virtual StatusCode execute(const EventContext &ctx) const override final
virtual StatusCode initialize() override
Initialization.
SG::WriteHandleKey< PseudoJetContainer > m_outcoll
Output collection name.
Gaudi::Property< std::string > m_label
Label for the collection. Set from the 1st input collection.
jet::PseudoJetVector PseudoJetVector
Property holding a SG store/key/clid from which a WriteHandle is made.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
std::vector< fastjet::PseudoJet > PseudoJetVector