CMS 3D CMS Logo

Classes | Functions

edmNew::dstvdetails Namespace Reference

Classes

struct  DetSetVectorTrans
struct  Pointer
struct  ToRM

Functions

void errorFilling ()
void errorIdExists (det_id_type iid)
void throw_range (det_id_type iid)

Function Documentation

void edmNew::dstvdetails::errorFilling ( )

Definition at line 6 of file DetSetVectorNew.cc.

References Exception, and edm::errors::LogicError.

Referenced by edmNew::DetSetVector< T >::FastFiller::FastFiller().

                        {
      throw edm::Exception(edm::errors::LogicError,"Instantiating a second DetSetVector::FastFiller")
        << "only one DetSetVector::FastFiller can be active at a given time!";
    }
void edmNew::dstvdetails::errorIdExists ( det_id_type  iid)

Definition at line 10 of file DetSetVectorNew.cc.

References Exception, and edm::errors::InvalidReference.

Referenced by edmNew::DetSetVector< SiStripClusterRef >::addItem().

                                        {
      throw edm::Exception(edm::errors::InvalidReference)
        << "DetSetVector::inserv called with index already in collection;\n"
        << "index value: " << iid;
    }
void edmNew::dstvdetails::throw_range ( det_id_type  iid)

Definition at line 16 of file DetSetVectorNew.cc.

References Exception, and edm::errors::InvalidReference.

Referenced by edmNew::DetSetVector< SiStripClusterRef >::operator[]().

                                      {
      throw edm::Exception(edm::errors::InvalidReference)
        << "DetSetVector::operator[] called with index not in collection;\n"
        << "index value: " << iid;
    }