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 an on-disk file, usually with extension .root, that stores objects in a file-system-li...
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.