void CGate | ( | TH1 * | spgated, |
Cascade * | cas, | ||
Int_t | g1, | ||
Int_t | g2 | ||
) |
Function to gate on a cascade.
It applies a gate [g1,g2] on the cascade cas and fill the gated spectrum.
There are any checking concerning spgated and ccas .. so they must be non NULL !
Olivier Stezowski - 07/2004
PS: libGWPHYSICS and libGWGEM must be loaded before running this macro (see rootlogon.C)
Definition at line 82 of file firstdemo.C.