73 fTreeK =
new TTree(
"Kinematics",
"Simulated tracks.");
74 fTreeH =
new TTree(
"Hits",
"Combined detector hits.");
75 fTreeC =
new TTree(
"Clusters",
"Reconstructed clusters.");
76 fTreeR =
new TTree(
"RecTracks",
"Reconstructed tracks.");
79 fTreeCC =
new TTree(
"RecCascades",
"Reconstructed cascades.");
80 fTreeGI =
new TTree(
"TEveMCRecCrossRef",
"Objects prepared for cross query.");
152 throw eH +
"directory not set.";
156 printf(
"%s Kinematics not available in fDirectory %s.\n",
162 printf(
"%s Hits not available in fDirectory %s.\n",
168 printf(
"%s Clusters not available in fDirectory %s.\n",
174 printf(
"%s RecTracks not available in fDirectory %s.\n",
180 printf(
"%s Kinks not available in fDirectory %s.\n",
186 printf(
"%s V0 not available in fDirectory %s.\n",
192 printf(
"%s TEveMCRecCrossRef not available in fDirectory %s.\n",
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Describe directory structure in memory.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
virtual Bool_t cd()
Change current directory to "this" directory.
Exception class thrown by TEve classes and macros.
static void DisableTObjectStreamersForVSDStruct()
Disable TObject streamers for those VSD structs that inherit from TObject directly.
virtual void SetBranchAddresses()
Set branche addresses of internal trees.
~TEveVSD() override
Destructor.
virtual void DeleteTrees()
Delete internal trees.
virtual void SetDirectory(TDirectory *dir)
Set directory in which the trees are (or will be) created.
TTree * fTreeKK
Reconstructed tracks.
TTree * fTreeH
Kinematics.
virtual void CreateTrees()
Create internal trees.
virtual void LoadTrees()
Load internal trees from directory.
virtual void CreateBranches()
Create internal VSD branches.
virtual void WriteTrees()
Does nothing here ... reimplemented in sub-classes.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
A TTree represents a columnar dataset.
virtual Int_t SetBranchAddress(const char *bname, void *add, TBranch **ptr, TClass *realClass, EDataType datatype, bool isptr, bool suppressMissingBranchError)
TBranch * Branch(const char *name, T *obj, Int_t bufsize=32000, Int_t splitlevel=99)
Add a new branch, and infer the data type from the type of obj being passed.