#include <ntupleWriterSvc.h>
Inheritance diagram for ntupleWriterSvc:

Public Methods | |
| virtual StatusCode | initialize () |
| perform initializations for this service. More... | |
| virtual StatusCode | finalize () |
| virtual void | handle (const Incident& inc) |
| Handles incidents, implementing IIncidentListener interface. More... | |
| virtual StatusCode | queryInterface ( const IID& riid, void** ppvUnknown ) |
| Query interface. More... | |
| virtual SmartDataPtr<NTuple::Tuple> | getNTuple (const char *tupleName) |
| Provide the named ntuple Ptr from the data store. More... | |
| virtual StatusCode | addItem (const char *tupleName, const char *item, double val) |
| add a new item to an ntuple. More... | |
| virtual StatusCode | saveNTuples () |
| force writing of the ntuple to disk. More... | |
| virtual void | storeRowFlag (bool flag) |
| virtual bool | storeRowFlag () |
| int | isFinite (float val) |
| check for NaN and infinity. More... | |
Protected Methods | |
| ntupleWriterSvc ( const std::string& name, ISvcLocator* al ) | |
| Standard Constructor. More... | |
Private Methods | |
| void | beginEvent () |
| routine to be called at the beginning of an event. More... | |
| void | endEvent () |
| routine that is called when we reach the end of an event. More... | |
| StatusCode | bookNTuple (int index, const char *title) |
| create the ntuple. More... | |
| StatusCode | writeNTuple (int index) |
| write an event's data into the ntuple. More... | |
| StatusCode | addValue (const char *tupleName, const char *item, double val) |
| add an entry into an ntuple, where the item has already been declared. More... | |
Private Attributes | |
| INTupleSvc* | ntupleSvc |
| std::vector<std::string> | m_tuple_name |
| Maintain a list of each item so that this algorithm could handle multiple ntuples set non-blank to enable tuples. More... | |
| std::vector<std::string> | m_TDS_tuple_name |
| of the form "/1". More... | |
| std::vector<std::string> | m_fileName |
| path into the data store where the ntuple is located. More... | |
| std::map<std::string, std::string> | m_tuples |
| Store ntuple Id and ntuple path in data store. More... | |
| bool | m_storeFlag |
Static Private Attributes | |
| unsigned int | m_tupleCounter |
Friends | |
| class | SvcFactory< ntupleWriterSvc > |
Definition at line 21 of file ntupleWriterSvc.h.
|
|
Standard Constructor.
Definition at line 44 of file ntupleWriterSvc.cxx. |
|
|
add a new item to an ntuple.
Reimplemented from INTupleWriterSvc. Definition at line 261 of file ntupleWriterSvc.cxx. |
|
|
add an entry into an ntuple, where the item has already been declared.
Definition at line 237 of file ntupleWriterSvc.cxx. Referenced by addItem(). |
|
|
routine to be called at the beginning of an event.
Definition at line 165 of file ntupleWriterSvc.cxx. Referenced by handle(). |
|
|
create the ntuple.
Definition at line 130 of file ntupleWriterSvc.cxx. Referenced by initialize(). |
|
|
routine that is called when we reach the end of an event.
Definition at line 171 of file ntupleWriterSvc.cxx. Referenced by handle(). |
|
|
Reimplemented from INTupleWriterSvc. Definition at line 213 of file ntupleWriterSvc.cxx. |
|
|
Provide the named ntuple Ptr from the data store.
Reimplemented from INTupleWriterSvc. Definition at line 232 of file ntupleWriterSvc.cxx. |
|
|
Handles incidents, implementing IIncidentListener interface.
Definition at line 159 of file ntupleWriterSvc.cxx. |
|
|
perform initializations for this service.
Reimplemented from INTupleWriterSvc. Definition at line 56 of file ntupleWriterSvc.cxx. |
|
|
check for NaN and infinity.
Definition at line 293 of file ntupleWriterSvc.cxx. |
|
|
Query interface.
Definition at line 221 of file ntupleWriterSvc.cxx. |
|
|
force writing of the ntuple to disk.
Reimplemented from INTupleWriterSvc. Definition at line 199 of file ntupleWriterSvc.cxx. Referenced by finalize(). |
|
|
Reimplemented from INTupleWriterSvc. Definition at line 55 of file ntupleWriterSvc.h. Referenced by beginEvent(). |
|
|
Reimplemented from INTupleWriterSvc. Definition at line 53 of file ntupleWriterSvc.h. |
|
|
write an event's data into the ntuple.
Definition at line 188 of file ntupleWriterSvc.cxx. |
|
|
Definition at line 71 of file ntupleWriterSvc.h. |
|
|
of the form "/1".
Definition at line 89 of file ntupleWriterSvc.h. |
|
|
path into the data store where the ntuple is located.
Definition at line 91 of file ntupleWriterSvc.h. |
|
|
Definition at line 96 of file ntupleWriterSvc.h. |
|
|
Definition at line 33 of file ntupleWriterSvc.cxx. |
|
|
Maintain a list of each item so that this algorithm could handle multiple ntuples set non-blank to enable tuples.
Definition at line 87 of file ntupleWriterSvc.h. |
|
|
Store ntuple Id and ntuple path in data store.
Definition at line 94 of file ntupleWriterSvc.h. |
|
|
Definition at line 68 of file ntupleWriterSvc.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000