LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ColorDrawingOptions.h"
Public Member Functions | |
ColorDrawingOptions (fhicl::ParameterSet const &pset, art::ActivityRegistry ®) | |
~ColorDrawingOptions () | |
void | reconfigure (fhicl::ParameterSet const &pset) |
const evdb::ColorScale & | RawQ (geo::SigType_t st) const |
const evdb::ColorScale & | CalQ (geo::SigType_t st) const |
const evdb::ColorScale & | RawT (geo::SigType_t st) const |
const evdb::ColorScale & | CalT (geo::SigType_t st) const |
void | do_reconfigure (fhicl::ParameterSet const &pset) |
Public Attributes | |
int | fColorOrGray |
0 = color, 1 = gray More... | |
std::vector< int > | fRawDiv |
number of divisions in raw More... | |
std::vector< int > | fRecoDiv |
number of divisions in raw More... | |
std::vector< double > | fRawQLow |
low edge of ADC values for drawing raw digits More... | |
std::vector< double > | fRawQHigh |
high edge of ADC values for drawing raw digits More... | |
std::vector< double > | fRecoQLow |
low edge of ADC values for drawing raw digits More... | |
std::vector< double > | fRecoQHigh |
high edge of ADC values for drawing raw digits More... | |
Private Member Functions | |
void | CheckInputVectorSizes () |
Private Attributes | |
std::vector< evdb::ColorScale > | fColorScaleRaw |
std::vector< evdb::ColorScale > | fColorScaleReco |
std::vector< evdb::ColorScale > | fGrayScaleRaw |
std::vector< evdb::ColorScale > | fGrayScaleReco |
Definition at line 17 of file ColorDrawingOptions.h.
|
explicit |
Definition at line 19 of file ColorDrawingOptions_service.cc.
References CheckInputVectorSizes(), fColorOrGray, fColorScaleRaw, fColorScaleReco, fGrayScaleRaw, fGrayScaleReco, fRawDiv, fRawQHigh, fRawQLow, fRecoDiv, fRecoQHigh, fRecoQLow, evdb::kBlueToRedII, evdb::kLinear, and evdb::kLinGray.
evd::ColorDrawingOptions::~ColorDrawingOptions | ( | ) |
Definition at line 64 of file ColorDrawingOptions_service.cc.
const evdb::ColorScale & evd::ColorDrawingOptions::CalQ | ( | geo::SigType_t | st | ) | const |
Definition at line 154 of file ColorDrawingOptions_service.cc.
References fColorOrGray, fColorScaleReco, fGrayScaleReco, and geo::kMysteryType.
Referenced by evd::TQPad::Draw(), evd::RecoBaseDrawer::DrawPFParticle3D(), and evd::RecoBaseDrawer::Wire2D().
const evdb::ColorScale & evd::ColorDrawingOptions::CalT | ( | geo::SigType_t | st | ) | const |
Definition at line 183 of file ColorDrawingOptions_service.cc.
References DEFINE_ART_SERVICE, fColorOrGray, fColorScaleReco, fGrayScaleReco, and geo::kMysteryType.
|
private |
Definition at line 69 of file ColorDrawingOptions_service.cc.
References fRawDiv, fRawQHigh, fRawQLow, fRecoDiv, fRecoQHigh, fRecoQLow, and geo::kMysteryType.
Referenced by ColorDrawingOptions(), and reconfigure().
|
inlineinherited |
Definition at line 17 of file Reconfigurable.h.
const evdb::ColorScale & evd::ColorDrawingOptions::RawQ | ( | geo::SigType_t | st | ) | const |
Definition at line 140 of file ColorDrawingOptions_service.cc.
References fColorOrGray, fColorScaleRaw, fGrayScaleRaw, and geo::kMysteryType.
Referenced by evd::TQPad::Draw(), and evd::RawDataDrawer::QueueDrawingBoxes().
const evdb::ColorScale & evd::ColorDrawingOptions::RawT | ( | geo::SigType_t | st | ) | const |
Definition at line 168 of file ColorDrawingOptions_service.cc.
References fColorOrGray, fColorScaleRaw, fGrayScaleRaw, and geo::kMysteryType.
|
virtual |
Implements evdb::Reconfigurable.
Definition at line 114 of file ColorDrawingOptions_service.cc.
References CheckInputVectorSizes(), fColorOrGray, fColorScaleRaw, fColorScaleReco, fGrayScaleRaw, fGrayScaleReco, fRawDiv, fRawQHigh, fRawQLow, fRecoDiv, fRecoQHigh, fRecoQLow, and fhicl::ParameterSet::get().
int evd::ColorDrawingOptions::fColorOrGray |
0 = color, 1 = gray
Definition at line 30 of file ColorDrawingOptions.h.
Referenced by CalQ(), CalT(), ColorDrawingOptions(), RawQ(), RawT(), reconfigure(), evd::TWQMultiTPCProjectionView::SetGreyscale(), and evd::TWQProjectionView::SetGreyscale().
|
private |
Definition at line 42 of file ColorDrawingOptions.h.
Referenced by ColorDrawingOptions(), RawQ(), RawT(), and reconfigure().
|
private |
Definition at line 43 of file ColorDrawingOptions.h.
Referenced by CalQ(), CalT(), ColorDrawingOptions(), and reconfigure().
|
private |
Definition at line 44 of file ColorDrawingOptions.h.
Referenced by ColorDrawingOptions(), RawQ(), RawT(), and reconfigure().
|
private |
Definition at line 45 of file ColorDrawingOptions.h.
Referenced by CalQ(), CalT(), ColorDrawingOptions(), and reconfigure().
std::vector<int > evd::ColorDrawingOptions::fRawDiv |
number of divisions in raw
Definition at line 31 of file ColorDrawingOptions.h.
Referenced by CheckInputVectorSizes(), ColorDrawingOptions(), evd::TQPad::Draw(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRawQHigh |
high edge of ADC values for drawing raw digits
Definition at line 34 of file ColorDrawingOptions.h.
Referenced by evd::TQPad::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), evd::TQPad::Draw(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRawQLow |
low edge of ADC values for drawing raw digits
Definition at line 33 of file ColorDrawingOptions.h.
Referenced by evd::TQPad::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), evd::TQPad::Draw(), and reconfigure().
std::vector<int > evd::ColorDrawingOptions::fRecoDiv |
number of divisions in raw
Definition at line 32 of file ColorDrawingOptions.h.
Referenced by CheckInputVectorSizes(), ColorDrawingOptions(), evd::TQPad::Draw(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRecoQHigh |
high edge of ADC values for drawing raw digits
Definition at line 36 of file ColorDrawingOptions.h.
Referenced by evd::TQPad::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), evd::TQPad::Draw(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRecoQLow |
low edge of ADC values for drawing raw digits
Definition at line 35 of file ColorDrawingOptions.h.
Referenced by evd::TQPad::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), evd::TQPad::Draw(), and reconfigure().