SimulationDrawingOptions.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file SimulationDrawingOptions.h
3 /// \brief Global drawing options that apply to all displays
4 /// \author messier@indiana.edu
5 ///
6 #ifndef EVD_SIMULATIONDRAWINGOPTIONS_H
7 #define EVD_SIMULATIONDRAWINGOPTIONS_H
8 #ifndef __CINT__
9 
10 #include <vector>
11 #include <string>
12 
13 #include "fhiclcpp/ParameterSet.h"
18 
19 
20 namespace evd {
21  /// \brief Global drawing options that apply to all displays
23  {
24  public:
25 
26  explicit SimulationDrawingOptions(fhicl::ParameterSet const& pset,
29 
30  void reconfigure(fhicl::ParameterSet const& pset) override;
31 
32  /// Which MC Truth objects to draw
33  int fDraw;
34  static const int kDRAW_VERTEX = 1<<0;
35  static const int kDRAW_VECTORS = 1<<1;
36  static const int kDRAW_TRAJECT = 1<<2;
37  static const int kDRAW_HITS = 1<<3;
38  static const int kDRAW_NEUTRALS = 1<<4;
39  static const int kDRAW_GAMMAS = 1<<5;
40 
41  /// Threshold to apply to FLS hits (MeV)
43 
44  /// How to render FLS hits
46  static const int kFLSHIT_AS_DOT = 0;
47  static const int kFLSHIT_AS_LINE = 1;
48 
49  /// What text to draw?
50  int fText;
51  static const int kTEXT_SHORT = 1<<0;
52  static const int kTEXT_LONG = 1<<1;
53 
57 
58  /// Modules to load the data from
59  std::vector<std::string> fMCTruthModules; ///< MCTruth here
60  std::vector<std::string> fFLSHitListModules; ///< FLSHitLists here
61  };
62 }
63 #endif // __CINT__
65 #endif
66 ////////////////////////////////////////////////////////////////////////
int fDraw
Which MC Truth objects to draw.
#define DECLARE_ART_SERVICE(svc, scope)
Definition: ServiceMacros.h:91
int fFLSHitStyle
How to render FLS hits.
nova event display
std::vector< std::string > fMCTruthModules
Modules to load the data from.
Interface class to services that are intended to be reconfigurable through the event display...
void reconfigure(fhicl::ParameterSet const &pset) override
SimulationDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
float fFLSHitThresh
Threshold to apply to FLS hits (MeV)
Global drawing options that apply to all displays.
std::vector< std::string > fFLSHitListModules
FLSHitLists here.