ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/SusyScan/PlotScript/IsoMassLine.h
Revision: 1.3
Committed: Sat Nov 27 12:03:26 2010 UTC (14 years, 5 months ago) by auterman
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
State: FILE REMOVED
Log Message:
reorganization of code

File Contents

# Content
1 #ifndef ISOMASSLINES_H
2 #define ISOMASSLINES_H
3
4 #include <vector>
5
6 class TGraph;
7 class SusyScan;
8
9 template<class T>
10 class IsoMassLine {
11 public:
12 IsoMassLine(std::vector<T*> * scan):_scan(scan){}
13 TGraph * get( double(*x)(const T*), double(*y)(const T*),
14 double(*func)(const T*), const double mass, const double diff=5.);
15
16 private:
17 std::vector<T*> * _scan;
18
19 class sort_by{
20 public:
21 sort_by(double(*x)(const T*)):_f(x){}
22 bool operator()(const T*a, const T*b){ return _f(a)<_f(b); }
23 private:
24 double(*_f)(const T*);
25 };
26 };
27
28 #endif