25 template<
typename T>
T* getHisto(
MonitorElement*,
bool =
false,
T* = 0)
const;
43 if(_clone)
return _current;
49 if(!
obj)
return nullptr;
53 _current =
dynamic_cast<T*
>(
obj->Clone((
"ME " + _me->
getName()).c_str()));
54 if(_current) _current->SetDirectory(
nullptr);
58 return dynamic_cast<T*
>(
obj);
virtual void endJobAnalyze(DQMStore::IGetter &)
TObject * getRootObject() const
const std::string & getName() const
get name of ME
def setup(process, global_tag, zero_tesla=False)
virtual void endLumiAnalyze(DQMStore::IGetter &)
virtual void book(DQMStore::IBooker &)
T * getHisto(MonitorElement *, bool=false, T *=0) const