CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
L1TkElectronTrackProducer Class Reference
Inheritance diagram for L1TkElectronTrackProducer:
edm::stream::EDProducer<>

Public Types

typedef std::vector< L1TTTrackTypeL1TTTrackCollectionType
 
typedef TTTrack< Ref_Phase2TrackerDigi_L1TTTrackType
 
- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Public Member Functions

 L1TkElectronTrackProducer (const edm::ParameterSet &)
 
 ~L1TkElectronTrackProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Member Functions

double getPtScaledCut (double pt, std::vector< double > &parameters)
 
float isolation (const edm::Handle< L1TTTrackCollectionType > &trkHandle, int match_index)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
bool selectMatchedTrack (double &d_r, double &d_phi, double &d_eta, double &tk_pt, float &eg_eta)
 

Private Attributes

float deltaZ_
 
std::vector< double > dEtaCutoff_
 
std::vector< double > dPhiCutoff_
 
std::vector< double > dRCutoff_
 
float dRMax_
 
float dRMin_
 
const edm::EDGetTokenT< EGammaBxCollectionegToken
 
float etMin_
 
float isoCut_
 
std::string label
 
std::string matchType_
 
float maxChi2IsoTracks_
 
unsigned int minNStubsIsoTracks_
 
bool primaryVtxConstrain_
 
float pTMinTra_
 
bool relativeIsolation_
 
const edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > trackToken
 
float trkQualityChi2_
 
float trkQualityPtMin_
 
bool useTwoStubsPT_
 

Detailed Description

Definition at line 54 of file L1TkElectronTrackProducer.cc.

Member Typedef Documentation

◆ L1TTTrackCollectionType

Definition at line 57 of file L1TkElectronTrackProducer.cc.

◆ L1TTTrackType

Definition at line 56 of file L1TkElectronTrackProducer.cc.

Constructor & Destructor Documentation

◆ L1TkElectronTrackProducer()

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

Definition at line 105 of file L1TkElectronTrackProducer.cc.

106  : egToken(consumes<EGammaBxCollection>(iConfig.getParameter<edm::InputTag>("L1EGammaInputTag"))),
107  trackToken(consumes<std::vector<TTTrack<Ref_Phase2TrackerDigi_> > >(
108  iConfig.getParameter<edm::InputTag>("L1TrackInputTag"))) {
109  // label of the collection produced
110  // e.g. EG or IsoEG if all objects are kept
111  // EGIsoTrk or IsoEGIsoTrk if only the EG or IsoEG
112  // objects that pass a cut RelIso < isoCut_ are written
113  // in the new collection.
114  label = iConfig.getParameter<std::string>("label");
115 
116  etMin_ = (float)iConfig.getParameter<double>("ETmin");
117 
118  // parameters for the calculation of the isolation :
119  pTMinTra_ = (float)iConfig.getParameter<double>("PTMINTRA");
120  dRMin_ = (float)iConfig.getParameter<double>("DRmin");
121  dRMax_ = (float)iConfig.getParameter<double>("DRmax");
122  deltaZ_ = (float)iConfig.getParameter<double>("DeltaZ");
123  maxChi2IsoTracks_ = iConfig.getParameter<double>("maxChi2IsoTracks");
124  minNStubsIsoTracks_ = iConfig.getParameter<int>("minNStubsIsoTracks");
125  // cut applied on the isolation (if this number is <= 0, no cut is applied)
126  isoCut_ = (float)iConfig.getParameter<double>("IsoCut");
127  relativeIsolation_ = iConfig.getParameter<bool>("RelativeIsolation");
128 
129  // parameters to select tracks to match with L1EG
130  trkQualityChi2_ = (float)iConfig.getParameter<double>("TrackChi2");
131  trkQualityPtMin_ = (float)iConfig.getParameter<double>("TrackMinPt");
132  useTwoStubsPT_ = iConfig.getParameter<bool>("useTwoStubsPT");
133  dPhiCutoff_ = iConfig.getParameter<std::vector<double> >("TrackEGammaDeltaPhi");
134  dRCutoff_ = iConfig.getParameter<std::vector<double> >("TrackEGammaDeltaR");
135  dEtaCutoff_ = iConfig.getParameter<std::vector<double> >("TrackEGammaDeltaEta");
136  matchType_ = iConfig.getParameter<std::string>("TrackEGammaMatchType");
137 
138  produces<TkElectronCollection>(label);
139 }

