#include <IStatisticsSvc.h>
Inheritance diagram for IStatisticsSvc:
Public Types | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR | |
enum | Status |
Public Member Functions | |
virtual StatusCode | put (const std::string &path, TObject *object)=0 |
Place the object at the specified path. | |
virtual TObject * | get (const std::string &path)=0 |
Return the object which exists at this path If there is no object, or if the path does not exist, return 0. | |
virtual bool | exists (const std::string &path)=0 |
Return true if a folder or object exists at the given path. | |
virtual std::vector< std::string > | getContents (const std::string &path)=0 |
Return a list of the names of the objects which exist in the folder An empty list is returned if the path does not exist, or contains no objects. | |
virtual std::vector< std::string > | getSubFolders (const std::string &path)=0 |
Return a list of the names of the subfolders which exist in the folder An empty list is returned if the folder does not exist, or contains no subfolders. | |
virtual TH1F * | getTH1F (const std::string &path)=0 |
Return the TH1F which exists at this path Return 0 if unsuccessful. | |
virtual TH2F * | getTH2F (const std::string &path)=0 |
Return the TH1F which exists at this path Return 0 if unsuccessful. | |
virtual TH3F * | getTH3F (const std::string &path)=0 |
Return the TH1F which exists at this path Return 0 if unsuccessful. | |
virtual TTree * | getTree (const std::string &path)=0 |
Return the TTree which exists at this path Return 0 if unsuccessful. | |
virtual TGraph * | getGraph (const std::string &path)=0 |
Return the TGraph which exists at this path Return 0 if unsuccessful. | |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface)=0 |
virtual unsigned long | addRef ()=0 |
virtual unsigned long | release ()=0 |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
Public Attributes | |
SUCCESS | |
NO_INTERFACE | |
VERSMISMATCH | |
LAST_ERROR |
Definition at line 34 of file IStatisticsSvc.h.
static const InterfaceID& IStatisticsSvc::interfaceID | ( | ) | [inline, static] |
Reimplemented from IInterface.
Definition at line 38 of file IStatisticsSvc.h.
00038 { 00039 return IID_IStatisticsSvc; 00040 }
virtual StatusCode IStatisticsSvc::put | ( | const std::string & | path, | |
TObject * | object | |||
) | [pure virtual] |
Place the object at the specified path.
if the subdirectories do not exist, they will be automatically created. If the location is occupied by another object, it is deleted and replaced by the new object. StatusCode::SUCCESS is returned if the object was successfully placed.
Implemented in StatisticsSvc.
virtual TObject* IStatisticsSvc::get | ( | const std::string & | path | ) | [pure virtual] |
Return the object which exists at this path If there is no object, or if the path does not exist, return 0.
Implemented in StatisticsSvc.
virtual bool IStatisticsSvc::exists | ( | const std::string & | path | ) | [pure virtual] |
virtual std::vector<std::string> IStatisticsSvc::getContents | ( | const std::string & | path | ) | [pure virtual] |
Return a list of the names of the objects which exist in the folder An empty list is returned if the path does not exist, or contains no objects.
Implemented in StatisticsSvc.
virtual std::vector<std::string> IStatisticsSvc::getSubFolders | ( | const std::string & | path | ) | [pure virtual] |
Return a list of the names of the subfolders which exist in the folder An empty list is returned if the folder does not exist, or contains no subfolders.
Implemented in StatisticsSvc.
virtual TH1F* IStatisticsSvc::getTH1F | ( | const std::string & | path | ) | [pure virtual] |
virtual TH2F* IStatisticsSvc::getTH2F | ( | const std::string & | path | ) | [pure virtual] |
virtual TH3F* IStatisticsSvc::getTH3F | ( | const std::string & | path | ) | [pure virtual] |
virtual TTree* IStatisticsSvc::getTree | ( | const std::string & | path | ) | [pure virtual] |
virtual TGraph* IStatisticsSvc::getGraph | ( | const std::string & | path | ) | [pure virtual] |