LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ColorDrawingOptions.h"
Public Member Functions | |
ColorDrawingOptions (fhicl::ParameterSet const &pset) | |
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 20 of file ColorDrawingOptions.h.
|
explicit |
Definition at line 15 of file ColorDrawingOptions.cc.
References CheckInputVectorSizes(), fColorOrGray, fColorScaleRaw, fColorScaleReco, fGrayScaleRaw, fGrayScaleReco, fRawDiv, fRawQHigh, fRawQLow, fRecoDiv, fRecoQHigh, fRecoQLow, evdb::kBlueToRedII, evdb::kLinear, and evdb::kLinGray.
const evdb::ColorScale & evd::ColorDrawingOptions::CalQ | ( | geo::SigType_t | st | ) | const |
Definition at line 163 of file ColorDrawingOptions.cc.
References fColorOrGray, fColorScaleReco, fGrayScaleReco, and geo::kMysteryType.
Referenced by evdb_tool::SpacePoint3DDrawerChiSquare::Draw(), evdb_tool::SpacePoint3DDrawerHitAsymmetry::Draw(), evdb_tool::SpacePoint3DDrawerHitCharge::Draw(), evdb_tool::OpHit3DDrawer::Draw(), evdb_tool::DrawSimPhoton3D::Draw(), evdb_tool::OpFlash3DDrawer::Draw(), and evd::RecoBaseDrawer::Wire2D().
const evdb::ColorScale & evd::ColorDrawingOptions::CalT | ( | geo::SigType_t | st | ) | const |
Definition at line 191 of file ColorDrawingOptions.cc.
References fColorOrGray, fColorScaleReco, fGrayScaleReco, and geo::kMysteryType.
|
private |
Definition at line 74 of file ColorDrawingOptions.cc.
References fRawDiv, fRawQHigh, fRawQLow, fRecoDiv, fRecoQHigh, fRecoQLow, and geo::kMysteryType.
Referenced by ColorDrawingOptions(), and reconfigure().
|
inlineinherited |
Definition at line 16 of file Reconfigurable.h.
References evdb::Reconfigurable::reconfigure(), and evdb::Reconfigurable::~Reconfigurable().
const evdb::ColorScale & evd::ColorDrawingOptions::RawQ | ( | geo::SigType_t | st | ) | const |
Definition at line 149 of file ColorDrawingOptions.cc.
References fColorOrGray, fColorScaleRaw, fGrayScaleRaw, and geo::kMysteryType.
Referenced by evd::RawDataDrawer::QueueDrawingBoxes().
const evdb::ColorScale & evd::ColorDrawingOptions::RawT | ( | geo::SigType_t | st | ) | const |
Definition at line 177 of file ColorDrawingOptions.cc.
References fColorOrGray, fColorScaleRaw, fGrayScaleRaw, and geo::kMysteryType.
|
virtual |
Implements evdb::Reconfigurable.
Definition at line 123 of file ColorDrawingOptions.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 31 of file ColorDrawingOptions.h.
Referenced by CalQ(), CalT(), ColorDrawingOptions(), RawQ(), RawT(), reconfigure(), evd::TWQProjectionView::SetGreyscale(), and evd::TWQMultiTPCProjectionView::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 32 of file ColorDrawingOptions.h.
Referenced by CheckInputVectorSizes(), ColorDrawingOptions(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRawQHigh |
high edge of ADC values for drawing raw digits
Definition at line 35 of file ColorDrawingOptions.h.
Referenced by evdb_tool::DrawRawHist::BookHistogram(), evd::TQPad::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRawQLow |
low edge of ADC values for drawing raw digits
Definition at line 34 of file ColorDrawingOptions.h.
Referenced by evdb_tool::DrawRawHist::BookHistogram(), evd::TQPad::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), and reconfigure().
std::vector<int> evd::ColorDrawingOptions::fRecoDiv |
number of divisions in raw
Definition at line 33 of file ColorDrawingOptions.h.
Referenced by CheckInputVectorSizes(), ColorDrawingOptions(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRecoQHigh |
high edge of ADC values for drawing raw digits
Definition at line 37 of file ColorDrawingOptions.h.
Referenced by evdb_tool::DrawWireHist::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), evdb_tool::SpacePoint3DDrawerChiSquare::Draw(), evdb_tool::SpacePoint3DDrawerHitAsymmetry::Draw(), evdb_tool::SpacePoint3DDrawerHitCharge::Draw(), evdb_tool::OpHit3DDrawer::Draw(), evdb_tool::DrawSimPhoton3D::Draw(), evdb_tool::OpFlash3DDrawer::Draw(), and reconfigure().
std::vector<double> evd::ColorDrawingOptions::fRecoQLow |
low edge of ADC values for drawing raw digits
Definition at line 36 of file ColorDrawingOptions.h.
Referenced by evdb_tool::DrawWireHist::BookHistogram(), CheckInputVectorSizes(), ColorDrawingOptions(), evdb_tool::SpacePoint3DDrawerChiSquare::Draw(), evdb_tool::SpacePoint3DDrawerHitAsymmetry::Draw(), evdb_tool::SpacePoint3DDrawerHitCharge::Draw(), evdb_tool::OpHit3DDrawer::Draw(), evdb_tool::DrawSimPhoton3D::Draw(), evdb_tool::OpFlash3DDrawer::Draw(), and reconfigure().