Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JSUPERNOVA::JVetoSet Class Reference

Auxiliary class to manage a set of vetoes. More...

#include <JSupernova.hh>

Inheritance diagram for JSUPERNOVA::JVetoSet:
std::vector< JVeto >

Public Member Functions

bool operator() (const JCoincidenceSN &in) const
 Applies the veto set to a coincidence.
 

Detailed Description

Auxiliary class to manage a set of vetoes.

Definition at line 334 of file JSupernova.hh.

Member Function Documentation

◆ operator()()

bool JSUPERNOVA::JVetoSet::operator() ( const JCoincidenceSN & in) const
inline

Applies the veto set to a coincidence.

Parameters
incoincidence to be tested

Definition at line 341 of file JSupernova.hh.

341 {
342 return any_of(this->begin(), this->end(), JMatchVeto(in));
343 }

The documentation for this class was generated from the following file: