ColorDrawingOptions.h
Go to the documentation of this file.
1 /// \file ColorDrawingOptions.h
2 /// \brief The color scales used by the event display
3 /// \author messier@indiana.edu
4 /// \version $Id: ColorScaleTable.h,v 1.1.1.1 2010/11/10 19:44:54 p-novaart Exp $
5 #ifndef EVD_COLORDRAWINGOPTIONS_H
6 #define EVD_COLORDRAWINGOPTIONS_H
7 #ifndef __CINT__
8 #include "nuevdb/EventDisplayBase/ColorScale.h"
9 #include "Geometry/GeometryGAr.h"
10 
11 #include "fhiclcpp/ParameterSet.h"
16 #include "nuevdb/EventDisplayBase/Reconfigurable.h"
17 
18 namespace gar {
19 namespace evd {
20  class ColorDrawingOptions :public evdb::Reconfigurable
21  {
22  public:
23 
24  explicit ColorDrawingOptions(fhicl::ParameterSet const& pset,
27 
28  void reconfigure(fhicl::ParameterSet const& pset);
29 
30  evdb::ColorScale const& RawQ() const;
31  evdb::ColorScale const& CalQ() const;
32  evdb::ColorScale const& RawT() const;
33  evdb::ColorScale const& CalT() const;
34 
35  int fColorOrGray; ///< 0 = color, 1 = gray
36  int fRawDiv; ///< number of divisions in raw
37  int fRecoDiv; ///< number of divisions in raw
38  double fRawQLow; ///< low edge of ADC values for drawing raw digits
39  double fRawQHigh; ///< high edge of ADC values for drawing raw digits
40  double fRecoQLow; ///< low edge of ADC values for drawing raw digits
41  double fRecoQHigh; ///< high edge of ADC values for drawing raw digits
42 
43  private:
44 
45  evdb::ColorScale fColorScaleRaw;
46  evdb::ColorScale fGrayScaleRaw;
47  evdb::ColorScale fColorScaleReco;
48  evdb::ColorScale fGrayScaleReco;
49  };
50 }
51 }
52 #endif // __CINT__
54 #endif
55 ////////////////////////////////////////////////////////////////////////
evdb::ColorScale const & CalT() const
double fRecoQHigh
high edge of ADC values for drawing raw digits
evdb::ColorScale const & CalQ() const
double fRawQLow
low edge of ADC values for drawing raw digits
LArSoft includes.
Definition: InfoTransfer.h:33
#define DECLARE_ART_SERVICE(svc, scope)
void reconfigure(fhicl::ParameterSet const &pset)
evdb::ColorScale const & RawQ() const
int fRawDiv
number of divisions in raw
int fColorOrGray
0 = color, 1 = gray
double fRawQHigh
high edge of ADC values for drawing raw digits
evdb::ColorScale const & RawT() const
double fRecoQLow
low edge of ADC values for drawing raw digits
General GArSoft Utilities.
ColorDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
int fRecoDiv
number of divisions in raw
art framework interface to geometry description