References deltaZ_, dEtaCutoff_, dPhiCutoff_, dRCutoff_, dRMax_, dRMin_, etMin_, dqmMemoryStats::float, edm::ParameterSet::getParameter(), isoCut_, label, matchType_, maxChi2IsoTracks_, minNStubsIsoTracks_, pTMinTra_, relativeIsolation_, AlCaHLTBitMon_QueryRunRegistry::string, trkQualityChi2_, trkQualityPtMin_, and useTwoStubsPT_.

◆ ~L1TkElectronTrackProducer()

L1TkElectronTrackProducer::~L1TkElectronTrackProducer ( )
override

Definition at line 141 of file L1TkElectronTrackProducer.cc.

141 {}

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 284 of file L1TkElectronTrackProducer.cc.

284  {
285  //The following says we do not know what parameters are allowed so do no validation
286  // Please change this to state exactly what you do use, even if it is no parameters
288  desc.setUnknown();
289  descriptions.addDefault(desc);
290 }

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

◆ getPtScaledCut()

double L1TkElectronTrackProducer::getPtScaledCut ( double  pt,
std::vector< double > &  parameters 
)
private

Definition at line 325 of file L1TkElectronTrackProducer.cc.

325  {
326  return (parameters[0] + parameters[1] * exp(parameters[2] * pt));
327 }

References JetChargeProducer_cfi::exp, and DiDispStaMuonMonitor_cfi::pt.

Referenced by selectMatchedTrack().

◆ isolation()

float L1TkElectronTrackProducer::isolation ( const edm::Handle< L1TTTrackCollectionType > &  trkHandle,
int  match_index 
)
private

Definition at line 292 of file L1TkElectronTrackProducer.cc.

292  {
293  edm::Ptr<L1TTTrackType> matchedTrkPtr(trkHandle, match_index);
294  L1TTTrackCollectionType::const_iterator trackIter;
295 
296  float sumPt = 0.0;
297  int itr = 0;
298 
299  float dRMin2 = dRMin_ * dRMin_;
300  float dRMax2 = dRMax_ * dRMax_;
301 
302  for (trackIter = trkHandle->begin(); trackIter != trkHandle->end(); ++trackIter) {
303  if (itr++ != match_index) {
304  if (trackIter->chi2() > maxChi2IsoTracks_ || trackIter->momentum().perp() <= pTMinTra_ ||
305  trackIter->getStubRefs().size() < minNStubsIsoTracks_) {
306  continue;
307  }
308 
309  float dZ = std::abs(trackIter->POCA().z() - matchedTrkPtr->POCA().z());
310 
311  float phi1 = trackIter->momentum().phi();
312  float phi2 = matchedTrkPtr->momentum().phi();
313  float dPhi = reco::deltaPhi(phi1, phi2);
314  float dEta = (trackIter->momentum().eta() - matchedTrkPtr->momentum().eta());
315  float dR2 = (dPhi * dPhi + dEta * dEta);
316 
317  if (dR2 > dRMin2 && dR2 < dRMax2 && dZ < deltaZ_ && trackIter->momentum().perp() > pTMinTra_) {
318  sumPt += trackIter->momentum().perp();
319  }
320  }
321  }
322 
323  return sumPt;
324 }

References funct::abs(), reco::deltaPhi(), HLT_2018_cff::dEta, HLT_2018_cff::dPhi, dRMax_, dRMin_, PV3DBase< T, PVType, FrameType >::eta(), maxChi2IsoTracks_, minNStubsIsoTracks_, TTTrack< T >::momentum(), PV3DBase< T, PVType, FrameType >::phi(), TTTrack< T >::POCA(), pTMinTra_, TtFullHadEvtBuilder_cfi::sumPt, and PV3DBase< T, PVType, FrameType >::z().

