CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ESClient Class Referenceabstract

#include <ESClient.h>

Inheritance diagram for ESClient:
ESIntegrityClient ESPedestalClient ESSummaryClient

Public Member Functions

virtual void analyze (void)=0
 
virtual void beginJob (DQMStore *dqmStore)=0
 
virtual void beginRun (void)=0
 
virtual void cleanup (void)=0
 
virtual void endJob (void)=0
 
virtual void endLumiAnalyze (void)=0
 
virtual void endRun (void)=0
 
template<typename T >
TgetHisto (MonitorElement *, bool=false, T *=0) const
 
virtual void setup (void)=0
 
virtual ~ESClient (void)
 

Detailed Description

Definition at line 10 of file ESClient.h.

Constructor & Destructor Documentation

virtual ESClient::~ESClient ( void  )
inlinevirtual

Definition at line 25 of file ESClient.h.

25 {}

Member Function Documentation

virtual void ESClient::analyze ( void  )
pure virtual
virtual void ESClient::beginJob ( DQMStore dqmStore)
pure virtual
virtual void ESClient::beginRun ( void  )
pure virtual
virtual void ESClient::cleanup ( void  )
pure virtual
virtual void ESClient::endJob ( void  )
pure virtual
virtual void ESClient::endLumiAnalyze ( void  )
pure virtual
virtual void ESClient::endRun ( void  )
pure virtual
template<typename T >
T * ESClient::getHisto ( MonitorElement _me,
bool  _clone = false,
T _current = 0 
) const

Definition at line 33 of file ESClient.h.

References MonitorElement::getName(), MonitorElement::getRootObject(), and getGTfromDQMFile::obj.

34 {
35  if(!_me){
36  if(_clone) return _current;
37  else return 0;
38  }
39 
40  TObject* obj(_me->getRootObject());
41 
42  if(!obj) return 0;
43 
44  if(_clone){
45  delete _current;
46  _current = dynamic_cast<T*>(obj->Clone(("ME " + _me->getName()).c_str()));
47  if(_current) _current->SetDirectory(0);
48  return _current;
49  }
50  else
51  return dynamic_cast<T*>(obj);
52 }
const std::string & getName(void) const
get name of ME
TObject * getRootObject(void) const
long double T
virtual void ESClient::setup ( void  )
pure virtual