Project

General

Profile

Cluster

This is a quick documentation of the Cluster class in the novaddt namespace.
This class is intended to facilitate the triggering on EM shower like objects.

novaddt::Cluster

Interface

Current implementation includes these functions:

// Accessor Functions
        const ADC         TotalADC() const { return _adcsum; }
        const int         Width()    const { return _width; }
        const int         Extent()   const { return _extent; }
        const Fragment    Slice()    const { return _slice; }
        const int         Area()     const { return (_width * _extent); }

// Modifier Functions
        void SetTotalADC(const ADC& sum)        { _adcsum = sum }
        void SetFragment(const Fragment& frag)  { _slice  = frag }
        void SetWidth(const int& width)         { _width  = width }
        void SetExtent(const int& extent)       { _extent = extent }