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
std::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.
void vetoAllDefects (const DefectList &) throw ()
 veto all defective channels.
void vetoSeriousDefects (const DefectList &) throw ()
 veto all "seriously defective" channels.
void unsetVetos () throw ()
 switch off all vetos

Private Member Functions

 OccupancyProjector () throw ()

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

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

destructor

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

Referenced by SctAnalysis::NoiseOccupancyAlgorithm::analyzeChip(), SctDataDisplay::RawDisplayer::displayProjs(), and SctFitter::FitAlgorithm::doFit().

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

switch off all vetos

Definition at line 36 of file OccupancyProjector.cpp.

References config, defects, and m_vetoAllDefects.

Referenced by OccupancyProjector().

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

veto all defective channels.

Parameters:
ModuleDefectList 

Definition at line 26 of file OccupancyProjector.cpp.

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

veto masked channels.

Parameters:
ModuleConfiguration containing the mask.

Definition at line 33 of file OccupancyProjector.cpp.

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

veto all "seriously defective" channels.

Parameters:
ModuleDefectList 

Definition at line 29 of file OccupancyProjector.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:07:32 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6