FairRoot/PandaRoot
PndMvdRadDamList.h
Go to the documentation of this file.
1 /*
2  * PndMvdRadDamList.h
3  *
4  * Created on: Dec 16, 2008
5  * Author: stockman
6  */
7 
8 #ifndef PNDMVDRADDAMLIST_H
9 #define PNDMVDRADDAMLIST_H
10 
11 #include <vector>
12 #include <utility>
13 
14 #include "TString.h"
15 
17 {
18 public:
19  PndMvdRadDamList(TString fileName);
20  virtual ~PndMvdRadDamList();
21 
23 
24 private:
25  std::vector<std::pair<Double_t, Double_t> > fList;
26 
27  Int_t FindClosestEnergyIndex(Double_t energy);
28  Double_t Interpolate(Double_t energy, Int_t index);
29 
31 
32 };
33 
34 #endif /* PNDMVDRADDAMLIST_H */
PndMvdRadDamList(TString fileName)
ClassDef(PndMvdRadDamList, 1)
std::vector< std::pair< Double_t, Double_t > > fList
Double_t GetWeight(Double_t energy)
Double_t
virtual ~PndMvdRadDamList()
Double_t Interpolate(Double_t energy, Int_t index)
Int_t FindClosestEnergyIndex(Double_t energy)
Double_t energy
Definition: plot_dirc.C:15