CMS 3D CMS Logo

CastorRawGains.cc File Reference

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

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 22 of file CastorRawGains.cc.

References HLT_VtxMuL3::result.

00022                                                                     {
00023     CastorRawGains::Container::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