Referenced by produce().

◆ produce()

void L1TkElectronTrackProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivate

Definition at line 144 of file L1TkElectronTrackProducer.cc.

144  {
145  std::unique_ptr<TkElectronCollection> result(new TkElectronCollection);
146 
147  // geometry needed to call pTFrom2Stubs
149  iSetup.get<TrackerDigiGeometryRecord>().get("idealForDigi", geomHandle);
150  const TrackerGeometry* tGeom = geomHandle.product();
151 
152  // the L1EGamma objects
153  edm::Handle<EGammaBxCollection> eGammaHandle;
154  iEvent.getByToken(egToken, eGammaHandle);
155  EGammaBxCollection eGammaCollection = (*eGammaHandle.product());
157 
158  // the L1Tracks
159  edm::Handle<L1TTTrackCollectionType> L1TTTrackHandle;
160  iEvent.getByToken(trackToken, L1TTTrackHandle);
161  L1TTTrackCollectionType::const_iterator trackIter;
162 
163  if (!eGammaHandle.isValid()) {
164  throw cms::Exception("L1TkElectronTrackProducer")
165  << "\nWarning: L1EmCollection not found in the event. Exit" << std::endl;
166  return;
167  }
168  if (!L1TTTrackHandle.isValid()) {
169  throw cms::Exception("TkEmProducer") << "\nWarning: L1TTTrackCollectionType not found in the event. Exit."
170  << std::endl;
171  return;
172  }
173 
174  int ieg = 0;
175  for (egIter = eGammaCollection.begin(0); egIter != eGammaCollection.end(0); ++egIter) { // considering BX = only
176  edm::Ref<EGammaBxCollection> EGammaRef(eGammaHandle, ieg);
177  ieg++;
178 
179  float e_ele = egIter->energy();
180  float eta_ele = egIter->eta();
181  float et_ele = 0;
182  float cosh_eta_ele = cosh(eta_ele);
183  if (cosh_eta_ele > 0.0)
184  et_ele = e_ele / cosh_eta_ele;
185  else
186  et_ele = -1.0;
187  if (etMin_ > 0.0 && et_ele <= etMin_)
188  continue;
189  // match the L1EG object with a L1Track
190  float drmin = 999;
191  int itr = 0;
192  int itrack = -1;
193  for (trackIter = L1TTTrackHandle->begin(); trackIter != L1TTTrackHandle->end(); ++trackIter) {
194  edm::Ptr<L1TTTrackType> L1TrackPtr(L1TTTrackHandle, itr);
195  double trkPt_fit = trackIter->momentum().perp();
196  double trkPt_stubs = pTFrom2Stubs::pTFrom2(trackIter, tGeom);
197  double trkPt = trkPt_fit;
198  if (useTwoStubsPT_)
199  trkPt = trkPt_stubs;
200 
201  if (trkPt > trkQualityPtMin_ && trackIter->chi2() < trkQualityChi2_) {
202  double dPhi = 99.;
203  double dR = 99.;
204  double dEta = 99.;
205  L1TkElectronTrackMatchAlgo::doMatch(egIter, L1TrackPtr, dPhi, dR, dEta);
206  if (dR < drmin && selectMatchedTrack(dR, dPhi, dEta, trkPt, eta_ele)) {
207  drmin = dR;
208  itrack = itr;
209  }
210  }
211  itr++;
212  }
213  if (itrack >= 0) {
214  edm::Ptr<L1TTTrackType> matchedL1TrackPtr(L1TTTrackHandle, itrack);
215 
216  const math::XYZTLorentzVector P4 = egIter->p4();
217  float trkisol = isolation(L1TTTrackHandle, itrack);
218  if (relativeIsolation_ && et_ele > 0.0) { // relative isolation
219  trkisol = trkisol / et_ele;
220  }
221 
222  TkElectron trkEm(P4, EGammaRef, matchedL1TrackPtr, trkisol);
223 
224  trkEm.setTrackCurvature(matchedL1TrackPtr->rInv()); // should this have npars? 4? 5?
225 
226  //std::cout<<matchedL1TrackPtr->rInv()<<" "<<matchedL1TrackPtr->rInv(4)<<" "<<matchedL1TrackPtr->rInv()<<std::endl;
227 
228  if (isoCut_ <= 0) {
229  // write the L1TkEm particle to the collection,
230  // irrespective of its relative isolation
231  result->push_back(trkEm);
232  } else {
233  // the object is written to the collection only
234  // if it passes the isolation cut
235  if (trkisol <= isoCut_)
236  result->push_back(trkEm);
237  }
238  }
239 
240  } // end loop over EGamma objects
241 
242  iEvent.put(std::move(result), label);
243 }

