CMS 3D CMS Logo

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

Public Member Functions

 MkFitInputConverter (edm::ParameterSet const &iConfig)
 
 ~MkFitInputConverter () override=default
 
- 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)
 

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 Types

using SMatrixSym33 = ROOT::Math::SMatrix< float, 3, 3, ROOT::Math::MatRepSym< float, 3 > >
 
using SMatrixSym66 = ROOT::Math::SMatrix< float, 6, 6, ROOT::Math::MatRepSym< float, 6 > >
 
using SVector3 = ROOT::Math::SVector< float, 3 >
 

Private Member Functions

template<typename HitCollection >
void convertHits (const HitCollection &hits, std::vector< mkfit::HitVec > &mkFitHits, MkFitHitIndexMap &hitIndexMap, int &totalHits, const TrackerTopology &ttopo, const TransientTrackingRecHitBuilder &ttrhBuilder, const mkfit::LayerNumberConverter &lnc) const
 
mkfit::TrackVec convertSeeds (const edm::View< TrajectorySeed > &seeds, const MkFitHitIndexMap &hitIndexMap, const TransientTrackingRecHitBuilder &ttrhBuilder, const MagneticField &mf) const
 
bool passCCC (const SiPixelRecHit &hit, const DetId hitId) const
 
bool passCCC (const SiStripRecHit2D &hit, const DetId hitId) const
 
void produce (edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
 

Private Attributes

edm::ESGetToken< MagneticField, IdealMagneticFieldRecordmfToken_
 
const float minGoodStripCharge_
 
edm::EDGetTokenT< SiPixelRecHitCollectionpixelRecHitToken_
 
edm::EDPutTokenT< MkFitInputWrapperputToken_
 
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedToken_
 
edm::EDGetTokenT< SiStripRecHit2DCollectionstripRphiRecHitToken_
 
edm::EDGetTokenT< SiStripRecHit2DCollectionstripStereoRecHitToken_
 
edm::ESGetToken< TrackerTopology, TrackerTopologyRcdttopoToken_
 
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecordttrhBuilderToken_
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = 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 35 of file MkFitInputConverter.cc.

Member Typedef Documentation

◆ SMatrixSym33

using MkFitInputConverter::SMatrixSym33 = ROOT::Math::SMatrix<float, 3, 3, ROOT::Math::MatRepSym<float, 3> >
private

Definition at line 63 of file MkFitInputConverter.cc.

◆ SMatrixSym66

using MkFitInputConverter::SMatrixSym66 = ROOT::Math::SMatrix<float, 6, 6, ROOT::Math::MatRepSym<float, 6> >
private

Definition at line 64 of file MkFitInputConverter.cc.

◆ SVector3

using MkFitInputConverter::SVector3 = ROOT::Math::SVector<float, 3>
private

Definition at line 62 of file MkFitInputConverter.cc.

Constructor & Destructor Documentation

◆ MkFitInputConverter()

MkFitInputConverter::MkFitInputConverter ( edm::ParameterSet const &  iConfig)
explicit

Definition at line 77 of file MkFitInputConverter.cc.

78  : pixelRecHitToken_{consumes<SiPixelRecHitCollection>(iConfig.getParameter<edm::InputTag>("pixelRecHits"))},
80  consumes<SiStripRecHit2DCollection>(iConfig.getParameter<edm::InputTag>("stripRphiRecHits"))},
82  consumes<SiStripRecHit2DCollection>(iConfig.getParameter<edm::InputTag>("stripStereoRecHits"))},
83  seedToken_{consumes<edm::View<TrajectorySeed>>(iConfig.getParameter<edm::InputTag>("seeds"))},
84  ttrhBuilderToken_{esConsumes<TransientTrackingRecHitBuilder, TransientRecHitRecord>(
85  iConfig.getParameter<edm::ESInputTag>("ttrhBuilder"))},
86  ttopoToken_{esConsumes<TrackerTopology, TrackerTopologyRcd>()},
87  mfToken_{esConsumes<MagneticField, IdealMagneticFieldRecord>()},
88  putToken_{produces<MkFitInputWrapper>()},
89  minGoodStripCharge_{static_cast<float>(
90  iConfig.getParameter<edm::ParameterSet>("minGoodStripCharge").getParameter<double>("value"))} {}

References edm::ParameterSet::getParameter().

◆ ~MkFitInputConverter()

