|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #include "GaudiKernel/PhysicalConstants.h"
29 ATH_MSG_INFO(
"Initialization completed successfully:" );
33 return StatusCode::SUCCESS;
42 size_t numTrks = toolInputs.size();
46 if ( numTrigger == 1 ) {
55 return StatusCode::SUCCESS;
63 bool isPassed =
false;
65 for (
auto&
input: toolInputs ) {
79 ATH_MSG_DEBUG(
"Inclusive selection isPassed = " << isPassed );
80 return StatusCode::SUCCESS;
90 for (
size_t cutIndex=0; cutIndex <
m_cutTrackPtGeV.size(); ++cutIndex ) {
91 size_t elementIndex{ 0 };
92 for (
auto&
input: toolInputs ) {
96 passingSelection[cutIndex].push_back( elementIndex );
105 if ( passingSelection[cutIndex].
empty() ) {
106 ATH_MSG_DEBUG(
"No object passed selection " << cutIndex <<
" rejecting" );
107 return StatusCode::SUCCESS;
111 std::set<size_t> passingIndices;
114 if ( passingIndices.empty() ) {
116 return StatusCode::SUCCESS;
119 for (
auto idx: passingIndices ) {
124 return StatusCode::SUCCESS;
132 bool is_passed =
false;
142 ATH_MSG_DEBUG(
" isPassed = " << is_passed <<
", cut index / pT = " << cutIndex <<
" / " <<
pt );
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
TrigCompositeUtils::DecisionID numeric() const
numeric ID
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
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.
void elementsInUniqueCombinations(const Index2DVec &indices, std::set< size_t > &participants, std::function< bool(const Index1DVec &)> &&filter)
std::vector< Index1DVec > Index2DVec