BOSS
7.1.1
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
12
#include "
TruthHelper/GenIMCselector.h
"
13
#endif
14
#ifndef STD_VECTOR_H
15
#include <vector>
16
#define STD_VECTOR_H
17
#endif
18
class
IsGenType
:
public
GenIMCselector
{
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
GenIMCselector.h
Particle
HepMC::GenParticle Particle
Definition
GenIMCselector.h:16
GenIMCselector
Definition
GenIMCselector.h:19
IsGenType
Definition
IsGenType.h:18
IsGenType::operator()
virtual bool operator()(const Particle *const p) const
Definition
IsGenType.cxx:22
IsGenType::IsGenType
IsGenType(int ParticleType)
Definition
IsGenType.cxx:11
IsGenType::create
GenIMCselector * create() const
Definition
IsGenType.cxx:33
7.1.1
Generator
GenAnalysisTools
TruthHelper
TruthHelper-00-00-01
TruthHelper
IsGenType.h
Generated by
1.12.0