CMS 3D CMS Logo

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

Public Types

typedef std::vector< L1TTTrackTypeL1TTTrackCollectionType
 
typedef TTTrack< Ref_Phase2TrackerDigi_L1TTTrackType
 
- 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
 

Public Member Functions

 L1TkFastVertexProducer (const edm::ParameterSet &)
 
 ~L1TkFastVertexProducer () 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 Member Functions

void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 

Private Attributes

float chi2Max_
 
float DeltaZ
 
bool doPtComp_
 
bool doTightChi2_
 
const edm::EDGetTokenT< std::vector< reco::GenParticle > > genparticleToken_
 
const edm::EDGetTokenT< edm::HepMCProducthepmcToken_
 
int highPtTracks_
 
bool monteCarloVertex_
 
int nBinning_
 
int nStubsmin_
 
int nStubsPSmin_
 
int nVtx_
 
float pTMax_
 
float pTMinTra_
 
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtopoToken_
 
const edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > trackToken_
 
float trkChi2dofTightChi2_
 
float trkPtTightChi2_
 
int weight_
 
float zMax_
 

Static Private Attributes

constexpr static float xmax_ = +30
 
constexpr static float xmin_ = -30
 

Additional Inherited Members

- 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

Definition at line 49 of file L1TkFastVertexProducer.cc.

Member Typedef Documentation

◆ L1TTTrackCollectionType

Definition at line 52 of file L1TkFastVertexProducer.cc.

◆ L1TTTrackType

Definition at line 51 of file L1TkFastVertexProducer.cc.

Constructor & Destructor Documentation

◆ L1TkFastVertexProducer()

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

Definition at line 108 of file L1TkFastVertexProducer.cc.

109  : hepmcToken_(consumes<edm::HepMCProduct>(iConfig.getParameter<edm::InputTag>("HepMCInputTag"))),
111  consumes<std::vector<reco::GenParticle> >(iConfig.getParameter<edm::InputTag>("GenParticleInputTag"))),
113  iConfig.getParameter<edm::InputTag>("L1TrackInputTag"))),
114  topoToken_(esConsumes<TrackerTopology, TrackerTopologyRcd>(edm::ESInputTag("", ""))) {
115  zMax_ = (float)iConfig.getParameter<double>("ZMAX");
116  chi2Max_ = (float)iConfig.getParameter<double>("CHI2MAX");
117  pTMinTra_ = (float)iConfig.getParameter<double>("PTMINTRA");
118 
119  pTMax_ = (float)iConfig.getParameter<double>("PTMAX");
120  highPtTracks_ = iConfig.getParameter<int>("HighPtTracks");
121 
122  nVtx_ = iConfig.getParameter<int>("nVtx");
123  nStubsmin_ = iConfig.getParameter<int>("nStubsmin");
124  nStubsPSmin_ = iConfig.getParameter<int>("nStubsPSmin");
125  nBinning_ = iConfig.getParameter<int>("nBinning");
126 
127  monteCarloVertex_ = iConfig.getParameter<bool>("MonteCarloVertex");
128  doPtComp_ = iConfig.getParameter<bool>("doPtComp");
129  doTightChi2_ = iConfig.getParameter<bool>("doTightChi2");
130  trkPtTightChi2_ = (float)iConfig.getParameter<double>("trk_ptTightChi2");
131  trkChi2dofTightChi2_ = (float)iConfig.getParameter<double>("trk_chi2dofTightChi2");
132 
133  weight_ = iConfig.getParameter<int>("WEIGHT");
134 
135  produces<TkPrimaryVertexCollection>();
136 }

References chi2Max_, doPtComp_, doTightChi2_, dqmMemoryStats::float, edm::ParameterSet::getParameter(), highPtTracks_, monteCarloVertex_, nBinning_, nStubsmin_, nStubsPSmin_, nVtx_, pTMax_, pTMinTra_, trkChi2dofTightChi2_, trkPtTightChi2_, weight_, and zMax_.

◆ ~L1TkFastVertexProducer()

L1TkFastVertexProducer::~L1TkFastVertexProducer ( )
override

Definition at line 138 of file L1TkFastVertexProducer.cc.

138  {
139  // do anything here that needs to be done at desctruction time
140  // (e.g. close files, deallocate resources etc.)
141 }

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 348 of file L1TkFastVertexProducer.cc.

