Diana Software
QTree.cc
Go to the documentation of this file.
1 #include "QTree.hh"
2 #include "TRegexp.h"
3 #include "TList.h"
4 #include <iostream>
5 #include <set>
6 
8 
9 //_____________________________________________________________________
11 {
12 }
13 
14 //_____________________________________________________________________
15 QTree::QTree(const char* title): QBaseTree(QTREE, title)
16 {
17 }
18 
19 //_____________________________________________________________________
21 {
22 }
23 
24 void QTree::Streamer(TBuffer &R__b) {
25 
26  if (R__b.IsReading()) {
27  UInt_t R__s, R__c;
28  Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
29  if(R__v < 3) {
30  QBaseTree::Streamer(R__b);
31  TString s;
32  R__b>>s;
34  } else {
35  R__b.ReadClassBuffer(QTree::Class(), this, R__v , R__s, R__c);
36  }
37  } else {
38  QTree::Class()->WriteBuffer(R__b, this);
39  }
40 }
ClassImp(QTree)
abstract class for diana trees
Definition: QBaseTree.hh:27
QTreeInfo & GetTreeInfo()
Definition: QBaseTree.cc:21
std::string fSoftwareRevision
Definition: QTreeInfo.hh:14
TTree used in diana.
Definition: QTree.hh:19
QTree()
Definition: QTree.cc:10
virtual ~QTree()
Definition: QTree.cc:20