MkFitInputConverter::~MkFitInputConverter ( )
overridedefault

Member Function Documentation

◆ convertHits()

template<typename HitCollection >
void MkFitInputConverter::convertHits ( const HitCollection hits,
std::vector< mkfit::HitVec > &  mkFitHits,
MkFitHitIndexMap hitIndexMap,
int &  totalHits,
const TrackerTopology ttopo,
const TransientTrackingRecHitBuilder ttrhBuilder,
const mkfit::LayerNumberConverter &  lnc 
) const
private

Definition at line 136 of file MkFitInputConverter.cc.

142  {
143  if (hits.empty())
144  return;
145  auto isPlusSide = [&ttopo](const DetId& detid) {
146  return ttopo.side(detid) == static_cast<unsigned>(TrackerDetSide::PosEndcap);
147  };
148 
149  {
150  const DetId detid{hits.ids().back()};
151  const auto ilay =
152  lnc.convertLayerNumber(detid.subdetId(), ttopo.layer(detid), false, ttopo.isStereo(detid), isPlusSide(detid));
153  // Do initial reserves to minimize further memory allocations
154  const auto& lastClusterRef = hits.data().back().firstClusterRef();
155  hitIndexMap.resizeByClusterIndex(lastClusterRef.id(), lastClusterRef.index());
156  hitIndexMap.increaseLayerSize(ilay, hits.detsetSize(hits.ids().size() - 1));
157  }
158 
159  for (const auto& detset : hits) {
160  const DetId detid = detset.detId();
161  const auto subdet = detid.subdetId();
162  const auto layer = ttopo.layer(detid);
163  const auto isStereo = ttopo.isStereo(detid);
164  const auto ilay = lnc.convertLayerNumber(subdet, layer, false, isStereo, isPlusSide(detid));
165  hitIndexMap.increaseLayerSize(ilay, detset.size()); // to minimize memory allocations
166 
167  for (const auto& hit : detset) {
168  if (!passCCC(hit, detid))
169  continue;
170 
171  const auto& gpos = hit.globalPosition();
172  SVector3 pos(gpos.x(), gpos.y(), gpos.z());
173  const auto& gerr = hit.globalPositionError();
175  err.At(0, 0) = gerr.cxx();
176  err.At(1, 1) = gerr.cyy();
177  err.At(2, 2) = gerr.czz();
178  err.At(0, 1) = gerr.cyx();
179  err.At(0, 2) = gerr.czx();
180  err.At(1, 2) = gerr.czy();
181 
182  LogTrace("MkFitInputConverter") << "Adding hit detid " << detid.rawId() << " subdet " << subdet << " layer "
183  << layer << " isStereo " << isStereo << " zplus " << isPlusSide(detid) << " ilay "
184  << ilay;
185 
186  hitIndexMap.insert(hit.firstClusterRef().id(),
187  hit.firstClusterRef().index(),
188  MkFitHitIndexMap::MkFitHit{static_cast<int>(mkFitHits[ilay].size()), ilay},
189  &hit);
190  mkFitHits[ilay].emplace_back(pos, err, totalHits);
191  ++totalHits;
192  }
193  }
194 }

References submitPVResolutionJobs::err, hfClusterShapes_cfi::hits, hit::id, MkFitHitIndexMap::increaseLayerSize(), MkFitHitIndexMap::insert(), TrackerTopology::isStereo(), TrackerTopology::layer(), LogTrace, passCCC(), PosEndcap, DetId::rawId(), MkFitHitIndexMap::resizeByClusterIndex(), TrackerTopology::side(), findQualityFiles::size, and DetId::subdetId().

Referenced by produce().

◆ convertSeeds()

mkfit::TrackVec MkFitInputConverter::convertSeeds ( const edm::View< TrajectorySeed > &  seeds,
const MkFitHitIndexMap hitIndexMap,
const TransientTrackingRecHitBuilder ttrhBuilder,
const MagneticField mf 
) const
private

Definition at line 196 of file MkFitInputConverter.cc.

