#include <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"} |
|
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} |
|
Gaudi::Property< bool > | m_checkCollections {this, "CheckCollections", false} |
|
SG::ReadHandleKeyArray< xAOD::VertexContainer > | m_CollectionsToCheck {this, "CheckVertexContainers", {}} |
|
SG::ReadHandleKey< xAOD::VertexContainer > | m_pvContainerKey {this,"PVContainerName", "PrimaryVertices"} |
|
SG::WriteHandleKey< xAOD::VertexContainer > | m_refContainerKey {this, "RefPVContainerName","RefittedPrimaryVertices" } |
|
SG::WriteHandleKey< xAOD::VertexContainer > | m_outContainerKey {this, "OutputVtxContainerName", "OniaCandidates"} |
|
Definition at line 27 of file Reco_mumu.h.
◆ Reco_mumu()
DerivationFramework::Reco_mumu::Reco_mumu |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::Reco_mumu::addBranches |
( |
| ) |
const |
|
override |
Definition at line 58 of file Reco_mumu.cxx.
60 bool callJpsiFinder =
true;
61 const EventContext& ctx = Gaudi::Hive::currentContext();
64 if (!vertContainer.isValid()){
66 return StatusCode::FAILURE;
68 if(vertContainer->size() == 0) {
69 callJpsiFinder =
false;
70 ATH_MSG_DEBUG(
"Container VertexContainer (" << vertContainer.key() <<
") is empty");
77 std::unique_ptr<xAOD::VertexContainer> vtxContainer = std::make_unique<xAOD::VertexContainer>();
78 std::unique_ptr<xAOD::VertexAuxContainer> vtxAuxContainer = std::make_unique<xAOD::VertexAuxContainer>();
79 vtxContainer->setStore(vtxAuxContainer.get());
81 std::unique_ptr<xAOD::VertexContainer> refPvContainer =std::make_unique<xAOD::VertexContainer>();
82 std::unique_ptr<xAOD::VertexAuxContainer> refPvAuxContainer = std::make_unique<xAOD::VertexAuxContainer>();
83 refPvContainer->setStore(refPvAuxContainer.get());
96 if (!pvContainer.isValid()){
98 return StatusCode::FAILURE;
123 ATH_CHECK(out_handle.record(std::move(vtxContainer), std::move(vtxAuxContainer)));
126 ATH_CHECK(refitHandle.record(std::move(refPvContainer), std::move(refPvAuxContainer)));
129 return StatusCode::SUCCESS;
◆ initialize()
StatusCode DerivationFramework::Reco_mumu::initialize |
( |
| ) |
|
|
override |
Definition at line 30 of file Reco_mumu.cxx.
51 return StatusCode::SUCCESS;
◆ m_checkCollections
Gaudi::Property<bool> DerivationFramework::Reco_mumu::m_checkCollections {this, "CheckCollections", false} |
|
private |
◆ m_CollectionsToCheck
◆ m_do3d
Gaudi::Property<bool> DerivationFramework::Reco_mumu::m_do3d {this, "Do3d" , false} |
|
private |
◆ m_DoVertexType
Gaudi::Property<int> DerivationFramework::Reco_mumu::m_DoVertexType {this, "DoVertexType", 1} |
|
private |
◆ m_eventInfo_key
◆ m_jpsiFinder
◆ m_outContainerKey
◆ m_PV_max
Gaudi::Property<int> DerivationFramework::Reco_mumu::m_PV_max {this, "MaxPVrefit", 1} |
|
private |
◆ m_PV_minNTracks
Gaudi::Property<unsigned int> DerivationFramework::Reco_mumu::m_PV_minNTracks {this, "MinNTracksInPV", 0} |
|
private |
◆ m_pvContainerKey
◆ m_pvRefitter
◆ m_refContainerKey
◆ m_refitPV
Gaudi::Property<bool> DerivationFramework::Reco_mumu::m_refitPV {this, "RefitPV", false} |
|
private |
◆ m_v0Tools
The documentation for this class was generated from the following files: