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

SctData::OccupancyProjector Class Reference

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

#include <OccupancyProjector.h>

Collaboration diagram for SctData::OccupancyProjector:

Collaboration graph
[legend]

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. ModuleConfiguration containing the mask.

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

void vetoSeriousDefects (const DefectList &) throw ()
 veto all "seriously defective" channels. ModuleDefectList

void unsetVetos () throw ()
 switch off all vetos


Private Attributes

bool m_vetoAllDefects
const RawScanResultraw
const ModuleConfigurationconfig
const DefectListdefects

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 15 of file OccupancyProjector.cpp.

SctData::OccupancyProjector::~OccupancyProjector  )  throw ()
 

destructor

Definition at line 19 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 37 of file OccupancyProjector.cpp.

References SctData::DefectSeverity, SctData::NONE, and SctData::SERIOUS.

Referenced by SctAnalysis::FullBypassAlgorithm::analyze(), and SctFitter::FitAlgorithm::doFit().

void SctData::OccupancyProjector::unsetVetos  )  throw ()
 

switch off all vetos

Definition at line 33 of file OccupancyProjector.cpp.

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

veto all defective channels. ModuleDefectList

Definition at line 21 of file OccupancyProjector.cpp.

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

veto masked channels. ModuleConfiguration containing the mask.

Definition at line 30 of file OccupancyProjector.cpp.

Referenced by SctFitter::FitAlgorithm::doFit().

void SctData::OccupancyProjector::vetoSeriousDefects const DefectList  )  throw ()
 

veto all "seriously defective" channels. ModuleDefectList

Definition at line 24 of file OccupancyProjector.cpp.

Referenced by SctFitter::FitAlgorithm::doFit().


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:52:47 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5