All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lareventdisplay/lareventdisplay/EventDisplay/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
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
static int LineStyleFromPDG(int pdgcode)
Definition: Style.cxx:109