]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | // $Header$ |
2 | ||
3 | #ifndef REVE_VSD_H | |
4 | #define REVE_VSD_H | |
5 | ||
6 | #include "Reve.h" | |
7 | #include "PODs.h" | |
8 | #include <TTree.h> | |
9 | ||
10 | namespace Reve { | |
11 | ||
12 | class VSDTree : public TTree | |
13 | { | |
14 | public: | |
15 | ClassDef(VSDTree, 1); | |
16 | }; | |
17 | ||
18 | class VSD : public TObject | |
19 | { | |
20 | protected: | |
21 | Int_t fBuffSize; | |
22 | ||
23 | TFile* mFile; //! | |
24 | TDirectory* mDirectory; //! | |
25 | ||
26 | public: | |
27 | TTree* mTreeK; //! X{g} | |
28 | //TTree* mTreeTR; //! X{g} | |
29 | TTree* mTreeH; //! X{g} | |
30 | TTree* mTreeC; //! X{g} | |
31 | TTree* mTreeR; //! X{g} | |
32 | TTree* mTreeKK; //! X{g} | |
33 | TTree* mTreeV0; //! X{g} | |
34 | TTree* mTreeGI; //! X{g} | |
35 | ||
36 | MCTrack mK, *mpK; //! | |
37 | //MCTrackRef mTR, *mpTR; //! | |
38 | Hit mH, *mpH; //! | |
39 | Cluster mC, *mpC; //! | |
40 | RecTrack mR, *mpR; //! | |
41 | RecKink mKK, *mpKK; //! | |
42 | RecV0 mV0, *mpV0; //! | |
43 | GenInfo mGI, *mpGI; //! | |
44 | ||
45 | public: | |
46 | VSD(); | |
47 | VSD(const Text_t* name, const Text_t* title=""); | |
48 | virtual void InitTreeVars(); | |
49 | ||
50 | virtual void SetDirectory(TDirectory* dir); | |
51 | ||
52 | virtual void CreateTrees(); | |
53 | virtual void DeleteTrees(); | |
54 | ||
55 | virtual void CreateBranches(); | |
56 | virtual void SetBranchAddresses(); | |
57 | ||
58 | virtual void WriteTrees(); | |
59 | virtual void LoadTrees(); | |
60 | ||
61 | virtual void LoadVSD(const Text_t* vsd_file_name, | |
62 | const Text_t* dir_name="Event0"); | |
63 | ||
64 | ClassDef(VSD, 1); | |
65 | }; // endclass VSD | |
66 | ||
67 | } | |
68 | ||
69 | #endif |