ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRec
JetRec
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"
19
#include "
JetRec/PseudoJetContainer.h
"
20
#include "
AnaAlgorithm/AnaReentrantAlgorithm.h
"
21
#include "
AsgTools/PropertyWrapper.h
"
22
#include "
AsgDataHandles/ReadHandleKey.h
"
23
#include "
AsgDataHandles/WriteHandleKey.h
"
24
25
#include "
xAODMuon/MuonSegment.h
"
26
#include "
xAODMuon/MuonSegmentContainer.h
"
27
28
class
MuonSegmentPseudoJetAlgorithm
:
public
EL::AnaReentrantAlgorithm
{
29
30
public
:
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
41
private
:
42
43
std
::
vector
<
fastjet
::PseudoJet>
createPseudoJets
(
const
xAOD
::MuonSegmentContainer& ms)
const
;
44
46
virtual
void
print
()
const
;
47
48
private
:
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
AnaReentrantAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonSegment.h
MuonSegmentContainer.h
PropertyWrapper.h
PseudoJetContainer.h
print
void print(char *figname, TCanvas *c1)
Definition
TRTCalib_StrawStatusPlots.cxx:26
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition
AnaReentrantAlgorithm.h:51
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
MuonSegmentPseudoJetAlgorithm::initialize
virtual StatusCode initialize() override final
Athena algorithm's Hooks.
Definition
MuonSegmentPseudoJetAlgorithm.cxx:12
MuonSegmentPseudoJetAlgorithm::MuonSegmentPseudoJetAlgorithm
MuonSegmentPseudoJetAlgorithm(const std::string &n, ISvcLocator *l)
Definition
MuonSegmentPseudoJetAlgorithm.h:33
MuonSegmentPseudoJetAlgorithm::m_pt
Gaudi::Property< float > m_pt
Definition
MuonSegmentPseudoJetAlgorithm.h:59
MuonSegmentPseudoJetAlgorithm::m_label
Gaudi::Property< std::string > m_label
Label for the collection.
Definition
MuonSegmentPseudoJetAlgorithm.h:57
MuonSegmentPseudoJetAlgorithm::createPseudoJets
std::vector< fastjet::PseudoJet > createPseudoJets(const xAOD::MuonSegmentContainer &ms) const
Definition
MuonSegmentPseudoJetAlgorithm.cxx:60
MuonSegmentPseudoJetAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition
MuonSegmentPseudoJetAlgorithm.cxx:30
MuonSegmentPseudoJetAlgorithm::m_incoll
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_incoll
Input collection name.
Definition
MuonSegmentPseudoJetAlgorithm.h:51
MuonSegmentPseudoJetAlgorithm::m_outcoll
SG::WriteHandleKey< PseudoJetContainer > m_outcoll
Output collection name.
Definition
MuonSegmentPseudoJetAlgorithm.h:54
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
vector
Definition
MultiHisto.h:13
const
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
fastjet
Definition
FastJetLinkBase.h:22
std
STL namespace.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0