KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
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 
36 
37 public:
38 
40  KVDBElasticPeak(const Char_t* detname);
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
unsigned char UChar_t
char Char_t
#define ClassDef(name, id)
Wrapper for KVDBPeak describing elastic peaks for calibration.
void SetAproj(UChar_t a)
void init()
default initialisations
UChar_t fZbeam
Z of projectile.
KVDBElasticPeak()
default ctor
UChar_t GetZproj() const
UChar_t GetAproj() const
virtual ~ KVDBElasticPeak()
UChar_t fAbeam
A of projectile.
void SetZproj(UChar_t z)
Calibration peak in database.
Definition: KVDBPeak.h:34
auto * a