Logo ROOT  
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
TEveRecKink
Definition: TEveVSDStructs.h:163
TEveVSD::fH
TEveHit fH
Definition: TEveVSD.h:42
TEveVSD::fC
TEveCluster fC
Definition: TEveVSD.h:43
TEveRecTrackT< Float_t >
TEveVSD::fpV0
TEveRecV0 * fpV0
Definition: TEveVSD.h:46
TEveVSD::fTreeR
TTree * fTreeR
Clusters.
Definition: TEveVSD.h:35
TEveVSD::fVerbose
Int_t fVerbose
Definition: TEveVSD.h:29
TEveVSD::fTreeGI
TTree * fTreeGI
Cascades.
Definition: TEveVSD.h:39
TEveVSD::CreateBranches
virtual void CreateBranches()
Create internal VSD branches.
Definition: TEveVSD.cxx:101
TEveVSD::fV0
TEveRecV0 fV0
Definition: TEveVSD.h:46
TEveVSD::fK
TEveMCTrack fK
Sim-Rec cross references.
Definition: TEveVSD.h:41
TEveVSD::fBuffSize
Int_t fBuffSize
Definition: TEveVSD.h:28
TEveRecCascade
Definition: TEveVSDStructs.h:229
TEveVSD::fpKK
TEveRecKink * fpKK
Definition: TEveVSD.h:45
TEveVSD::fpGI
TEveMCRecCrossRef * fpGI
Definition: TEveVSD.h:48
TEveMCRecCrossRef
Definition: TEveVSDStructs.h:258
TEveVSD::fpCC
TEveRecCascade * fpCC
Definition: TEveVSD.h:47
TTree
A TTree represents a columnar dataset.
Definition: TTree.h:79
TEveRecV0
Definition: TEveVSDStructs.h:198
TEveVSD::fTreeC
TTree * fTreeC
Hits.
Definition: TEveVSD.h:34
TEveVSD::fpR
TEveRecTrack * fpR
Definition: TEveVSD.h:44
TEveVSD::SetDirectory
virtual void SetDirectory(TDirectory *dir)
Set directory in which the trees are (or will be) created.
Definition: TEveVSD.cxx:63
TEveVSD::SetBranchAddresses
virtual void SetBranchAddresses()
Set branche addresses of internal trees.
Definition: TEveVSD.cxx:121
TEveVSD::fTreeK
TTree * fTreeK
Definition: TEveVSD.h:32
TEveVSD::~TEveVSD
virtual ~TEveVSD()
Destructor.
Definition: TEveVSD.cxx:56
TEveMCTrack
Definition: TEveVSDStructs.h:43
TEveVSD::fpC
TEveCluster * fpC
Definition: TEveVSD.h:43
TTree.h
TEveVSD::DisableTObjectStreamersForVSDStruct
static void DisableTObjectStreamersForVSDStruct()
Disable TObject streamers for those VSD structs that inherit from TObject directly.
Definition: TEveVSD.cxx:203
TEveVSD::WriteTrees
virtual void WriteTrees()
Does nothing here ... reimplemented in sub-classes.
Definition: TEveVSD.cxx:141
TEveVSD::operator=
TEveVSD & operator=(const TEveVSD &)
TEveVSD::fTreeCC
TTree * fTreeCC
VO's.
Definition: TEveVSD.h:38
TEveUtil.h
TEveVSDStructs.h
TEveVSD::fDirectory
TDirectory * fDirectory
Definition: TEveVSD.h:26
TEveHit
Definition: TEveVSDStructs.h:80
TEveVSD::fKK
TEveRecKink fKK
Definition: TEveVSD.h:45
TEveVSD::fGI
TEveMCRecCrossRef fGI
Definition: TEveVSD.h:48
TEveVSD::fCC
TEveRecCascade fCC
Definition: TEveVSD.h:47
TEveVSD::fTreeV0
TTree * fTreeV0
Kinks.
Definition: TEveVSD.h:37
TEveVSD::fpK
TEveMCTrack * fpK
Definition: TEveVSD.h:41
TEveVSD::TEveVSD
TEveVSD(const TEveVSD &)
TEveVSD::fFile
TFile * fFile
Definition: TEveVSD.h:25
TFile
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Definition: TFile.h:54
TEveVSD
Visualization Summary Data - a collection of trees holding standard event data in experiment independ...
Definition: TEveVSD.h:20
TEveCluster
Definition: TEveVSDStructs.h:106
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveVSD::LoadTrees
virtual void LoadTrees()
Load internal trees from directory.
Definition: TEveVSD.cxx:148
name
char name[80]
Definition: TGX11.cxx:110
TDirectory
Describe directory structure in memory.
Definition: TDirectory.h:45
TEveVSD::fpH
TEveHit * fpH
Definition: TEveVSD.h:42
TEveVSD::CreateTrees
virtual void CreateTrees()
Create internal trees.
Definition: TEveVSD.cxx:71
TEveVSD::fTreeKK
TTree * fTreeKK
Reconstructed tracks.
Definition: TEveVSD.h:36
TEveVSD::fTreeH
TTree * fTreeH
Kinematics.
Definition: TEveVSD.h:33
TEveVSD::DeleteTrees
virtual void DeleteTrees()
Delete internal trees.
Definition: TEveVSD.cxx:87
int
TEveVSD::fR
TEveRecTrack fR
Definition: TEveVSD.h:44