CMS 3D CMS Logo

DetSetVectorNew.cc
Go to the documentation of this file.
3 
4 namespace edmNew {
5  namespace dstvdetails {
6  void errorFilling() {
7  throw edm::Exception(edm::errors::LogicError, "Instantiating a second DetSetVector::FastFiller")
8  << "only one DetSetVector::FastFiller can be active at a given time!";
9  }
10 
11  void notSafe() {
12  throw edm::Exception(edm::errors::LogicError, "Instantiating a DetSetVector::FastFiller for OnDemand")
13  << "use DetSetVector::TSFastFiller";
14  }
15 
18  << "DetSetVector::inserv called with index already in collection;\n"
19  << "index value: " << iid;
20  }
21 
24  << "DetSetVector::operator[] called with index not in collection;\n"
25  << "index value: " << iid;
26  }
27 
28  } // namespace dstvdetails
29 } // namespace edmNew
edmNew::dstvdetails::errorIdExists
void errorIdExists(det_id_type iid)
Definition: DetSetVectorNew.cc:16
edm::errors::InvalidReference
Definition: EDMException.h:39
edm::errors::LogicError
Definition: EDMException.h:37
edmNew
Definition: DetSet2RangeMap.h:11
EDMException.h
edmNew::dstvdetails::notSafe
void notSafe()
Definition: DetSetVectorNew.cc:11
edmNew::det_id_type
unsigned int det_id_type
Definition: DetSetNew.h:10
edmNew::dstvdetails::throw_range
void throw_range(det_id_type iid)
Definition: DetSetVectorNew.cc:22
Exception
Definition: hltDiff.cc:245
DetSetVectorNew.h
edmNew::dstvdetails::errorFilling
void errorFilling()
Definition: DetSetVectorNew.cc:6