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
15
16static const Double_t electron_mass = 0.511e-3;
17
18//_____________________________________________________________________________
19THaElectronKine::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//_____________________________________________________________________________
27THaElectronKine::THaElectronKine( const char* name, const char* description,
28 const char* spectro, const char* beam,
30 THaPrimaryKine(name,description,spectro,beam,target_mass)
31{
32 // Constructor with specification of optional beam apparatus
34}
35
36
37
38
double Double_t
char name[80]
static const Double_t target_mass
static const Double_t electron_mass
THaElectronKine(const char *name, const char *description, const char *spectro="", Double_t mass=0.0)
void SetMass(Double_t m)
ClassImp(TPyArg)