199  {
201  ret.reserve(seeds.size());
202  int index = 0;
203  for (const auto& seed : seeds) {
204  auto const& hitRange = seed.recHits();
205  const auto lastRecHit = ttrhBuilder.build(&*(hitRange.end() - 1));
206  const auto tsos = trajectoryStateTransform::transientState(seed.startingState(), lastRecHit->surface(), &mf);
207  const auto& stateGlobal = tsos.globalParameters();
208  const auto& gpos = stateGlobal.position();
209  const auto& gmom = stateGlobal.momentum();
210  SVector3 pos(gpos.x(), gpos.y(), gpos.z());
211  SVector3 mom(gmom.x(), gmom.y(), gmom.z());
212 
213  const auto cartError = tsos.cartesianError(); // returns a temporary, so can't chain with the following line
214  const auto& cov = cartError.matrix();
216  for (int i = 0; i < 6; ++i) {
217  for (int j = i; j < 6; ++j) {
218  err.At(i, j) = cov[i][j];
219  }
220  }
221 
222  mkfit::TrackState state(tsos.charge(), pos, mom, err);
223  state.convertFromCartesianToCCS();
224  ret.emplace_back(state, 0, index, 0, nullptr);
225 
226  // Add hits
227  for (auto const& recHit : hitRange) {
229  throw cms::Exception("Assert") << "Encountered a seed with a hit which is not trackerHitRTTI::isFromDet()";
230  }
231  const auto& clusterRef = static_cast<const BaseTrackerRecHit&>(recHit).firstClusterRef();
232  const auto& mkFitHit = hitIndexMap.mkFitHit(clusterRef.id(), clusterRef.index());
233  ret.back().addHitIdx(mkFitHit.index(), mkFitHit.layer(), 0); // per-hit chi2 is not known
234  }
235  ++index;
236  }
237  return ret;
238 }

References TransientTrackingRecHitBuilder::build(), submitPVResolutionJobs::err, Exception, TrajectoryStateOnSurface::globalParameters(), mps_fire::i, trackerHitRTTI::isFromDet(), dqmiolumiharvest::j, MkFitHitIndexMap::mkFitHit(), GlobalTrajectoryParameters::position(), rpcPointValidation_cfi::recHit, runTheMatrix::ret, fileCollector::seed, InitialStep_cff::seeds, and trajectoryStateTransform::transientState().

Referenced by produce().

◆ fillDescriptions()

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

Definition at line 92 of file MkFitInputConverter.cc.

92  {
94 
95  desc.add("pixelRecHits", edm::InputTag{"siPixelRecHits"});
96  desc.add("stripRphiRecHits", edm::InputTag{"siStripMatchedRecHits", "rphiRecHit"});
97  desc.add("stripStereoRecHits", edm::InputTag{"siStripMatchedRecHits", "stereoRecHit"});
98  desc.add("seeds", edm::InputTag{"initialStepSeeds"});
99  desc.add("ttrhBuilder", edm::ESInputTag{"", "WithTrackAngle"});
100 
102  descCCC.add<double>("value");
103  desc.add("minGoodStripCharge", descCCC);
104 
105  descriptions.add("mkFitInputConverterDefault", desc);
106 }

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

◆ passCCC() [1/2]

bool MkFitInputConverter::passCCC ( const SiPixelRecHit hit,
const DetId  hitId 
) const
private

Definition at line 133 of file MkFitInputConverter.cc.

133 { return true; }

◆ passCCC() [2/2]

bool MkFitInputConverter::passCCC ( const SiStripRecHit2D hit,
const DetId  hitId 
) const
private

Definition at line 129 of file MkFitInputConverter.cc.

129  {
130  return (siStripClusterTools::chargePerCM(hitId, hit.firstClusterRef().stripCluster()) > minGoodStripCharge_);
131 }

References siStripClusterTools::chargePerCM(), and minGoodStripCharge_.

Referenced by convertHits().

◆ produce()

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

Implements edm::global::EDProducerBase.

Definition at line 108 of file MkFitInputConverter.cc.

108  {
109  mkfit::LayerNumberConverter lnc{mkfit::TkLayout::phase1};
110 
111  // Then import hits
112  const auto& ttrhBuilder = iSetup.getData(ttrhBuilderToken_);
113  const auto& ttopo = iSetup.getData(ttopoToken_);
114 
115  std::vector<mkfit::HitVec> mkFitHits(lnc.nLayers());
116  MkFitHitIndexMap hitIndexMap;
117  int totalHits = 0; // I need to have a global hit index in order to have the hit remapping working?
118  // Process strips first for better memory allocation pattern
119  convertHits(iEvent.get(stripRphiRecHitToken_), mkFitHits, hitIndexMap, totalHits, ttopo, ttrhBuilder, lnc);
120  convertHits(iEvent.get(stripStereoRecHitToken_), mkFitHits, hitIndexMap, totalHits, ttopo, ttrhBuilder, lnc);
121  convertHits(iEvent.get(pixelRecHitToken_), mkFitHits, hitIndexMap, totalHits, ttopo, ttrhBuilder, lnc);
122 
123  // Then import seeds
124  auto mkFitSeeds = convertSeeds(iEvent.get(seedToken_), hitIndexMap, ttrhBuilder, iSetup.getData(mfToken_));
125 
126  iEvent.emplace(putToken_, std::move(hitIndexMap), std::move(mkFitHits), std::move(mkFitSeeds), lnc);
127 }

