| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

IStatisticsSvc Class Reference

#include <IStatisticsSvc.h>

Inheritance diagram for IStatisticsSvc:

[legend]
Collaboration diagram for IStatisticsSvc:
[legend]
List of all members.

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 InterfaceIDinterfaceID ()

Public Attributes

 SUCCESS
 NO_INTERFACE
 VERSMISMATCH
 LAST_ERROR

Detailed Description

Definition at line 34 of file IStatisticsSvc.h.


Member Function Documentation

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]

Return true if a folder or object exists at the given path.

Implemented in StatisticsSvc.

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]

Return the TH1F which exists at this path Return 0 if unsuccessful.

Implemented in StatisticsSvc.

virtual TH2F* IStatisticsSvc::getTH2F ( const std::string &  path  )  [pure virtual]

Return the TH1F which exists at this path Return 0 if unsuccessful.

Implemented in StatisticsSvc.

virtual TH3F* IStatisticsSvc::getTH3F ( const std::string &  path  )  [pure virtual]

Return the TH1F which exists at this path Return 0 if unsuccessful.

Implemented in StatisticsSvc.

virtual TTree* IStatisticsSvc::getTree ( const std::string &  path  )  [pure virtual]

Return the TTree which exists at this path Return 0 if unsuccessful.

Implemented in StatisticsSvc.

virtual TGraph* IStatisticsSvc::getGraph ( const std::string &  path  )  [pure virtual]

Return the TGraph which exists at this path Return 0 if unsuccessful.

Implemented in StatisticsSvc.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:10:02 2011 for StatisticsSvc by doxygen 1.4.7