348  {
349  //The following says we do not know what parameters are allowed so do no validation
350  // Please change this to state exactly what you do use, even if it is no parameters
352  desc.setUnknown();
353  descriptions.addDefault(desc);
354 }

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

◆ produce()

void L1TkFastVertexProducer::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overrideprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 148 of file L1TkFastVertexProducer.cc.

148  {
149  using namespace edm;
150 
151  auto result = std::make_unique<TkPrimaryVertexCollection>();
152 
153  // Tracker Topology
154  const TrackerTopology& tTopo = iSetup.getData(topoToken_);
155 
156  TH1F htmp("htmp", ";z (cm); Tracks", nBinning_, xmin_, xmax_);
157  TH1F htmp_weight("htmp_weight", ";z (cm); Tracks", nBinning_, xmin_, xmax_);
158 
159  // ----------------------------------------------------------------------
160 
161  if (monteCarloVertex_) {
162  // MC info ... retrieve the zvertex
164  iEvent.getByToken(hepmcToken_, HepMCEvt);
165 
166  edm::Handle<std::vector<reco::GenParticle> > GenParticleHandle;
167  iEvent.getByToken(genparticleToken_, GenParticleHandle);
168 
169  const double mm = 0.1;
170  float zvtx_gen = -999;
171 
172  if (HepMCEvt.isValid()) {
173  // using HepMCEvt
174 
175  const HepMC::GenEvent* MCEvt = HepMCEvt->GetEvent();
176  for (HepMC::GenEvent::vertex_const_iterator ivertex = MCEvt->vertices_begin(); ivertex != MCEvt->vertices_end();
177  ++ivertex) {
178  bool hasParentVertex = false;
179 
180  // Loop over the parents looking to see if they are coming from a production vertex
181  for (HepMC::GenVertex::particle_iterator iparent = (*ivertex)->particles_begin(HepMC::parents);
182  iparent != (*ivertex)->particles_end(HepMC::parents);
183  ++iparent)
184  if ((*iparent)->production_vertex()) {
185  hasParentVertex = true;
186  break;
187  }
188 
189  // Reject those vertices with parent vertices
190  if (hasParentVertex)
191  continue;
192  // Get the position of the vertex
193  HepMC::FourVector pos = (*ivertex)->position();
194  zvtx_gen = pos.z() * mm;
195  break; // there should be one single primary vertex
196  } // end loop over gen vertices
197 
198  } else if (GenParticleHandle.isValid()) {
199  for (const auto& genpart : *GenParticleHandle) {
200  int status = genpart.status();
201  if (status != 3)
202  continue;
203  if (genpart.numberOfMothers() == 0)
204  continue; // the incoming hadrons
205  float part_zvertex = genpart.vz();
206  zvtx_gen = part_zvertex;
207  break; //
208  }
209  } else {
210  throw cms::Exception("L1TkFastVertexProducer")
211  << "\nerror: try to retrieve the MC vertex (monteCarloVertex_ = True) "
212  << "\nbut the input file contains neither edm::HepMCProduct> nor vector<reco::GenParticle>. Exit"
213  << std::endl;
214  }
215 
216  TkPrimaryVertex genvtx(zvtx_gen, -999.);
217 
218  result->push_back(genvtx);
219  iEvent.put(std::move(result));
220  return;
221  }
222 
223  edm::Handle<L1TTTrackCollectionType> L1TTTrackHandle;
224  iEvent.getByToken(trackToken_, L1TTTrackHandle);
225 
226  if (!L1TTTrackHandle.isValid()) {
227  throw cms::Exception("L1TkFastVertexProducer")
228  << "\nWarning: L1TkTrackCollection with not found in the event. Exit" << std::endl;
229  return;
230  }
231 
232  for (const auto& track : *L1TTTrackHandle) {
233  float z = track.POCA().z();
234  float chi2 = track.chi2();
235  float pt = track.momentum().perp();
236  float eta = track.momentum().eta();
237 
238  //..............................................................
239  float wt = pow(pt, weight_); // calculating the weight for tks in as pt^0,pt^1 or pt^2 based on weight_
240 
241  if (std::abs(z) > zMax_)
242  continue;
243  if (chi2 > chi2Max_)
244  continue;
245  if (pt < pTMinTra_)
246  continue;
247 
248  // saturation or truncation :
249  if (pTMax_ > 0 && pt > pTMax_) {
250  if (highPtTracks_ == 0)
251  continue; // ignore this track
252  if (highPtTracks_ == 1)
253  pt = pTMax_; // saturate
254  }
255 
256  // get the number of stubs and the number of stubs in PS layers
257  float nPS = 0.; // number of stubs in PS modules
258  float nstubs = 0;
259 
260  // get pointers to stubs associated to the L1 track
261  const std::vector<edm::Ref<edmNew::DetSetVector<TTStub<Ref_Phase2TrackerDigi_> >, TTStub<Ref_Phase2TrackerDigi_> > >&
262  theStubs = track.getStubRefs();
263 
264  int tmp_trk_nstub = (int)theStubs.size();
265  if (tmp_trk_nstub < 0) {
266  LogTrace("L1TkFastVertexProducer")
267  << " ... could not retrieve the vector of stubs in L1TkFastVertexProducer::SumPtVertex " << std::endl;
268  continue;
269  }
270 
271  // loop over the stubs
272  for (const auto& stub : theStubs) {
273  nstubs++;
274  bool isPS = false;
275  DetId detId(stub->getDetId());
276  if (detId.det() == DetId::Detector::Tracker) {
277  if (detId.subdetId() == StripSubdetector::TOB && tTopo.tobLayer(detId) <= 3)
278  isPS = true;
279  else if (detId.subdetId() == StripSubdetector::TID && tTopo.tidRing(detId) <= 9)
280  isPS = true;
281  }
282  if (isPS)
283  nPS++;
284  } // end loop over stubs
285  if (nstubs < nStubsmin_)
286  continue;
287  if (nPS < nStubsPSmin_)
288  continue;
289 
290  // quality cuts from Louise S, based on the pt-stub compatibility (June 20, 2014)
291  int trk_nstub = (int)track.getStubRefs().size();
292  float chi2dof = chi2 / (2 * trk_nstub - 4);
293 
294  if (doPtComp_) {
295  float trk_consistency = track.stubPtConsistency();
296  if (trk_nstub == 4) {
297  if (std::abs(eta) < 2.2 && trk_consistency > 10)
298  continue;
299  else if (std::abs(eta) > 2.2 && chi2dof > 5.0)
300  continue;
301  }
302  }
303  if (doTightChi2_) {
304  if (pt > trkPtTightChi2_ && chi2dof > trkChi2dofTightChi2_)
305  continue;
306  }
307 
308  htmp.Fill(z);
309  htmp_weight.Fill(z, wt); // changed from "pt" to "wt" which is some power of pt (0,1 or 2)
310 
311  } // end loop over tracks
312 
313  // sliding windows... maximize bin i + i-1 + i+1
314 
315  float zvtx_sliding;
316  float sigma_max;
317  int imax;
318  int nb = htmp.GetNbinsX();
319  std::vector<int> found;
320  found.reserve(nVtx_);
321  for (int ivtx = 0; ivtx < nVtx_; ivtx++) {
322  zvtx_sliding = -999;
323  sigma_max = -999;
324  imax = -999;
325  for (int i = 2; i <= nb - 1; i++) {
326  float a0 = htmp_weight.GetBinContent(i - 1);
327  float a1 = htmp_weight.GetBinContent(i);
328  float a2 = htmp_weight.GetBinContent(i + 1);
329  float sigma = a0 + a1 + a2;
330  if ((sigma > sigma_max) && (find(found.begin(), found.end(), i) == found.end())) {
331  sigma_max = sigma;
332  imax = i;
333  float z0 = htmp_weight.GetBinCenter(i - 1);
334  float z1 = htmp_weight.GetBinCenter(i);
335  float z2 = htmp_weight.GetBinCenter(i + 1);
336  zvtx_sliding = (a0 * z0 + a1 * z1 + a2 * z2) / sigma;
337  }
338  }
339  found.push_back(imax);
340  TkPrimaryVertex vtx4(zvtx_sliding, sigma_max);
341  result->push_back(vtx4);
342  }
343 
344  iEvent.put(std::move(result));
345 }

