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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
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
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
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

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

Static Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
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)
 
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 ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, 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)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 48 of file L1TkFastVertexProducer.cc.

Member Typedef Documentation

◆ L1TTTrackCollectionType

Definition at line 51 of file L1TkFastVertexProducer.cc.

◆ L1TTTrackType

Definition at line 50 of file L1TkFastVertexProducer.cc.

Constructor & Destructor Documentation

◆ L1TkFastVertexProducer()

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

Definition at line 102 of file L1TkFastVertexProducer.cc.

103  : zMax_((float)iConfig.getParameter<double>("ZMAX")),
104  chi2Max_((float)iConfig.getParameter<double>("CHI2MAX")),
105  pTMinTra_((float)iConfig.getParameter<double>("PTMINTRA")),
106  pTMax_((float)iConfig.getParameter<double>("PTMAX")),
107  highPtTracks_(iConfig.getParameter<int>("HighPtTracks")),
108  nVtx_(iConfig.getParameter<int>("nVtx")),
109  nStubsmin_(iConfig.getParameter<int>("nStubsmin")),
110  nStubsPSmin_(iConfig.getParameter<int>("nStubsPSmin")),
111  nBinning_(iConfig.getParameter<int>("nBinning")),
112  monteCarloVertex_(iConfig.getParameter<bool>("MonteCarloVertex")),
113  doPtComp_(iConfig.getParameter<bool>("doPtComp")),
114  doTightChi2_(iConfig.getParameter<bool>("doTightChi2")),
115  trkPtTightChi2_((float)iConfig.getParameter<double>("trk_ptTightChi2")),
116  trkChi2dofTightChi2_((float)iConfig.getParameter<double>("trk_chi2dofTightChi2")),
117  weight_(iConfig.getParameter<int>("WEIGHT")),
118  hepmcToken_(consumes<edm::HepMCProduct>(iConfig.getParameter<edm::InputTag>("HepMCInputTag"))),
120  consumes<std::vector<reco::GenParticle> >(iConfig.getParameter<edm::InputTag>("GenParticleInputTag"))),
122  iConfig.getParameter<edm::InputTag>("L1TrackInputTag"))),
123  topoToken_(esConsumes<TrackerTopology, TrackerTopologyRcd>(edm::ESInputTag("", ""))) {
124  produces<TkPrimaryVertexCollection>();
125 }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::EDGetTokenT< std::vector< TTTrack< Ref_Phase2TrackerDigi_ > > > trackToken_
const edm::EDGetTokenT< std::vector< reco::GenParticle > > genparticleToken_
Class to store the L1 Track Trigger tracks.
Definition: TTTrack.h:29
const edm::EDGetTokenT< edm::HepMCProduct > hepmcToken_

◆ ~L1TkFastVertexProducer()

L1TkFastVertexProducer::~L1TkFastVertexProducer ( )
override

Definition at line 127 of file L1TkFastVertexProducer.cc.

127  {
128  // do anything here that needs to be done at desctruction time
129  // (e.g. close files, deallocate resources etc.)
130 }

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 337 of file L1TkFastVertexProducer.cc.

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

337  {
338  //The following says we do not know what parameters are allowed so do no validation
339  // Please change this to state exactly what you do use, even if it is no parameters
341  desc.setUnknown();
342  descriptions.addDefault(desc);
343 }
void addDefault(ParameterSetDescription const &psetDescription)

◆ produce()

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

Implements edm::global::EDProducerBase.

Definition at line 137 of file L1TkFastVertexProducer.cc.

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, StripSubdetector::TOB, topoToken_, HLT_2022v12_cff::track, align::Tracker, trackToken_, trkChi2dofTightChi2_, trkPtTightChi2_, weight_, xmax_, xmin_, z, HLTMuonOfflineAnalyzer_cfi::z0, testProducerWithPsetDescEmpty_cfi::z2, and zMax_.

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

Member Data Documentation

◆ chi2Max_

const float L1TkFastVertexProducer::chi2Max_
private

Definition at line 66 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ DeltaZ

float L1TkFastVertexProducer::DeltaZ
private

Definition at line 63 of file L1TkFastVertexProducer.cc.

◆ doPtComp_

const bool L1TkFastVertexProducer::doPtComp_
private

Definition at line 76 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ doTightChi2_

const bool L1TkFastVertexProducer::doTightChi2_
private

Definition at line 77 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ genparticleToken_

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

Definition at line 86 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ hepmcToken_

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

Definition at line 85 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ highPtTracks_

int L1TkFastVertexProducer::highPtTracks_
private

Definition at line 69 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ monteCarloVertex_

bool L1TkFastVertexProducer::monteCarloVertex_
private

Definition at line 74 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ nBinning_

int L1TkFastVertexProducer::nBinning_
private

Definition at line 73 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ nStubsmin_

const int L1TkFastVertexProducer::nStubsmin_
private

Definition at line 71 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ nStubsPSmin_

const int L1TkFastVertexProducer::nStubsPSmin_
private

Definition at line 72 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ nVtx_

int L1TkFastVertexProducer::nVtx_
private

Definition at line 70 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ pTMax_

const float L1TkFastVertexProducer::pTMax_
private

Definition at line 68 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ pTMinTra_

const float L1TkFastVertexProducer::pTMinTra_
private

Definition at line 67 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ topoToken_

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

Definition at line 88 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ trackToken_

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

Definition at line 87 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ trkChi2dofTightChi2_

float L1TkFastVertexProducer::trkChi2dofTightChi2_
private

Definition at line 79 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ trkPtTightChi2_

float L1TkFastVertexProducer::trkPtTightChi2_
private

Definition at line 78 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ weight_

int L1TkFastVertexProducer::weight_
private

Definition at line 80 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ xmax_

constexpr float L1TkFastVertexProducer::xmax_ = +30
staticprivate

Definition at line 83 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ xmin_

constexpr float L1TkFastVertexProducer::xmin_ = -30
staticprivate

Definition at line 82 of file L1TkFastVertexProducer.cc.

Referenced by produce().

◆ zMax_

const float L1TkFastVertexProducer::zMax_
private

Definition at line 65 of file L1TkFastVertexProducer.cc.

Referenced by produce().