CMS 3D CMS Logo

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

Public Member Functions

void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 
 TrackTimeValueMapProducer (const edm::ParameterSet &)
 
 ~TrackTimeValueMapProducer () 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::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)
 

Private Member Functions

float extractTrackVertexTime (const TrackingParticle &, const reco::TransientTrack &) const
 

Private Attributes

const std::vector< edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > > associators_
 
const float etaMax_
 
const float etaMaxForPtThreshold_
 
const float etaMin_
 
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryInfo_
 
const float pMin_
 
const float ptMin_
 
std::vector< std::unique_ptr< const ResolutionModel > > resolutions_
 
const edm::EDGetTokenT< TrackingParticleCollectiontrackingParticles_
 
const edm::EDGetTokenT< TrackingVertexCollectiontrackingVertices_
 
const edm::EDGetTokenT< edm::View< reco::Track > > tracks_
 
const std::string tracksName_
 

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
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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 41 of file TrackTimeValueMapProducer.cc.

Constructor & Destructor Documentation

◆ TrackTimeValueMapProducer()

TrackTimeValueMapProducer::TrackTimeValueMapProducer ( const edm::ParameterSet conf)

Definition at line 84 of file TrackTimeValueMapProducer.cc.

86  tracksName_(conf.getParameter<edm::InputTag>("trackSrc").label()),
87  trackingParticles_(consumes<TrackingParticleCollection>(conf.getParameter<edm::InputTag>("trackingParticleSrc"))),
88  trackingVertices_(consumes<TrackingVertexCollection>(conf.getParameter<edm::InputTag>("trackingVertexSrc"))),
90  consumes<std::vector<PileupSummaryInfo>>(conf.getParameter<edm::InputTag>("pileupSummaryInfo"))),
92  conf.getParameter<std::vector<edm::InputTag>>("associators"),
93  [this](const edm::InputTag &tag) { return this->consumes<reco::TrackToTrackingParticleAssociator>(tag); })),
94  etaMin_(conf.getParameter<double>("etaMin")),
95  etaMax_(conf.getParameter<double>("etaMax")),
96  ptMin_(conf.getParameter<double>("ptMin")),
97  pMin_(conf.getParameter<double>("pMin")),
98  etaMaxForPtThreshold_(conf.getParameter<double>("etaMaxForPtThreshold")) {
99  // setup resolution models
100  const std::vector<edm::ParameterSet> &resos = conf.getParameterSetVector("resolutionModels");
101  for (const auto &reso : resos) {
102  const std::string &name = reso.getParameter<std::string>("modelName");
103  resolutions_.emplace_back(ResolutionModelFactory::get()->create(name, reso));
104 
105  // times and time resolutions for general tracks
106  produces<edm::ValueMap<float>>(tracksName_ + name);
107  produces<edm::ValueMap<float>>(tracksName_ + name + resolution);
108  }
109 }

References GlobalPosition_Frontier_DevDB_cff::tag.

◆ ~TrackTimeValueMapProducer()

TrackTimeValueMapProducer::~TrackTimeValueMapProducer ( )
inlineoverride

Definition at line 44 of file TrackTimeValueMapProducer.cc.

44 {}

Member Function Documentation

◆ extractTrackVertexTime()

float TrackTimeValueMapProducer::extractTrackVertexTime ( const TrackingParticle tp,
const reco::TransientTrack tt 
) const
private

Definition at line 225 of file TrackTimeValueMapProducer.cc.

226  {
227  int pdgid = tp.pdgId();
228  const auto &tvertex = tp.parentVertex();
229  math::XYZTLorentzVectorD result = tvertex->position();
230 
231  // account for secondary vertices...
232  if (tvertex->nSourceTracks() && tvertex->sourceTracks()[0]->pdgId() == pdgid) {
233  auto pvertex = tvertex->sourceTracks()[0]->parentVertex();
234  result = pvertex->position();
235  while (pvertex->nSourceTracks() && pvertex->sourceTracks()[0]->pdgId() == pdgid) {
236  pvertex = pvertex->sourceTracks()[0]->parentVertex();
237  result = pvertex->position();
238  }
239  }
240 
241  float time = result.T() * CLHEP::second;
242  // correct for time of flight from track reference position
243  GlobalPoint result_pos(result.x(), result.y(), result.z());
244  const auto &tkstate = tt.trajectoryStateClosestToPoint(result_pos);
245  float tkphi = tkstate.momentum().phi();
246  float tkz = tkstate.position().z();
247  float dphi = reco::deltaPhi(tkphi, tt.track().phi());
248  float dz = tkz - tt.track().vz();
249 
250  float radius = 100. * tt.track().pt() / (0.3 * tt.field()->inTesla(GlobalPoint(0, 0, 0)).z());
251  float pathlengthrphi = tt.track().charge() * dphi * radius;
252 
253  float pathlength = std::sqrt(pathlengthrphi * pathlengthrphi + dz * dz);
254  float p = tt.track().p();
255 
256  float speed = std::sqrt(1. / (1. + m_pion / p)) * CLHEP::c_light / CLHEP::cm; // speed in cm/ns
257  float dt = pathlength / speed;
258 
259  return time - dt;
260 }

