LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ColorDrawingOptions.h
Go to the documentation of this file.
1 #ifndef EVD_COLORDRAWINGOPTIONS_H
5 #define EVD_COLORDRAWINGOPTIONS_H
6 #ifndef __CINT__
9 
10 #include "fhiclcpp/ParameterSet.h"
15 
16 namespace evd {
18  public:
19 
22 
23  void reconfigure(fhicl::ParameterSet const& pset) ;
24 
25  const evdb::ColorScale& RawQ(geo::SigType_t st) const;
26  const evdb::ColorScale& CalQ(geo::SigType_t st) const;
27  const evdb::ColorScale& RawT(geo::SigType_t st) const;
28  const evdb::ColorScale& CalT(geo::SigType_t st) const;
29 
31  std::vector<int > fRawDiv;
32  std::vector<int > fRecoDiv;
33  std::vector<double> fRawQLow;
34  std::vector<double> fRawQHigh;
35  std::vector<double> fRecoQLow;
36  std::vector<double> fRecoQHigh;
37 
38  private:
39 
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
const evdb::ColorScale & CalT(geo::SigType_t st) const
std::vector< int > fRawDiv
number of divisions in raw
std::vector< evdb::ColorScale > fGrayScaleRaw
Define a color scale for displaying numeric data.
std::vector< evdb::ColorScale > fColorScaleReco
std::vector< evdb::ColorScale > fColorScaleRaw
#define DECLARE_ART_SERVICE(svc, scope)
Definition: ServiceMacros.h:91
void reconfigure(fhicl::ParameterSet const &pset)
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.
Build an association between a numerical range and a ROOT color index for use in, eg...
Definition: ColorScale.h:44
const evdb::ColorScale & RawQ(geo::SigType_t st) const
enum geo::_plane_sigtype SigType_t
Enumerate the possible plane projections.
const evdb::ColorScale & CalQ(geo::SigType_t st) const
Interface class to services that are intended to be reconfigurable through the event display...
std::vector< double > fRawQHigh
high edge of ADC values for drawing raw digits
ColorDrawingOptions(fhicl::ParameterSet const &pset, art::ActivityRegistry &reg)
int fColorOrGray
0 = color, 1 = gray
std::vector< int > fRecoDiv
number of divisions in raw
std::vector< evdb::ColorScale > fGrayScaleReco
art framework interface to geometry description
const evdb::ColorScale & RawT(geo::SigType_t st) const