#include <AlephNtupleWriter.h>
Collaboration diagram for AlephNtupleWriter:
Public Methods | |
AlephNtupleWriter () | |
constructor. More... | |
virtual | ~AlephNtupleWriter () |
destructor. More... | |
virtual void | Initialize (AlephCardsReader *, int) |
initialize. More... | |
template<typename tpe> void | AddOutput (tpe obj, char *name) |
add an output variable. More... | |
template<typename tpe> void | AddOutput (tpe obj, unsigned int sze,...) |
add several output variables. More... | |
template<typename tpe> void | AddScalableOutput (char *name, tpe obj, unsigned int size) |
add as output an elementary array (variable size). More... | |
virtual void | Fill () |
fill the ntuple. More... | |
virtual void | Terminate () |
terminate the session. More... | |
template<typename entry> void | Keep (const char *name, const entry *value, const int size) |
method to instruct the class to keep the instant value of an array. More... | |
template<typename entry> void | KeepV (const char *name, vector< entry > value) |
method to instruct the class to keep the instant value of a STL vector. More... | |
template<typename entry> void | Keep (const char *name, const entry &value) |
method to instruct the class to keep the instant value of a variable. More... | |
void | Keep (const char *name, const HepLorentzVector &value) |
method to instruct the class to keep the instant value of a HepLorentzVector. More... | |
void | Keep (const char *name, const Hep3Vector &value) |
method to instruct the class to keep the instant value of a Hep3Vector. More... | |
Private Attributes | |
int | type |
AlephCardsReader* | cards |
map<string,int> | NamesIndexes |
int | size |
vector<float> | data |
bool | booked |
TFile* | ROOTfile |
TTree* | ROOTtree |
map<string,int*> | SizeAddresses |
vector<smart_void*> | theObjects |
defines general methods to create ntuples or trees by the same way.
Definition at line 37 of file AlephNtupleWriter.h.
|
constructor.
Definition at line 5 of file AlephNtupleWriter.cpp. |
|
destructor.
Definition at line 14 of file AlephNtupleWriter.cpp. |
|
add several output variables.
Definition at line 102 of file AlephNtupleWriter.h. |
|
add an output variable.
Definition at line 49 of file AlephNtupleWriter.h. Referenced by AlephExManager::UserInit().
|
|
add as output an elementary array (variable size).
Definition at line 163 of file AlephNtupleWriter.h. Referenced by AlephExManager::UserInit().
|
|
fill the ntuple.
Definition at line 39 of file AlephNtupleWriter.cpp. |
|
initialize.
Definition at line 17 of file AlephNtupleWriter.cpp. Referenced by AlephIoManager::initialize().
|
|
method to instruct the class to keep the instant value of a Hep3Vector.
Definition at line 285 of file AlephNtupleWriter.h. |
|
method to instruct the class to keep the instant value of a HepLorentzVector.
Definition at line 276 of file AlephNtupleWriter.h. |
|
method to instruct the class to keep the instant value of a variable.
Definition at line 254 of file AlephNtupleWriter.h. |
|
method to instruct the class to keep the instant value of an array.
Definition at line 211 of file AlephNtupleWriter.h. Referenced by Keep().
|
|
method to instruct the class to keep the instant value of a STL vector.
Definition at line 232 of file AlephNtupleWriter.h. |
|
terminate the session.
Definition at line 80 of file AlephNtupleWriter.cpp. Referenced by AlephIoManager::terminate().
|
|
Definition at line 297 of file AlephNtupleWriter.h. |
|
Definition at line 305 of file AlephNtupleWriter.h. |
|
Definition at line 306 of file AlephNtupleWriter.h. |
|
Definition at line 307 of file AlephNtupleWriter.h. |
|
Definition at line 302 of file AlephNtupleWriter.h. |
|
Definition at line 296 of file AlephNtupleWriter.h. |
|
Definition at line 301 of file AlephNtupleWriter.h. |
|
Definition at line 300 of file AlephNtupleWriter.h. |
|
Definition at line 308 of file AlephNtupleWriter.h. |
|
Definition at line 295 of file AlephNtupleWriter.h. |