CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
EgammaHLTGsfTrackVarProducer Class Reference
Inheritance diagram for EgammaHLTGsfTrackVarProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 EgammaHLTGsfTrackVarProducer (const edm::ParameterSet &)
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () 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
 
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 Attributes

const edm::EDGetTokenT< reco::BeamSpotbeamSpotToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapchi2MapPutToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapdEtaMapPutToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapdEtaSeedMapPutToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapdPhiMapPutToken_
 
const edm::EDGetTokenT< reco::ElectronCollectionelectronToken_
 
const edm::EDGetTokenT< reco::GsfTrackCollectiongsfTrackToken_
 
const int lowerTrackNrToRemoveCut_
 
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecordmagneticFieldToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapmissingHitsMapPutToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapnLayerITMapPutToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMaponeOverESeedMinusOneOverPMapPutToken_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMaponeOverESuperMinusOneOverPMapPutToken_
 
const edm::EDGetTokenT< reco::RecoEcalCandidateCollectionrecoEcalCandToken_
 
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordtrackerGeometryToken_
 
const int upperTrackNrToRemoveCut_
 
const bool useDefaultValuesForBarrel_
 
const bool useDefaultValuesForEndcap_
 
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMapvalidHitsMapPutToken_
 

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>
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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

Author
Roberto Covarelli (CERN)
Id
EgammaHLTGsfTrackVarProducer.cc,v 1.1 2012/01/23 12:56:38 sharper Exp

Definition at line 40 of file EgammaHLTGsfTrackVarProducer.cc.

Constructor & Destructor Documentation

◆ EgammaHLTGsfTrackVarProducer()

EgammaHLTGsfTrackVarProducer::EgammaHLTGsfTrackVarProducer ( const edm::ParameterSet config)
explicit

Definition at line 71 of file EgammaHLTGsfTrackVarProducer.cc.

73  consumes<reco::RecoEcalCandidateCollection>(config.getParameter<edm::InputTag>("recoEcalCandidateProducer"))),
74  electronToken_{consumes<reco::ElectronCollection>(config.getParameter<edm::InputTag>("inputCollection"))},
75  gsfTrackToken_{consumes<reco::GsfTrackCollection>(config.getParameter<edm::InputTag>("inputCollection"))},
76  beamSpotToken_{consumes<reco::BeamSpot>(config.getParameter<edm::InputTag>("beamSpotProducer"))},
77  magneticFieldToken_{esConsumes<MagneticField, IdealMagneticFieldRecord>()},
78  trackerGeometryToken_{esConsumes<TrackerGeometry, TrackerDigiGeometryRecord>()},
79  upperTrackNrToRemoveCut_{config.getParameter<int>("upperTrackNrToRemoveCut")},
80  lowerTrackNrToRemoveCut_{config.getParameter<int>("lowerTrackNrToRemoveCut")},
81  useDefaultValuesForBarrel_{config.getParameter<bool>("useDefaultValuesForBarrel")},
82  useDefaultValuesForEndcap_{config.getParameter<bool>("useDefaultValuesForEndcap")},
83  dEtaMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("Deta").setBranchAlias("deta")},
84  dEtaSeedMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("DetaSeed").setBranchAlias("detaseed")},
85  dPhiMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("Dphi").setBranchAlias("dphi")},
86  oneOverESuperMinusOneOverPMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("OneOESuperMinusOneOP")},
87  oneOverESeedMinusOneOverPMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("OneOESeedMinusOneOP")},
89  produces<reco::RecoEcalCandidateIsolationMap>("MissingHits").setBranchAlias("missinghits")},
90  validHitsMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("ValidHits").setBranchAlias("validhits")},
91  nLayerITMapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("NLayerIT").setBranchAlias("nlayerit")},
92  chi2MapPutToken_{produces<reco::RecoEcalCandidateIsolationMap>("Chi2").setBranchAlias("chi2")} {}

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 94 of file EgammaHLTGsfTrackVarProducer.cc.

94  {
96  desc.add<edm::InputTag>(("recoEcalCandidateProducer"), edm::InputTag("hltRecoEcalSuperClusterActivityCandidate"));
97  desc.add<edm::InputTag>(("inputCollection"), edm::InputTag("hltActivityElectronGsfTracks"));
98  desc.add<edm::InputTag>(("beamSpotProducer"), edm::InputTag("hltOnlineBeamSpot"));
99  desc.add<int>(("upperTrackNrToRemoveCut"), 9999);
100  desc.add<int>(("lowerTrackNrToRemoveCut"), -1);
101  desc.add<bool>(("useDefaultValuesForBarrel"), false);
102  desc.add<bool>(("useDefaultValuesForEndcap"), false);
103 
104  descriptions.add("hltEgammaHLTGsfTrackVarProducer", desc);
105 }