References BXVector< T >::begin(), HLT_2018_cff::dEta, L1TkElectronTrackMatchAlgo::doMatch(), HLT_2018_cff::dPhi, HGC3DClusterGenMatchSelector_cfi::dR, egToken, BXVector< T >::end(), etMin_, Exception, edm::EventSetup::get(), get, iEvent, isoCut_, isolation(), edm::HandleBase::isValid(), label, eostools::move(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), pTFrom2Stubs::pTFrom2(), relativeIsolation_, mps_fire::result, TTTrack< T >::rInv(), selectMatchedTrack(), l1t::TkElectron::setTrackCurvature(), trackToken, trkQualityChi2_, trkQualityPtMin_, and useTwoStubsPT_.

◆ selectMatchedTrack()

bool L1TkElectronTrackProducer::selectMatchedTrack ( double &  d_r,
double &  d_phi,
double &  d_eta,
double &  tk_pt,
float &  eg_eta 
)
private

Definition at line 328 of file L1TkElectronTrackProducer.cc.

329  {
330  if (matchType_ == "PtDependentCut") {
331  if (std::abs(d_phi) < getPtScaledCut(tk_pt, dPhiCutoff_) && d_r < getPtScaledCut(tk_pt, dRCutoff_))
332  return true;
333  } else {
334  double deta_max = dEtaCutoff_[0];
335  if (std::abs(eg_eta) < EB_MaxEta)
336  deta_max = dEtaCutoff_[1];
337  double dphi_max = dPhiCutoff_[0];
338  if ((d_eta / deta_max) * (d_eta / deta_max) + (d_phi / dphi_max) * (d_phi / dphi_max) < 1)
339  return true;
340  }
341  return false;
342 }

References funct::abs(), dEtaCutoff_, dPhiCutoff_, dRCutoff_, EB_MaxEta, getPtScaledCut(), and matchType_.

Referenced by produce().

Member Data Documentation

◆ deltaZ_

float L1TkElectronTrackProducer::deltaZ_
private

Definition at line 85 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer().

◆ dEtaCutoff_

std::vector<double> L1TkElectronTrackProducer::dEtaCutoff_
private

Definition at line 95 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and selectMatchedTrack().

◆ dPhiCutoff_

std::vector<double> L1TkElectronTrackProducer::dPhiCutoff_
private

Definition at line 93 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and selectMatchedTrack().

◆ dRCutoff_

std::vector<double> L1TkElectronTrackProducer::dRCutoff_
private

Definition at line 94 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and selectMatchedTrack().

◆ dRMax_

float L1TkElectronTrackProducer::dRMax_
private

Definition at line 79 of file L1TkElectronTrackProducer.cc.

Referenced by isolation(), and L1TkElectronTrackProducer().

◆ dRMin_

float L1TkElectronTrackProducer::dRMin_
private

Definition at line 78 of file L1TkElectronTrackProducer.cc.

Referenced by isolation(), and L1TkElectronTrackProducer().

◆ egToken

const edm::EDGetTokenT<EGammaBxCollection> L1TkElectronTrackProducer::egToken
private

Definition at line 98 of file L1TkElectronTrackProducer.cc.

Referenced by produce().

◆ etMin_

float L1TkElectronTrackProducer::etMin_
private

Definition at line 76 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and produce().

◆ isoCut_

