| 
| class   | JAbstractStreamer | 
|   | Forward declaration of writer object.  More...
  | 
|   | 
| struct   | JAbstractTreeReader | 
|   | Interface for TTree reading.  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   | JAddress | 
|   | Simple address wrapper.  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   | JFitParameter_t | 
|   | Auxiliary data structure for a parameter index and its value.  More...
  | 
|   | 
| class   | JObjectStreamer | 
|   | JObjectStreamer class.  More...
  | 
|   | 
| struct   | JRootAddress | 
|   | Auxiliary classd for address handling within TTree or TChain.  More...
  | 
|   | 
| struct   | JRootAddressableClass | 
|   | Auxiliary class to manage access to base classes and data members of ROOT class objects.  More...
  | 
|   | 
| struct   | JRootClass | 
|   | Auxiliary class to manage access to base classes and data members of ROOT class.  More...
  | 
|   | 
| struct   | JROOTClassSelection | 
|   | Auxiliary class for ROOT class selection.  More...
  | 
|   | 
| struct   | JROOTClassSelector | 
|   | Auxiliary class to select ROOT class based on class name.  More...
  | 
|   | 
| class   | JRootDictionary | 
|   | Default implementation of ROOT based dictionary for ASCII I/O.  More...
  | 
|   | 
| struct   | JRootDictionary_t | 
|   | Type definition of ROOT based dictionary for ASCII O.  More...
  | 
|   | 
| class   | JRootFile | 
|   | ROOT file.  More...
  | 
|   | 
| class   | JRootFileObjectOutput | 
|   | Implementation of object output to ROOT file for single data type.  More...
  | 
|   | 
| class   | JRootFileObjectOutput< JTypeList< JHead_t, JNullType > > | 
|   | Terminator class of recursive JRootObjectOutput class.  More...
  | 
|   | 
| class   | JRootFileObjectOutput< JTypeList< JHead_t, JTail_t > > | 
|   | Implementation of object output to ROOT file for multiple data types.  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   | JRootFileWriter | 
|   | ROOT file object output.  More...
  | 
|   | 
| class   | JRootInputFile | 
|   | ROOT input file.  More...
  | 
|   | 
| struct   | JRootLabel | 
|   | Replica of structure JLANG::JLabel for data types with ROOT I/O.  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   | JRootOutputFile | 
|   | ROOT output file.  More...
  | 
|   | 
| struct   | JRootPrinter | 
|   | Auxiliary class for printing objects in ASCII format using JRootWriter.  More...
  | 
|   | 
| struct   | JRootReadableClass | 
|   | ROOT class for reading object.  More...
  | 
|   | 
| class   | JRootReader | 
|   | Implementation for ASCII input of objects with ROOT dictionary.  More...
  | 
|   | 
| class   | JRootStreamObjectOutput | 
|   | Template implementation of stream output for single data type based on ROOT dictionary.  More...
  | 
|   | 
| class   | JRootStreamObjectOutput< JTypeList< JHead_t, JNullType > > | 
|   | Terminator class of recursive JRootStreamObjectOutput class.  More...
  | 
|   | 
| class   | JRootStreamObjectOutput< JTypeList< JHead_t, JTail_t > > | 
|   | Template specialisationimplementation of stream object output for multiple data types.  More...
  | 
|   | 
| struct   | JRootWritableClass | 
|   | ROOT class for writing object.  More...
  | 
|   | 
| class   | JRootWriter | 
|   | Implementation for ASCII output of objects with ROOT dictionary.  More...
  | 
|   | 
| class   | JTreeCopyWriter | 
|   | Implementation for template TTree writing and copying.  More...
  | 
|   | 
| struct   | JTreeCopyWriterInterface | 
|   | Interface for template TTree writing and copying.  More...
  | 
|   | 
| class   | JTreeParameters | 
|   | Data structure for TTree parameters.  More...
  | 
|   | 
| class   | JTreeParametersAvailable | 
|   | Test availability of TTree parameters for given class.  More...
  | 
|   | 
| class   | JTreeReader | 
|   | Auxiliary class for template TTree reading.  More...
  | 
|   | 
| class   | JTreeReaderAccessibleObjectIterator | 
|   | JTemplateTreeReader object iterator.  More...
  | 
|   | 
| class   | JTreeReaderObjectIterator | 
|   | JTreeReader object iterator.  More...
  | 
|   | 
| class   | JTreeWriter | 
|   | Auxiliary class for template TTree writing.  More...
  | 
|   | 
| class   | JTreeWriterObjectOutput | 
|   | JTreeWriter object output.  More...
  | 
|   | 
| class   | JTreeWriterObjectOutput< JTypeList< JHead_t, JNullType > > | 
|   | Terminator class of recursive JTreeWriterObjectOutput class.  More...
  | 
|   | 
| class   | JTreeWriterObjectOutput< JTypeList< JHead_t, JTail_t > > | 
|   | Implementation of JTreeWriterObjectOutput for multiple data types.  More...
  | 
|   | 
 | 
| counter_type  | advance (counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max()) | 
|   | Advance counter.  More...
  | 
|   | 
| const TDataMember *  | getDataMember (const JRootClass &parent, const JRootClass &member) | 
|   | Get ROOT data member for given parent and member class.  More...
  | 
|   | 
| template<class JType_t , class JClass_t >  | 
| const TDataMember *  | getDataMember (JType_t JClass_t::*pd) | 
|   | Get ROOT data member for given C++ data member.  More...
  | 
|   | 
| template<class T >  | 
| std::set< JROOTClassSelector >  | getROOTClassSelection () | 
|   | Get ROOT class selection.  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  | actionAtFileOpen (TFile *file) | 
|   | General action method at file open.  More...
  | 
|   | 
| template<class T >  | 
| void  | actionAtFileRead (T *object) | 
|   | General action method at file read.  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...
  | 
|   | 
| 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...
  | 
|   | 
| TString  | parse (TPRegexp ®exp, const TString &string, int i=1) | 
|   | Match a TString to a TPRegexp, and return the chosen match.  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 >  | 
| Double_t  | getResult (const TString &text, const T &object, const JRootDictionary_t &dictionary=JRootDictionary::getInstance()) | 
|   | Get result of given textual formula.  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. 
- Author
 - mdejong 
 
 
Get result of given textual formula. 
The formula may contain names of data members of the given object. Example: 
        getResult("a/b", object, ..);
 In this, the corresponding data type should have (at least) data members a and b.
- Parameters
 - 
  
    | text | text  | 
    | object | object  | 
    | dictionary | dictionary  | 
  
   
- Returns
 - value 
 
Definition at line 352 of file JRootToolkit.hh.
  359     string buffer = (
const char*) 
text;
 
  361     for (string::size_type pos = 0; pos != buffer.size(); ) {
 
  363       if (isalpha(buffer[pos]) || buffer[pos] == 
'_') {
 
  365         string::size_type len = 1;
 
  367         while (pos + len != buffer.size() && (isalnum(buffer[pos+len]) || buffer[pos+len] == 
'_' || buffer[pos+len] == 
'.')) {
 
  377         buffer.replace(pos, len, os.str());
 
  379         pos += os.str().size();
 
  387     return TFormula(
"/tmp", buffer.c_str()).Eval(0.0);