CMS 3D CMS Logo

HcalRawGains.cc File Reference

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

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 25 of file HcalRawGains.cc.

References HLT_VtxMuL3::result.

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


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