References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().

◆ produce()

void EgammaHLTGsfTrackVarProducer::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 106 of file EgammaHLTGsfTrackVarProducer.cc.

106  {
107  // Get the HLT filtered objects
108  auto recoEcalCandHandle = iEvent.getHandle(recoEcalCandToken_);
109 
110  auto const& beamSpotPosition = iEvent.get(beamSpotToken_).position();
111  auto const& magneticField = iSetup.getData(magneticFieldToken_);
112  auto const& trackerGeometry = iSetup.getData(trackerGeometryToken_);
113 
116 
117  reco::RecoEcalCandidateIsolationMap dEtaMap(recoEcalCandHandle);
118  reco::RecoEcalCandidateIsolationMap dEtaSeedMap(recoEcalCandHandle);
119  reco::RecoEcalCandidateIsolationMap dPhiMap(recoEcalCandHandle);
120  reco::RecoEcalCandidateIsolationMap oneOverESuperMinusOneOverPMap(recoEcalCandHandle);
121  reco::RecoEcalCandidateIsolationMap oneOverESeedMinusOneOverPMap(recoEcalCandHandle);
122  reco::RecoEcalCandidateIsolationMap missingHitsMap(recoEcalCandHandle);
123  reco::RecoEcalCandidateIsolationMap validHitsMap(recoEcalCandHandle);
124  reco::RecoEcalCandidateIsolationMap nLayerITMap(recoEcalCandHandle);
125  reco::RecoEcalCandidateIsolationMap chi2Map(recoEcalCandHandle);
126 
127  for (unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoEcalCandHandle->size(); ++iRecoEcalCand) {
128  reco::RecoEcalCandidateRef recoEcalCandRef(recoEcalCandHandle, iRecoEcalCand);
129 
130  const reco::SuperClusterRef scRef = recoEcalCandRef->superCluster();
131  //the idea is that we can take the tracks from properly associated electrons or just take all gsf tracks with that sc as a seed
132  std::vector<const reco::GsfTrack*> gsfTracks;
133  if (auto electronHandle = iEvent.getHandle(electronToken_)) {
134  for (auto const& ele : *electronHandle) {
135  if (ele.superCluster() == scRef) {
136  gsfTracks.push_back(ele.gsfTrack().get());
137  }
138  }
139  } else {
140  for (auto const& trk : iEvent.get(gsfTrackToken_)) {
141  auto elseed = trk.extra()->seedRef().castTo<reco::ElectronSeedRef>();
142  if (elseed->caloCluster().castTo<reco::SuperClusterRef>() == scRef) {
143  gsfTracks.push_back(&trk);
144  }
145  }
146  }
147 
148  int nLayerITValue = -1;
149  int validHitsValue = 0;
150  float chi2Value = 9999999.;
151  float missingHitsValue = 9999999;
152  float dEtaInValue = 999999;
153  float dEtaSeedInValue = 999999;
154  float dPhiInValue = 999999;
155  float oneOverESuperMinusOneOverPValue = 999999;
156  float oneOverESeedMinusOneOverPValue = 999999;
157 
158  const int nrTracks = gsfTracks.size();
159  const bool rmCutsDueToNrTracks = nrTracks <= lowerTrackNrToRemoveCut_ || nrTracks >= upperTrackNrToRemoveCut_;
160  //to use the default values, we require at least one track...
161  const bool useDefaultValues = std::abs(recoEcalCandRef->eta()) < 1.479
162  ? useDefaultValuesForBarrel_ && nrTracks >= 1
163  : useDefaultValuesForEndcap_ && nrTracks >= 1;
164 
165  if (rmCutsDueToNrTracks || useDefaultValues) {
166  nLayerITValue = 100;
167  dEtaInValue = 0;
168  dEtaSeedInValue = 0;
169  dPhiInValue = 0;
170  missingHitsValue = 0;
171  validHitsValue = 100;
172  chi2Value = 0;
173  oneOverESuperMinusOneOverPValue = 0;
174  oneOverESeedMinusOneOverPValue = 0;
175  } else {
176  for (size_t trkNr = 0; trkNr < gsfTracks.size(); trkNr++) {
177  GlobalPoint scPos(scRef->x(), scRef->y(), scRef->z());
178 
179  GlobalPoint trackExtrapToSC;
180  {
181  auto innTSOS =
183  auto posTSOS = extrapolator.extrapolate(innTSOS, scPos);
184  multiTrajectoryStateMode::positionFromModeCartesian(posTSOS, trackExtrapToSC);
185  }
186 
187  EleRelPointPair scAtVtx(scRef->position(), trackExtrapToSC, beamSpotPosition);
188 
189  float trkP = gsfTracks[trkNr]->p();
190  if (scRef->energy() != 0 && trkP != 0) {
191  if (std::abs(1 / scRef->energy() - 1 / trkP) < oneOverESuperMinusOneOverPValue) {
192  oneOverESuperMinusOneOverPValue = std::abs(1 / scRef->energy() - 1 / trkP);
193  }
194  }
195  if (scRef->seed().isNonnull() && scRef->seed()->energy() != 0 && trkP != 0) {
196  if (std::abs(1 / scRef->seed()->energy() - 1 / trkP) < oneOverESeedMinusOneOverPValue) {
197  oneOverESeedMinusOneOverPValue = std::abs(1 / scRef->seed()->energy() - 1 / trkP);
198  }
199  }
200 
201  if (gsfTracks[trkNr]->hitPattern().numberOfLostHits(reco::HitPattern::MISSING_INNER_HITS) < missingHitsValue) {
202  missingHitsValue = gsfTracks[trkNr]->hitPattern().numberOfLostHits(reco::HitPattern::MISSING_INNER_HITS);
203  }
204 
205  if (gsfTracks[trkNr]->numberOfValidHits() > validHitsValue) {
206  validHitsValue = gsfTracks[trkNr]->numberOfValidHits();
207  }
208 
209  // number of Layers crossed in inner tracker
210  if (gsfTracks[trkNr]->hitPattern().pixelLayersWithMeasurement() > nLayerITValue) {
211  nLayerITValue = gsfTracks[trkNr]->hitPattern().pixelLayersWithMeasurement();
212  }
213 
214  if (gsfTracks[trkNr]->normalizedChi2() < chi2Value) {
215  chi2Value = gsfTracks[trkNr]->normalizedChi2();
216  }
217 
218  if (std::abs(scAtVtx.dEta()) < dEtaInValue) {
219  //we are allowing them to come from different tracks
220  dEtaInValue = std::abs(scAtVtx.dEta());
221  }
222 
223  if (std::abs(scAtVtx.dEta()) < dEtaSeedInValue) {
224  dEtaSeedInValue = std::abs(scAtVtx.dEta() - scRef->position().eta() + scRef->seed()->position().eta());
225  }
226 
227  if (std::abs(scAtVtx.dPhi()) < dPhiInValue) {
228  //we are allowing them to come from different tracks
229  dPhiInValue = std::abs(scAtVtx.dPhi());
230  }
231  }
232  }
233 
234  dEtaMap.insert(recoEcalCandRef, dEtaInValue);
235  dEtaSeedMap.insert(recoEcalCandRef, dEtaSeedInValue);
236  dPhiMap.insert(recoEcalCandRef, dPhiInValue);
237  oneOverESuperMinusOneOverPMap.insert(recoEcalCandRef, oneOverESuperMinusOneOverPValue);
238  oneOverESeedMinusOneOverPMap.insert(recoEcalCandRef, oneOverESeedMinusOneOverPValue);
239  missingHitsMap.insert(recoEcalCandRef, missingHitsValue);
240  validHitsMap.insert(recoEcalCandRef, validHitsValue);
241  nLayerITMap.insert(recoEcalCandRef, nLayerITValue);
242  chi2Map.insert(recoEcalCandRef, chi2Value);
243  }
244 
245  iEvent.emplace(dEtaMapPutToken_, dEtaMap);
246  iEvent.emplace(dEtaSeedMapPutToken_, dEtaSeedMap);
247  iEvent.emplace(dPhiMapPutToken_, dPhiMap);
248  iEvent.emplace(oneOverESuperMinusOneOverPMapPutToken_, oneOverESuperMinusOneOverPMap);
249  iEvent.emplace(oneOverESeedMinusOneOverPMapPutToken_, oneOverESeedMinusOneOverPMap);
250  iEvent.emplace(missingHitsMapPutToken_, missingHitsMap);
251  iEvent.emplace(validHitsMapPutToken_, validHitsMap);
252  iEvent.emplace(nLayerITMapPutToken_, nLayerITMap);
253  iEvent.emplace(chi2MapPutToken_, chi2Map);
254 }

