Style.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file Style.h
3 //
4 /// \author messier@indiana.edu
5 ////////////////////////////////////////////////////////////////////////
6 #ifndef EVD_LINESTYLE_H
7 #define EVD_LINESTYLE_H
8 class TLine;
9 
10 namespace evd {
11  /// Parameters for drawing options. Allow a consistent style for
12  /// drawing particle tracks
13  class Style {
14  public:
15  static const char* LatexName(int pdgcode);
16  static void FromPDG(TLine& line, int pdgcode);
17  static int ColorFromPDG(int pdgcode);
18  static int LineStyleFromPDG(int pdgcode);
19  static int LineWidthFromPDG(int pdgcode);
20  };
21 }
22 #endif
static void FromPDG(TLine &line, int pdgcode)
Definition: Style.cxx:139
static int LineWidthFromPDG(int pdgcode)
Definition: Style.cxx:102
LArSoft includes.
Definition: InfoTransfer.h:33
static int ColorFromPDG(int pdgcode)
Definition: Style.cxx:65
static const char * LatexName(int pdgcode)
Convert PDG code to a latex string (root-style)
Definition: Style.cxx:12
void line(double t, double *p, double &x, double &y, double &z)
static int LineStyleFromPDG(int pdgcode)
Definition: Style.cxx:109