ATLAS Offline Software
RpvMuonD0Tool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // RpvMuonD0Tool.h (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_RPVMUOND0TOOL_H
10 #define DERIVATIONFRAMEWORK_RPVMUOND0TOOL_H 1
11 
12 #include<string>
13 
14 // Gaudi & Athena basics
16 
17 // DerivationFramework includes
19 #include "xAODMuon/MuonContainer.h"
21 
22 namespace DerivationFramework {
23 
31  class RpvMuonD0Tool : public AthAlgTool, public IAugmentationTool {
32 
33  public:
35  RpvMuonD0Tool( const std::string& t, const std::string& n, const IInterface* p );
36 
39 
40  // Athena algtool's Hooks
43 
45  virtual StatusCode addBranches() const;
46 
47  private:
48  SG::ReadHandleKey<xAOD::MuonContainer> m_collNameKey { this, "MuonContainerKey", "Muons", ""};
49  SG::WriteHandleKey<std::vector<float>> m_collNameD0Key { this, "SGPrefixD0", "MuonsD0", ""};
50  SG::WriteHandleKey<std::vector<int>> m_collNameIsCombKey { this, "SGPrefixIsComb", "MuonsisCombined", ""};
51 
52  };
53 
54 }
55 
56 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::RpvMuonD0Tool::m_collNameKey
SG::ReadHandleKey< xAOD::MuonContainer > m_collNameKey
Definition: RpvMuonD0Tool.h:48
DerivationFramework::RpvMuonD0Tool
Definition: RpvMuonD0Tool.h:31
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
IAugmentationTool.h
DerivationFramework::RpvMuonD0Tool::initialize
StatusCode initialize()
Definition: RpvMuonD0Tool.cxx:30
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::RpvMuonD0Tool::finalize
StatusCode finalize()
Definition: RpvMuonD0Tool.cxx:38
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
DerivationFramework::RpvMuonD0Tool::~RpvMuonD0Tool
~RpvMuonD0Tool()
Destructor.
Definition: RpvMuonD0Tool.cxx:26
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::RpvMuonD0Tool::RpvMuonD0Tool
RpvMuonD0Tool(const std::string &t, const std::string &n, const IInterface *p)
Constructor with parameters.
Definition: RpvMuonD0Tool.cxx:17
MuonContainer.h
DerivationFramework::RpvMuonD0Tool::m_collNameD0Key
SG::WriteHandleKey< std::vector< float > > m_collNameD0Key
Definition: RpvMuonD0Tool.h:49
DerivationFramework::RpvMuonD0Tool::m_collNameIsCombKey
SG::WriteHandleKey< std::vector< int > > m_collNameIsCombKey
Definition: RpvMuonD0Tool.h:50
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::RpvMuonD0Tool::addBranches
virtual StatusCode addBranches() const
Check that the current event passes this filter.
Definition: RpvMuonD0Tool.cxx:45