artemis-dev / artemis

A RooT Extension with Modular processors for Instant Switching
2 stars 6 forks source link

Create auto branch for primitive classes like integer, double etc. #6

Closed cheese-cake closed 9 years ago

cheese-cake commented 9 years ago

TOutputTreeProcessor can automatically create the branch of the classes inheriting from TObject but it become powerful if it can also create the branch of the primitive classes like integer, double and etc.

cheese-cake commented 9 years ago

A branch from the primitive type "Double_t" can be created automatically. TEventObject, TEventCollection, TProcessor and TOutputTreeProcessor were modified. The output variable should be initialized at constructor now. But this breaks the rule of ROOT.

cheese-cake commented 9 years ago

Auto branches for the primitive type Double_t, Float_t and Int_t can be created.