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 a suite of consecutive data records (TKey instances) with a well defined format.
A simple TTree restricted to a list of float variables only.
virtual void Draw(Option_t *options="")
Draw the spider.
const char * Data() const
- Author
- Bastien Dallapiazza
Definition in file spider.C.