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
15#endif
16
18
19public:
21 GenIMCselector* create() const;
22 virtual bool operator()( const Particle* const p ) const;
23 virtual bool operator()( const Particle& p ) const;
24
25private:
26};
27#endif
HepMC::GenParticle Particle
virtual bool operator()(const Particle *const p) const
GenIMCselector * create() const