25 template<
class HistClass>
28 RegisterDraw7(TClass::GetClass<HistClass>(), [] (std::shared_ptr<ROOT::Experimental::RPadBase> &subpad, std::unique_ptr<RHolder> &obj,
const std::string &) ->
bool {
29 auto hist = obj->get_shared<HistClass>();
30 if (!hist)
return false;
32 if (subpad->NumPrimitives() > 0) {
34 subpad->GetCanvas()->Modified();
35 subpad->GetCanvas()->Update(
true);
48 RegisterHistClass<ROOT::Experimental::RH1D>();
49 RegisterHistClass<ROOT::Experimental::RH2D>();
50 RegisterHistClass<ROOT::Experimental::RH3D>();
RV7HistDrawProvider newRV7HistDrawProvider
Provider of different browsing methods for supported classes.
void RegisterDraw7(const TClass *cl, Draw7Func_t func)