References convertHits(), convertSeeds(), edm::EventSetup::getData(), iEvent, mfToken_, eostools::move(), pixelRecHitToken_, putToken_, seedToken_, stripRphiRecHitToken_, stripStereoRecHitToken_, ttopoToken_, and ttrhBuilderToken_.

Member Data Documentation

◆ mfToken_

edm::ESGetToken<MagneticField, IdealMagneticFieldRecord> MkFitInputConverter::mfToken_
private

Definition at line 72 of file MkFitInputConverter.cc.

Referenced by produce().

◆ minGoodStripCharge_

const float MkFitInputConverter::minGoodStripCharge_
private

Definition at line 74 of file MkFitInputConverter.cc.

Referenced by passCCC().

◆ pixelRecHitToken_

edm::EDGetTokenT<SiPixelRecHitCollection> MkFitInputConverter::pixelRecHitToken_
private

Definition at line 66 of file MkFitInputConverter.cc.

Referenced by produce().

◆ putToken_

edm::EDPutTokenT<MkFitInputWrapper> MkFitInputConverter::putToken_
private

Definition at line 73 of file MkFitInputConverter.cc.

Referenced by produce().

◆ seedToken_

edm::EDGetTokenT<edm::View<TrajectorySeed> > MkFitInputConverter::seedToken_
private

Definition at line 69 of file MkFitInputConverter.cc.

Referenced by produce().

◆ stripRphiRecHitToken_

edm::EDGetTokenT<SiStripRecHit2DCollection> MkFitInputConverter::stripRphiRecHitToken_
private

Definition at line 67 of file MkFitInputConverter.cc.

Referenced by produce().

◆ stripStereoRecHitToken_

edm::EDGetTokenT<SiStripRecHit2DCollection> MkFitInputConverter::stripStereoRecHitToken_
private

Definition at line 68 of file MkFitInputConverter.cc.

Referenced by produce().

◆ ttopoToken_

edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> MkFitInputConverter::ttopoToken_
private

Definition at line 71 of file MkFitInputConverter.cc.

Referenced by produce().

◆ ttrhBuilderToken_

edm::ESGetToken<TransientTrackingRecHitBuilder, TransientRecHitRecord> MkFitInputConverter::ttrhBuilderToken_
private

Definition at line 70 of file MkFitInputConverter.cc.

