ATLAS Offline Software
Loading...
Searching...
No Matches
Reco_mumu.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef DERIVATIONFRAMEWORK_Reco_mumu_H
5#define DERIVATIONFRAMEWORK_Reco_mumu_H
6
7#include <string>
8
10#include "GaudiKernel/ToolHandle.h"
17namespace Trk {
18 class V0Tools;
19}
20
21
22
25namespace DerivationFramework {
26
27 class Reco_mumu : public extends<AthAlgTool, IAugmentationTool> {
28 public:
29 Reco_mumu(const std::string& t, const std::string& n, const IInterface* p);
30
31 StatusCode initialize() override;
32
33 StatusCode addBranches(const EventContext& ctx) const override;
34
35 private:
38 ToolHandle<Trk::V0Tools> m_v0Tools{this, "V0Tools", "Trk::V0Tools"};
39 ToolHandle<Analysis::ICandidateSearch> m_jpsiFinder{this,"JpsiFinder", "Analysis::JpsiFinder"};
40 ToolHandle<Analysis::PrimaryVertexRefitter> m_pvRefitter{this, "PVRefitter", "Analysis::PrimaryVertexRefitter"};
41 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
42
43
44 // minimum number of tracks for PV to be considered for PV association
45
46 Gaudi::Property<bool> m_refitPV{this, "RefitPV", false};
47 Gaudi::Property<int> m_PV_max{this, "MaxPVrefit", 1};
48 Gaudi::Property<int> m_DoVertexType{this, "DoVertexType", 1};
49 Gaudi::Property<unsigned int> m_PV_minNTracks{this, "MinNTracksInPV", 0};
50 Gaudi::Property<bool> m_do3d{this, "Do3d" , false};
51 Gaudi::Property<bool> m_checkCollections{this, "CheckCollections", false};
52
54 SG::ReadHandleKey<xAOD::VertexContainer> m_pvContainerKey{this,"PVContainerName", "PrimaryVertices"};
55
56 SG::WriteHandleKey<xAOD::VertexContainer> m_refContainerKey{this, "RefPVContainerName","RefittedPrimaryVertices" };
57 SG::WriteHandleKey<xAOD::VertexContainer> m_outContainerKey{this, "OutputVtxContainerName", "OniaCandidates"};
58 };
59}
60
61#endif // DERIVATIONFRAMEWORK_Reco_mumu_H
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerKey
Definition Reco_mumu.h:54
Gaudi::Property< bool > m_checkCollections
Definition Reco_mumu.h:51
ToolHandle< Analysis::ICandidateSearch > m_jpsiFinder
Definition Reco_mumu.h:39
Gaudi::Property< int > m_PV_max
Definition Reco_mumu.h:47
StatusCode initialize() override
Definition Reco_mumu.cxx:30
Reco_mumu(const std::string &t, const std::string &n, const IInterface *p)
Definition Reco_mumu.cxx:22
Gaudi::Property< bool > m_do3d
Definition Reco_mumu.h:50
SG::WriteHandleKey< xAOD::VertexContainer > m_outContainerKey
Definition Reco_mumu.h:57
Gaudi::Property< unsigned int > m_PV_minNTracks
Definition Reco_mumu.h:49
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
Definition Reco_mumu.h:40
SG::ReadHandleKeyArray< xAOD::VertexContainer > m_CollectionsToCheck
Definition Reco_mumu.h:53
Gaudi::Property< bool > m_refitPV
Definition Reco_mumu.h:46
SG::WriteHandleKey< xAOD::VertexContainer > m_refContainerKey
Definition Reco_mumu.h:56
StatusCode addBranches(const EventContext &ctx) const override
Definition Reco_mumu.cxx:58
ToolHandle< Trk::V0Tools > m_v0Tools
tools
Definition Reco_mumu.h:38
Gaudi::Property< int > m_DoVertexType
Definition Reco_mumu.h:48
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition Reco_mumu.h:41
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.
THE reconstruction tool.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray
Ensure that the ATLAS eigen extensions are properly loaded.