float L1TkElectronTrackProducer::isoCut_
private

Definition at line 87 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and produce().

◆ label

std::string L1TkElectronTrackProducer::label
private

◆ matchType_

std::string L1TkElectronTrackProducer::matchType_
private

Definition at line 96 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and selectMatchedTrack().

◆ maxChi2IsoTracks_

float L1TkElectronTrackProducer::maxChi2IsoTracks_
private

Definition at line 81 of file L1TkElectronTrackProducer.cc.

Referenced by isolation(), and L1TkElectronTrackProducer().

◆ minNStubsIsoTracks_

unsigned int L1TkElectronTrackProducer::minNStubsIsoTracks_
private

Definition at line 82 of file L1TkElectronTrackProducer.cc.

Referenced by isolation(), and L1TkElectronTrackProducer().

◆ primaryVtxConstrain_

bool L1TkElectronTrackProducer::primaryVtxConstrain_
private

Definition at line 84 of file L1TkElectronTrackProducer.cc.

◆ pTMinTra_

float L1TkElectronTrackProducer::pTMinTra_
private

Definition at line 80 of file L1TkElectronTrackProducer.cc.

Referenced by isolation(), and L1TkElectronTrackProducer().

◆ relativeIsolation_

bool L1TkElectronTrackProducer::relativeIsolation_
private

Definition at line 88 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and produce().

◆ trackToken

const edm::EDGetTokenT<std::vector<TTTrack<Ref_Phase2TrackerDigi_> > > L1TkElectronTrackProducer::trackToken
private

Definition at line 99 of file L1TkElectronTrackProducer.cc.

Referenced by produce().

◆ trkQualityChi2_

float L1TkElectronTrackProducer::trkQualityChi2_
private

Definition at line 90 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and produce().

◆ trkQualityPtMin_

float L1TkElectronTrackProducer::trkQualityPtMin_
private

Definition at line 92 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and produce().

◆ useTwoStubsPT_

bool L1TkElectronTrackProducer::useTwoStubsPT_
private

Definition at line 91 of file L1TkElectronTrackProducer.cc.

Referenced by L1TkElectronTrackProducer(), and produce().

