Jpp
Public Member Functions | List of all members
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)
 Applies the veto set to a coincidence. More...
 

Detailed Description

Auxiliary class to manage a set of vetoes.

Definition at line 238 of file JSupernova.hh.

Member Function Documentation

◆ operator()()

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

Applies the veto set to a coincidence.

Parameters
incoincidence to be tested

Definition at line 245 of file JSupernova.hh.

245  {
246  return any_of(this->begin(), this->end(), JMatchVeto(in));
247  }

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