simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
TSRespFuncMgr.h
1 /*
2  * TSRespFuncMgr.h
3  *
4  * Created on: Oct 2, 2014
5  * Author: Silvestro di Luise
6  * Silvestro.Di.Luise@cern.ch
7  *
8  */
9 
10 #ifndef TSRESPFUNCMGR_H_
11 #define TSRESPFUNCMGR_H_
12 
13 #include <cassert>
14 #include <iostream>
15 #include <map>
16 #include <vector>
17 
18 #include <TString.h>
19 
20 #include "TSNamed.h"
21 
22 #include "TSNuiParam.h"
23 #include "TSNuiParamSet.h"
24 
25 #include "TSRespFunc.h"
26 
27 
28 /*
29  *
30  */
31 
32 class TSRespFuncMgr: public TSNamed {
33 
34 public:
35 
36  TSRespFuncMgr();
38  virtual ~TSRespFuncMgr();
39 
40  void Clear();
41  void Copy(const TSRespFuncMgr &);
42 
43  int Add(TSNuiParam &, TSRespFunc &);
44 
45  void ImportMap(const TSRespFuncMgr &);
46 
47  const std::map<TSNuiParam*,TSRespFunc*>& GetMap() const {return fMap;}
48 
49  void Print() const;
50 
51  double Twik(const TSNuiParam& ) const;
52 
53 private:
54 
55  std::map<TSNuiParam*, TSRespFunc*> fMap;
56 
57  TSNuiParamSet fSetOfParams;
58 
59 };
60 
61 #endif /* TSRESPFUNCMGR_H_ */
Definition: TSRespFunc.h:28
Definition: TSNuiParam.h:30
Definition: TSNuiParamSet.h:36
Definition: TSNamed.h:38
Definition: TSRespFuncMgr.h:32