|
Jpp
|
Auxiliary classes and methods for ROOT I/O. More...
Classes | |
| class | JAbstractStreamer |
| Forward declaration of writer object. More... | |
| class | JChainReader |
| Auxiliary class for template TChain reading. More... | |
| class | JClassDef |
| Test ROOT ClassDef. More... | |
| struct | JClassStreamer |
| Auxiliary class to add the I/O capabilities of the given template class to the general JRootDictionary class. More... | |
| struct | JRootAddress |
| Auxiliary classd for address handling within TTree or TChain. More... | |
| struct | JRootClass |
| Auxiliary class to manage access to base classes and data members of ROOT class. More... | |
| struct | JRootAddressableClass |
| Auxiliary class to manage access to base classes and data members of ROOT class objects. More... | |
| struct | JRootClassReader |
| ROOT class for reading object. More... | |
| struct | JRootClassWriter |
| ROOT class for writing object. More... | |
| struct | JROOTClassSelector |
| Auxiliary class to select ROOT class based on class name. More... | |
| struct | JROOTClassSelection |
| Auxiliary class for ROOT class selection. More... | |
| class | JRootFile |
| ROOT file. More... | |
| class | JRootInputFile |
| ROOT input file. More... | |
| class | JRootOutputFile |
| ROOT output file. More... | |
| class | JRootFileReader |
| ROOT file reader. More... | |
| class | JRootFileReader< T, false > |
| Tempate specialisation of JRootFileReader for TTree incompatible iteration. More... | |
| class | JRootFileReader< T, true > |
| Tempate specialisation of JRootFileReader for TTree compatible iteration. More... | |
| class | JRootObjectOutput |
| Template definition of ROOT object output. More... | |
| class | JRootObjectOutput< T, false > |
| Implementation of object output using TDirectory::WriteTObject method. More... | |
| class | JRootObjectOutput< T, true > |
| Implementation of object output using TTree. More... | |
| class | JRootFileObjectOutput |
| Implementation of object output to ROOT file for single data type. More... | |
| class | JRootFileObjectOutput< JTypeList< JHead_t, JTail_t > > |
| Implementation of object output to ROOT file for multiple data types. More... | |
| class | JRootFileObjectOutput< JTypeList< JHead_t, JNullType > > |
| Terminator class of recursive JRootObjectOutput class. More... | |
| class | JRootFileWriter |
| ROOT file object output. More... | |
| struct | JRootLabel |
| Replica of structure JLANG::JLabel for data types with ROOT I/O. More... | |
| class | JRootReader |
| Implementation for ASCII input of objects with ROOT dictionary. More... | |
| class | JRootWriter |
| Implementation for ASCII output of objects with ROOT dictionary. More... | |
| class | JObjectStreamer |
| JObjectStreamer class. More... | |
| class | JActionAtFileOpen |
| Auxiliary class to handle version management of given class at opening of a ROOT file. More... | |
| class | JActionAtFileRead |
| Auxiliary class to handle version management of given class at reading from a ROOT file. More... | |
| struct | JFitParameter_t |
| Auxiliary data structure for a parameter index and its value. More... | |
| class | JTreeParameters |
| Data structure for TTree parameters. More... | |
| class | JTreeParametersAvailable |
| Test availability of TTree parameters for given class. More... | |
| struct | JAbstractTreeReader |
| Interface for TTree reading. More... | |
| class | JTreeReader |
| Auxiliary class for template TTree reading. More... | |
| class | JTreeReaderObjectIterator |
| JTreeReader object iterator. More... | |
| class | JTreeReaderAccessibleObjectIterator |
| JTemplateTreeReader object iterator. More... | |
| class | JTreeWriter |
| Auxiliary class for template TTree writing. More... | |
| struct | JTreeCopyWriterInterface |
| Interface for template TTree writing and copying. More... | |
| class | JTreeCopyWriter |
| Implementation for template TTree writing and copying. More... | |
| class | JTreeWriterObjectOutput |
| JTreeWriter object output. More... | |
| class | JRootDictionary |
| ROOT dictionary. More... | |
Typedefs | |
| typedef Long64_t | counter_type |
| Type definition for counter. More... | |
| typedef std::map< std::string, JSharedPointer < JAbstractStreamer > > | JRootDictionary_t |
| Type definition of ROOT dictionary. More... | |
Functions | |
| counter_type | advance (counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max()) |
| Advance counter. More... | |
| template<class T > | |
| std::set< JROOTClassSelector > | getROOTClassSelection () |
| Get ROOT class selection. More... | |
| template<class T > | |
| const char * | getName () |
| Get ROOT name of given data type. More... | |
| template<class T > | |
| const char * | getName (const JType< T > &type) |
| Get ROOT name of given data type. More... | |
| template<class T > | |
| void | getObject (TFile *file, const char *key, T *&ps) |
| Read object from ROOT file. More... | |
| template<class T > | |
| bool | putObject (TDirectory *dir, const T &object) |
| Write object to ROOT directory. More... | |
| template<class T > | |
| void | print (std::ostream &out, const T &object, const std::string &key, const JRootDictionary_t &dictionary) |
| Write content to output. More... | |
| template<class T > | |
| void | actionAtFileOpen (TFile *file) |
| General action method at file open. More... | |
| template<class T > | |
| void | actionAtFileRead (T *object) |
| General action method at file read. More... | |
| TFile & | operator<< (TFile &file, const TObject &object) |
| Write object to ROOT file. More... | |
| const TStreamerInfo * | getStreamerInfo (TFile *file, const char *name) |
| Get ROOT streamer information of class with given name. More... | |
| const TStreamerInfo * | getStreamerInfo (const char *file_name, const char *name) |
| Get ROOT streamer information of class with given name. More... | |
| int | getStreamerVersion (TFile *file, const char *name) |
| Get ROOT streamer version of class with given name. More... | |
| int | getStreamerVersion (const char *file_name, const char *name) |
| Get ROOT streamer version of class with given name. More... | |
| bool | setParameter (TF1 &f1, const JFitParameter_t ¶meter) |
| Set fit parameter. More... | |
| bool | fixParameter (TF1 &f1, const JFitParameter_t ¶meter) |
| Fix fit parameter. More... | |
| bool | releaseParameter (TF1 &f1, const Int_t index) |
| Release fit parameter. More... | |
| bool | setParLimits (TF1 &f1, const Int_t index, Double_t xmin, Double_t xmax) |
| Set fit parameter limits. More... | |
| bool | isParameterFixed (TF1 &f1, const Int_t index) |
| Check if fit parameter is fixed. More... | |
| template<class T > | |
| JTreeParameters | getTreeParameters () |
| Template definition for method returning TTree parameters. More... | |
| template<class T > | |
| JNullType | getTreeParameters (const JType< T > &type) |
| Method with argument definition for obtaining TTree parameters. More... | |
| template<class T > | |
| JTreeCopyWriter< T > & | getTreeCopyWriter () |
| Get the TTree writer and copy for this type of object. More... | |
Auxiliary classes and methods for ROOT I/O.
| typedef Long64_t JROOT::counter_type |
Type definition for counter.
Definition at line 24 of file JCounter.hh.
| typedef std::map<std::string, JSharedPointer<JAbstractStreamer> > JROOT::JRootDictionary_t |
Type definition of ROOT dictionary.
Definition at line 43 of file JRootStreamer.hh.
|
inline |
Advance counter.
| counter | counter (I/O) |
| value | offset |
| limit | limit |
Definition at line 35 of file JCounter.hh.
|
inline |
Get ROOT class selection.
Definition at line 227 of file JROOTClassSelector.hh.
|
inline |
Get ROOT name of given data type.
Definition at line 40 of file JRootFileReader.hh.
|
inline |
Get ROOT name of given data type.
| type | data type |
Definition at line 53 of file JRootFileReader.hh.
|
inline |
Read object from ROOT file.
| file | pointer to file |
| key | key of object to be read |
| ps | pointer to object |
Definition at line 67 of file JRootFileReader.hh.
|
inline |
Write object to ROOT directory.
| dir | pointer to directory |
| object | object |
Definition at line 41 of file JRootFileWriter.hh.
|
inline |
Write content to output.
| out | output stream |
| object | object |
| key | '.' separated list of data member names |
| dicttionary | dictionary |
Definition at line 771 of file JRootStreamer.hh.
|
inline |
General action method at file open.
The class T should provide the policy method:
static void actionAtFileOpen(int version);
whenever an action specific to this data type has to be executed after opening a file.
This method will then be called following each file open operation.
| file | pointer to file |
Definition at line 148 of file JRootSupportkit.hh.
|
inline |
General action method at file read.
The class T should provide the policy method:
void actionAtFileRead();
whenever an action specific to this data type has to be executed after reading from a file.
This method will then be called following each file read operation.
| object | pointer to object (I/O) |
Definition at line 169 of file JRootSupportkit.hh.
| TFile& JROOT::operator<< | ( | TFile & | file, |
| const TObject & | object | ||
| ) |
Write object to ROOT file.
| file | ROOT file |
| object | ROOT object |
Definition at line 33 of file JRootToolkit.hh.
|
inline |
Get ROOT streamer information of class with given name.
Note that the class name should include the name space, if any.
| file | pointer to ROOT file |
| name | class name |
Definition at line 49 of file JRootToolkit.hh.
|
inline |
Get ROOT streamer information of class with given name.
Note that the class name should include the name space, if any.
| file_name | file name |
| name | class name |
Definition at line 76 of file JRootToolkit.hh.
|
inline |
Get ROOT streamer version of class with given name.
Note that the class name should include the name space, if any.
| file | pointer to ROOT file |
| name | class name |
Definition at line 92 of file JRootToolkit.hh.
|
inline |
Get ROOT streamer version of class with given name.
Note that the class name should include the name space, if any.
| file_name | file name |
| name | class name |
Definition at line 111 of file JRootToolkit.hh.
|
inline |
Set fit parameter.
| f1 | fit function |
| parameter | parameter index and value |
Definition at line 168 of file JRootToolkit.hh.
|
inline |
Fix fit parameter.
| f1 | fit function |
| parameter | parameter index and value |
Definition at line 189 of file JRootToolkit.hh.
|
inline |
Release fit parameter.
| f1 | fit function |
| index | parameter index |
Definition at line 210 of file JRootToolkit.hh.
|
inline |
Set fit parameter limits.
| f1 | fit function |
| index | parameter index |
| xmin | lower limit |
| xmax | upper limit |
Definition at line 233 of file JRootToolkit.hh.
|
inline |
Check if fit parameter is fixed.
| f1 | fit function |
| index | parameter index |
Definition at line 259 of file JRootToolkit.hh.
|
inline |
Template definition for method returning TTree parameters.
The template argument refers to the class for which ROOT TTree I/O is desired.
Definition at line 149 of file JTreeParameters.hh.
|
inline |
Method with argument definition for obtaining TTree parameters.
The method argument refers to the class for which ROOT TTree I/O is desired. This method should then be overloaded and the overloaded method should return a JTreeParameters object with the corresponding TTree parameters.
| type | data type |
|
inline |
Get the TTree writer and copy for this type of object.
Definition at line 168 of file JTreeWriter.hh.
1.8.5