9#include "dqm/analysis/RefHistObject.h"
23 if (orgref && (orgref->InheritsFrom(
"TH1C") or orgref->InheritsFrom(
"TH1S"))) {
24 m_refCopy = std::unique_ptr<TH1> (
new TH1F());
26 }
else if (orgref && (orgref->InheritsFrom(
"TH1I") or orgref->InheritsFrom(
"TH1L"))) {
27 m_refCopy = std::unique_ptr<TH1> (
new TH1D());
31 m_refCopy = std::unique_ptr<TH1> ((TH1*)orgref->Clone());
std::unique_ptr< TH1 > m_refCopy
Pointer to scaled reference histogram.
std::unique_ptr< TH1 > m_refHist
Pointer to reference histogram.
TH1 * getReference(void)
Get reference pointer for copy.
void makeReferenceCopy(void)
Make a reference copy.
Abstract base class for different kinds of events.