Logo ROOT   6.10/09
Reference Guide
TEveVSD.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveVSD
13 #define ROOT_TEveVSD
14 
15 #include "TEveUtil.h"
16 #include "TEveVSDStructs.h"
17 #include "TTree.h"
18 
19 class TEveVSD : public TObject
20 {
21  TEveVSD(const TEveVSD&); // Not implemented
22  TEveVSD& operator=(const TEveVSD&); // Not implemented
23 
24 protected:
25  TFile *fFile; //!
27 
30 
31 public:
32  TTree* fTreeK; //! Kinematics.
33  TTree* fTreeH; //! Hits.
34  TTree* fTreeC; //! Clusters.
35  TTree* fTreeR; //! Reconstructed tracks.
36  TTree* fTreeKK; //! Kinks.
37  TTree* fTreeV0; //! VO's.
38  TTree* fTreeCC; //! Cascades.
39  TTree* fTreeGI; //! Sim-Rec cross references.
40 
42  TEveHit fH, *fpH; //!
49 
50 public:
51  TEveVSD(const char* name="TEveVSD", const char* title="");
52  virtual ~TEveVSD();
53 
54  virtual void SetDirectory(TDirectory* dir);
55 
56  virtual void CreateTrees();
57  virtual void DeleteTrees();
58 
59  virtual void CreateBranches();
60  virtual void WriteTrees();
61 
62  virtual void LoadTrees();
63  virtual void SetBranchAddresses();
64 
66 
67  ClassDef(TEveVSD, 1); // Visualization Summary Data - a collection of trees holding standard event data in experiment independent format.
68 };
69 
70 #endif
virtual void SetDirectory(TDirectory *dir)
Set directory in which the trees are (or will be) created.
Definition: TEveVSD.cxx:64
static void DisableTObjectStreamersForVSDStruct()
Disable TObject streamers for those VSD structs that inherit from TObject directly.
Definition: TEveVSD.cxx:204
TEveRecCascade fCC
Definition: TEveVSD.h:47
TEveMCTrack * fpK
Definition: TEveVSD.h:41
TEveCluster fC
Definition: TEveVSD.h:43
virtual void DeleteTrees()
Delete internal trees.
Definition: TEveVSD.cxx:88
Int_t fVerbose
Definition: TEveVSD.h:29
TTree * fTreeH
Kinematics.
Definition: TEveVSD.h:33
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Definition: TFile.h:46
Int_t fBuffSize
Definition: TEveVSD.h:28
int Int_t
Definition: RtypesCore.h:41
TTree * fTreeK
Definition: TEveVSD.h:32
TEveRecTrack fR
Definition: TEveVSD.h:44
virtual void CreateTrees()
Create internal trees.
Definition: TEveVSD.cxx:72
TFile * fFile
Definition: TEveVSD.h:25
virtual void LoadTrees()
Load internal trees from directory.
Definition: TEveVSD.cxx:149
TEveVSD(const TEveVSD &)
TDirectory * fDirectory
Definition: TEveVSD.h:26
virtual ~TEveVSD()
Destructor.
Definition: TEveVSD.cxx:57
TEveRecV0 * fpV0
Definition: TEveVSD.h:46
TTree * fTreeR
Clusters.
Definition: TEveVSD.h:35
#define ClassDef(name, id)
Definition: Rtypes.h:297
TEveMCRecCrossRef * fpGI
Definition: TEveVSD.h:48
TTree * fTreeV0
Kinks.
Definition: TEveVSD.h:37
virtual void SetBranchAddresses()
Set branche addresses of internal trees.
Definition: TEveVSD.cxx:122
TEveRecTrack * fpR
Definition: TEveVSD.h:44
TEveCluster * fpC
Definition: TEveVSD.h:43
TTree * fTreeKK
Reconstructed tracks.
Definition: TEveVSD.h:36
TEveRecCascade * fpCC
Definition: TEveVSD.h:47
TEveHit * fpH
Definition: TEveVSD.h:42
TEveMCRecCrossRef fGI
Definition: TEveVSD.h:48
TEveMCTrack fK
Sim-Rec cross references.
Definition: TEveVSD.h:41
TEveRecKink * fpKK
Definition: TEveVSD.h:45
Describe directory structure in memory.
Definition: TDirectory.h:34
TEveRecKink fKK
Definition: TEveVSD.h:45
TTree * fTreeGI
Cascades.
Definition: TEveVSD.h:39
virtual void CreateBranches()
Create internal VSD branches.
Definition: TEveVSD.cxx:102
Visualization Summary Data - a collection of trees holding standard event data in experiment independ...
Definition: TEveVSD.h:19
Mother of all ROOT objects.
Definition: TObject.h:37
TEveVSD & operator=(const TEveVSD &)
virtual void WriteTrees()
Does nothing here ... reimplemented in sub-classes.
Definition: TEveVSD.cxx:142
A TTree object has a header with a name and a title.
Definition: TTree.h:78
TTree * fTreeC
Hits.
Definition: TEveVSD.h:34
TEveHit fH
Definition: TEveVSD.h:42
TTree * fTreeCC
VO's.
Definition: TEveVSD.h:38
TEveRecV0 fV0
Definition: TEveVSD.h:46