StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StarGenerator
EvtGen1_06_00
EvtGenBase
EvtParticleFactory.hh
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:Factory for creating 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
EvtVector4R
Definition:
EvtVector4R.hh:29
EvtId
Definition:
EvtId.hh:27
EvtSpinDensity
Definition:
EvtSpinDensity.hh:27
EvtParticleFactory
Definition:
EvtParticleFactory.hh:31
EvtParticle
Definition:
EvtParticle.hh:45
Generated by
1.8.5