DataFormats
Common
src
DetSetVectorNew.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
2
#include "
FWCore/Utilities/interface/EDMException.h
"
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
16
void
errorIdExists
(
det_id_type
iid) {
17
throw
edm::Exception
(
edm::errors::InvalidReference
)
18
<<
"DetSetVector::inserv called with index already in collection;\n"
19
<<
"index value: "
<< iid;
20
}
21
22
void
throw_range
(
det_id_type
iid) {
23
throw
edm::Exception
(
edm::errors::InvalidReference
)
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:246
DetSetVectorNew.h
edmNew::dstvdetails::errorFilling
void errorFilling()
Definition:
DetSetVectorNew.cc:6
Generated for CMSSW Reference Manual by
1.8.16