CMS 3D CMS Logo

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 <set>
#include <sys/types.h>
#include <csignal>
#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

◆ include()

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

Definition at line 71 of file EcalDetIdToBeRecoveredProducer.cc.

References spr::find(), and B2GTnPMonitor_cfi::item.

Referenced by EcalDetIdToBeRecoveredProducer::produce().

71  {
72  typename CollT::const_iterator res = std::find(coll.begin(), coll.end(), item);
73  return (res != coll.end());
74 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
Definition: Electron.h:6

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< EcalDetIdToBeRecoveredProducer > > s_filler__LINE__ ( "EcalDetIdToBeRecoveredProducer"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< EcalDetIdToBeRecoveredProducer > > s_maker__LINE__ ( "EcalDetIdToBeRecoveredProducer"  )
static