#include <Reco_V0Finder.h>
Definition at line 22 of file Reco_V0Finder.h.
◆ Reco_V0Finder()
| DerivationFramework::Reco_V0Finder::Reco_V0Finder |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ addBranches()
| StatusCode DerivationFramework::Reco_V0Finder::addBranches |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 49 of file Reco_V0Finder.cxx.
52 bool callV0Finder =
false;
57 if(vertContainer->
size() == 0) {
61 ATH_MSG_DEBUG(
"Container VertexContainer (" <<
str <<
") has events N= " << vertContainer->
size());
69 if ( h_V0.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
71 return StatusCode::FAILURE;
75 if ( h_Ks.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
77 return StatusCode::FAILURE;
81 if( h_La.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
83 return StatusCode::FAILURE;
87 if(h_Lb.record(std::make_unique<xAOD::VertexContainer>() ,std::make_unique<xAOD::VertexAuxContainer>()).isFailure()){
89 return StatusCode::FAILURE;
100 ATH_CHECK(importedVxContainer.isValid());
102 if (importedVxContainer->size()==0){
103 ATH_MSG_WARNING(
"You have no primary vertices: " << importedVxContainer->size());
105 primaryVertex = (*importedVxContainer)[0];
111 primaryVertex, importedVxContainer.cptr(), ctx));
113 ATH_MSG_DEBUG(
"Reco_V0Finder v0Container->size() " << v0Container->size());
114 ATH_MSG_DEBUG(
"Reco_V0Finder ksContainer->size() " << ksContainer->size());
115 ATH_MSG_DEBUG(
"Reco_V0Finder laContainer->size() " << laContainer->size());
116 ATH_MSG_DEBUG(
"Reco_V0Finder lbContainer->size() " << lbContainer->size());
125 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode DerivationFramework::Reco_V0Finder::initialize |
( |
| ) |
|
|
override |
◆ m_CollectionsToCheck
| std::vector<std::string> DerivationFramework::Reco_V0Finder::m_CollectionsToCheck |
|
private |
◆ m_ksKey
◆ m_laKey
Initial value:{ this, "LambdaContainerName", "LambdaCandidates",
"Lambda container" }
Definition at line 40 of file Reco_V0Finder.h.
◆ m_lbKey
Initial value:{ this, "LambdabarContainerName", "LambdabarCandidates",
"Lambdabar container" }
Definition at line 42 of file Reco_V0Finder.h.
◆ m_v0DecoTool
◆ m_v0FinderTool
◆ m_v0Key
◆ m_vertexKey
Initial value:{ this, "VxPrimaryCandidateName", "PrimaryVertices",
"key for retrieving vertices" }
Definition at line 35 of file Reco_V0Finder.h.
The documentation for this class was generated from the following files: