]>
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 | { | |
265ecb21 | 20 | VSD(const VSD&); // Not implemented |
21 | VSD& operator=(const VSD&); // Not implemented | |
22 | ||
5a5a1232 | 23 | protected: |
24 | Int_t fBuffSize; | |
25 | ||
26 | TFile* mFile; //! | |
27 | TDirectory* mDirectory; //! | |
28 | ||
29 | public: | |
30 | TTree* mTreeK; //! X{g} | |
31 | //TTree* mTreeTR; //! X{g} | |
32 | TTree* mTreeH; //! X{g} | |
33 | TTree* mTreeC; //! X{g} | |
34 | TTree* mTreeR; //! X{g} | |
35 | TTree* mTreeKK; //! X{g} | |
36 | TTree* mTreeV0; //! X{g} | |
37 | TTree* mTreeGI; //! X{g} | |
38 | ||
39 | MCTrack mK, *mpK; //! | |
40 | //MCTrackRef mTR, *mpTR; //! | |
41 | Hit mH, *mpH; //! | |
42 | Cluster mC, *mpC; //! | |
43 | RecTrack mR, *mpR; //! | |
44 | RecKink mKK, *mpKK; //! | |
45 | RecV0 mV0, *mpV0; //! | |
46 | GenInfo mGI, *mpGI; //! | |
47 | ||
48 | public: | |
265ecb21 | 49 | VSD(const Text_t* name="VSD", const Text_t* title=""); |
5a5a1232 | 50 | |
51 | virtual void SetDirectory(TDirectory* dir); | |
52 | ||
53 | virtual void CreateTrees(); | |
54 | virtual void DeleteTrees(); | |
55 | ||
56 | virtual void CreateBranches(); | |
57 | virtual void SetBranchAddresses(); | |
58 | ||
59 | virtual void WriteTrees(); | |
60 | virtual void LoadTrees(); | |
61 | ||
62 | virtual void LoadVSD(const Text_t* vsd_file_name, | |
63 | const Text_t* dir_name="Event0"); | |
64 | ||
65 | ClassDef(VSD, 1); | |
66 | }; // endclass VSD | |
67 | ||
68 | } | |
69 | ||
70 | #endif |