KaliVeda
Toolkit for HIC analysis
KVChIo.h
1 /***************************************************************************
2  * *
3  * This program is free software; you can redistribute it and/or modify *
4  * it under the terms of the GNU General Public License as published by *
5  * the Free Software Foundation; either version 2 of the License, or *
6  * (at your option) any later version. *
7  * *
8  ***************************************************************************/
9 
10 #ifndef KVCHIO_H
11 #define KVCHIO_H
12 
13 #include "KVINDRADetector.h"
14 #include "KVUnits.h"
15 
30 class KVChIo: public KVINDRADetector {
31 
32 public:
33 
35  {
36  set_type("CI");
37  SetLabel("CI");
38  }
39  Double_t GetELossMylar(UInt_t z, UInt_t a, Double_t egas = -1.0, Bool_t stopped = kFALSE);
40 
41  void SetPressure(Double_t P /* mbar */) override
42  {
44  KVINDRADetector::SetPressure(P * KVUnits::mbar);
45  }
46  Double_t GetPressure() const override /* mbar */
47  {
49  return KVINDRADetector::GetPressure() / KVUnits::mbar;
50  }
51 
52  ClassDefOverride(KVChIo, 5) //The ionisation chamber detectors (ChIo) of the INDRA array
53 };
54 
55 #endif
unsigned int UInt_t
bool Bool_t
double Double_t
#define ClassDefOverride(name, id)
Ionisation chamber detectors of the INDRA multidetector array.
Definition: KVChIo.h:30
KVChIo()
Definition: KVChIo.h:34
Double_t GetELossMylar(UInt_t z, UInt_t a, Double_t egas=-1.0, Bool_t stopped=kFALSE)
Definition: KVChIo.cpp:20
Double_t GetPressure() const override
Definition: KVChIo.h:46
void SetPressure(Double_t P) override
Definition: KVChIo.h:41
Base class for detectors of INDRA array.
void set_type(TString type)
const long double mbar
Definition: KVUnits.h:81