CMS 3D CMS Logo

CastorGains.cc File Reference

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

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 23 of file CastorGains.cc.

References HLT_VtxMuL3::result.

00023                                                                  {
00024     CastorGains::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