BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
GenAll.cxx
Go to the documentation of this file.
1
#include <vector>
2
3
#include "HepMC/GenParticle.h"
4
#include "
TruthHelper/GenAll.h
"
5
using
std::abs;
6
using
std::vector;
7
//****************************************************************
8
//* All *
9
//****************************************************************
10
bool
GenAll::operator()
(
const
Particle
*
const
)
const
{
return
true
; }
11
bool
GenAll::operator()
(
const
Particle
& p )
const
{
return
this->
operator()
( &p ); }
12
GenIMCselector
*
GenAll::create
()
const
{
return
new
GenAll
(); }
GenAll.h
Particle
HepMC::GenParticle Particle
Definition
GenIMCselector.h:16
GenAll::operator()
bool operator()(const Particle *const p) const
Definition
GenAll.cxx:10
GenAll::GenAll
GenAll()
Definition
GenAll.h:18
GenAll::create
GenIMCselector * create() const
Definition
GenAll.cxx:12
GenIMCselector
Definition
GenIMCselector.h:18
8.0.0
BOSS_Gen
GenAnalysisTools
TruthHelper
src
GenAll.cxx
Generated by
1.16.1