LArSoft  v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
LArCanvasHelper.h
Go to the documentation of this file.
1 
8 #ifndef LAR_CANVAS_HELPER_H
9 #define LAR_CANVAS_HELPER_H 1
10 
11 namespace lar_dl_content
12 {
13 
18 {
19 public:
40  static void DrawRing(float **canvas, const int row, const int col, const int inner, const int outer, const float weight);
41 
53  static void Update(const int radius, int &col, int &row);
54 };
55 
56 } // namespace lar_dl_content
57 
58 #endif // #ifndef LAR_CANVAS_HELPER_H
LArCanvasHelper class.
static void Update(const int radius, int &col, int &row)
Update the coordinates along the loci of a circle. When drawing the ring we need an efficient means t...
static void DrawRing(float **canvas, const int row, const int col, const int inner, const int outer, const float weight)
Add a filled ring to the specified canvas. The ring has an inner radius based on the minimum predicte...
Float_t radius
Definition: plot.C:23
Int_t col[ntarg]
Definition: Style.C:29
double weight
Definition: plottest35.C:25