File indexing completed on 2025-01-18 10:11:44
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TEveVSD
0013 #define ROOT_TEveVSD
0014
0015 #include "TEveUtil.h"
0016 #include "TEveVSDStructs.h"
0017 #include "TTree.h"
0018
0019 class TEveVSD : public TObject
0020 {
0021 TEveVSD(const TEveVSD&);
0022 TEveVSD& operator=(const TEveVSD&);
0023
0024 protected:
0025 TFile *fFile;
0026 TDirectory *fDirectory;
0027
0028 Int_t fBuffSize;
0029 Int_t fVerbose;
0030
0031 public:
0032 TTree* fTreeK;
0033 TTree* fTreeH;
0034 TTree* fTreeC;
0035 TTree* fTreeR;
0036 TTree* fTreeKK;
0037 TTree* fTreeV0;
0038 TTree* fTreeCC;
0039 TTree* fTreeGI;
0040
0041 TEveMCTrack fK, *fpK;
0042 TEveHit fH, *fpH;
0043 TEveCluster fC, *fpC;
0044 TEveRecTrack fR, *fpR;
0045 TEveRecKink fKK, *fpKK;
0046 TEveRecV0 fV0, *fpV0;
0047 TEveRecCascade fCC, *fpCC;
0048 TEveMCRecCrossRef fGI, *fpGI;
0049
0050 public:
0051 TEveVSD(const char* name="TEveVSD", const char* title="");
0052 ~TEveVSD() override;
0053
0054 virtual void SetDirectory(TDirectory* dir);
0055
0056 virtual void CreateTrees();
0057 virtual void DeleteTrees();
0058
0059 virtual void CreateBranches();
0060 virtual void WriteTrees();
0061
0062 virtual void LoadTrees();
0063 virtual void SetBranchAddresses();
0064
0065 static void DisableTObjectStreamersForVSDStruct();
0066
0067 ClassDefOverride(TEveVSD, 1);
0068 };
0069
0070 #endif