Jpp 19.3.0-rc.4
the software that should make you happy
Loading...
Searching...
No Matches
JSUPERNOVA::JSNFilterMV Class Reference

SN filter based on veto window. More...

#include <JSupernova.hh>

Inheritance diagram for JSUPERNOVA::JSNFilterMV:
JSUPERNOVA::JSNFilter

Public Member Functions

 JSNFilterMV (JRange< int > &R, JVetoSet &S)
 
bool operator() (const JCoincidenceSN &in) const
 
bool operator() (const JClusterSN &in) const
 

Private Attributes

JRange< int > A
 
JVetoSet V
 

Detailed Description

SN filter based on veto window.

Definition at line 443 of file JSupernova.hh.

Constructor & Destructor Documentation

◆ JSNFilterMV()

JSUPERNOVA::JSNFilterMV::JSNFilterMV ( JRange< int > & R,
JVetoSet & S )
inline

Definition at line 450 of file JSupernova.hh.

451 : A(R), V(S)
452 {}

Member Function Documentation

◆ operator()() [1/2]

bool JSUPERNOVA::JSNFilterMV::operator() ( const JCoincidenceSN & in) const
inlinevirtual

Implements JSUPERNOVA::JSNFilter.

Definition at line 454 of file JSupernova.hh.

454 {
455 return A(in.getMultiplicity()) && !V(in);
456 }

◆ operator()() [2/2]

bool JSUPERNOVA::JSNFilterMV::operator() ( const JClusterSN & in) const
inlinevirtual

Implements JSUPERNOVA::JSNFilter.

Definition at line 458 of file JSupernova.hh.

458 {
459 return (*this)(in.getPeak());
460 // return any_of(in.begin(), in.end(), *this);
461 }

Member Data Documentation

◆ A

JRange<int> JSUPERNOVA::JSNFilterMV::A
private

Definition at line 446 of file JSupernova.hh.

◆ V

JVetoSet JSUPERNOVA::JSNFilterMV::V
private

Definition at line 447 of file JSupernova.hh.


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