Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

SctData::OccupancyProjector Class Reference

Altorithms for projecting TH1 occupancy histograms out of a RawScanResult. More...

#include <OccupancyProjector.h>


Public Member Functions

 OccupancyProjector (const RawScanResult &r) throw ()
 Make a default projector (no vetos) with a reference to a particular RawScanResult;.

 ~OccupancyProjector () throw ()
 destructor

auto_ptr< TH1 > getOccupancy (const char *name, const ModuleElement &element) const throw (LogicError)
 Utility function that gets a general occupancy hist.

void vetoMaskedChannels (const ModuleConfiguration &) throw ()
 veto masked channels.
Parameters:
ModuleConfiguration containing the mask.


void vetoAllDefects (const ModuleDefectList &) throw ()
 veto all defective channels.
Parameters:
ModuleDefectList 



void vetoSevereDefects (const ModuleDefectList &) throw ()
 veto all "seriously defective" channels.
Parameters:
ModuleDefectList 



void unsetVetos () throw ()
 switch off all vetos


Private Member Functions

 OccupancyProjector () throw ()

Private Attributes

bool m_vetoAllDefects
const RawScanResultraw
const ModuleConfigurationconfig
const ModuleDefectListdefects


Detailed Description

Altorithms for projecting TH1 occupancy histograms out of a RawScanResult.

Allow skipping of masked/defective channels.

Definition at line 18 of file OccupancyProjector.h.


Constructor & Destructor Documentation

SctData::OccupancyProjector::OccupancyProjector const RawScanResult   r throw ()
 

Make a default projector (no vetos) with a reference to a particular RawScanResult;.

Definition at line 14 of file OccupancyProjector.cpp.

SctData::OccupancyProjector::~OccupancyProjector   throw ()
 

destructor

Definition at line 18 of file OccupancyProjector.cpp.

SctData::OccupancyProjector::OccupancyProjector   throw () [private]
 

Definition at line 10 of file OccupancyProjector.cpp.


Member Function Documentation

auto_ptr< TH1 > SctData::OccupancyProjector::getOccupancy const char *    name,
const ModuleElement   element
const throw (LogicError)
 

Utility function that gets a general occupancy hist.

Returns:
a pointer to the new TH1D containing the occupancy.
Parameters:
the name of the histogram
the ModuleElement for which the occupancy is required.

Definition at line 36 of file OccupancyProjector.cpp.

void SctData::OccupancyProjector::unsetVetos   throw ()
 

switch off all vetos

Definition at line 32 of file OccupancyProjector.cpp.

void SctData::OccupancyProjector::vetoAllDefects const ModuleDefectList   throw ()
 

veto all defective channels.

Parameters:
ModuleDefectList 

Definition at line 20 of file OccupancyProjector.cpp.

void SctData::OccupancyProjector::vetoMaskedChannels const ModuleConfiguration   throw ()
 

veto masked channels.

Parameters:
ModuleConfiguration containing the mask.

Definition at line 29 of file OccupancyProjector.cpp.

void SctData::OccupancyProjector::vetoSevereDefects const ModuleDefectList   throw ()
 

veto all "seriously defective" channels.

Parameters:
ModuleDefectList 

Definition at line 23 of file OccupancyProjector.cpp.


Field Documentation

const ModuleConfiguration* SctData::OccupancyProjector::config [private]
 

Definition at line 45 of file OccupancyProjector.h.

const ModuleDefectList* SctData::OccupancyProjector::defects [private]
 

Definition at line 46 of file OccupancyProjector.h.

bool SctData::OccupancyProjector::m_vetoAllDefects [private]
 

Definition at line 43 of file OccupancyProjector.h.

const RawScanResult* SctData::OccupancyProjector::raw [private]
 

Definition at line 44 of file OccupancyProjector.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:37:49 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3