BOSS
7.0.1
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
18
class
IsGenStable
:
public
GenIMCselector
{
19
20
public
:
21
IsGenStable
();
22
GenIMCselector
*
create
()
const
;
23
virtual
bool
operator()
(
const
Particle
*
const
p )
const
;
24
virtual
bool
operator()
(
const
Particle
& p )
const
;
25
private
:
26
};
27
#endif
GenIMCselector.h
Particle
HepMC::GenParticle Particle
Definition:
GenIMCselector.h:16
GenIMCselector
Definition:
GenIMCselector.h:19
IsGenStable
Definition:
IsGenStable.h:18
IsGenStable::operator()
virtual bool operator()(const Particle *const p) const
Definition:
IsGenStable.cxx:13
IsGenStable::create
GenIMCselector * create() const
Definition:
IsGenStable.cxx:20
IsGenStable::IsGenStable
IsGenStable()
Definition:
IsGenStable.cxx:11
source
Generator
GenAnalysisTools
TruthHelper
TruthHelper-00-00-01
TruthHelper
IsGenStable.h
Generated by
1.9.6