KaliVeda
Toolkit for HIC analysis
KVDBElasticPeak.h
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 
31 class KVDBElasticPeak: public KVDBPeak {
32 
33 private:
34 
37 
38 public:
39 
41  KVDBElasticPeak(const Char_t* detname);
43  {
44  };
45 
46  void init();
47 
48  void SetZproj(UChar_t z)
49  {
50  fZbeam = z;
51  };
52  UChar_t GetZproj() const
53  {
54  return fZbeam;
55  };
56  void SetAproj(UChar_t a)
57  {
58  fAbeam = a;
59  };
60  UChar_t GetAproj() const
61  {
62  return fAbeam;
63  };
64 
65  ClassDef(KVDBElasticPeak, 1) //elastic peaks for calibration
66 };
67 
68 #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:35
TArc a