CMS 3D CMS Logo

CastorPedestalWidths.cc File Reference

#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)


Function Documentation

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   }


Generated on Tue Jun 9 17:51:35 2009 for CMSSW by  doxygen 1.5.4