CMS 3D CMS Logo

cms Namespace Reference

This a basic exception type expected to be thrown by developer-written code. More...


Classes

class  AlCaDiJetsProducer
class  Analyzer_minbias
class  BaseJetProducer
class  BasePilupSubtractionJetProducer
class  BHFilter
class  CDFMidpointJetProducer
class  CkfDebugTrackCandidateMaker
class  CkfTrackCandidateMaker
class  CkfTrackCandidateMakerBase
class  CkfTrajectoryMaker
class  ClusterAnalysis
class  ClusterAnalysisFilter
class  ClusterizerFP420
class  ClusterMTCCFilter
class  CompareTrajChi
class  CompareTrajLay
class  CosmicTIFTrigFilter
class  CosmicTrackFinder
class  CRC32Calculator
class  Digest
class  DigitizerFP420
class  DiJetAnalyzer
class  DiMuonSeedGeneratorHIC
class  DiMuonTrajectorySeed
class  Exception
class  ExtKtJetProducer
class  ExtKtPilupSubtractionJetProducer
class  FastMuPropagator
class  FmpConst
class  GammaJetAnalysis
class  HcalConstantsASCIIWriter
class  HICConst
class  HICFTSfromL1orL2
class  HICMuonPropagator
class  HICSeedMeasurementEstimator
class  HICTkOuterStartingLayerFinder
class  HITrackVertexMaker
class  HitReCalibrator
class  IterativeConeJetProducer
class  IterativeConePilupSubtractionJetProducer
class  JetCorrectionProducer
class  JetPlusTrackAnalysis
class  JetVertexAssociation
class  KtJetProducer
class  KtPilupSubtractionJetProducer
class  LTCTriggerBitsFilter
struct  MD5Result
class  METProducer
class  MidpointJetProducer
class  MidpointPilupSubtractionJetProducer
class  MinBias
class  MTCCHLTrigger
class  MuonMET
class  ProducerAnalyzer
class  ReconstructerFP420
class  RoadSearchCloudCleaner
class  RoadSearchHelixMaker
class  RoadSearchTrackListCleaner
class  SimpleTrackListMerger
class  SiPixelClusterProducer
class  SiPixelDigitizer
class  SiPixelHistoricInfoReader
class  SiPixelRecHitConverter
class  SISConeJetProducer
class  SiStripClusterizer
class  SiStripHistoricPlot
class  SiStripOfflinePedNoiseToDb
class  SiStripRecHitConverter
class  SiStripZeroSuppression
class  TauMET
class  TECClusterFilter
class  TestMuL1L2Filter
class  TestMuL1L2FilterSTA
class  TrackerizerFP420
class  TrackListMerger
class  TrackMTCCFilter
class  Type1MET

Namespaces

namespace  detail

Functions

MD5Result const & invalidResult ()
bool operator!= (MD5Result const &a, MD5Result const &b)
bool operator< (MD5Result const &a, MD5Result const &b)
template<typename E>
detail::Desired< E,
detail::is_derived_or_same
< Exception, E >::value >
::type const & 
operator<< (E const &e, std::ios_base &(*f)(std::ios_base &))
template<typename E>
detail::Desired< E,
detail::is_derived_or_same
< Exception, E >::value >
::type
operator<< (E &e, std::ios_base &(*f)(std::ios_base &))
template<typename E>
detail::Desired< E,
detail::is_derived_or_same
< Exception, E >::value >
::type const & 
operator<< (E const &e, std::ostream &(*f)(std::ostream &))
template<typename E>
detail::Desired< E,
detail::is_derived_or_same
< Exception, E >::value >
::type
operator<< (E &e, std::ostream &(*f)(std::ostream &))
template<typename E, typename T>
detail::Desired< E,
detail::is_derived_or_same
< Exception, E >::value >
::type const & 
operator<< (E const &e, T const &stuff)
template<typename E, typename T>
detail::Desired< E,
detail::is_derived_or_same
< Exception, E >::value >
::type
operator<< (E &e, T const &stuff)
std::ostream & operator<< (std::ostream &ost, Exception const &e)
std::ostream & operator<< (std::ostream &os, MD5Result const &r)
bool operator== (MD5Result const &a, MD5Result const &b)
void set_to_default (MD5Result &val)
char unhexify (char hexed)

Variables

const boost::uint32_t CRC32_XINIT = 0xFFFFFFFFL
const boost::uint32_t CRC32_XOROT = 0xFFFFFFFFL
boost::uint32_t crctable [256]


Detailed Description

This a basic exception type expected to be thrown by developer-written code.

