27REveVSD::REveVSD(
const char* ,
const char*) :
76 fTreeK =
new TTree(
"Kinematics",
"Simulated tracks.");
77 fTreeH =
new TTree(
"Hits",
"Combined detector hits.");
78 fTreeC =
new TTree(
"Clusters",
"Reconstructed clusters.");
79 fTreeR =
new TTree(
"RecTracks",
"Reconstructed tracks.");
82 fTreeCC =
new TTree(
"RecCascades",
"Reconstructed cascades.");
83 fTreeGI =
new TTree(
"REveMCRecCrossRef",
"Objects prepared for cross query.");
155 throw eH +
" directory not set.";
REveException Exception-type thrown by Eve classes.
virtual void CreateBranches()
Create internal VSD branches.
TTree * fTreeH
Kinematics.
static void DisableTObjectStreamersForVSDStruct()
Disable TObject streamers for those VSD structs that inherit from TObject directly.
virtual void DeleteTrees()
Delete internal trees.
TTree * fTreeKK
Reconstructed tracks.
virtual void CreateTrees()
Create internal trees.
virtual void WriteTrees()
Does nothing here ... reimplemented in sub-classes.
virtual void SetDirectory(TDirectory *dir)
Set directory in which the trees are (or will be) created.
virtual void LoadTrees()
Load internal trees from directory.
~REveVSD() override
Destructor.
virtual void SetBranchAddresses()
Set branche addresses of internal trees.
void IgnoreTObjectStreamer(Bool_t ignore=kTRUE)
When the class kIgnoreTObjectStreamer bit is set, the automatically generated Streamer will not call ...
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.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
A TTree represents a columnar dataset.
virtual Int_t SetBranchAddress(const char *bname, void *add, TBranch **ptr=nullptr)
Change branch address, dealing with clone trees properly.
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.