#include <iostream>
#include "FWCore/Utilities/interface/Exception.h"
#include "CondFormats/CastorObjects/interface/CastorPedestalWidths.h"
#include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"
Go to the source code of this file.
Functions | |
std::vector < CastorPedestalWidth > ::const_iterator | find (const std::vector< CastorPedestalWidth > &container, unsigned long id) |
std::vector<CastorPedestalWidth>::const_iterator @2039::find | ( | const std::vector< CastorPedestalWidth > & | container, | |
unsigned long | id | |||
) | [static] |
Definition at line 22 of file CastorPedestalWidths.cc.
References HLT_VtxMuL3::result.
00022 { 00023 std::vector <CastorPedestalWidth>::const_iterator result = container.begin (); 00024 for (; result != container.end (); result++) { 00025 if (result->rawId () == id) break; // found 00026 } 00027 return result; 00028 }