30 if(p==
indexes_.end() || p->detid!=DetId){
36 detregistry.
detid = DetId;
41 for(
size_t i=0;
i<userContent.size();++
i)
51 for(
size_t i=0;
i<userContent.size();++
i)
62 uint32_t fakeDet = region;
63 return put(fakeDet, input, userContent);
71 if (p==
indexes_.end()|| p->detid!=DetId) {
81 std::vector<uint32_t> DetIds_;
85 DetIds_.push_back(
p->detid);
99 else edm::LogError(
"SiStripSummary") <<
"attempting to retrieve non existing historic DB object : "<< elementName <<std::endl;
110 if (p==
indexes_.end()|| p->detid!=detID)
113 <<
"not allowed to modify "<< elementName <<
" in historic DB - SummaryObj needs to be available first !";
118 std::vector<float>::const_iterator it = range.first+
getPosition(elementName);
119 std::vector<float>::difference_type
pos = -1;
121 pos = it -
v_sum_.begin();
128 std::vector<float> SummaryObj;
130 if (range.first != range.second ) {
131 for (
unsigned int i=0;
i<list.size();
i++){
135 SummaryObj.push_back(*((range.first)+pos));
137 SummaryObj.push_back(-999.);
141 for (
unsigned int i=0;
i<list.size();
i++) SummaryObj.push_back(-99.);
149 uint32_t fakeDet = region;
155 std::vector<float> SummaryObj;
157 if (range.first != range.second ) {
158 for (
unsigned int i=0;
i<
userDBContent_.size();
i++) SummaryObj.push_back(*((range.first)+
i));}
160 for (
unsigned int i=0;
i<
userDBContent_.size();
i++) SummaryObj.push_back(-99.);}
174 std::vector<float> vSumElement;
175 std::vector<uint32_t> DetIds_ =
getDetIds();
180 for (
unsigned int i=0;
i<DetIds_.size();
i++){
182 if (range.first != range.second ) {
183 vSumElement.push_back(*((range.first)+pos));}
184 else { vSumElement.push_back(-99.);}
194 std::cout <<
"Nr. of detector elements in SiStripSummary object is " <<
indexes_.size()
std::vector< uint32_t > getDetIds() const
unsigned long long getTimeValue() const
const Range getRange(const uint32_t &detID) const
std::vector< DetRegistry > indexes_
Registry::const_iterator RegistryIterator
std::pair< ContainerIterator, ContainerIterator > Range
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< float > v_sum_
void setObj(const uint32_t &detID, std::string elementName, float value)
unsigned long long timeValue_
std::vector< float > InputVector
bool put(const uint32_t &detID, InputVector &input, std::vector< std::string > &userContent)
std::vector< std::string > getUserDBContent() const
std::vector< std::vector< double > > tmp
std::vector< float > getSummaryObj() const
std::vector< std::string > userDBContent_
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
const short getPosition(std::string elementName) const