SiPixelClusterProducer.cc --------------------------------------------------------------- Description: see SiPixelClusterProducer.h Author: P.

Finds the layers that a FreeTrajectoryState which is outside of the tracker volume crosses first.

The COMMON BLOCK used by FastMuonPropagator.

A very fast propagator that can go only from the trigger layers of the muon system to the tracker bounds.

jet energy corrections from MCjet calibration

We recommend that you use it directly. It can also be used as a base class if needed.

Each Exception is identified by a category string. This category is a short word or phrase (no spaces) that described the problem that was encountered. These category identifiers can be concatenated if exceptions are caught and rethrown and the entire list can be accessed using the history() call.

Example: try { func(); } catch (cms::Exception& e) { throw cms::Exception("DataCorrupt","encountered while unpacking",e); }

Information can be added to the Exception using the stream insertion operator (as one uses cout). We recommend using it in the following manner:

Example: if ((rc=func()) < 0) { throw cms::Exception("DataCorrupt") << "I died with rc = " << rc << std::endl; }

Derived types are expected to fix the category, either by 1) passing a string literal to the base class constructor, or 2) ensuring the developer gives a category name.

Example: class InfiniteLoop : public Exception { InfiniteLoop(const std::string& msg) : Exception("InfiniteLoop",msg) { } };

The output from what() has a simple format that makes it easy to locate the reason for and context of the error and separate it from the user-supplied free-format text. The output from what() contains all the category and context information in a nested hierarchical format.

The following 'example' shows one possible output. Please note that, in this early version, the format is still changing; what you actually obtain should be similar to, but not necessarily identical with, the following:

Example: ---- InfiniteLoop BEGIN -- who: moduletype=PixelUnpacker modulelabel=unpackthing -- where: event=122234553.1233123456 runsegment=3 store=446 I am really sad about this ---- DataCorrupt BEGIN Unpacking of pixel detector region 14 failed to get valid cell ID ---- DataCorrupt END -- action: skip event ---- InfiniteLoop BEGIN

Fixed format Framework supplied context information will be specially tagged. See the framework error section of the roadmap for details on the format and tags of framework supplied information.

TODO: Update the example to match the final formatting, when that formatting has settled down.

Uses precomputed parametrizations.

In the forward and barrel-forward regions there may be several such layers.

Maksimovic (porting from original ORCA version) History: Oct 14, 2005, initial version Get rid of the noiseVector. d.k. 28/3/06 Implementation of the DetSetVector container. V.Chiochia, May 06 SiPixelClusterCollection typedef of DetSetVector V.Chiochia, June 06 Introduce the DetSet local container (cache) for speed. d.k. 05/07

---------------------------------------------------------------


Function Documentation

MD5Result const& cms::@7804::invalidResult (  )  [static]

Definition at line 11 of file Digest.cc.

Referenced by cms::MD5Result::isValid().

00012     {
00013       static const MD5Result val;      
00014       return val;
00015     }

bool cms::operator!= ( MD5Result const &  a,
MD5Result const &  b 
) [inline]

Definition at line 40 of file Digest.h.

00041   {
00042     return !(a==b);
00043   }

bool cms::operator< ( MD5Result const &  a,
MD5Result const &  b 
)

Definition at line 131 of file Digest.cc.

References cms::MD5Result::bytes.

00132   {
00133     return std::lexicographical_compare(a.bytes, 
00134                                         a.bytes+sizeof(a.bytes), 
00135                                         b.bytes,
00136                                         b.bytes+sizeof(b.bytes));
00137   }

template<typename E>
detail::Desired<E, detail::is_derived_or_same<Exception,E>::value>::type const& cms::operator<< ( E const &  e,
std::ios_base &(*)(std::ios_base &)  f 
) [inline]

Definition at line 274 of file Exception.h.

References f.

00275   {
00276     E& ref = const_cast<E&>(e);
00277     f(ref.ost_);
00278     return e;
00279   }

template<typename E>
detail::Desired<E, detail::is_derived_or_same<Exception,E>::value>::type& cms::operator<< ( E &  e,
std::ios_base &(*)(std::ios_base &)  f 
) [inline]

Definition at line 264 of file Exception.h.

References f.

00265   {
00266     f(e.ost_);
00267     return e;
00268   }

template<typename E>
detail::Desired<E, detail::is_derived_or_same<Exception,E>::value>::type const& cms::operator<< ( E const &  e,
std::ostream &(*)(std::ostream &)  f 
) [inline]

Definition at line 254 of file Exception.h.

References f.

