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
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();}
HepMC::GenParticle Particle
bool operator()(const Particle *const p) const
Definition: GenAll.cxx:10
GenAll()
Definition: GenAll.h:18
GenIMCselector * create() const
Definition: GenAll.cxx:16