test
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 "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.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

template<typename CollT , typename ItemT >
bool include (const CollT &coll, const ItemT &item)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< EcalDetIdToBeRecoveredProducer > > 
s_filler__LINE__ ("EcalDetIdToBeRecoveredProducer")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< EcalDetIdToBeRecoveredProducer > > 
s_maker__LINE__ ("EcalDetIdToBeRecoveredProducer")
 

Function Documentation

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().

77 {
78  typename CollT::const_iterator res = std::find( coll.begin(), coll.end(), item );
79  return ( res != coll.end() );
80 }
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
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< EcalDetIdToBeRecoveredProducer > > s_filler__LINE__ ( "EcalDetIdToBeRecoveredProducer"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< EcalDetIdToBeRecoveredProducer > > s_maker__LINE__ ( "EcalDetIdToBeRecoveredProducer"  )
static