Jpp 19.3.0-rc.1
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 441 of file JSupernova.hh.

Constructor & Destructor Documentation

◆ JSNFilterMV()

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

Definition at line 448 of file JSupernova.hh.

449 : A(R), V(S)
450 {}

Member Function Documentation

◆ operator()() [1/2]

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

Implements JSUPERNOVA::JSNFilter.

Definition at line 452 of file JSupernova.hh.

452 {
453 return A(in.getMultiplicity()) && !V(in);
454 }

◆ operator()() [2/2]

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

Implements JSUPERNOVA::JSNFilter.

Definition at line 456 of file JSupernova.hh.

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

Member Data Documentation

◆ A

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

Definition at line 444 of file JSupernova.hh.

◆ V

JVetoSet JSUPERNOVA::JSNFilterMV::V
private

Definition at line 445 of file JSupernova.hh.


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