l1t::TkElectron
Definition: TkElectron.h:24
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
L1TkElectronTrackProducer::etMin_
float etMin_
Definition: L1TkElectronTrackProducer.cc:76
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
L1TkElectronTrackProducer::trkQualityChi2_
float trkQualityChi2_
Definition: L1TkElectronTrackProducer.cc:90
L1TkElectronTrackProducer::pTMinTra_
float pTMinTra_
Definition: L1TkElectronTrackProducer.cc:80
edm::Handle::product
T const * product() const
Definition: Handle.h:70
L1TkElectronTrackProducer::selectMatchedTrack
bool selectMatchedTrack(double &d_r, double &d_phi, double &d_eta, double &tk_pt, float &eg_eta)
Definition: L1TkElectronTrackProducer.cc:328
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
L1TkElectronTrackProducer::isolation
float isolation(const edm::Handle< L1TTTrackCollectionType > &trkHandle, int match_index)
Definition: L1TkElectronTrackProducer.cc:292
reco::deltaPhi
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
L1TkElectronTrackProducer::maxChi2IsoTracks_
float maxChi2IsoTracks_
Definition: L1TkElectronTrackProducer.cc:81
BXVector::const_iterator
std::vector< T >::const_iterator const_iterator
Definition: BXVector.h:18
L1TkElectronTrackProducer::dPhiCutoff_
std::vector< double > dPhiCutoff_
Definition: L1TkElectronTrackProducer.cc:93
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:26
L1TkElectronTrackProducer::matchType_
std::string matchType_
Definition: L1TkElectronTrackProducer.cc:96
L1TkElectronTrackProducer::trkQualityPtMin_
float trkQualityPtMin_
Definition: L1TkElectronTrackProducer.cc:92
edm::Handle
Definition: AssociativeIterator.h:50
L1TkElectronTrackProducer::dEtaCutoff_
std::vector< double > dEtaCutoff_
Definition: L1TkElectronTrackProducer.cc:95
L1TkElectronTrackProducer::isoCut_
float isoCut_
Definition: L1TkElectronTrackProducer.cc:87
HLT_2018_cff.dEta
dEta
Definition: HLT_2018_cff.py:12289
L1TkElectronTrackProducer::getPtScaledCut
double getPtScaledCut(double pt, std::vector< double > &parameters)
Definition: L1TkElectronTrackProducer.cc:325
edm::Ref
Definition: AssociativeIterator.h:58
TtFullHadEvtBuilder_cfi.sumPt
sumPt
Definition: TtFullHadEvtBuilder_cfi.py:38
parameters
parameters
Definition: BeamSpot_PayloadInspector.cc:14
BXVector
Definition: BXVector.h:15
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
l1t::EGammaRef
edm::Ref< EGammaBxCollection > EGammaRef
Definition: TkEGTau.h:35
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
HLT_2018_cff.dPhi
dPhi
Definition: HLT_2018_cff.py:12290
edm::ESHandle< TrackerGeometry >
L1TkElectronTrackMatchAlgo::doMatch
void doMatch(BXVector< l1t::EGamma >::const_iterator egIter, const edm::Ptr< L1TTTrackType > &pTrk, double &dph, double &dr, double &deta)
L1TkElectronTrackProducer::dRMax_
float dRMax_
Definition: L1TkElectronTrackProducer.cc:79
BXVector::begin
const_iterator begin(int bx) const
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1TkElectronTrackProducer::minNStubsIsoTracks_
unsigned int minNStubsIsoTracks_
Definition: L1TkElectronTrackProducer.cc:82
L1TkElectronTrackProducer::trackToken
const edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > trackToken
Definition: L1TkElectronTrackProducer.cc:99
BXVector::end
const_iterator end(int bx) const
l1t::TkElectronCollection
std::vector< TkElectron > TkElectronCollection
Definition: TkElectronFwd.h:15
pTFrom2Stubs::pTFrom2
float pTFrom2(std::vector< TTTrack< Ref_Phase2TrackerDigi_ > >::const_iterator trk, const TrackerGeometry *tkGeometry)
Definition: pTFrom2Stubs.cc:72
iEvent
int iEvent
Definition: GenABIO.cc:224
L1TkElectronTrackProducer::label
std::string label
Definition: L1TkElectronTrackProducer.cc:74
edm::ParameterSetDescription::setUnknown
void setUnknown()
Definition: ParameterSetDescription.cc:39
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:28
get
#define get
L1TkElectronTrackProducer::deltaZ_
float deltaZ_
Definition: L1TkElectronTrackProducer.cc:85
L1TkElectronTrackProducer::dRMin_
float dRMin_
Definition: L1TkElectronTrackProducer.cc:78
edm::Ptr
Definition: AssociationVector.h:31
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
eostools.move
def move(src, dest)
Definition: eostools.py:511
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
Exception
Definition: hltDiff.cc:246
L1TkElectronTrackProducer::useTwoStubsPT_
bool useTwoStubsPT_
Definition: L1TkElectronTrackProducer.cc:91
mps_fire.result
result
Definition: mps_fire.py:303
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
HGC3DClusterGenMatchSelector_cfi.dR
dR
Definition: HGC3DClusterGenMatchSelector_cfi.py:7
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
L1TkElectronTrackProducer::relativeIsolation_
bool relativeIsolation_
Definition: L1TkElectronTrackProducer.cc:88
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
L1TkElectronTrackProducer::egToken
const edm::EDGetTokenT< EGammaBxCollection > egToken
Definition: L1TkElectronTrackProducer.cc:98
edm::InputTag
Definition: InputTag.h:15
EB_MaxEta
static constexpr float EB_MaxEta
Definition: L1TkElectronTrackProducer.cc:46
L1TkElectronTrackProducer::dRCutoff_
std::vector< double > dRCutoff_
Definition: L1TkElectronTrackProducer.cc:94
TrackerGeometry
Definition: TrackerGeometry.h:14