References a0, testProducerWithPsetDescEmpty_cfi::a2, funct::abs(), hltPixelTracks_cff::chi2, chi2Max_, doPtComp_, doTightChi2_, PVValHelper::eta, Exception, spr::find(), newFWLiteAna::found, genparticleToken_, edm::EventSetup::getData(), edm::HepMCProduct::GetEvent(), hepmcToken_, highPtTracks_, mps_fire::i, iEvent, createfilelist::int, edm::HandleBase::isValid(), LogTrace, monteCarloVertex_, eostools::move(), nBinning_, nStubsmin_, nStubsPSmin_, nVtx_, parents, funct::pow(), DiDispStaMuonMonitor_cfi::pt, pTMax_, pTMinTra_, mps_fire::result, mps_update::status, StripSubdetector::TID, TrackerTopology::tidRing(), StripSubdetector::TOB, TrackerTopology::tobLayer(), topoToken_, HLT_FULL_cff::track, align::Tracker, trackToken_, trkChi2dofTightChi2_, trkPtTightChi2_, weight_, xmax_, xmin_, z, HLTMuonOfflineAnalyzer_cfi::z0, testProducerWithPsetDescEmpty_cfi::z2, and zMax_.

Member Data Documentation

◆ chi2Max_

float L1TkFastVertexProducer::chi2Max_
private

