BOSS
7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtParticleFactory.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtParticleFactory.hh
12
//
13
// Description:Class to describe all particles
14
//
15
// Modification history:
16
//
17
// DJL December 27, 1999 Module created.
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTPARTICLEFACTORY_HH
22
#define EVTPARTICLEFACTORY_HH
23
24
#include "
EvtGenBase/EvtSpinType.hh
"
25
26
class
EvtParticle
;
27
class
EvtId
;
28
class
EvtVector4R
;
29
class
EvtSpinDensity
;
30
31
class
EvtParticleFactory
{
32
33
public
:
34
35
36
static
EvtParticle
*
particleFactory
(
EvtSpinType::spintype
spinType);
37
38
static
EvtParticle
*
particleFactory
(
EvtId
id
,
39
EvtVector4R
p4);
40
41
static
EvtParticle
*
particleFactory
(
EvtId
id
,
42
EvtVector4R
p4,
43
EvtSpinDensity
rho);
44
45
};
46
47
48
#endif
EvtSpinType.hh
EvtId
Definition:
EvtId.hh:27
EvtParticleFactory
Definition:
EvtParticleFactory.hh:31
EvtParticleFactory::particleFactory
static EvtParticle * particleFactory(EvtSpinType::spintype spinType)
Definition:
EvtParticleFactory.cc:46
EvtParticle
Definition:
EvtParticle.hh:42
EvtSpinDensity
Definition:
EvtSpinDensity.hh:27
EvtSpinType::spintype
spintype
Definition:
EvtSpinType.hh:31
EvtVector4R
Definition:
EvtVector4R.hh:29
source
Generator
BesEvtGen
BesEvtGen-00-04-08
src
EvtGen
EvtGenBase
EvtParticleFactory.hh
Generated by
1.9.6