EEezUtils


class description - source file - inheritance tree

class EEezUtils : public TObject


    protected:
TF1* fitSmdSingleInit(TH1F* h, Option_t* opts) public:
EEezUtils() EEezUtils(const EEezUtils&) virtual ~EEezUtils() static TClass* Class() TF1* fitSmdDouble(TH1F* h, Option_t* opts = "RQ0", Float_t min = 0., Float_t max = 0., TF1* p = NULL) TF1* fitSmdSingle(TH1F* h, Option_t* opts = "RQ0", Float_t min = 0., Float_t max = 0.) static EEezUtils* instance() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    public:
static EEezUtils* sInstance

Class Description

 EEezUtils

 Author: Jason C. Webb <jwebb@iucf.indiana.edu>

 Utility class to hold miscellaneous analysis functions, such as SMD
 fitting routines, etc...

 Implemened as a singleton.  Retrieve a pointer to the only instance
 of this class using the call

 EEezUtils *util = EEezUtils::instance();



EEezUtils()
 Class Constructor.

 Use EEezUtils *util = EEezUtils::instance() to
 get a pointer to this class.

EEezUtils* instance()
 Returns the single instance of this class.

TF1* fitSmdSingleInit( TH1F *histo, Option_t *opts )
 Initializes fit function for the specifed histogram.

TF1* fitSmdSingle( TH1F *histo, Option_t *opts, Float_t min, Float_t max )
 Fit histogram of SMD response to a single shower-shape
 function.  The fit is stored with the histogram, and
 a pointer to the fit is returned (actually, a pointer
 to the first function stored in the histogram, which
 should always be this one... i.e. no "+" in the opts
 arguement!).

TF1* fitSmdDouble( TH1F *histo, Option_t *opts, Float_t min, Float_t max, TF1 *infit )
 Fit histogram of SMD response to a double shower-shape
 function.  The fit is stored with the histogram, and
 a pointer to the fit is returned.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          EEezUtils EEezUtils(const EEezUtils&)
               void ~EEezUtils()


Author: Jason C. Webb
Last update: Tue Jun 1 11:19:16 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.