References funct::abs(), AnalyticalPropagator_cfi::AnalyticalPropagator, anyDirection, beamSpotToken_, chi2MapPutToken_, dEtaMapPutToken_, dEtaSeedMapPutToken_, dPhiMapPutToken_, electronToken_, edm::EventSetup::getData(), ecalDrivenGsfElectronCoresFromMultiCl_cff::gsfTracks, gsfTrackToken_, iEvent, MultiTrajectoryStateTransform::innerStateOnSurface(), edm::AssociationMap< Tag >::insert(), edm::Ref< C, T, F >::isNonnull(), HLT_2018_cff::magneticField, magneticFieldToken_, reco::HitPattern::MISSING_INNER_HITS, missingHitsMapPutToken_, nLayerITMapPutToken_, TrackCollections2monitor_cff::normalizedChi2, TrackCollections2monitor_cff::numberOfValidHits, oneOverESeedMinusOneOverPMapPutToken_, oneOverESuperMinusOneOverPMapPutToken_, multiTrajectoryStateMode::positionFromModeCartesian(), recoEcalCandToken_, trackerGeometryToken_, upperTrackNrToRemoveCut_, useDefaultValuesForBarrel_, useDefaultValuesForEndcap_, and validHitsMapPutToken_.

Member Data Documentation

