34 lines
680 B
C++
34 lines
680 B
C++
//
|
|
// tcs_container.hpp
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 20.05.19.
|
|
// Copyright © 2019 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#ifndef tcs_container_hpp
|
|
#define tcs_container_hpp
|
|
|
|
#include "log_scale.h"
|
|
#include "edge_container.h"
|
|
|
|
#include <string>
|
|
|
|
|
|
class TCS_Container {
|
|
double *data;
|
|
Log_Scale E_scale;
|
|
|
|
public:
|
|
TCS_Container(double E_min_eV, double E_max_eV, int number_bins, std::string load_path);
|
|
~TCS_Container();
|
|
TCS_Container(const TCS_Container& other);
|
|
TCS_Container& operator=(const TCS_Container& other);
|
|
|
|
double get_value(double E_eV);
|
|
private:
|
|
void calc_data(const std::string &load_path);
|
|
};
|
|
|
|
#endif /* tcs_container_hpp */
|