BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
GenAll.cxx
Go to the documentation of this file.
1
#include <vector>
2
3
#include "
TruthHelper/GenAll.h
"
4
#include "HepMC/GenParticle.h"
5
using
std::vector;
6
using
std::abs;
7
//****************************************************************
8
//* All *
9
//****************************************************************
10
bool
GenAll::operator()
(
const
Particle
*
const
)
const
{
11
return
true
;
12
}
13
bool
GenAll::operator()
(
const
Particle
& p )
const
{
14
return
this->
operator()
(&p);
15
}
16
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:16
GenIMCselector
Definition:
GenIMCselector.h:19
source
Generator
GenAnalysisTools
TruthHelper
TruthHelper-00-00-01
src
GenAll.cxx
Generated by
1.9.6