References reco::deltaPhi(), dt, PVValHelper::dz, AlCaHLTBitMon_ParallelJobs::p, EgammaValidation_cff::pdgid, CosmicsPD_Skims::radius, mps_fire::result, edm::second(), HLTSiStripMonitoring_cff::speed, mathSSE::sqrt(), ntuplemaker::time, cmsswSequenceInfo::tp, and groupFilesInBlocks::tt.

Referenced by produce().

◆ produce()

void TrackTimeValueMapProducer::produce ( edm::StreamID  sid,
edm::Event evt,
const edm::EventSetup es 
) const
overridevirtual

Implements edm::global::EDProducerBase.

Definition at line 111 of file TrackTimeValueMapProducer.cc.

111  {
112  // get sim track associators
113  std::vector<edm::Handle<reco::TrackToTrackingParticleAssociator>> associators;
114  for (const auto &token : associators_) {
115  associators.emplace_back();
116  auto &back = associators.back();
117  evt.getByToken(token, back);
118  }
119 
120  std::vector<float> generalTrackTimes;
121 
122  // get track collections
123  edm::Handle<edm::View<reco::Track>> TrackCollectionH;
124  evt.getByToken(tracks_, TrackCollectionH);
125  const edm::View<reco::Track> &TrackCollection = *TrackCollectionH;
126 
127  // get tracking particle collections
129  evt.getByToken(trackingParticles_, TPCollectionH);
130 
132  evt.getByToken(pileupSummaryInfo_, pileupSummaryH);
133 
134  // transient track builder
136  es.get<TransientTrackRecord>().get("TransientTrackBuilder", theB);
137 
138  // associate the reco tracks / gsf Tracks
139  std::vector<reco::RecoToSimCollection> associatedTracks;
140  associatedTracks.reserve(associators.size());
141  for (const auto &associator : associators) {
142  associatedTracks.emplace_back(associator->associateRecoToSim(TrackCollectionH, TPCollectionH));
143  }
144 
145  double sumSimTime = 0.;
146  double sumSimTimeSq = 0.;
147  int nsim = 0;
148  for (const PileupSummaryInfo &puinfo : *pileupSummaryH) {
149  if (puinfo.getBunchCrossing() == 0) {
150  for (const float &time : puinfo.getPU_times()) {
151  double simtime = time;
152  sumSimTime += simtime;
153  sumSimTimeSq += simtime * simtime;
154  ++nsim;
155  }
156  break;
157  }
158  }
159 
160  double meanSimTime = sumSimTime / double(nsim);
161  double varSimTime = sumSimTimeSq / double(nsim) - meanSimTime * meanSimTime;
162  double rmsSimTime = std::sqrt(std::max(0.1 * 0.1, varSimTime));
163  std::normal_distribution<float> gausSimTime(meanSimTime, rmsSimTime);
164 
165  // get event-based seed for RNG
166  unsigned int runNum_uint = static_cast<unsigned int>(evt.id().run());
167  unsigned int lumiNum_uint = static_cast<unsigned int>(evt.id().luminosityBlock());
168  unsigned int evNum_uint = static_cast<unsigned int>(evt.id().event());
169  unsigned int tkChi2_uint = uint32_t(TrackCollection.empty() ? 0 : TrackCollection.refAt(0)->chi2() / 0.01);
170  std::uint32_t seed = tkChi2_uint + (lumiNum_uint << 10) + (runNum_uint << 20) + evNum_uint;
171  std::mt19937 rng(seed);
172 
173  for (unsigned itk = 0; itk < TrackCollection.size(); ++itk) {
174  const auto tkref = TrackCollection.refAt(itk);
175  reco::RecoToSimCollection::const_iterator track_tps = associatedTracks.back().end();
176 
177  for (const auto &association : associatedTracks) {
178  track_tps = association.find(tkref);
179  if (track_tps != association.end())
180  break;
181  }
182 
183  if (track_tps != associatedTracks.back().end() && track_tps->val.size() == 1) {
184  reco::TransientTrack tt = theB->build(*tkref);
185  float time = extractTrackVertexTime(*track_tps->val[0].first, tt);
186  generalTrackTimes.push_back(time);
187  } else {
188  float rndtime = gausSimTime(rng);
189  generalTrackTimes.push_back(rndtime);
190  if (track_tps != associatedTracks.back().end() && track_tps->val.size() > 1) {
191  LogDebug("TooManyTracks") << "track matched to " << track_tps->val.size() << " tracking particles!"
192  << std::endl;
193  }
194  }
195  }
196 
197  for (const auto &reso : resolutions_) {
198  const std::string &name = reso->name();
199  std::vector<float> times, resos;
200 
201  times.reserve(TrackCollection.size());
202  resos.reserve(TrackCollection.size());
203 
204  for (unsigned i = 0; i < TrackCollection.size(); ++i) {
205  const reco::Track &tk = TrackCollection[i];
206  const float absEta = std::abs(tk.eta());
207  bool inAcceptance = absEta < etaMax_ && absEta >= etaMin_ && tk.p() > pMin_ &&
208  (absEta > etaMaxForPtThreshold_ || tk.pt() > ptMin_);
209  if (inAcceptance) {
210  const float resolution = reso->getTimeResolution(tk);
211  std::normal_distribution<float> gausGeneralTime(generalTrackTimes[i], resolution);
212  times.push_back(gausGeneralTime(rng));
213  resos.push_back(resolution);
214  } else {
215  times.push_back(0.0f);
216  resos.push_back(-1.);
217  }
218  }
219 
220  writeValueMap(evt, TrackCollectionH, times, tracksName_ + name);
221  writeValueMap(evt, TrackCollectionH, resos, tracksName_ + name + resolution);
222  }
223 }

