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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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_
 
edm::ESGetToken< CaloTopology, CaloTopologyRecordtopologyToken_
 

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>();
72 }

References edm::EDConsumerBase::esConsumes(), and topologyToken_.

◆ ~HLTScoutingEgammaProducer()

HLTScoutingEgammaProducer::~HLTScoutingEgammaProducer ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 290 of file HLTScoutingEgammaProducer.cc.

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

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 77 of file HLTScoutingEgammaProducer.cc.

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

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_, 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(), 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, topologyToken_, 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().

◆ topologyToken_

edm::ESGetToken<CaloTopology, CaloTopologyRecord> HLTScoutingEgammaProducer::topologyToken_
private

Definition at line 91 of file HLTScoutingEgammaProducer.h.

Referenced by HLTScoutingEgammaProducer(), and produce().

HLTScoutingEgammaProducer::ecalRechitEB_
const edm::EDGetTokenT< EcalRecHitCollection > ecalRechitEB_
Definition: HLTScoutingEgammaProducer.h:89
mps_fire.i
i
Definition: mps_fire.py:428
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11724
edm::Handle::product
T const * product() const
Definition: Handle.h:70
HLT_FULL_cff.HcalPFClusterIsoMap
HcalPFClusterIsoMap
Definition: HLT_FULL_cff.py:125464
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:125478
edm
HLT enums.
Definition: AlignableModifier.h:19
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
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
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:125475
HLTScoutingEgammaProducer::saveRecHitTiming
const bool saveRecHitTiming
Definition: HLTScoutingEgammaProducer.h:86
HLT_FULL_cff.DphiMap
DphiMap
Definition: HLT_FULL_cff.py:125477
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
HLT_FULL_cff.SigmaIEtaIEtaMap
SigmaIEtaIEtaMap
Definition: HLT_FULL_cff.py:125473
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:125476
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
HLT_FULL_cff.EcalPFClusterIsoMap
EcalPFClusterIsoMap
Definition: HLT_FULL_cff.py:125463
MiniFloatConverter::reduceMantissaToNbitsRounding
static float reduceMantissaToNbitsRounding(const float &f)
Definition: libminifloat.h:102
Cluster2ndMoments::sMaj
float sMaj
Definition: EcalClusterTools.h:68
HLT_FULL_cff.OneOEMinusOneOPMap
OneOEMinusOneOPMap
Definition: HLT_FULL_cff.py:125479
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:125481
iEvent
int iEvent
Definition: GenABIO.cc:224
HLTScoutingEgammaProducer::EcalPFClusterIsoMap_
const edm::EDGetTokenT< RecoEcalCandMap > EcalPFClusterIsoMap_
Definition: HLTScoutingEgammaProducer.h:76
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:51
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:69
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:206
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:85
Cluster2ndMoments
Definition: EcalClusterTools.h:66
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
HLTScoutingEgammaProducer::topologyToken_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > topologyToken_
Definition: HLTScoutingEgammaProducer.h:91