Definition at line 66 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ DeltaZ

float L1TkFastVertexProducer::DeltaZ
private

Definition at line 65 of file L1TkFastVertexProducer.cc.

◆ doPtComp_

bool L1TkFastVertexProducer::doPtComp_
private

Definition at line 81 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ doTightChi2_

bool L1TkFastVertexProducer::doTightChi2_
private

Definition at line 82 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ genparticleToken_

const edm::EDGetTokenT<std::vector<reco::GenParticle> > L1TkFastVertexProducer::genparticleToken_
private

Definition at line 92 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ hepmcToken_

const edm::EDGetTokenT<edm::HepMCProduct> L1TkFastVertexProducer::hepmcToken_
private

Definition at line 91 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ highPtTracks_

int L1TkFastVertexProducer::highPtTracks_
private

Definition at line 70 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ monteCarloVertex_

bool L1TkFastVertexProducer::monteCarloVertex_
private

Definition at line 78 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ nBinning_

int L1TkFastVertexProducer::nBinning_
private

Definition at line 76 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ nStubsmin_

int L1TkFastVertexProducer::nStubsmin_
private

Definition at line 73 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ nStubsPSmin_

int L1TkFastVertexProducer::nStubsPSmin_
private

Definition at line 74 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ nVtx_

int L1TkFastVertexProducer::nVtx_
private

Definition at line 72 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ pTMax_

float L1TkFastVertexProducer::pTMax_
private

Definition at line 69 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ pTMinTra_

float L1TkFastVertexProducer::pTMinTra_
private

Definition at line 67 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ topoToken_

const edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> L1TkFastVertexProducer::topoToken_
private

Definition at line 94 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ trackToken_

const edm::EDGetTokenT<std::vector<TTTrack<Ref_Phase2TrackerDigi_> > > L1TkFastVertexProducer::trackToken_
private

Definition at line 93 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ trkChi2dofTightChi2_

float L1TkFastVertexProducer::trkChi2dofTightChi2_
private

Definition at line 84 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ trkPtTightChi2_

float L1TkFastVertexProducer::trkPtTightChi2_
private

Definition at line 83 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ weight_

int L1TkFastVertexProducer::weight_
private

Definition at line 86 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

◆ xmax_

constexpr static float L1TkFastVertexProducer::xmax_ = +30
staticconstexprprivate

Definition at line 89 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ xmin_

constexpr static float L1TkFastVertexProducer::xmin_ = -30
staticconstexprprivate

Definition at line 88 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ zMax_

float L1TkFastVertexProducer::zMax_
private

Definition at line 64 of file L1TkFastVertexProducer.cc.

Referenced by L1TkFastVertexProducer(), and produce().

