Skip to content
Snippets Groups Projects
ref_utils.h 363 B
Newer Older
  • Learn to ignore specific revisions
  • Chao Peng's avatar
    Chao Peng committed
    #pragma once
    #include <vector>
    #include "Math/Point2D.h"
    
    // some utility functions that can be shared
    namespace ref::utils {
    
    typedef ROOT::Math::XYPoint Point;
    
    // fill squares in a ring
    std::vector<Point> fillSquares(Point ref, double lside, double rmin, double rmax,
                                   double phmin = -M_PI, double phmax = M_PI);
    
    } // ref::utils