Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaElectronKine.cxx
Go to the documentation of this file.
1
//*-- Author : Ole Hansen 25-Feb-03
2
4
//
5
// THaElectronKine
6
//
7
// Special case of THaPrimaryKine, with an electron as the
8
// primary particle. Exists for convenience and backwards-compatibility.
9
//
11
12
#include "
THaElectronKine.h
"
13
14
ClassImp
(
THaElectronKine
)
15
16
static
const
Double_t
electron_mass
= 0.511e-3;
17
18
//_____________________________________________________________________________
19
THaElectronKine::THaElectronKine
(
const
char
* name,
const
char
* description,
20
const
char
* spectro,
Double_t
target_mass
) :
21
THaPrimaryKine
(
name
,description,spectro,
electron_mass
,
target_mass
)
22
{
23
// Standard constructor.
24
}
25
26
//_____________________________________________________________________________
27
THaElectronKine::THaElectronKine
(
const
char
* name,
const
char
* description,
28
const
char
* spectro,
const
char
* beam,
29
Double_t
target_mass
) :
30
THaPrimaryKine
(
name
,description,spectro,beam,
target_mass
)
31
{
32
// Constructor with specification of optional beam apparatus
33
SetMass
(
electron_mass
);
34
}
35
36
37
38
Double_t
double Double_t
name
char name[80]
THaElectronKine.h
target_mass
static const Double_t target_mass
Definition
THaPhotoReaction.cxx:20
electron_mass
static const Double_t electron_mass
Definition
THaSAProtonEP.cxx:20
THaElectronKine
Definition
THaElectronKine.h:12
THaElectronKine::THaElectronKine
THaElectronKine(const char *name, const char *description, const char *spectro="", Double_t mass=0.0)
Definition
THaElectronKine.cxx:19
THaPrimaryKine
Definition
THaPrimaryKine.h:18
THaPrimaryKine::SetMass
void SetMass(Double_t m)
Definition
THaPrimaryKine.cxx:225
ClassImp
ClassImp(TPyArg)
Podd
THaElectronKine.cxx
Generated by
1.9.8