Referenced by produce().

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:367
MkFitInputConverter::minGoodStripCharge_
const float minGoodStripCharge_
Definition: MkFitInputConverter.cc:74
MkFitInputConverter::stripStereoRecHitToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > stripStereoRecHitToken_
Definition: MkFitInputConverter.cc:68
TrackerTopology::side
unsigned int side(const DetId &id) const
Definition: TrackerTopology.cc:28
mps_fire.i
i
Definition: mps_fire.py:428
edm::ESInputTag
Definition: ESInputTag.h:87
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
hit::id
unsigned int id
Definition: SiStripHitEffFromCalibTree.cc:92
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
GlobalTrajectoryParameters::position
GlobalPoint position() const
Definition: GlobalTrajectoryParameters.h:60
MkFitInputConverter::pixelRecHitToken_
edm::EDGetTokenT< SiPixelRecHitCollection > pixelRecHitToken_
Definition: MkFitInputConverter.cc:66
MkFitInputConverter::ttrhBuilderToken_
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > ttrhBuilderToken_
Definition: MkFitInputConverter.cc:70
MkFitInputConverter::SMatrixSym33
ROOT::Math::SMatrix< float, 3, 3, ROOT::Math::MatRepSym< float, 3 > > SMatrixSym33
Definition: MkFitInputConverter.cc:63
pos
Definition: PixelAliasList.h:18
siStripClusterTools::chargePerCM
float chargePerCM(DetId detid, Iter a, Iter b)
Definition: SiStripClusterTools.h:29
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
TrackerTopology::layer
unsigned int layer(const DetId &id) const
Definition: TrackerTopology.cc:47
MkFitHitIndexMap::resizeByClusterIndex
void resizeByClusterIndex(edm::ProductID id, size_t clusterIndex)
Definition: MkFitHitIndexMap.cc:22
TransientTrackingRecHitBuilder::build
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
MkFitInputConverter::ttopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > ttopoToken_
Definition: MkFitInputConverter.cc:71
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
MkFitHitIndexMap::increaseLayerSize
void increaseLayerSize(int layer, size_t additionalSize)
Definition: MkFitHitIndexMap.cc:26
MkFitInputConverter::passCCC
bool passCCC(const SiStripRecHit2D &hit, const DetId hitId) const
Definition: MkFitInputConverter.cc:129
fileCollector.seed
seed
Definition: fileCollector.py:127
DetId
Definition: DetId.h:17
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
TrackerTopology::isStereo
bool isStereo(const DetId &id) const
Definition: TrackerTopology.cc:158
MkFitHitIndexMap::mkFitHit
const MkFitHit & mkFitHit(edm::ProductID id, size_t clusterIndex) const
Get mkFit hit index and layer.
Definition: MkFitHitIndexMap.cc:51
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
SVector3
ROOT::Math::SVector< double, 3 > SVector3
Definition: V0Fitter.cc:47
InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:230
mkfit::TrackVec
std::vector< Track > TrackVec
Definition: MkFitInputWrapper.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
MkFitHitIndexMap::insert
void insert(edm::ProductID id, size_t clusterIndex, MkFitHit hit, const TrackingRecHit *hitPtr)
Definition: MkFitHitIndexMap.cc:33
MkFitInputConverter::mfToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > mfToken_
Definition: MkFitInputConverter.cc:72
MkFitInputConverter::seedToken_
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedToken_
Definition: MkFitInputConverter.cc:69
iEvent
int iEvent
Definition: GenABIO.cc:224
trajectoryStateTransform::transientState
TrajectoryStateOnSurface transientState(const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field)
Definition: TrajectoryStateTransform.cc:35
MkFitInputConverter::convertSeeds
mkfit::TrackVec convertSeeds(const edm::View< TrajectorySeed > &seeds, const MkFitHitIndexMap &hitIndexMap, const TransientTrackingRecHitBuilder &ttrhBuilder, const MagneticField &mf) const
Definition: MkFitInputConverter.cc:196
trackerHitRTTI::isFromDet
bool isFromDet(TrackingRecHit const &hit)
Definition: trackerHitRTTI.h:36
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:120
TrackerDetSide::PosEndcap
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
MkFitHitIndexMap
Definition: MkFitHitIndexMap.h:15
RunInfoPI::state
state
Definition: RunInfoPayloadInspectoHelper.h:16
MkFitInputConverter::SMatrixSym66
ROOT::Math::SMatrix< float, 6, 6, ROOT::Math::MatRepSym< float, 6 > > SMatrixSym66
Definition: MkFitInputConverter.cc:64
MkFitInputConverter::stripRphiRecHitToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > stripRphiRecHitToken_
Definition: MkFitInputConverter.cc:67
Exception
Definition: hltDiff.cc:246
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:224
TrajectoryStateOnSurface::globalParameters
const GlobalTrajectoryParameters & globalParameters() const
Definition: TrajectoryStateOnSurface.h:64
MkFitInputConverter::convertHits
void convertHits(const HitCollection &hits, std::vector< mkfit::HitVec > &mkFitHits, MkFitHitIndexMap &hitIndexMap, int &totalHits, const TrackerTopology &ttopo, const TransientTrackingRecHitBuilder &ttrhBuilder, const mkfit::LayerNumberConverter &lnc) const
Definition: MkFitInputConverter.cc:136
MkFitHitIndexMap::MkFitHit
Definition: MkFitHitIndexMap.h:19
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
edm::InputTag
Definition: InputTag.h:15
hit
Definition: SiStripHitEffFromCalibTree.cc:88
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
MkFitInputConverter::putToken_
edm::EDPutTokenT< MkFitInputWrapper > putToken_
Definition: MkFitInputConverter.cc:73