Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-14 09:23:43

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
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&);            // Not implemented
0022    TEveVSD& operator=(const TEveVSD&); // Not implemented
0023 
0024 protected:
0025    TFile             *fFile;        ///<!
0026    TDirectory        *fDirectory;   ///<!
0027 
0028    Int_t              fBuffSize;    ///<!
0029    Int_t              fVerbose;     ///<!
0030 
0031 public:
0032    TTree*             fTreeK;       ///<! Kinematics.
0033    TTree*             fTreeH;       ///<! Hits.
0034    TTree*             fTreeC;       ///<! Clusters.
0035    TTree*             fTreeR;       ///<! Reconstructed tracks.
0036    TTree*             fTreeKK;      ///<! Kinks.
0037    TTree*             fTreeV0;      ///<! VO's.
0038    TTree*             fTreeCC;      ///<! Cascades.
0039    TTree*             fTreeGI;      ///<! Sim-Rec cross references.
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); // Visualization Summary Data - a collection of trees holding standard event data in experiment independent format.
0068 };
0069 
0070 #endif