ATLAS Offline Software
Bmumu_reco_mumu.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // Bmumu_reco_mumu.h
8 //
9 // Author : Wolfgang Walkowiak <Wolfgang.Walkowiak@cern.ch.>
10 // Original author (Reco_mumu):
11 // Daniel Scheirich <daniel.scheirich@cern.ch>
12 //
13 // Changes:
14 // Basic dimuon reconstruction for the derivation framework.
15 // This class inherits from CfAthAlgTool instead of AthAlgTool in order
16 // to have access to the CutFlowSvc instance.
17 //
18 //============================================================================
19 //
20 #ifndef DERIVATIONFRAMEWORK_Bmumu_reco_mumu_H
21 #define DERIVATIONFRAMEWORK_Bmumu_reco_mumu_H
22 
23 #include <string>
24 
26 #include "GaudiKernel/ToolHandle.h"
31 
34 namespace Trk {
35  class V0Tools;
36 }
37 
40 namespace DerivationFramework {
41 
43  public:
44  Bmumu_reco_mumu(const std::string& t, const std::string& n,
45  const IInterface* p);
46 
47  StatusCode initialize() override;
48 
49  virtual StatusCode addBranches() const override;
50 
51  private:
54  ToolHandle<Trk::V0Tools> m_v0Tools{this, "V0Tools", "Trk::V0Tools"};
55  ToolHandle<Analysis::ICandidateSearch> m_jpsiFinder{this,"JpsiFinder", "Analysis::JpsiFinder"};
56  ToolHandle<Analysis::PrimaryVertexRefitter> m_pvRefitter{this, "PVRefitter", "Analysis::PrimaryVertexRefitter"};
57  SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
58 
62  SG::ReadHandleKey<xAOD::VertexContainer> m_pvContainerKey{this, "PVContainerName", "PrimaryVertices"};
63 
64  SG::WriteHandleKey<xAOD::VertexContainer> m_refContainerKey{this, "RefPVContainerName" , "RefittedPrimaryVertices"};
65 
66  SG::WriteHandleKey<xAOD::VertexContainer> m_outVtxContainerKey{this, "OutputVtxContainerName" , "OniaCandidates"};
67 
68  Gaudi::Property<bool> m_refitPV{this, "RefitPV", false};
69  Gaudi::Property<int> m_PV_max{this, "MaxPVrefit", 1};
70  Gaudi::Property<int> m_DoVertexType{this, "DoVertexType", 1};
71  // minimum number of tracks for PV to be considered for PV association
72  Gaudi::Property<unsigned int>m_PV_minNTracks{this, "MinNTracksInPV", 0};
73  Gaudi::Property<bool> m_do3d{this, "Do3d", false};
74 
75  };
76 }
77 
78 #endif // DERIVATIONFRAMEWORK_Bmumu_reco_mumu_H
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
IAugmentationTool.h
initialize
void initialize()
Definition: run_EoverP.cxx:894
ICandidateSearch.h
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PrimaryVertexRefitter.h
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::Bmumu_reco_mumu
Definition: Bmumu_reco_mumu.h:42
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
V0Tools
EventInfo.h
CfAthAlgTool.h
DerivationFramework::CfAthAlgTool
Definition: CfAthAlgTool.h:35