EEezSectorStats


class description - source file - inheritance tree

class EEezSectorStats : public TDirectory


    public:
EEezSectorStats(const Char_t* name, const Char_t* title = "EEmc Sector Statistics") virtual ~EEezSectorStats() void addHit(EEezTower* tower, Int_t det) void addHit(EEezStrip* strip, Int_t uv) static TClass* Class() void Clear() Float_t getAdcSum(Int_t det) Float_t getEnergySum(Int_t det) Float_t getMipSum(Int_t det) Float_t getNpe(Int_t det) Int_t getNumHits(Int_t det) Int_t getNumSeed() Float_t getRawAdcSum(Int_t det) Int_t Init() virtual TClass* IsA() const Int_t Make() void print() void setSector(Int_t sector) void setSeedEnergy(Float_t energy) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Float_t m_Adc[6] Sum of TPQRUV ADC-ped response Float_t m_RawAdc[6] Sum of TPQRUV ADC response Float_t m_Energy[6] Sum of TPQDUV Energy response/deposit Float_t m_Mips[6] Sum of TPQRUV number of mips Float_t m_Npe[6] Sum of TPQRUV number of photoelectrons Int_t m_NumHits[6] Number of hit TPQRUV detector elements Int_t m_NumSeed Number of seed towers T Int_t m_Sector Sector index 0-11 Float_t m_SeedEnergy Energy cut for seed towers

Class Description

 EEezSectorStats

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

 EEezSectorStats accumulates general statistics about the given sector,
 such as number of hits in pre/post shower detectors, towers, and SMD
 strips.  It inherits from TDirectory, so one could add histograms which
 monitor data quality, or could be used for calibrations (or both).

 One could also use this to accumulate statistics on trigger patches or
 other groupings of towers, since it is meant to be filled by an
 external object (such as EEezAnalysis).

 This class also keeps track of several event-by-event quantities.
 The numbers of hits for any set of detectors ( tower, pre and postshower
 and SMD planes), and the number of seed towers (towers which respond
 above a specified energy threshold, default of 0.7 GeV.)



EEezSectorStats ( const Char_t *name, const Char_t *title ) : TDirectory ( name, title )
 Class constructor.  Class descends from TDirectory, takes a name
 and an (optional) title.  Default title defined in header file.

Int_t Init()
 Initialization code goes here.  Any histograms which need booking
 should be done in this routine.

void addHit ( EEezTower *tower, Int_t det )
 Increment the specified detector element (0=T,1=P,2=Q,3=R) hit,
 adc, and energy counts.

void addHit ( EEezStrip *strip, Int_t uv )
 Increment the specified strip/plane hit, adc, energy, etc...

void Clear()
 Clears out event-by-event statistics

void print()
 Prints out the cumulated statistics for this sector/group of towers.
 Needs work.



Inline Functions


              Int_t Make()
               void setSector(Int_t sector)
               void setSeedEnergy(Float_t energy)
            Float_t getAdcSum(Int_t det)
            Float_t getRawAdcSum(Int_t det)
            Float_t getEnergySum(Int_t det)
            Float_t getMipSum(Int_t det)
            Float_t getNpe(Int_t det)
              Int_t getNumHits(Int_t det)
              Int_t getNumSeed()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
               void ~EEezSectorStats()


Author: Jason C. Webb
Last update: Tue Jun 1 11:18:58 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.