CMS 3D CMS Logo

Functions
HLTScoutingEgammaProducer.cc File Reference
#include "HLTScoutingEgammaProducer.h"
#include <cstdint>
#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 22 of file HLTScoutingEgammaProducer.cc.

References FastTrackerRecHitMaskProducer_cfi::recHits.

Referenced by HLTScoutingEgammaProducer::produce().

22  {
23  if (id == DetId(0)) {
24  return 0;
25  } else {
27  if (it != recHits.end())
28  return (*it).energy();
29  }
30  return 0;
31 }
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: DetId.h:17

◆ recHitT()

float recHitT ( const DetId  id,
const EcalRecHitCollection recHits 
)

Definition at line 33 of file HLTScoutingEgammaProducer.cc.

References FastTrackerRecHitMaskProducer_cfi::recHits.

Referenced by HLTScoutingEgammaProducer::produce().

33  {
34  if (id == DetId(0)) {
35  return 0;
36  } else {
38  if (it != recHits.end())
39  return (*it).time();
40  }
41  return 0;
42 }
std::vector< EcalRecHit >::const_iterator const_iterator
Definition: DetId.h:17

◆ 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