CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
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 "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 75 of file EcalDetIdToBeRecoveredProducer.cc.

References spr::find().

Referenced by EcalDetIdToBeRecoveredProducer::produce().

76 {
77  typename CollT::const_iterator res = std::find( coll.begin(), coll.end(), item );
78  return ( res != coll.end() );
79 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:7
JetCorrectorParametersCollection coll
Definition: classes.h:10