Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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; //!
26  TDirectory *fDirectory; //!
27 
28  Int_t fBuffSize; //!
29  Int_t fVerbose; //!
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 
41  TEveMCTrack fK, *fpK; //!
42  TEveHit fH, *fpH; //!
43  TEveCluster fC, *fpC; //!
44  TEveRecTrack fR, *fpR; //!
45  TEveRecKink fKK, *fpKK; //!
46  TEveRecV0 fV0, *fpV0; //!
47  TEveRecCascade fCC, *fpCC; //!
48  TEveMCRecCrossRef fGI, *fpGI; //!
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 
65  static void DisableTObjectStreamersForVSDStruct();
66 
67  ClassDef(TEveVSD, 1); // Visualization Summary Data - a collection of trees holding standard event data in experiment independent format.
68 };
69 
70 #endif