GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BasePeak * PeakCreator::CreatePeak ( Double_t  x,
Option_t *  opt = "",
TVirtualPad *  pad = 0x0 
)
virtual

It creates a peak at position x,y for the spectrum extraced from pad or gPad.

for options, see CreatePeak(const TH1* h, Double_t x, Option_t *opt = "")

Definition at line 484 of file PeakCreator.cpp.