ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/auterman/SusyScan/PlotScript/PlotTools.cc
(Generate patch)

Comparing UserCode/auterman/SusyScan/PlotScript/PlotTools.cc (file contents):
Revision 1.1 by auterman, Sat Nov 27 12:03:26 2010 UTC vs.
Revision 1.2 by auterman, Sat Nov 27 12:22:28 2010 UTC

# Line 15 | Line 15
15  
16   template<class T>
17   TGraph * PlotTools<T>::Line( double(*x)(const T*), double(*y)(const T*),
18 <                              double(*func)(const T*), const double mass, const double diff )
18 >                             double(*func)(const T*), const double mass, const double diff )
19   {
20    TGraph * result = new TGraph(1);
21    std::sort(_scan->begin(),_scan->end(),sort_by(x));
# Line 30 | Line 30 | TGraph * PlotTools<T>::Line( double(*x)(
30  
31   template<class T>
32   void PlotTools<T>::Area( TH2*h, double(*x)(const T*), double(*y)(const T*),
33 <                                  double(*f)(const T*) )
33 >                         double(*f)(const T*) )
34   {
35    for (typename std::vector<T*>::const_iterator it=_scan->begin();it!=_scan->end();++it){
36      h->SetBinContent( h->GetXaxis()->FindBin(x(*it)),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines