|
ATLAS Offline Software
|
Go to the documentation of this file.
23 return StatusCode::SUCCESS;
30 std::vector<int> counts;
35 return StatusCode::SUCCESS;
38 std::vector<float> pTcuts;
39 std::vector<float> z0cuts;
40 std::vector<float> vertexZcuts;
43 trkinfo.
counts->
getDetail<std::vector<float>>(
"vertexZcuts", vertexZcuts);
46 float countForConfiguredPtThreshold{};
49 for (
size_t i = 0;
i < counts.size(); ++
i)
51 if (std::abs(pTcuts[
i] -
m_minPt) < 0.001
52 && std::abs(z0cuts[
i] -
m_maxZ0) < 0.001
56 countForConfiguredPtThreshold = counts[
i];
66 <<
" need to fix hypo tool configuration or add new threshold in tracks counting");
67 for (
size_t i = 0;
i < counts.size(); ++
i)
69 ATH_MSG_ERROR(
"Count of tracks of pTcuts " << pTcuts[
i] <<
" z0Cuts " << z0cuts[
i] <<
" vertexZcuts " << vertexZcuts[
i] <<
" that are available");
71 return StatusCode::FAILURE;
83 if ( minTrkPassed and maxTrkPassed ) {
87 return StatusCode::SUCCESS;
TrigCompositeUtils::DecisionID numeric() const
numeric ID
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
Mixin class to perform additional checks on a component.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
::StatusCode StatusCode
StatusCode definition for legacy code.
Header file to be included by clients of the Monitored infrastructure.
bool getDetail(const std::string &name, TYPE &value) const
Get an TYPE detail from the object.