CMS 3D CMS Logo

CastorPedestals.cc File Reference

#include <iostream>
#include "FWCore/Utilities/interface/Exception.h"
#include "CondFormats/CastorObjects/interface/CastorPedestals.h"
#include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"

Go to the source code of this file.

Functions

CastorPedestals::Container::const_iterator find (const CastorPedestals::Container &container, unsigned long id)


Function Documentation

CastorPedestals::Container::const_iterator @2037::find ( const CastorPedestals::Container container,
unsigned long  id 
) [static]

Definition at line 23 of file CastorPedestals.cc.

References HLT_VtxMuL3::result.

00023                                                                      {
00024     CastorPedestals::Container::const_iterator result = container.begin ();
00025     for (; result != container.end (); result++) {
00026       if (result->rawId () == id) break; // found
00027     }
00028     return result;
00029   }


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