next up previous contents
Next: One-Dimensional Cuts Up: The Hoc Language Previous: Pseudo N-dimensional Histograms

Using Cuts


 
Table 5.11: List of Available Cut Functions
Function Purpose
cid = cut(name, initial) create cut with name name and default value initial. returns cut identifier cid
inside(cid, x) checks whether x is inside the limits of cut cid
cid = cut2d(name, initial) create 2-dimensional cut with name name and default value initial. returns cut identifier cid
inside2d() checks whether x is inside the limits of 2-dimensional cut cid
readcuts(filename) read cut parameters from file filename
 

To perform typical physical analysis, the possibility for cuts must exist. In YODA, there are one- and two-dimensional cuts (corresponding to one-and two-dimensional histograms). Cuts need not be associated to histograms, but very often will. The usage of cuts is much like the use of histograms: They are created with a single call returning a cut handle, and later referred to by this handle.



 

Heiko Rohdjess
2001-07-19