◆ beamSpotToken_

const edm::EDGetTokenT<reco::BeamSpot> EgammaHLTGsfTrackVarProducer::beamSpotToken_
private

Definition at line 50 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ chi2MapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::chi2MapPutToken_
private

Definition at line 68 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ dEtaMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::dEtaMapPutToken_
private

Definition at line 60 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ dEtaSeedMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::dEtaSeedMapPutToken_
private

Definition at line 61 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ dPhiMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::dPhiMapPutToken_
private

Definition at line 62 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ electronToken_

const edm::EDGetTokenT<reco::ElectronCollection> EgammaHLTGsfTrackVarProducer::electronToken_
private

Definition at line 48 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ gsfTrackToken_

const edm::EDGetTokenT<reco::GsfTrackCollection> EgammaHLTGsfTrackVarProducer::gsfTrackToken_
private

Definition at line 49 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ lowerTrackNrToRemoveCut_

const int EgammaHLTGsfTrackVarProducer::lowerTrackNrToRemoveCut_
private

Definition at line 56 of file EgammaHLTGsfTrackVarProducer.cc.

◆ magneticFieldToken_

const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> EgammaHLTGsfTrackVarProducer::magneticFieldToken_
private

Definition at line 52 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ missingHitsMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::missingHitsMapPutToken_
private

Definition at line 65 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ nLayerITMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::nLayerITMapPutToken_
private

Definition at line 67 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ oneOverESeedMinusOneOverPMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::oneOverESeedMinusOneOverPMapPutToken_
private

Definition at line 64 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ oneOverESuperMinusOneOverPMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::oneOverESuperMinusOneOverPMapPutToken_
private

Definition at line 63 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ recoEcalCandToken_

const edm::EDGetTokenT<reco::RecoEcalCandidateCollection> EgammaHLTGsfTrackVarProducer::recoEcalCandToken_
private

Definition at line 47 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ trackerGeometryToken_

const edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> EgammaHLTGsfTrackVarProducer::trackerGeometryToken_
private

Definition at line 53 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ upperTrackNrToRemoveCut_

const int EgammaHLTGsfTrackVarProducer::upperTrackNrToRemoveCut_
private

Definition at line 55 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ useDefaultValuesForBarrel_

const bool EgammaHLTGsfTrackVarProducer::useDefaultValuesForBarrel_
private

Definition at line 57 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ useDefaultValuesForEndcap_

const bool EgammaHLTGsfTrackVarProducer::useDefaultValuesForEndcap_
private

Definition at line 58 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

◆ validHitsMapPutToken_

const edm::EDPutTokenT<reco::RecoEcalCandidateIsolationMap> EgammaHLTGsfTrackVarProducer::validHitsMapPutToken_
private

Definition at line 66 of file EgammaHLTGsfTrackVarProducer.cc.

Referenced by produce().

