master
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
FilterRule.hpp
Go to the documentation of this file.
1
/*
2
* FilterRule.hpp
3
*
4
* Created on: Jan 26, 2012
5
* Author: Ben O'Leary (benjamin.oleary@gmail.com)
6
* Copyright 2012 Ben O'Leary
7
*
8
* This file is part of LesHouchesParserClasses, released under the
9
* GNU General Public License. Please see the accompanying
10
* README.LHPC_CPP.txt file for a full list of files, brief documentation
11
* on how to use these classes, and further details on the license.
12
*/
13
14
#ifndef FILTERRULE_HPP_
15
#define FILTERRULE_HPP_
16
17
#include "
ParticleLine.hpp
"
18
19
namespace
LHPC
20
{
21
namespace
LHEF
22
{
23
// this is an abstract base class for filtering ParticleLines based on
24
// whether their entries are acceptable.
25
class
FilterRule
26
{
27
public
:
28
FilterRule
(
bool
const
acceptRatherThanReject
);
29
virtual
30
~FilterRule
();
31
32
virtual
bool
33
operator()
(
ParticleLine
const
& lineToCheck )
const
= 0;
34
35
protected
:
36
bool
const
acceptRatherThanReject
;
37
};
38
39
}
40
41
}
42
43
#endif
/* FILTERRULE_HPP_ */
ParticleLine.hpp
LHPC::LHEF::FilterRule
Definition:
FilterRule.hpp:26
LHPC::LHEF::FilterRule::operator()
virtual bool operator()(ParticleLine const &lineToCheck) const =0
LHPC::LHEF::FilterRule::~FilterRule
virtual ~FilterRule()
Definition:
FilterRule.cpp:26
LHPC::LHEF::FilterRule::FilterRule
FilterRule(bool const acceptRatherThanReject)
Definition:
FilterRule.cpp:20
LHPC::LHEF::FilterRule::acceptRatherThanReject
bool const acceptRatherThanReject
Definition:
FilterRule.hpp:36
LHPC::LHEF::ParticleLine
Definition:
ParticleLine.hpp:30
LHPC
Definition:
FourMomentum.hpp:24
LHPC
include
LHEF
FilterRule.hpp
Generated on Mon Aug 4 2025 for $\texttt{HEPfit}$ using
1.9.2