ATLAS Offline Software
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 
25 #include "xAODMuon/MuonSegment.h"
27 
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 
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
PropertyWrapper.h
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
fastjet
Definition: FastJetLinkBase.h:22
MuonSegmentPseudoJetAlgorithm::m_label
Gaudi::Property< std::string > m_label
Label for the collection.
Definition: MuonSegmentPseudoJetAlgorithm.h:57
MuonSegment.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
MuonSegmentPseudoJetAlgorithm::m_outcoll
SG::WriteHandleKey< PseudoJetContainer > m_outcoll
Output collection name.
Definition: MuonSegmentPseudoJetAlgorithm.h:54
MuonSegmentContainer.h
MuonSegmentPseudoJetAlgorithm::m_incoll
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_incoll
Input collection name.
Definition: MuonSegmentPseudoJetAlgorithm.h:51
MuonSegmentPseudoJetAlgorithm::m_pt
Gaudi::Property< float > m_pt
Definition: MuonSegmentPseudoJetAlgorithm.h:59
SG::WriteHandleKey< PseudoJetContainer >
MuonSegmentPseudoJetAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: MuonSegmentPseudoJetAlgorithm.cxx:30
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
vector
Definition: MultiHisto.h:13
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
MuonSegmentPseudoJetAlgorithm
A PseudoJetAlgorithm for muon segments (which are not IParticles)
Definition: MuonSegmentPseudoJetAlgorithm.h:28
xAOD::MuonSegmentContainer
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".
Definition: MuonSegmentContainer.h:14
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaReentrantAlgorithm.cxx:29
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
PseudoJetContainer.h
MuonSegmentPseudoJetAlgorithm::initialize
virtual StatusCode initialize() override final
Athena algorithm's Hooks.
Definition: MuonSegmentPseudoJetAlgorithm.cxx:12
MuonSegmentPseudoJetAlgorithm::print
virtual void print() const
Dump to properties to the log.
Definition: MuonSegmentPseudoJetAlgorithm.cxx:88
AnaReentrantAlgorithm.h
MuonSegmentPseudoJetAlgorithm::MuonSegmentPseudoJetAlgorithm
MuonSegmentPseudoJetAlgorithm(const std::string &n, ISvcLocator *l)
Definition: MuonSegmentPseudoJetAlgorithm.h:33
MuonSegmentPseudoJetAlgorithm::createPseudoJets
std::vector< fastjet::PseudoJet > createPseudoJets(const xAOD::MuonSegmentContainer &ms) const
Definition: MuonSegmentPseudoJetAlgorithm.cxx:60