CMS 3D CMS Logo

Public Member Functions

StripClusterizerAlgorithm::InvalidChargeException Struct Reference

#include <StripClusterizerAlgorithm.h>

Inheritance diagram for StripClusterizerAlgorithm::InvalidChargeException:
cms::Exception

List of all members.

Public Member Functions

 InvalidChargeException (const SiStripDigi &)

Detailed Description

Definition at line 33 of file StripClusterizerAlgorithm.h.


Constructor & Destructor Documentation

StripClusterizerAlgorithm::InvalidChargeException::InvalidChargeException ( const SiStripDigi digi)

Definition at line 44 of file StripClusterizerAlgorithm.cc.

References SiStripDigi::adc(), cms::Exception::append(), asciidump::s, and SiStripDigi::strip().

  : cms::Exception("Invalid Charge") {
  std::stringstream s;
  s << "Digi charge of " << digi.adc() << " ADC "
    << "is out of range on strip " << digi.strip() << ".  ";
  this->append(s.str());
}