|
|
Go to the documentation of this file.
23 Registry::iterator
p =
37 for (
size_t i = 0;
i < userContent.size(); ++
i)
46 for (
size_t i = 0;
i < userContent.size(); ++
i)
56 std::vector<std::string>& userContent) {
58 return put(fakeDet,
input, userContent);
65 std::cout <<
"not in range " << std::endl;
72 std::vector<uint32_t> DetIds_;
76 DetIds_.push_back(
p->detid);
89 edm::LogError(
"SiStripSummary") <<
"attempting to retrieve non existing historic DB object : " << elementName
98 if (
p ==
indexes_.end() ||
p->detid != detID) {
99 throw cms::Exception(
"") <<
"not allowed to modify " << elementName
100 <<
" in historic DB - SummaryObj needs to be available first !";
105 std::vector<float>::const_iterator it =
range.first +
getPosition(elementName);
106 std::vector<float>::difference_type
pos = -1;
114 std::vector<float> SummaryObj;
117 for (
unsigned int i = 0;
i <
list.size();
i++) {
121 SummaryObj.push_back(*((
range.first) +
pos));
123 SummaryObj.push_back(-999.);
126 for (
unsigned int i = 0;
i <
list.size();
i++)
127 SummaryObj.push_back(
134 const std::vector<std::string>&
list)
const {
135 uint32_t fakeDet =
region;
140 std::vector<float> SummaryObj;
144 SummaryObj.push_back(*((
range.first) +
i));
147 SummaryObj.push_back(-99.);
155 std::vector<float> vSumElement;
156 std::vector<uint32_t> DetIds_ =
getDetIds();
160 for (
unsigned int i = 0;
i < DetIds_.size();
i++) {
163 vSumElement.push_back(*((
range.first) +
pos));
165 vSumElement.push_back(-99.);
174 std::cout <<
"Nr. of detector elements in SiStripSummary object is " <<
indexes_.size() <<
" RunNr= " <<
runNr_
static const std::string input
const short getPosition(std::string elementName) const
std::vector< float > v_sum_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
const Range getRange(const uint32_t &detID) const
std::vector< uint32_t > getDetIds() const
std::pair< ContainerIterator, ContainerIterator > Range
__host__ constexpr __device__ RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
Registry::const_iterator RegistryIterator
std::vector< float > InputVector
std::vector< std::string > userDBContent_
std::vector< float > getSummaryObj() const
void setObj(const uint32_t &detID, std::string elementName, float value)
bool put(const uint32_t &detID, InputVector &input, std::vector< std::string > &userContent)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
std::vector< DetRegistry > indexes_
unsigned long long timeValue_