|
ATLAS Offline Software
|
Go to the documentation of this file.
20 return StatusCode::SUCCESS;
26 return StatusCode::SUCCESS;
29 bool passNTrkCut =
false;
30 bool passRCut =
false;
31 bool passPtCut =
false;
32 bool passChi2Cut =
false;
33 bool passMassCut =
false;
35 bool passSelection =
false;
47 if (
vertex ==
nullptr )
continue;
48 const size_t ntrk =
vertex->nTrackParticles();
53 const float x_ =
vertex->position().x();
54 const float y_ =
vertex->position().y();
55 const float r = std::sqrt(x_*x_+y_*y_);
76 std::array<bool,5>
decisions{ passNTrkCut, passRCut, passPtCut, passChi2Cut, passMassCut };
84 if (passSelection)
break;
87 if ( !passSelection ) {
88 return StatusCode::SUCCESS;
94 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.
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.
double chi2(TH1 *h0, TH1 *h1)
Header file to be included by clients of the Monitored infrastructure.
Helper class to provide constant type-safe access to aux data.
const_reference_type withDefault(const ELT &e, const T &deflt) const
Fetch the variable for one element, as a const reference, with a default.