master
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
ParticleCode.cpp
Go to the documentation of this file.
1
/*
2
* ParticleCode.cpp
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
#include "
LHEF.hpp
"
15
16
namespace
LHPC
17
{
18
namespace
LHEF
19
{
20
namespace
FilterRuleClass
21
{
22
ParticleCode::ParticleCode
( std::vector< int >
const
& acceptableValues,
23
bool
const
acceptRatherThanReject ) :
24
FilterRule
( acceptRatherThanReject ),
25
acceptableValues( acceptableValues )
26
{
27
// just an initialization list.
28
}
29
30
ParticleCode::ParticleCode
(
int
const
acceptableValue,
31
bool
const
acceptRatherThanReject ) :
32
FilterRule
( acceptRatherThanReject ),
33
acceptableValues( 1,
34
acceptableValue )
35
{
36
// just an initialization list.
37
}
38
39
ParticleCode::~ParticleCode
()
40
{
41
// does nothing.
42
}
43
44
}
45
46
}
47
48
}
LHEF.hpp
LHPC::LHEF::FilterRuleClass::ParticleCode::~ParticleCode
virtual ~ParticleCode()
Definition:
ParticleCode.cpp:39
LHPC::LHEF::FilterRuleClass::ParticleCode::ParticleCode
ParticleCode(std::vector< int > const &acceptableValues, bool const acceptRatherThanReject=true)
Definition:
ParticleCode.cpp:22
LHPC::LHEF::FilterRule
Definition:
FilterRule.hpp:26
LHPC
Definition:
FourMomentum.hpp:24
LHPC
source
LHEF
FilterRuleClasses
ParticleCode.cpp
Generated on Sat Aug 9 2025 for $\texttt{HEPfit}$ using
1.9.2