9 #ifndef CRT_CHANNELVIEW_H 10 #define CRT_CHANNELVIEW_H 31 void SetValue(
const size_t module,
const size_t channel,
const double value);
32 void Draw(
const char* option);
33 void Reset(
const char* option);
37 virtual void doFill(
const size_t module,
const size_t channel,
const double weight) = 0;
38 virtual void doSetValue(
const size_t module,
const size_t channel,
const double value) = 0;
40 virtual void doDraw(
const char* option) = 0;
41 virtual void doReset(
const char* option) = 0;
66 std::unique_ptr<TPad, MaybeDeleter<TPad>>
fPad;
70 #endif //CRT_CHANNELVIEW_H
std::unique_ptr< TPad, MaybeDeleter< TPad > > fPad
void operator()(T *obj) const
MaybeDeleter(const bool toDelete)
virtual void doDraw(const char *option)=0
virtual void doFill(const size_t module, const size_t channel, const double weight)=0
void Reset(const char *option)
static constexpr size_t ChannelsPerModule
void SetValue(const size_t module, const size_t channel, const double value)
static constexpr size_t NModules
virtual void doSetValue(const size_t module, const size_t channel, const double value)=0
virtual void doReset(const char *option)=0
void Draw(const char *option)
void Fill(const size_t module, const size_t channel, const double weight=1.0)