TSpider example.
void spider() {
if (!
f ||
f->IsZombie()) {
printf("Please run <ROOT location>/tutorials/hsimple.C before.");
return;
}
TString varexp =
"px:py:pz:random:sin(px):log(px/py):log(pz)";
TString selection =
"px>0 && py>0 && pz>0";
c1->Selected(
c1,spider,1);
}
A ROOT file is composed of a header, followed by consecutive data records (TKey instances) with a wel...
A simple TTree restricted to a list of float variables only.
void Draw(Option_t *options="") override
Draw the spider.
const char * Data() const
- Author
- Bastien Dallapiazza
Definition in file spider.C.