Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
REveVSD.hxx
Go to the documentation of this file.
1 // @(#)root/eve7:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2019, 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 ROOT7_REveVSD
13 #define ROOT7_REveVSD
14 
15 #include <ROOT/REveUtil.hxx>
16 #include <ROOT/REveVSDStructs.hxx>
17 
18 class TTree;
19 class TFile;
20 class TDirectory;
21 
22 namespace ROOT {
23 namespace Experimental {
24 
25 class REveVSD : public TObject {
26  REveVSD(const REveVSD &); // Not implemented
27  REveVSD &operator=(const REveVSD &); // Not implemented
28 
29 protected:
30  TFile *fFile{nullptr}; //!
31  TDirectory *fDirectory{nullptr}; //!
32 
33  Int_t fBuffSize{0}; //!
34  Int_t fVerbose{0}; //!
35 
36 public:
37  TTree *fTreeK{nullptr}; //! Kinematics.
38  TTree *fTreeH{nullptr}; //! Hits.
39  TTree *fTreeC{nullptr}; //! Clusters.
40  TTree *fTreeR{nullptr}; //! Reconstructed tracks.
41  TTree *fTreeKK{nullptr}; //! Kinks.
42  TTree *fTreeV0{nullptr}; //! VO's.
43  TTree *fTreeCC{nullptr}; //! Cascades.
44  TTree *fTreeGI{nullptr}; //! Sim-Rec cross references.
45 
46  REveMCTrack fK, *fpK{nullptr}; //!
47  REveHit fH, *fpH{nullptr}; //!
48  REveCluster fC, *fpC{nullptr}; //!
49  REveRecTrack fR, *fpR{nullptr}; //!
50  REveRecKink fKK, *fpKK{nullptr}; //!
51  REveRecV0 fV0, *fpV0{nullptr}; //!
52  REveRecCascade fCC, *fpCC{nullptr}; //!
53  REveMCRecCrossRef fGI, *fpGI{nullptr}; //!
54 
55 public:
56  REveVSD(const char *name = "REveVSD", const char *title = "");
57  virtual ~REveVSD();
58 
59  virtual void SetDirectory(TDirectory *dir);
60 
61  virtual void CreateTrees();
62  virtual void DeleteTrees();
63 
64  virtual void CreateBranches();
65  virtual void WriteTrees();
66 
67  virtual void LoadTrees();
68  virtual void SetBranchAddresses();
69 
70  static void DisableTObjectStreamersForVSDStruct();
71 
72  ClassDef(REveVSD, 1); // Visualization Summary Data - a collection of trees holding standard event data in experiment independent format.
73 };
74 
75 } // namespace Experimental
76 } // namespace ROOT
77 
78 #endif