EgammaHLTGsfTrackVarProducer::chi2MapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > chi2MapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:68
anyDirection
Definition: PropagationDirection.h:4
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
EgammaHLTGsfTrackVarProducer::trackerGeometryToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeometryToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:53
EgammaHLTGsfTrackVarProducer::dEtaSeedMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > dEtaSeedMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:61
HLT_2018_cff.magneticField
magneticField
Definition: HLT_2018_cff.py:348
EgammaHLTGsfTrackVarProducer::validHitsMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > validHitsMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:66
EgammaHLTGsfTrackVarProducer::gsfTrackToken_
const edm::EDGetTokenT< reco::GsfTrackCollection > gsfTrackToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:49
TrackCollections2monitor_cff.numberOfValidHits
numberOfValidHits
Definition: TrackCollections2monitor_cff.py:248
EgammaHLTGsfTrackVarProducer::upperTrackNrToRemoveCut_
const int upperTrackNrToRemoveCut_
Definition: EgammaHLTGsfTrackVarProducer.cc:55
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
TransverseImpactPointExtrapolator
Definition: TransverseImpactPointExtrapolator.h:26
edm::Ref
Definition: AssociativeIterator.h:58
config
Definition: config.py:1
EgammaHLTGsfTrackVarProducer::electronToken_
const edm::EDGetTokenT< reco::ElectronCollection > electronToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:48
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
EgammaHLTGsfTrackVarProducer::useDefaultValuesForBarrel_
const bool useDefaultValuesForBarrel_
Definition: EgammaHLTGsfTrackVarProducer.cc:57
ecalDrivenGsfElectronCoresFromMultiCl_cff.gsfTracks
gsfTracks
Definition: ecalDrivenGsfElectronCoresFromMultiCl_cff.py:4
Point3DBase< float, GlobalTag >
EgammaHLTGsfTrackVarProducer::dPhiMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > dPhiMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:62
AnalyticalPropagator_cfi.AnalyticalPropagator
AnalyticalPropagator
Definition: AnalyticalPropagator_cfi.py:3
EgammaHLTGsfTrackVarProducer::nLayerITMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > nLayerITMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:67
edm::AssociationMap
Definition: AssociationMap.h:48
EgammaHLTGsfTrackVarProducer::useDefaultValuesForEndcap_
const bool useDefaultValuesForEndcap_
Definition: EgammaHLTGsfTrackVarProducer.cc:58
EgammaHLTGsfTrackVarProducer::lowerTrackNrToRemoveCut_
const int lowerTrackNrToRemoveCut_
Definition: EgammaHLTGsfTrackVarProducer.cc:56
edm::Ref::isNonnull
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
iEvent
int iEvent
Definition: GenABIO.cc:224
multiTrajectoryStateMode::positionFromModeCartesian
bool positionFromModeCartesian(TrajectoryStateOnSurface const &tsos, GlobalPoint &position)
Definition: MultiTrajectoryStateMode.cc:63
EgammaHLTGsfTrackVarProducer::beamSpotToken_
const edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:50
EleRelPointPair
Definition: ElectronUtilities.h:43
EgammaHLTGsfTrackVarProducer::missingHitsMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > missingHitsMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:65
TrackCollections2monitor_cff.normalizedChi2
normalizedChi2
Definition: TrackCollections2monitor_cff.py:247
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:113
reco::HitPattern::MISSING_INNER_HITS
Definition: HitPattern.h:155
EgammaHLTGsfTrackVarProducer::dEtaMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > dEtaMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:60
MultiTrajectoryStateTransform::innerStateOnSurface
TrajectoryStateOnSurface innerStateOnSurface(const reco::GsfTrack &tk) const
Definition: MultiTrajectoryStateTransform.cc:23
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
GsfPropagatorAdapter
Definition: GsfPropagatorAdapter.h:14
EgammaHLTGsfTrackVarProducer::oneOverESuperMinusOneOverPMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > oneOverESuperMinusOneOverPMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:63
EgammaHLTGsfTrackVarProducer::recoEcalCandToken_
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > recoEcalCandToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:47
EgammaHLTGsfTrackVarProducer::magneticFieldToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magneticFieldToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:52
edm::InputTag
Definition: InputTag.h:15
EgammaHLTGsfTrackVarProducer::oneOverESeedMinusOneOverPMapPutToken_
const edm::EDPutTokenT< reco::RecoEcalCandidateIsolationMap > oneOverESeedMinusOneOverPMapPutToken_
Definition: EgammaHLTGsfTrackVarProducer.cc:64