00255   {
00256     E& ref = const_cast<E&>(e);
00257     f(ref.ost_);
00258     return e;
00259   }

template<typename E>
detail::Desired<E, detail::is_derived_or_same<Exception,E>::value>::type& cms::operator<< ( E &  e,
std::ostream &(*)(std::ostream &)  f 
) [inline]

Definition at line 245 of file Exception.h.

References f.

00246   {
00247     f(e.ost_);
00248     return e;
00249   }

template<typename E, typename T>
detail::Desired<E, detail::is_derived_or_same<Exception,E>::value>::type const& cms::operator<< ( E const &  e,
T const &  stuff 
) [inline]

Definition at line 235 of file Exception.h.

00236   {
00237     E& ref = const_cast<E&>(e);
00238     ref.ost_ << stuff;
00239     return e;
00240   }

template<typename E, typename T>
detail::Desired<E, detail::is_derived_or_same<Exception,E>::value>::type& cms::operator<< ( E &  e,
T const &  stuff 
) [inline]

Definition at line 226 of file Exception.h.

00227   {
00228     e.ost_ << stuff;
00229     return e;
00230   }

std::ostream& cms::operator<< ( std::ostream &  ost,
Exception const &  e 
) [inline]

Definition at line 215 of file Exception.h.

00216   {
00217     ost << e.explainSelf();
00218     return ost;
00219   }

std::ostream& cms::operator<< ( std::ostream &  os,
MD5Result const &  r 
) [inline]

Definition at line 46 of file Digest.h.

References cms::MD5Result::toString().

00047   {
00048     os << r.toString();
00049     return os;
00050   }

bool cms::operator== ( MD5Result const &  a,
MD5Result const &  b 
)

Definition at line 125 of file Digest.cc.

References cms::MD5Result::bytes.

00126   {
00127     return std::equal(a.bytes, a.bytes+sizeof(a.bytes), b.bytes);
00128   }

void cms::set_to_default ( MD5Result &  val  ) 

Definition at line 44 of file Digest.cc.

References cms::MD5Result::bytes.

Referenced by cms::MD5Result::fromHexifiedString(), and cms::MD5Result::MD5Result().

00045   {
00046     val.bytes[0] = 0xd4;
00047     val.bytes[1] = 0x1d;
00048     val.bytes[2] = 0x8c;
00049     val.bytes[3] = 0xd9;
00050     val.bytes[4] = 0x8f;
00051     val.bytes[5] = 0x00;
00052     val.bytes[6] = 0xb2;
00053     val.bytes[7] = 0x04;
00054     val.bytes[8] = 0xe9;
00055     val.bytes[9] = 0x80;
00056     val.bytes[10] = 0x09;
00057     val.bytes[11] = 0x98;
00058     val.bytes[12] = 0xec;
00059     val.bytes[13] = 0xf8;
00060     val.bytes[14] = 0x42;
00061     val.bytes[15] = 0x7e;
00062   }

char cms::@7804::unhexify ( char  hexed  )  [static]

Definition at line 17 of file Digest.cc.

References edm::errors::LogicError.

Referenced by cms::MD5Result::fromHexifiedString().

00018     {
00019       switch (hexed) 
00020         {
00021         case '0': case '1': case '2': case '3': case '4':
00022         case '5': case '6': case '7': case '8': case '9':
00023           return hexed - '0';
00024         case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
00025           return hexed - 'a' + 10;
00026         case 'A': case 'B': case 'C': case 'D': case 'E': case 'F':
00027           return hexed - 'A' + 10;
00028         default:
00029           throw edm::Exception(edm::errors::LogicError)
00030             << "Non-hex character in Hash "
00031             << "Please report this to the core framework developers";
00032         }
00033       // We never get here; return put in place to calm the compiler's
00034       // anxieties.
00035       return '\0';
00036     }


Variable Documentation

const boost::uint32_t cms::CRC32_XINIT = 0xFFFFFFFFL [static]

Definition at line 9 of file CRC32Calculator.cc.

Referenced by cms::CRC32Calculator::CRC32Calculator().

const boost::uint32_t cms::CRC32_XOROT = 0xFFFFFFFFL [static]

Definition at line 10 of file CRC32Calculator.cc.

Referenced by cms::CRC32Calculator::CRC32Calculator().

boost::uint32_t cms::crctable[256] [static]

Definition at line 12 of file CRC32Calculator.cc.

Referenced by cms::CRC32Calculator::CRC32Calculator().


Generated on Tue Jun 9 18:36:22 2009 for CMSSW by  doxygen 1.5.4