BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
IsGenType.h
Go to the documentation of this file.
1//*************************************************************************
2//* *
3//* class IsGenType **
4//* *
5//* this predicate returns true was on particles of specified pdg ID *
6//* *
7//*************************************************************************
8#ifndef TRUTHHELPER_ISGENTYPE_H
9#define TRUTHHELPER_ISGENTYPE_H
10
11#ifndef TRUTHHELPER_IMCSELECTOR_H
13#endif
14#ifndef STD_VECTOR_H
15#include <vector>
16#define STD_VECTOR_H
17#endif
19
20 public:
21 IsGenType(int ParticleType);
22 IsGenType(std::vector<int> ParticleTypeList);
23 IsGenType(const IsGenType& src);
24 GenIMCselector* create() const;
25 virtual bool operator()( const Particle* const p )const;
26 virtual bool operator()( const Particle& p ) const;
27 private:
28 std::vector<int> m_TypeList;
29 };
30#endif
31
HepMC::GenParticle Particle
virtual bool operator()(const Particle *const p) const
Definition: IsGenType.cxx:22
GenIMCselector * create() const
Definition: IsGenType.cxx:33