CMS 3D CMS Logo

Functions
HLTScoutingEgammaProducer.cc File Reference
#include "HLTScoutingEgammaProducer.h"
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Functions

float recHitE (const DetId id, const EcalRecHitCollection &recHits)
 
float recHitT (const DetId id, const EcalRecHitCollection &recHits)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< HLTScoutingEgammaProducer > > s_filler__LINE__ ("HLTScoutingEgammaProducer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HLTScoutingEgammaProducer > > s_maker__LINE__ ("HLTScoutingEgammaProducer")
 

Function Documentation

◆ recHitE()

float recHitE ( const DetId  id,
const EcalRecHitCollection recHits 
)

Definition at line 20 of file HLTScoutingEgammaProducer.cc.

20  {
21  if (id == DetId(0)) {
22  return 0;
23  } else {
25  if (it != recHits.end())
26  return (*it).energy();
27  }
28  return 0;
29 }

References FastTrackerRecHitMaskProducer_cfi::recHits.

Referenced by HLTScoutingEgammaProducer::produce().

◆ recHitT()

float recHitT ( const DetId  id,
const EcalRecHitCollection recHits 
)

Definition at line 31 of file HLTScoutingEgammaProducer.cc.

31  {
32  if (id == DetId(0)) {
33  return 0;
34  } else {
36  if (it != recHits.end())
37  return (*it).time();
38  }
39  return 0;
40 }

References FastTrackerRecHitMaskProducer_cfi::recHits.

Referenced by HLTScoutingEgammaProducer::produce().

◆ s_filler__LINE__()

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

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HLTScoutingEgammaProducer > > s_maker__LINE__ ( "HLTScoutingEgammaProducer"  )
static
edm::SortedCollection< EcalRecHit >::const_iterator
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: SortedCollection.h:80
DetId
Definition: DetId.h:17
FastTrackerRecHitMaskProducer_cfi.recHits
recHits
Definition: FastTrackerRecHitMaskProducer_cfi.py:8