|
ATLAS Offline Software
|
#include <TrigAFPToFHypoAlg.h>
|
SG::ReadHandleKey< xAOD::VertexContainer > | m_inputIdVtxKey {this, "VertexContainer", "HLT_IDVertex_FS", "ID vertex collection"} |
|
SG::ReadHandleKey< xAOD::AFPVertexContainer > | m_inputAfpVtxKey {this, "AFPVertexContainer", "HLT_AFPVertex", "AFP ToF vertex collection"} |
|
ToolHandleArray< TrigAFPToFHypoTool > | m_hypoTools {this, "HypoTools", {}} |
|
ToolHandle< GenericMonitoringTool > | m_monTool { this, "MonTool", "", "Monitor tool for TrigAFPToFHypo" } |
|
Definition at line 24 of file TrigAFPToFHypoAlg.h.
◆ TrigAFPToFHypoAlg()
TrigAFPToFHypoAlg::TrigAFPToFHypoAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ execute()
StatusCode TrigAFPToFHypoAlg::execute |
( |
const EventContext & |
context | ) |
const |
|
overridevirtual |
Definition at line 24 of file TrigAFPToFHypoAlg.cxx.
44 if (!afpVtxHandle.isValid()) {
48 if (!idVtxHandle.isValid()) {
54 if (afpVtxHandle->size() == 0) {
58 if (idVtxHandle->size() == 0) {
64 if (skipHypoTool != 3 && idVtxHandle->size() == 1 && idVtxHandle->at(0)->vxTrackAtVertexAvailable() ==
false) {
74 for (
size_t i = 0;
i < afpVtxHandle->size(); ++
i) {
85 for (
size_t i = 0;
i < idVtxHandle->size(); ++
i) {
88 if (skipHypoTool == 0)
ATH_MSG_DEBUG(
"ID vertex [" <<
i <<
"] z position: " << idVtx->
z()
102 std::vector<TrigAFPToFHypoTool::AFPToFHypoToolInfo> hypoToolInput;
107 if (skipHypoTool != 0)
113 for (
size_t i = 0;
i < inputDecisionsHandle->size(); ++
i) {
114 const Decision* previousDecision = inputDecisionsHandle->at(
i);
136 hypoToolInput.emplace_back(inputPassingChains, afpVtx, idVtx, outputDecision);
146 ATH_CHECK( hypoBaseOutputProcessing(outputDecisionsHandle) );
148 return StatusCode::SUCCESS;
◆ initialize()
StatusCode TrigAFPToFHypoAlg::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_hypoTools
ToolHandleArray<TrigAFPToFHypoTool> TrigAFPToFHypoAlg::m_hypoTools {this, "HypoTools", {}} |
|
private |
◆ m_inputAfpVtxKey
◆ m_inputIdVtxKey
◆ m_monTool
ToolHandle<GenericMonitoringTool> TrigAFPToFHypoAlg::m_monTool { this, "MonTool", "", "Monitor tool for TrigAFPToFHypo" } |
|
private |
The documentation for this class was generated from the following files:
size_t nTrackParticles() const
Get the number of tracks associated with this vertex.
SG::ReadHandleKey< xAOD::AFPVertexContainer > m_inputAfpVtxKey
SG::ReadHandleKey< xAOD::VertexContainer > m_inputIdVtxKey
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
float position() const
Vertex position .
const std::string & hypoAlgNodeName()
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
ToolHandle< GenericMonitoringTool > m_monTool
bool setObjectLink(const std::string &name, const ElementLink< CONTAINER > &link)
Set the link to an object.
pointer_type ptr()
Dereference the pointer.
float z() const
Returns the z position.
Class used to describe composite objects in the HLT.
ToolHandleArray< TrigAFPToFHypoTool > m_hypoTools
void fill(const ToolHandle< GenericMonitoringTool > &tool, T &&... variables)
ElementLink implementation for ROOT usage.
const std::string & featureString()
float numberDoF() const
Returns the number of degrees of freedom of the vertex fit as float.
void linkToPrevious(Decision *d, const std::string &previousCollectionKey, size_t previousIndex)
Links to the previous object, location of previous 'seed' decision supplied by hand.
std::set< DecisionID > DecisionIDContainer
float chiSquared() const
Returns the of the vertex fit as float.
Class describing a Vertex.
void decisionIDs(const Decision *d, DecisionIDContainer &destination)
Extracts DecisionIDs stored in the Decision object.
Declare a monitored scalar variable.
Class representing a vertex reconstructed in AFP.
bool vxTrackAtVertexAvailable() const
Check if VxTrackAtVertices are attached to the object.