BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
IsGenStable.h
Go to the documentation of this file.
1
//*************************************************************************
2
//* *
3
//* class IsGenStable **
4
//* *
5
//* this predicate returns true if the particle is stable in a generated
6
// event or an input to Geant in a fully simulated event
7
//* i.e. the particle belongs to the final state. *
8
//* *
9
//*************************************************************************
10
#ifndef TRUTHHELPER_ISGENSTABLE_H
11
#define TRUTHHELPER_ISGENSTABLE_H
12
13
#ifndef TRUTHHELPER_GENIMCSELECTOR_H
14
# include "
TruthHelper/GenIMCselector.h
"
15
#endif
16
17
class
IsGenStable
:
public
GenIMCselector
{
18
19
public
:
20
IsGenStable
();
21
GenIMCselector
*
create
()
const
;
22
virtual
bool
operator()
(
const
Particle
*
const
p )
const
;
23
virtual
bool
operator()
(
const
Particle
& p )
const
;
24
25
private
:
26
};
27
#endif
GenIMCselector.h
Particle
HepMC::GenParticle Particle
Definition
GenIMCselector.h:16
GenIMCselector
Definition
GenIMCselector.h:18
IsGenStable::operator()
virtual bool operator()(const Particle *const p) const
Definition
IsGenStable.cxx:13
IsGenStable::create
GenIMCselector * create() const
Definition
IsGenStable.cxx:21
IsGenStable::IsGenStable
IsGenStable()
Definition
IsGenStable.cxx:11
8.0.0
BOSS_Gen
GenAnalysisTools
TruthHelper
include
TruthHelper
IsGenStable.h
Generated by
1.16.1