BOSS
8.0.0
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
28
private
:
29
std::vector<int> m_TypeList;
30
};
31
#endif
GenIMCselector.h
Particle
HepMC::GenParticle Particle
Definition
GenIMCselector.h:16
GenIMCselector
Definition
GenIMCselector.h:18
IsGenType::operator()
virtual bool operator()(const Particle *const p) const
Definition
IsGenType.cxx:19
IsGenType::IsGenType
IsGenType(int ParticleType)
Definition
IsGenType.cxx:11
IsGenType::create
GenIMCselector * create() const
Definition
IsGenType.cxx:29
8.0.0
BOSS_Gen
GenAnalysisTools
TruthHelper
include
TruthHelper
IsGenType.h
Generated by
1.16.1