L1TkFastVertexProducer::monteCarloVertex_
bool monteCarloVertex_
Definition: L1TkFastVertexProducer.cc:78
mps_fire.i
i
Definition: mps_fire.py:428
edm::ESInputTag
Definition: ESInputTag.h:87
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11724
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
L1TkFastVertexProducer::nStubsPSmin_
int nStubsPSmin_
Definition: L1TkFastVertexProducer.cc:74
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
mps_update.status
status
Definition: mps_update.py:68
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackerTopology
Definition: TrackerTopology.h:16
pos
Definition: PixelAliasList.h:18
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
TTTrack
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
L1TkFastVertexProducer::weight_
int weight_
Definition: L1TkFastVertexProducer.cc:86
L1TkFastVertexProducer::topoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
Definition: L1TkFastVertexProducer.cc:94
L1TkFastVertexProducer::doTightChi2_
bool doTightChi2_
Definition: L1TkFastVertexProducer.cc:82
hltPixelTracks_cff.chi2
chi2
Definition: hltPixelTracks_cff.py:25
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
newFWLiteAna.found
found
Definition: newFWLiteAna.py:118
edm::Handle< edm::HepMCProduct >
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
L1TkFastVertexProducer::xmin_
constexpr static float xmin_
Definition: L1TkFastVertexProducer.cc:88
testProducerWithPsetDescEmpty_cfi.a2
a2
Definition: testProducerWithPsetDescEmpty_cfi.py:35
align::Tracker
Definition: StructureType.h:70
testProducerWithPsetDescEmpty_cfi.z2
z2
Definition: testProducerWithPsetDescEmpty_cfi.py:41
DetId
Definition: DetId.h:17
L1TkFastVertexProducer::pTMinTra_
float pTMinTra_
Definition: L1TkFastVertexProducer.cc:67
L1TkFastVertexProducer::nBinning_
int nBinning_
Definition: L1TkFastVertexProducer.cc:76
PVValHelper::eta
Definition: PVValidationHelpers.h:70
L1TkFastVertexProducer::nStubsmin_
int nStubsmin_
Definition: L1TkFastVertexProducer.cc:73
TTStub
Class to store the L1 Track Trigger stubs.
Definition: TTStub.h:22
DDAxes::z
L1TkFastVertexProducer::trkPtTightChi2_
float trkPtTightChi2_
Definition: L1TkFastVertexProducer.cc:83
L1TkFastVertexProducer::trackToken_
const edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > trackToken_
Definition: L1TkFastVertexProducer.cc:93
HLTMuonOfflineAnalyzer_cfi.z0
z0
Definition: HLTMuonOfflineAnalyzer_cfi.py:98
L1TkFastVertexProducer::genparticleToken_
const edm::EDGetTokenT< std::vector< reco::GenParticle > > genparticleToken_
Definition: L1TkFastVertexProducer.cc:92
L1TkFastVertexProducer::nVtx_
int nVtx_
Definition: L1TkFastVertexProducer.cc:72
L1TkFastVertexProducer::highPtTracks_
int highPtTracks_
Definition: L1TkFastVertexProducer.cc:70
L1TkFastVertexProducer::pTMax_
float pTMax_
Definition: L1TkFastVertexProducer.cc:69
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
L1TkFastVertexProducer::trkChi2dofTightChi2_
float trkChi2dofTightChi2_
Definition: L1TkFastVertexProducer.cc:84
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::HepMCProduct::GetEvent
const HepMC::GenEvent * GetEvent() const
Definition: HepMCProduct.h:37
L1TkFastVertexProducer::xmax_
constexpr static float xmax_
Definition: L1TkFastVertexProducer.cc:89
L1TkFastVertexProducer::zMax_
float zMax_
Definition: L1TkFastVertexProducer.cc:64
l1t::TkPrimaryVertex
Definition: TkPrimaryVertex.h:14
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
L1TkFastVertexProducer::hepmcToken_
const edm::EDGetTokenT< edm::HepMCProduct > hepmcToken_
Definition: L1TkFastVertexProducer.cc:91
Exception
Definition: hltDiff.cc:245
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
L1TkFastVertexProducer::chi2Max_
float chi2Max_
Definition: L1TkFastVertexProducer.cc:66
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
L1TkFastVertexProducer::doPtComp_
bool doPtComp_
Definition: L1TkFastVertexProducer.cc:81
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
mps_fire.result
result
Definition: mps_fire.py:311
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:234
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:159
parents
TPRegexp parents
Definition: eve_filter.cc:21
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
a0
static constexpr float a0
Definition: L1EGammaCrystalsEmulatorProducer.cc:82
edm::InputTag
Definition: InputTag.h:15
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17