#include <Bmumu_reco_mumu.h>
|
ToolHandle< Trk::V0Tools > | m_v0Tools {this, "V0Tools", "Trk::V0Tools"} |
| tools More...
|
|
ToolHandle< Analysis::ICandidateSearch > | m_jpsiFinder {this,"JpsiFinder", "Analysis::JpsiFinder"} |
|
ToolHandle< Analysis::PrimaryVertexRefitter > | m_pvRefitter {this, "PVRefitter", "Analysis::PrimaryVertexRefitter"} |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfo_key {this, "EventInfo", "EventInfo", "Input event information"} |
|
SG::ReadHandleKey< xAOD::VertexContainer > | m_pvContainerKey {this, "PVContainerName", "PrimaryVertices"} |
| job options More...
|
|
SG::WriteHandleKey< xAOD::VertexContainer > | m_refContainerKey {this, "RefPVContainerName" , "RefittedPrimaryVertices"} |
|
SG::WriteHandleKey< xAOD::VertexContainer > | m_outVtxContainerKey {this, "OutputVtxContainerName" , "OniaCandidates"} |
|
Gaudi::Property< bool > | m_refitPV {this, "RefitPV", false} |
|
Gaudi::Property< int > | m_PV_max {this, "MaxPVrefit", 1} |
|
Gaudi::Property< int > | m_DoVertexType {this, "DoVertexType", 1} |
|
Gaudi::Property< unsigned int > | m_PV_minNTracks {this, "MinNTracksInPV", 0} |
|
Gaudi::Property< bool > | m_do3d {this, "Do3d", false} |
|
Definition at line 42 of file Bmumu_reco_mumu.h.
◆ Bmumu_reco_mumu()
DerivationFramework::Bmumu_reco_mumu::Bmumu_reco_mumu |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::Bmumu_reco_mumu::addBranches |
( |
| ) |
const |
|
overridevirtual |
Definition at line 65 of file Bmumu_reco_mumu.cxx.
67 const EventContext& ctx = Gaudi::Hive::currentContext();
69 std::unique_ptr<xAOD::VertexContainer> vtxContainer = std::make_unique<xAOD::VertexContainer>();
70 std::unique_ptr<xAOD::VertexAuxContainer> vtxAuxContainer = std::make_unique<xAOD::VertexAuxContainer>();
71 vtxContainer->setStore(vtxAuxContainer.get());
76 if( !
m_jpsiFinder->performSearch(ctx, *vtxContainer).isSuccess() ) {
78 return StatusCode::FAILURE;
85 if (!pvContainer.isValid()){
87 return StatusCode::FAILURE;
94 std::unique_ptr<xAOD::VertexContainer> refPvContainer = std::make_unique<xAOD::VertexContainer>();
95 std::unique_ptr<xAOD::VertexAuxContainer> refPvAuxContainer = std::make_unique<xAOD::VertexAuxContainer>();
96 refPvContainer->setStore(refPvAuxContainer.get());
103 return StatusCode::FAILURE;
121 ATH_CHECK(outputVertices.record(std::move(vtxContainer), std::move(vtxAuxContainer)));
125 ATH_CHECK(refitVertices.record(std::move(refPvContainer), std::move(refPvAuxContainer)));
129 addEvent(
"dimuEvents");
132 addEvent(
"dimuWithVertexCand");
135 addToCounter(
"dimuNumVertices",
nVertices);
137 return StatusCode::SUCCESS;
◆ initialize()
StatusCode DerivationFramework::Bmumu_reco_mumu::initialize |
( |
| ) |
|
|
override |
◆ m_do3d
Gaudi::Property<bool> DerivationFramework::Bmumu_reco_mumu::m_do3d {this, "Do3d", false} |
|
private |
◆ m_DoVertexType
Gaudi::Property<int> DerivationFramework::Bmumu_reco_mumu::m_DoVertexType {this, "DoVertexType", 1} |
|
private |
◆ m_eventInfo_key
◆ m_jpsiFinder
◆ m_outVtxContainerKey
◆ m_PV_max
Gaudi::Property<int> DerivationFramework::Bmumu_reco_mumu::m_PV_max {this, "MaxPVrefit", 1} |
|
private |
◆ m_PV_minNTracks
Gaudi::Property<unsigned int> DerivationFramework::Bmumu_reco_mumu::m_PV_minNTracks {this, "MinNTracksInPV", 0} |
|
private |
◆ m_pvContainerKey
◆ m_pvRefitter
◆ m_refContainerKey
◆ m_refitPV
Gaudi::Property<bool> DerivationFramework::Bmumu_reco_mumu::m_refitPV {this, "RefitPV", false} |
|
private |
◆ m_v0Tools
The documentation for this class was generated from the following files: