CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoLocalCalo/EcalRecProducers/plugins/EcalDetIdToBeRecoveredProducer.cc File Reference

#include "RecoLocalCalo/EcalRecProducers/plugins/EcalDetIdToBeRecoveredProducer.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/EcalDetId/interface/EcalDetIdCollections.h"
#include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
#include "Geometry/EcalMapping/interface/EcalMappingRcd.h"
#include "Geometry/Records/interface/IdealGeometryRecord.h"
#include "CondFormats/DataRecord/interface/EcalChannelStatusRcd.h"
#include <set>
#include <sys/types.h>
#include <signal.h>
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Functions

 DEFINE_FWK_MODULE (EcalDetIdToBeRecoveredProducer)
template<typename CollT , typename ItemT >
bool include (const CollT &coll, const ItemT &item)

Function Documentation

DEFINE_FWK_MODULE ( EcalDetIdToBeRecoveredProducer  )
template<typename CollT , typename ItemT >
bool include ( const CollT &  coll,
const ItemT &  item 
)

Definition at line 76 of file EcalDetIdToBeRecoveredProducer.cc.

References spr::find().

Referenced by EcalDetIdToBeRecoveredProducer::produce().

{
  typename CollT::const_iterator res = std::find( coll.begin(), coll.end(), item );
  return ( res != coll.end() );
}