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
19class TEveVSD : public TObject
20{
21 TEveVSD(const TEveVSD&); // Not implemented
22 TEveVSD& operator=(const TEveVSD&); // Not implemented
23
24protected:
27
30
31public:
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
50public:
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
#define ClassDef(name, id)
Definition: Rtypes.h:322
char name[80]
Definition: TGX11.cxx:109
Describe directory structure in memory.
Definition: TDirectory.h:40
Visualization Summary Data - a collection of trees holding standard event data in experiment independ...
Definition: TEveVSD.h:20
TEveCluster fC
Definition: TEveVSD.h:43
TEveRecCascade * fpCC
Definition: TEveVSD.h:47
Int_t fBuffSize
Definition: TEveVSD.h:28
TTree * fTreeGI
Cascades.
Definition: TEveVSD.h:39
static void DisableTObjectStreamersForVSDStruct()
Disable TObject streamers for those VSD structs that inherit from TObject directly.
Definition: TEveVSD.cxx:204
TEveRecTrack fR
Definition: TEveVSD.h:44
TEveRecCascade fCC
Definition: TEveVSD.h:47
TEveVSD & operator=(const TEveVSD &)
TEveRecV0 fV0
Definition: TEveVSD.h:46
virtual void SetBranchAddresses()
Set branche addresses of internal trees.
Definition: TEveVSD.cxx:122
virtual ~TEveVSD()
Destructor.
Definition: TEveVSD.cxx:57
virtual void DeleteTrees()
Delete internal trees.
Definition: TEveVSD.cxx:88
TDirectory * fDirectory
Definition: TEveVSD.h:26
TTree * fTreeCC
VO's.
Definition: TEveVSD.h:38
virtual void SetDirectory(TDirectory *dir)
Set directory in which the trees are (or will be) created.
Definition: TEveVSD.cxx:64
TTree * fTreeKK
Reconstructed tracks.
Definition: TEveVSD.h:36
TEveHit fH
Definition: TEveVSD.h:42
TEveMCTrack * fpK
Definition: TEveVSD.h:41
TEveMCRecCrossRef * fpGI
Definition: TEveVSD.h:48
TTree * fTreeH
Kinematics.
Definition: TEveVSD.h:33
TEveMCRecCrossRef fGI
Definition: TEveVSD.h:48
TTree * fTreeK
Definition: TEveVSD.h:32
TEveRecKink fKK
Definition: TEveVSD.h:45
TEveRecKink * fpKK
Definition: TEveVSD.h:45
TEveMCTrack fK
Sim-Rec cross references.
Definition: TEveVSD.h:41
TEveHit * fpH
Definition: TEveVSD.h:42
TEveCluster * fpC
Definition: TEveVSD.h:43
TFile * fFile
Definition: TEveVSD.h:25
TTree * fTreeV0
Kinks.
Definition: TEveVSD.h:37
TTree * fTreeC
Hits.
Definition: TEveVSD.h:34
virtual void CreateTrees()
Create internal trees.
Definition: TEveVSD.cxx:72
TEveRecV0 * fpV0
Definition: TEveVSD.h:46
Int_t fVerbose
Definition: TEveVSD.h:29
TEveRecTrack * fpR
Definition: TEveVSD.h:44
virtual void LoadTrees()
Load internal trees from directory.
Definition: TEveVSD.cxx:149
virtual void CreateBranches()
Create internal VSD branches.
Definition: TEveVSD.cxx:102
virtual void WriteTrees()
Does nothing here ... reimplemented in sub-classes.
Definition: TEveVSD.cxx:142
TTree * fTreeR
Clusters.
Definition: TEveVSD.h:35
TEveVSD(const TEveVSD &)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
Definition: TFile.h:53
Mother of all ROOT objects.
Definition: TObject.h:37
A TTree represents a columnar dataset.
Definition: TTree.h:78