KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
kaliveda.doxygen
KVIndra
db
KVDBElasticPeak.h
Go to the documentation of this file.
1
/***************************************************************************
2
$Id: KVDBElasticPeak.h,v 1.3 2006/10/19 14:32:43 franklan Exp $
3
KVDBElasticPeak.h - description
4
-------------------
5
begin : december 5th 2003
6
copyright : (C) 2003 by John D. Frankland
7
email : frankland@ganil.fr
8
***************************************************************************/
9
10
/***************************************************************************
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* *
17
***************************************************************************/
18
#ifndef __KVDBELASTIC_H
19
#define __KVDBELASTIC_H
20
21
#include "
KVDBPeak.h
"
22
30
class
KVDBElasticPeak
:
public
KVDBPeak
{
31
32
private
:
33
34
UChar_t
fZbeam
;
35
UChar_t
fAbeam
;
36
37
public
:
38
39
KVDBElasticPeak
();
40
KVDBElasticPeak
(
const
Char_t
* detname);
41
virtual
~ KVDBElasticPeak
()
42
{
43
};
44
45
void
init
();
46
47
void
SetZproj
(
UChar_t
z)
48
{
49
fZbeam
= z;
50
};
51
UChar_t
GetZproj
()
const
52
{
53
return
fZbeam
;
54
};
55
void
SetAproj
(
UChar_t
a)
56
{
57
fAbeam
=
a
;
58
};
59
UChar_t
GetAproj
()
const
60
{
61
return
fAbeam
;
62
};
63
64
ClassDef
(
KVDBElasticPeak
, 1)
//elastic peaks for calibration
65
};
66
67
#endif
KVDBPeak.h
UChar_t
unsigned char UChar_t
Char_t
char Char_t
ClassDef
#define ClassDef(name, id)
KVDBElasticPeak
Wrapper for KVDBPeak describing elastic peaks for calibration.
Definition:
KVDBElasticPeak.h:30
KVDBElasticPeak::SetAproj
void SetAproj(UChar_t a)
Definition:
KVDBElasticPeak.h:55
KVDBElasticPeak::init
void init()
default initialisations
Definition:
KVDBElasticPeak.cpp:26
KVDBElasticPeak::fZbeam
UChar_t fZbeam
Z of projectile.
Definition:
KVDBElasticPeak.h:34
KVDBElasticPeak::KVDBElasticPeak
KVDBElasticPeak()
default ctor
Definition:
KVDBElasticPeak.cpp:38
KVDBElasticPeak::GetZproj
UChar_t GetZproj() const
Definition:
KVDBElasticPeak.h:51
KVDBElasticPeak::GetAproj
UChar_t GetAproj() const
Definition:
KVDBElasticPeak.h:59
KVDBElasticPeak::~ KVDBElasticPeak
virtual ~ KVDBElasticPeak()
Definition:
KVDBElasticPeak.h:41
KVDBElasticPeak::fAbeam
UChar_t fAbeam
A of projectile.
Definition:
KVDBElasticPeak.h:35
KVDBElasticPeak::SetZproj
void SetZproj(UChar_t z)
Definition:
KVDBElasticPeak.h:47
KVDBPeak
Calibration peak in database.
Definition:
KVDBPeak.h:34
a
auto * a
Generated on Thu Apr 21 2022 14:14:14 for KaliVeda by
1.9.1