CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
HLTScoutingEgammaProducer Class Reference

#include <HLTScoutingEgammaProducer.h>

Inheritance diagram for HLTScoutingEgammaProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 HLTScoutingEgammaProducer (const edm::ParameterSet &)
 
 ~HLTScoutingEgammaProducer () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Types

typedef edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoEcalCandidate >, float, unsigned int > > RecoEcalCandMap
 

Private Member Functions

void produce (edm::StreamID sid, edm::Event &iEvent, edm::EventSetup const &setup) const final
 

Private Attributes

const edm::EDGetTokenT< RecoEcalCandMapDetaMap_
 
const edm::EDGetTokenT< RecoEcalCandMapDphiMap_
 
const edm::EDGetTokenT< RecoEcalCandMapEcalPFClusterIsoMap_
 
const edm::EDGetTokenT< EcalRecHitCollectionecalRechitEB_
 
const edm::EDGetTokenT< EcalRecHitCollectionecalRechitEE_
 
const edm::EDGetTokenT< reco::RecoEcalCandidateCollectionEgammaCandidateCollection_
 
const double egammaEtaCut
 
const edm::EDGetTokenT< reco::GsfTrackCollectionEgammaGsfTrackCollection_
 
const double egammaHoverECut
 
const double egammaPtCut
 
const edm::EDGetTokenT< RecoEcalCandMapEleGsfTrackIsoMap_
 
const edm::EDGetTokenT< RecoEcalCandMapHcalPFClusterIsoMap_
 
const edm::EDGetTokenT< RecoEcalCandMapHoverEMap_
 
const int mantissaPrecision
 
const edm::EDGetTokenT< RecoEcalCandMapMissingHitsMap_
 
const edm::EDGetTokenT< RecoEcalCandMapOneOEMinusOneOPMap_
 
const edm::EDGetTokenT< RecoEcalCandMapR9Map_
 
const int rechitMatrixSize
 
const bool saveRecHitTiming
 
const edm::EDGetTokenT< RecoEcalCandMapSigmaIEtaIEtaMap_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: Producer for Run3ScoutingElectron and Run3ScoutingPhoton

Description: Producer for ScoutingElectron and ScoutingPhoton

Definition at line 54 of file HLTScoutingEgammaProducer.h.

Member Typedef Documentation

◆ RecoEcalCandMap

Definition at line 56 of file HLTScoutingEgammaProducer.h.

Constructor & Destructor Documentation

◆ HLTScoutingEgammaProducer()

HLTScoutingEgammaProducer::HLTScoutingEgammaProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 45 of file HLTScoutingEgammaProducer.cc.

47  consumes<reco::RecoEcalCandidateCollection>(iConfig.getParameter<edm::InputTag>("EgammaCandidates"))),
49  consumes<reco::GsfTrackCollection>(iConfig.getParameter<edm::InputTag>("EgammaGsfTracks"))),
50  SigmaIEtaIEtaMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("SigmaIEtaIEtaMap"))),
51  R9Map_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("r9Map"))),
52  HoverEMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("HoverEMap"))),
53  DetaMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("DetaMap"))),
54  DphiMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("DphiMap"))),
55  MissingHitsMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("MissingHitsMap"))),
56  OneOEMinusOneOPMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("OneOEMinusOneOPMap"))),
57  EcalPFClusterIsoMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("EcalPFClusterIsoMap"))),
58  EleGsfTrackIsoMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("EleGsfTrackIsoMap"))),
59  HcalPFClusterIsoMap_(consumes<RecoEcalCandMap>(iConfig.getParameter<edm::InputTag>("HcalPFClusterIsoMap"))),
60  egammaPtCut(iConfig.getParameter<double>("egammaPtCut")),
61  egammaEtaCut(iConfig.getParameter<double>("egammaEtaCut")),
62  egammaHoverECut(iConfig.getParameter<double>("egammaHoverECut")),
63  mantissaPrecision(iConfig.getParameter<int>("mantissaPrecision")),
64  saveRecHitTiming(iConfig.getParameter<bool>("saveRecHitTiming")),
65  rechitMatrixSize(iConfig.getParameter<int>("rechitMatrixSize")), //(2n+1)^2
66  ecalRechitEB_(consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("ecalRechitEB"))),
67  ecalRechitEE_(consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("ecalRechitEE"))) {
68  //register products
69  produces<Run3ScoutingElectronCollection>();
70  produces<Run3ScoutingPhotonCollection>();
71 }

