KaliVeda
Toolkit for HIC analysis
KVPhoswich.h
1 /***************************************************************************
2 $Id: KVPhoswich.h,v 1.9 2006/10/19 14:32:43 franklan Exp $
3  kvphoswich.h - description
4  -------------------
5  begin : Fri Oct 4 2002
6  copyright : (C) 2002 by A. Mignon & J.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 
19 #ifndef KVPHOSWICH_H
20 #define KVPHOSWICH_H
21 
22 #include "KVINDRADetector.h"
23 
36 class KVPhoswich: public KVINDRADetector {
37 public:
39  {
40  set_type("PHOS");
41  SetLabel("PHOS");
42  }
43 
44  Double_t GetEnergy() const override;
45  void SetEnergy(Double_t e) const override;
46 
47  ClassDefOverride(KVPhoswich, 2) //Phoswich telescopes of the INDRA array
48 };
49 
50 #endif
double Double_t
#define ClassDefOverride(name, id)
Base class for detectors of INDRA array.
void set_type(TString type)
Phoswich detector in the INDRA array (first 3 campaigns)
Definition: KVPhoswich.h:36
Double_t GetEnergy() const override
Override KVDetector::GetEnergy to return total energy lost in both layers.
Definition: KVPhoswich.cpp:26
void SetEnergy(Double_t e) const override
Set energy lost in both layers.
Definition: KVPhoswich.cpp:39