ATLAS Offline Software
Loading...
Searching...
No Matches
MuonSegmentPseudoJetAlgorithm.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5// MuonSegmentPseudoJetAlgorithm.h
6
13
14#ifndef MuonSegmentPseudoJetAlgorithm_H
15#define MuonSegmentPseudoJetAlgorithm_H
16
17#include <memory>
18#include "fastjet/PseudoJet.hh"
24
27
29
30public:
31
32 // Can't use "using ctor" because of incompatiblity with pyroot in AnalysisBase
33 MuonSegmentPseudoJetAlgorithm(const std::string & n, ISvcLocator* l) : EL::AnaReentrantAlgorithm(n,l) {}
34
36 virtual StatusCode initialize() override final;
37
38 // Standard execute, forwards to createAndRecord
39 virtual StatusCode execute(const EventContext& ctx) const override final;
40
41private:
42
43 std::vector<fastjet::PseudoJet> createPseudoJets(const xAOD::MuonSegmentContainer& ms) const;
44
46 virtual void print() const;
47
49
51 SG::ReadHandleKey<xAOD::MuonSegmentContainer> m_incoll{this, "InputContainer", "MuonSegments", "The input MuonSegmentContainer name"};
52
54 SG::WriteHandleKey<PseudoJetContainer> m_outcoll{this, "OutputContainer", "PseudoJetGhostMuonSegment", "The output PseudoJetContainer name"};
55
57 Gaudi::Property<std::string> m_label{this, "Label", "GhostMuonSegment", "String label identifying the pseudojet type"};
58
59 Gaudi::Property<float> m_pt{this, "Pt", 1.e-10, "The pT to set for the muon segments"};
60
61};
62
63#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
void print(char *figname, TCanvas *c1)
the base class for EventLoop reentrant algorithms
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual StatusCode initialize() override final
Athena algorithm's Hooks.
MuonSegmentPseudoJetAlgorithm(const std::string &n, ISvcLocator *l)
Gaudi::Property< std::string > m_label
Label for the collection.
std::vector< fastjet::PseudoJet > createPseudoJets(const xAOD::MuonSegmentContainer &ms) const
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_incoll
Input collection name.
SG::WriteHandleKey< PseudoJetContainer > m_outcoll
Output collection name.
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.
Forward declaration.
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private