LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ColorDrawingOptions.h
Go to the documentation of this file.
1 #ifndef EVD_COLORDRAWINGOPTIONS_H
5 #define EVD_COLORDRAWINGOPTIONS_H
6 #ifndef __CINT__
7 
9 
12 
14 
15 namespace fhicl {
16  class ParameterSet;
17 }
18 
19 namespace evd {
21  public:
22  explicit ColorDrawingOptions(fhicl::ParameterSet const& pset);
23 
24  void reconfigure(fhicl::ParameterSet const& pset);
25 
26  const evdb::ColorScale& RawQ(geo::SigType_t st) const;
27  const evdb::ColorScale& CalQ(geo::SigType_t st) const;
28  const evdb::ColorScale& RawT(geo::SigType_t st) const;
29  const evdb::ColorScale& CalT(geo::SigType_t st) const;
30 
32  std::vector<int> fRawDiv;
33  std::vector<int> fRecoDiv;
34  std::vector<double> fRawQLow;
35  std::vector<double> fRawQHigh;
36  std::vector<double> fRecoQLow;
37  std::vector<double> fRecoQHigh;
38 
39  private:
40  void CheckInputVectorSizes();
41 
42  std::vector<evdb::ColorScale> fColorScaleRaw;
43  std::vector<evdb::ColorScale> fColorScaleReco;
44  std::vector<evdb::ColorScale> fGrayScaleRaw;
45  std::vector<evdb::ColorScale> fGrayScaleReco;
46  };
47 }
48 #endif // __CINT__
50 #endif
51 
std::vector< double > fRawQLow
low edge of ADC values for drawing raw digits
std::vector< evdb::ColorScale > fGrayScaleRaw
Define a color scale for displaying numeric data.
std::vector< evdb::ColorScale > fColorScaleReco
std::vector< evdb::ColorScale > fColorScaleRaw
std::vector< double > fRecoQHigh
high edge of ADC values for drawing raw digits
std::vector< double > fRecoQLow
low edge of ADC values for drawing raw digits
LArSoft includes.
#define DECLARE_ART_SERVICE(svc, scope)
Build an association between a numerical range and a ROOT color index for use in, eg...
Definition: ColorScale.h:44
enum geo::_plane_sigtype SigType_t
Enumerate the possible plane projections.
parameter set interface
Interface class to services that are intended to be reconfigurable through the event display...
Definition of data types for geometry description.
std::vector< int > fRawDiv
number of divisions in raw
std::vector< double > fRawQHigh
high edge of ADC values for drawing raw digits
int fColorOrGray
0 = color, 1 = gray
std::vector< int > fRecoDiv
number of divisions in raw
std::vector< evdb::ColorScale > fGrayScaleReco