References funct::abs(), ctfWithMaterialTrackMCMatch_cfi::associator, simPFProducer_cfi::associators, associators_, TransientTrackBuilder::build(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >::const_iterator, reco::TrackBase::eta(), etaMaxForPtThreshold_, etaMin_, edm::EventID::event(), extractTrackVertexTime(), f, edm::EventSetup::get(), get, edm::Event::getByToken(), mps_fire::i, edm::EventBase::id(), LogDebug, edm::EventID::luminosityBlock(), SiStripPI::max, Skims_PA_cff::name, reco::TrackBase::p(), pileupSummaryInfo_, pMin_, reco::TrackBase::pt(), ptMin_, L1TObjectsTimingClient_cff::resolution, resolutions_, edm::EventID::run(), fileCollector::seed, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, ntuplemaker::time, unpackBuffers-CaloStage2::token, trackingParticles_, tracks_, tracksName_, and groupFilesInBlocks::tt.

Member Data Documentation

◆ associators_

const std::vector<edm::EDGetTokenT<reco::TrackToTrackingParticleAssociator> > TrackTimeValueMapProducer::associators_
private

Definition at line 56 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ etaMax_

const float TrackTimeValueMapProducer::etaMax_
private

Definition at line 58 of file TrackTimeValueMapProducer.cc.

◆ etaMaxForPtThreshold_

const float TrackTimeValueMapProducer::etaMaxForPtThreshold_
private

Definition at line 58 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ etaMin_

const float TrackTimeValueMapProducer::etaMin_
private

Definition at line 58 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ pileupSummaryInfo_

const edm::EDGetTokenT<std::vector<PileupSummaryInfo> > TrackTimeValueMapProducer::pileupSummaryInfo_
private

Definition at line 54 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ pMin_

const float TrackTimeValueMapProducer::pMin_
private

Definition at line 58 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ ptMin_

const float TrackTimeValueMapProducer::ptMin_
private

Definition at line 58 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ resolutions_

std::vector<std::unique_ptr<const ResolutionModel> > TrackTimeValueMapProducer::resolutions_
private

Definition at line 60 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ trackingParticles_

const edm::EDGetTokenT<TrackingParticleCollection> TrackTimeValueMapProducer::trackingParticles_
private

Definition at line 52 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ trackingVertices_

const edm::EDGetTokenT<TrackingVertexCollection> TrackTimeValueMapProducer::trackingVertices_
private

Definition at line 53 of file TrackTimeValueMapProducer.cc.

◆ tracks_

const edm::EDGetTokenT<edm::View<reco::Track> > TrackTimeValueMapProducer::tracks_
private

Definition at line 50 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

◆ tracksName_

const std::string TrackTimeValueMapProducer::tracksName_
private

Definition at line 51 of file TrackTimeValueMapProducer.cc.

Referenced by produce().

TrackTimeValueMapProducer::pMin_
const float pMin_
Definition: TrackTimeValueMapProducer.cc:58
mps_fire.i
i
Definition: mps_fire.py:428
TrackTimeValueMapProducer::resolutions_
std::vector< std::unique_ptr< const ResolutionModel > > resolutions_
Definition: TrackTimeValueMapProducer.cc:60
groupFilesInBlocks.tt
int tt
Definition: groupFilesInBlocks.py:144
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
reco::TrackBase::p
double p() const
momentum vector magnitude
Definition: TrackBase.h:631
reco::deltaPhi
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
simPFProducer_cfi.associators
associators
Definition: simPFProducer_cfi.py:16
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
hgcal::association
std::tuple< layerClusterToCaloParticle, caloParticleToLayerCluster > association
Definition: LayerClusterAssociatorByEnergyScoreImpl.h:44
TrackTimeValueMapProducer::etaMaxForPtThreshold_
const float etaMaxForPtThreshold_
Definition: TrackTimeValueMapProducer.cc:58
TrackTimeValueMapProducer::pileupSummaryInfo_
const edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryInfo_
Definition: TrackTimeValueMapProducer.cc:54
edm::second
U second(std::pair< T, U > const &p)
Definition: ParameterSet.cc:222
TrackTimeValueMapProducer::etaMax_
const float etaMax_
Definition: TrackTimeValueMapProducer.cc:58
beamerCreator.create
def create(alignables, pedeDump, additionalData, outputFile, config)
Definition: beamerCreator.py:44
edm::EventID::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: EventID.h:39
edm::Handle
Definition: AssociativeIterator.h:50
TrackTimeValueMapProducer::extractTrackVertexTime
float extractTrackVertexTime(const TrackingParticle &, const reco::TransientTrack &) const
Definition: TrackTimeValueMapProducer.cc:225
dt
float dt
Definition: AMPTWrapper.h:136
fileCollector.seed
seed
Definition: fileCollector.py:127
reco::TrackBase::pt
double pt() const
track transverse momentum
Definition: TrackBase.h:637
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
TrackTimeValueMapProducer::associators_
const std::vector< edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > > associators_
Definition: TrackTimeValueMapProducer.cc:56
TransientTrackRecord
Definition: TransientTrackRecord.h:11
reco::Track
Definition: Track.h:27
edm::ESHandle< TransientTrackBuilder >
L1TObjectsTimingClient_cff.resolution
resolution
Definition: L1TObjectsTimingClient_cff.py:52
edm::Event::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:531
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
ctfWithMaterialTrackMCMatch_cfi.associator
associator
Definition: ctfWithMaterialTrackMCMatch_cfi.py:7
TrackTimeValueMapProducer::trackingVertices_
const edm::EDGetTokenT< TrackingVertexCollection > trackingVertices_
Definition: TrackTimeValueMapProducer.cc:53
Point3DBase< float, GlobalTag >
cmsswSequenceInfo.tp
tp
Definition: cmsswSequenceInfo.py:17
edm::EventID::run
RunNumber_t run() const
Definition: EventID.h:38
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::vector_transform
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
Definition: transform.h:11
edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >::const_iterator
friend struct const_iterator
Definition: AssociationMap.h:274
edm::View
Definition: CaloClusterFwd.h:14
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
TrackTimeValueMapProducer::tracksName_
const std::string tracksName_
Definition: TrackTimeValueMapProducer.cc:51
reco::TrackBase::eta
double eta() const
pseudorapidity of momentum vector
Definition: TrackBase.h:652
edm::EventID::event
EventNumber_t event() const
Definition: EventID.h:40
HLTSiStripMonitoring_cff.speed
speed
Definition: HLTSiStripMonitoring_cff.py:22
TrackTimeValueMapProducer::trackingParticles_
const edm::EDGetTokenT< TrackingParticleCollection > trackingParticles_
Definition: TrackTimeValueMapProducer.cc:52
get
#define get
TrackTimeValueMapProducer::etaMin_
const float etaMin_
Definition: TrackTimeValueMapProducer.cc:58
reco::TransientTrack
Definition: TransientTrack.h:19
PVValHelper::dz
Definition: PVValidationHelpers.h:50
edm::EventBase::id
edm::EventID id() const
Definition: EventBase.h:59
TrackTimeValueMapProducer::ptMin_
const float ptMin_
Definition: TrackTimeValueMapProducer.cc:58
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TrackTimeValueMapProducer::tracks_
const edm::EDGetTokenT< edm::View< reco::Track > > tracks_
Definition: TrackTimeValueMapProducer.cc:50
edm::ParameterSet::getParameterSetVector
VParameterSet const & getParameterSetVector(std::string const &name) const
Definition: ParameterSet.cc:2160
TransientTrackBuilder::build
reco::TransientTrack build(const reco::Track *p) const
Definition: TransientTrackBuilder.cc:20
mps_fire.result
result
Definition: mps_fire.py:311
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:153
ntuplemaker.time
time
Definition: ntuplemaker.py:310
EgammaValidation_cff.pdgid
pdgid
Definition: EgammaValidation_cff.py:30
edm::InputTag
Definition: InputTag.h:15
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
PileupSummaryInfo
Definition: PileupSummaryInfo.h:22
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:318