◆ ~HLTScoutingEgammaProducer()

HLTScoutingEgammaProducer::~HLTScoutingEgammaProducer ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

void HLTScoutingEgammaProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 291 of file HLTScoutingEgammaProducer.cc.

291  {
293  desc.add<edm::InputTag>("EgammaCandidates", edm::InputTag("hltEgammaCandidates"));
294  desc.add<edm::InputTag>("EgammaGsfTracks", edm::InputTag("hltEgammaGsfTracks"));
295  desc.add<edm::InputTag>("SigmaIEtaIEtaMap", edm::InputTag("hltEgammaClusterShape:sigmaIEtaIEta5x5"));
296  desc.add<edm::InputTag>("r9Map", edm::InputTag("hltEgammaR9ID:r95x5"));
297  desc.add<edm::InputTag>("HoverEMap", edm::InputTag("hltEgammaHoverE"));
298  desc.add<edm::InputTag>("DetaMap", edm::InputTag("hltEgammaGsfTrackVars:DetaSeed"));
299  desc.add<edm::InputTag>("DphiMap", edm::InputTag("hltEgammaGsfTrackVars:Dphi"));
300  desc.add<edm::InputTag>("MissingHitsMap", edm::InputTag("hltEgammaGsfTrackVars:MissingHits"));
301  desc.add<edm::InputTag>("OneOEMinusOneOPMap", edm::InputTag("hltEgammaGsfTrackVars:OneOESuperMinusOneOP"));
302  desc.add<edm::InputTag>("EcalPFClusterIsoMap", edm::InputTag("hltEgammaEcalPFClusterIso"));
303  desc.add<edm::InputTag>("EleGsfTrackIsoMap", edm::InputTag("hltEgammaEleGsfTrackIso"));
304  desc.add<edm::InputTag>("HcalPFClusterIsoMap", edm::InputTag("hltEgammaHcalPFClusterIso"));
305  desc.add<double>("egammaPtCut", 4.0);
306  desc.add<double>("egammaEtaCut", 2.5);
307  desc.add<double>("egammaHoverECut", 1.0);
308  desc.add<bool>("saveRecHitTiming", false);
309  desc.add<int>("mantissaPrecision", 10)->setComment("default float16, change to 23 for float32");
310  desc.add<int>("rechitMatrixSize", 10);
311  desc.add<edm::InputTag>("ecalRechitEB", edm::InputTag("hltEcalRecHit:EcalRecHitsEB"));
312  desc.add<edm::InputTag>("ecalRechitEE", edm::InputTag("hltEcalRecHit:EcalRecHitsEE"));
313  descriptions.add("hltScoutingEgammaProducer", desc);
314 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.

◆ produce()

void HLTScoutingEgammaProducer::produce ( edm::StreamID  sid,
edm::Event iEvent,
edm::EventSetup const &  setup 
) const
finalprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 76 of file HLTScoutingEgammaProducer.cc.

76  {
77  using namespace edm;
78 
79  auto outElectrons = std::make_unique<Run3ScoutingElectronCollection>();
80  auto outPhotons = std::make_unique<Run3ScoutingPhotonCollection>();
81 
82  // Get RecoEcalCandidate
83  Handle<reco::RecoEcalCandidateCollection> EgammaCandidateCollection;
84  if (!iEvent.getByToken(EgammaCandidateCollection_, EgammaCandidateCollection)) {
85  iEvent.put(std::move(outElectrons));
86  iEvent.put(std::move(outPhotons));
87  return;
88  }
89 
90  // Get GsfTrack
91  Handle<reco::GsfTrackCollection> EgammaGsfTrackCollection;
92  if (!iEvent.getByToken(EgammaGsfTrackCollection_, EgammaGsfTrackCollection)) {
93  iEvent.put(std::move(outElectrons));
94  iEvent.put(std::move(outPhotons));
95  return;
96  }
97 
98  // Get SigmaIEtaIEtaMap
100  if (!iEvent.getByToken(SigmaIEtaIEtaMap_, SigmaIEtaIEtaMap)) {
101  iEvent.put(std::move(outElectrons));
102  iEvent.put(std::move(outPhotons));
103  return;
104  }
105 
107  if (!iEvent.getByToken(R9Map_, R9Map)) {
108  iEvent.put(std::move(outElectrons));
109  iEvent.put(std::move(outPhotons));
110  return;
111  }
112 
113  // Get HoverEMap
115  if (!iEvent.getByToken(HoverEMap_, HoverEMap)) {
116  iEvent.put(std::move(outElectrons));
117  iEvent.put(std::move(outPhotons));
118  return;
119  }
120 
121  // Get DetaMap
123  if (!iEvent.getByToken(DetaMap_, DetaMap)) {
124  iEvent.put(std::move(outElectrons));
125  iEvent.put(std::move(outPhotons));
126  return;
127  }
128 
129  // Get DphiMap
131  if (!iEvent.getByToken(DphiMap_, DphiMap)) {
132  iEvent.put(std::move(outElectrons));
133  iEvent.put(std::move(outPhotons));
134  return;
135  }
136 
137  // Get MissingHitsMap
139  if (!iEvent.getByToken(MissingHitsMap_, MissingHitsMap)) {
140  iEvent.put(std::move(outElectrons));
141  iEvent.put(std::move(outPhotons));
142  return;
143  }
144 
145  // Get 1/E - 1/p Map
147  if (!iEvent.getByToken(OneOEMinusOneOPMap_, OneOEMinusOneOPMap)) {
148  iEvent.put(std::move(outElectrons));
149  iEvent.put(std::move(outPhotons));
150  return;
151  }
152 
153  // Get EcalPFClusterIsoMap
155  if (!iEvent.getByToken(EcalPFClusterIsoMap_, EcalPFClusterIsoMap)) {
156  iEvent.put(std::move(outElectrons));
157  iEvent.put(std::move(outPhotons));
158  return;
159  }
160 
161  // Get EleGsfTrackIsoMap
163  if (!iEvent.getByToken(EleGsfTrackIsoMap_, EleGsfTrackIsoMap)) {
164  iEvent.put(std::move(outElectrons));
165  iEvent.put(std::move(outPhotons));
166  return;
167  }
168 
169  // Get HcalPFClusterIsoMap
171  if (!iEvent.getByToken(HcalPFClusterIsoMap_, HcalPFClusterIsoMap)) {
172  iEvent.put(std::move(outElectrons));
173  iEvent.put(std::move(outPhotons));
174  return;
175  }
176 
179  iEvent.getByToken(ecalRechitEB_, rechitsEB);
180  iEvent.getByToken(ecalRechitEE_, rechitsEE);
181 
182  edm::ESHandle<CaloTopology> pTopology;
183  setup.get<CaloTopologyRecord>().get(pTopology);
184  const CaloTopology* topology = pTopology.product();
185 
186  // Produce electrons and photons
187  int index = 0;
188  for (auto& candidate : *EgammaCandidateCollection) {
189  reco::RecoEcalCandidateRef candidateRef = getRef(EgammaCandidateCollection, index);
190  ++index;
191  if (candidateRef.isNull() && !candidateRef.isAvailable())
192  continue;
193 
194  if (candidate.pt() < egammaPtCut)
195  continue;
196  if (fabs(candidate.eta()) > egammaEtaCut)
197  continue;
198 
199  reco::SuperClusterRef scRef = candidate.superCluster();
200  if (scRef.isNull() && !scRef.isAvailable())
201  continue;
202 
203  reco::CaloClusterPtr SCseed = candidate.superCluster()->seed();
204  const EcalRecHitCollection* rechits = (std::abs(scRef->eta()) < 1.479) ? rechitsEB.product() : rechitsEE.product();
205  Cluster2ndMoments moments = EcalClusterTools::cluster2ndMoments(*SCseed, *rechits);
206  float sMin = moments.sMin;
207  float sMaj = moments.sMaj;
208 
209  unsigned int seedId = (*SCseed).seed();
210 
211  std::vector<DetId> mDetIds = EcalClusterTools::matrixDetId((topology), (*SCseed).seed(), rechitMatrixSize);
212 
213  int detSize = mDetIds.size();
214  std::vector<float> mEnergies(detSize, 0.);
215  std::vector<float> mTimes(detSize, 0.);
216 
217  for (int i = 0; i < detSize; i++) {
218  mEnergies[i] =
220  if (saveRecHitTiming)
221  mTimes[i] =
223  }
224 
225  float HoE = 999.;
226  if (candidate.superCluster()->energy() != 0.)
227  HoE = (*HoverEMap)[candidateRef] / candidate.superCluster()->energy();
228 
229  float d0 = 0.0;
230  float dz = 0.0;
231  int charge = -999;
232  for (auto& track : *EgammaGsfTrackCollection) {
233  RefToBase<TrajectorySeed> seed = track.extra()->seedRef();
235  RefToBase<reco::CaloCluster> caloCluster = elseed->caloCluster();
236  reco::SuperClusterRef scRefFromTrk = caloCluster.castTo<reco::SuperClusterRef>();
237  if (scRefFromTrk == scRef) {
238  d0 = track.d0();
239  dz = track.dz();
240  charge = track.charge();
241  }
242  }
243  if (charge == -999) { // No associated track. Candidate is a scouting photon
244  outPhotons->emplace_back(candidate.pt(),
245  candidate.eta(),
246  candidate.phi(),
247  candidate.mass(),
248  (*SigmaIEtaIEtaMap)[candidateRef],
249  HoE,
250  (*EcalPFClusterIsoMap)[candidateRef],
251  (*HcalPFClusterIsoMap)[candidateRef],
252  0.,
253  (*R9Map)[candidateRef],
254  sMin,
255  sMaj,
256  seedId,
257  mEnergies,
258  mTimes); //read for(ieta){for(iphi){}}
259  } else { // Candidate is a scouting electron
260  outElectrons->emplace_back(candidate.pt(),
261  candidate.eta(),
262  candidate.phi(),
263  candidate.mass(),
264  d0,
265  dz,
266  (*DetaMap)[candidateRef],
267  (*DphiMap)[candidateRef],
268  (*SigmaIEtaIEtaMap)[candidateRef],
269  HoE,
270  (*OneOEMinusOneOPMap)[candidateRef],
271  (*MissingHitsMap)[candidateRef],
272  charge,
273  (*EcalPFClusterIsoMap)[candidateRef],
274  (*HcalPFClusterIsoMap)[candidateRef],
275  (*EleGsfTrackIsoMap)[candidateRef],
276  (*R9Map)[candidateRef],
277  sMin,
278  sMaj,
279  seedId,
280  mEnergies,
281  mTimes); //read for(ieta){for(iphi){}}
282  }
283  }
284 
285  // Put output
286  iEvent.put(std::move(outElectrons));
287  iEvent.put(std::move(outPhotons));
288 }

References funct::abs(), ALCARECOTkAlJpsiMuMu_cff::charge, d0, HLT_FULL_cff::DetaMap, DetaMap_, HLT_FULL_cff::DphiMap, DphiMap_, PVValHelper::dz, HLT_FULL_cff::EcalPFClusterIsoMap, EcalPFClusterIsoMap_, ecalRechitEB_, ecalRechitEE_, EgammaCandidateCollection_, egammaEtaCut, EgammaGsfTrackCollection_, egammaPtCut, HLT_FULL_cff::EleGsfTrackIsoMap, EleGsfTrackIsoMap_, get, edm::getRef(), HLT_FULL_cff::HcalPFClusterIsoMap, HcalPFClusterIsoMap_, HLT_FULL_cff::HoverEMap, HoverEMap_, mps_fire::i, iEvent, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNull(), mantissaPrecision, HLT_FULL_cff::MissingHitsMap, MissingHitsMap_, eostools::move(), HLT_FULL_cff::OneOEMinusOneOPMap, OneOEMinusOneOPMap_, edm::Handle< T >::product(), edm::ESHandle< T >::product(), R9Map_, recHitE(), rechitMatrixSize, HI_PhotonSkim_cff::rechits, recHitT(), MiniFloatConverter::reduceMantissaToNbitsRounding(), saveRecHitTiming, fileCollector::seed, singleTopDQM_cfi::setup, HLT_FULL_cff::SigmaIEtaIEtaMap, SigmaIEtaIEtaMap_, Cluster2ndMoments::sMaj, Cluster2ndMoments::sMin, ecaldqm::topology(), and HLT_FULL_cff::track.

Member Data Documentation

◆ DetaMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::DetaMap_
private

Definition at line 72 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ DphiMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::DphiMap_
private

Definition at line 73 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ EcalPFClusterIsoMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::EcalPFClusterIsoMap_
private

Definition at line 76 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ ecalRechitEB_

const edm::EDGetTokenT<EcalRecHitCollection> HLTScoutingEgammaProducer::ecalRechitEB_
private

Definition at line 89 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ ecalRechitEE_

const edm::EDGetTokenT<EcalRecHitCollection> HLTScoutingEgammaProducer::ecalRechitEE_
private

Definition at line 90 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ EgammaCandidateCollection_

const edm::EDGetTokenT<reco::RecoEcalCandidateCollection> HLTScoutingEgammaProducer::EgammaCandidateCollection_
private

Definition at line 67 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ egammaEtaCut

const double HLTScoutingEgammaProducer::egammaEtaCut
private

Definition at line 83 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ EgammaGsfTrackCollection_

const edm::EDGetTokenT<reco::GsfTrackCollection> HLTScoutingEgammaProducer::EgammaGsfTrackCollection_
private

Definition at line 68 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ egammaHoverECut

const double HLTScoutingEgammaProducer::egammaHoverECut
private

Definition at line 84 of file HLTScoutingEgammaProducer.h.

◆ egammaPtCut

const double HLTScoutingEgammaProducer::egammaPtCut
private

Definition at line 82 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ EleGsfTrackIsoMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::EleGsfTrackIsoMap_
private

Definition at line 77 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ HcalPFClusterIsoMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::HcalPFClusterIsoMap_
private

Definition at line 78 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ HoverEMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::HoverEMap_
private

Definition at line 71 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ mantissaPrecision

const int HLTScoutingEgammaProducer::mantissaPrecision
private

Definition at line 85 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ MissingHitsMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::MissingHitsMap_
private

Definition at line 74 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ OneOEMinusOneOPMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::OneOEMinusOneOPMap_
private

Definition at line 75 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ R9Map_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::R9Map_
private

Definition at line 70 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ rechitMatrixSize

const int HLTScoutingEgammaProducer::rechitMatrixSize
private

Definition at line 87 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ saveRecHitTiming

const bool HLTScoutingEgammaProducer::saveRecHitTiming
private

Definition at line 86 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

◆ SigmaIEtaIEtaMap_

const edm::EDGetTokenT<RecoEcalCandMap> HLTScoutingEgammaProducer::SigmaIEtaIEtaMap_
private

Definition at line 69 of file HLTScoutingEgammaProducer.h.

Referenced by produce().

HLTScoutingEgammaProducer::ecalRechitEB_
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEB_
Definition: HLTScoutingEgammaProducer.h:89
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
mps_fire.i
i
Definition: mps_fire.py:428
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11779
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HLT_FULL_cff.HcalPFClusterIsoMap
HcalPFClusterIsoMap
Definition: HLT_FULL_cff.py:125514
HLTScoutingEgammaProducer::HcalPFClusterIsoMap_
const edm::EDGetTokenT< RecoEcalCandMap > HcalPFClusterIsoMap_
Definition: HLTScoutingEgammaProducer.h:78
edm::Ref::isAvailable
bool isAvailable() const
Definition: Ref.h:537
HLTScoutingEgammaProducer::OneOEMinusOneOPMap_
const edm::EDGetTokenT< RecoEcalCandMap > OneOEMinusOneOPMap_
Definition: HLTScoutingEgammaProducer.h:75
edm::Ref::isNull
bool isNull() const
Checks for null.
Definition: Ref.h:235
HLT_FULL_cff.MissingHitsMap
MissingHitsMap
Definition: HLT_FULL_cff.py:125533
edm
HLT enums.
Definition: AlignableModifier.h:19
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89353
HLTScoutingEgammaProducer::DetaMap_
const edm::EDGetTokenT< RecoEcalCandMap > DetaMap_
Definition: HLTScoutingEgammaProducer.h:72
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::SortedCollection< EcalRecHit >
HLTScoutingEgammaProducer::HoverEMap_
const edm::EDGetTokenT< RecoEcalCandMap > HoverEMap_
Definition: HLTScoutingEgammaProducer.h:71
CaloTopologyRecord
Definition: CaloTopologyRecord.h:10
edm::Handle
Definition: AssociativeIterator.h:50
CaloTopology
Definition: CaloTopology.h:19
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
edm::Ref
Definition: AssociativeIterator.h:58
HLTScoutingEgammaProducer::egammaPtCut
const double egammaPtCut
Definition: HLTScoutingEgammaProducer.h:82
fileCollector.seed
seed
Definition: fileCollector.py:127
HLT_FULL_cff.HoverEMap
HoverEMap
Definition: HLT_FULL_cff.py:125535
HLTScoutingEgammaProducer::saveRecHitTiming
const bool saveRecHitTiming
Definition: HLTScoutingEgammaProducer.h:86
HLT_FULL_cff.DphiMap
DphiMap
Definition: HLT_FULL_cff.py:125544
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
ecaldqm::topology
const CaloTopology * topology(nullptr)
edm::ESHandle< CaloTopology >
HLT_FULL_cff.SigmaIEtaIEtaMap
SigmaIEtaIEtaMap
Definition: HLT_FULL_cff.py:125539
HI_PhotonSkim_cff.rechits
rechits
Definition: HI_PhotonSkim_cff.py:76
recHitT
float recHitT(const DetId id, const EcalRecHitCollection &recHits)
Definition: HLTScoutingEgammaProducer.cc:31
HLT_FULL_cff.DetaMap
DetaMap
Definition: HLT_FULL_cff.py:125540
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
HLT_FULL_cff.EcalPFClusterIsoMap
EcalPFClusterIsoMap
Definition: HLT_FULL_cff.py:125515
MiniFloatConverter::reduceMantissaToNbitsRounding
static float reduceMantissaToNbitsRounding(const float &f)
Definition: libminifloat.h:102
Cluster2ndMoments::sMaj
float sMaj
Definition: EcalClusterTools.h:65
HLT_FULL_cff.OneOEMinusOneOPMap
OneOEMinusOneOPMap
Definition: HLT_FULL_cff.py:125534
edm::getRef
helper::MatcherGetRef< C >::ref_type getRef(const Handle< C > &c, size_t k)
Definition: getRef.h:28
HLTScoutingEgammaProducer::DphiMap_
const edm::EDGetTokenT< RecoEcalCandMap > DphiMap_
Definition: HLTScoutingEgammaProducer.h:73
HLTScoutingEgammaProducer::SigmaIEtaIEtaMap_
const edm::EDGetTokenT< RecoEcalCandMap > SigmaIEtaIEtaMap_
Definition: HLTScoutingEgammaProducer.h:69
HLTScoutingEgammaProducer::ecalRechitEE_
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEE_
Definition: HLTScoutingEgammaProducer.h:90
HLTScoutingEgammaProducer::EleGsfTrackIsoMap_
const edm::EDGetTokenT< RecoEcalCandMap > EleGsfTrackIsoMap_
Definition: HLTScoutingEgammaProducer.h:77
HLT_FULL_cff.EleGsfTrackIsoMap
EleGsfTrackIsoMap
Definition: HLT_FULL_cff.py:125545
iEvent
int iEvent
Definition: GenABIO.cc:224
HLTScoutingEgammaProducer::EcalPFClusterIsoMap_
const edm::EDGetTokenT< RecoEcalCandMap > EcalPFClusterIsoMap_
Definition: HLTScoutingEgammaProducer.h:76
get
#define get
edm::Ptr< CaloCluster >
HLTScoutingEgammaProducer::EgammaGsfTrackCollection_
const edm::EDGetTokenT< reco::GsfTrackCollection > EgammaGsfTrackCollection_
Definition: HLTScoutingEgammaProducer.h:68
HLTScoutingEgammaProducer::egammaHoverECut
const double egammaHoverECut
Definition: HLTScoutingEgammaProducer.h:84
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
PVValHelper::dz
Definition: PVValidationHelpers.h:50
HLTScoutingEgammaProducer::MissingHitsMap_
const edm::EDGetTokenT< RecoEcalCandMap > MissingHitsMap_
Definition: HLTScoutingEgammaProducer.h:74
HLTScoutingEgammaProducer::EgammaCandidateCollection_
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > EgammaCandidateCollection_
Definition: HLTScoutingEgammaProducer.h:67
recHitE
float recHitE(const DetId id, const EcalRecHitCollection &recHits)
Definition: HLTScoutingEgammaProducer.cc:20
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::RefToBase< TrajectorySeed >
HLTScoutingEgammaProducer::egammaEtaCut
const double egammaEtaCut
Definition: HLTScoutingEgammaProducer.h:83
Cluster2ndMoments::sMin
float sMin
Definition: EcalClusterTools.h:66
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
HLTScoutingEgammaProducer::rechitMatrixSize
const int rechitMatrixSize
Definition: HLTScoutingEgammaProducer.h:87
d0
static constexpr float d0
Definition: L1EGammaCrystalsEmulatorProducer.cc:84
Cluster2ndMoments
Definition: EcalClusterTools.h:63
edm::InputTag
Definition: InputTag.h:15
HLTScoutingEgammaProducer::R9Map_
const edm::EDGetTokenT< RecoEcalCandMap > R9Map_
Definition: HLTScoutingEgammaProducer.h:70
HLTScoutingEgammaProducer::mantissaPrecision
const int mantissaPrecision
Definition: HLTScoutingEgammaProducer.h:85