|
| MkFitSeedConverter (edm::ParameterSet const &iConfig) |
|
| ~MkFitSeedConverter () override=default |
|
| 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 |
|
EDProducer & | operator= (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 |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
| ~EDProducerBase () override |
|
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 |
|
std::vector< ConsumesInfo > | consumesInfo () 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 |
|
EDConsumerBase & | operator= (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) |
|
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
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 () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (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) |
|
Definition at line 37 of file MkFitSeedConverter.cc.
Definition at line 95 of file MkFitSeedConverter.cc.
References TransientTrackingRecHitBuilder::build(), mkfit::LayerNumberConverter::convertLayerNumber(), submitPVResolutionJobs::err, Exception, BaseTrackerRecHit::firstClusterRef(), TrajectoryStateOnSurface::globalParameters(), mps_fire::i, cuy::ii, OmniClusterRef::index(), trackerHitRTTI::isFromDet(), TrackerTopology::isStereo(), dqmiolumiharvest::j, TrackerTopology::layer(), MkFitGeometry::layerNumberConverter(), LogTrace, maxNSeeds_, PosEndcap, GlobalTrajectoryParameters::position(), rpcPointValidation_cfi::recHit, runTheMatrix::ret, fileCollector::seed, DetachedQuadStep_cff::seeds, TrackerTopology::side(), and trajectoryStateTransform::transientState().
Referenced by produce().
103 <<
" nSeed=" <<
seeds.size();
108 auto isPlusSide = [&ttopo](
const DetId& detid) {
114 auto const& hitRange =
seed.recHits();
115 const auto lastRecHit = ttrhBuilder.
build(&*(hitRange.end() - 1));
118 const auto& gpos = stateGlobal.
position();
119 const auto& gmom = stateGlobal.momentum();
121 SVector3 mom(gmom.x(), gmom.y(), gmom.z());
123 const auto& cov = tsos.curvilinearError().matrix();
125 for (
int i = 0;
i < 5; ++
i) {
126 for (
int j =
i;
j < 5; ++
j) {
132 state.convertFromGlbCurvilinearToCCS();
133 ret.emplace_back(
state, 0, seed_index, 0,
nullptr);
134 LogTrace(
"MkFitSeedConverter") <<
"Inserted seed with index " << seed_index;
137 for (
auto const&
recHit : hitRange) {
139 throw cms::Exception(
"Assert") <<
"Encountered a seed with a hit which is not trackerHitRTTI::isFromDet()";
142 if (!baseTrkRecHit.isMatched()) {
144 const auto detId =
recHit.geographicalId();
146 detId.subdetId(), ttopo.
layer(detId),
false, ttopo.
isStereo(detId), isPlusSide(detId));
147 LogTrace(
"MkFitSeedConverter") <<
" adding hit detid " << detId.rawId() <<
" index " << clusterRef.index()
149 ret.back().addHitIdx(clusterRef.index(), ilay, 0);
152 const OmniClusterRef*
const clRefs[2] = {&matched2D.monoClusterRef(), &matched2D.stereoClusterRef()};
153 const DetId detIds[2] = {matched2D.monoId(), matched2D.stereoId()};
154 for (
int ii = 0;
ii < 2; ++
ii) {
155 const auto& detId = detIds[
ii];
157 detId.subdetId(), ttopo.
layer(detId),
false, ttopo.
isStereo(detId), isPlusSide(detId));
158 LogTrace(
"MkFitSeedConverter") <<
" adding matched hit detid " << detId.rawId() <<
" index " 159 << clRefs[
ii]->
index() <<
" ilay " << ilay;
160 ret.back().addHitIdx(clRefs[
ii]->
index(), ilay, 0);
bool isFromDet(TrackingRecHit const &hit)
GlobalPoint position() const
ret
prodAgent to be discontinued
const GlobalTrajectoryParameters & globalParameters() const
const unsigned int maxNSeeds_
unsigned int index() const
bool isStereo(const DetId &id) const
Log< level::Error, false > LogError
unsigned int side(const DetId &id) const
unsigned int layer(const DetId &id) const
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
mkfit::LayerNumberConverter const & layerNumberConverter() const
std::vector< Track > TrackVec
ROOT::Math::SMatrix< float, 6, 6, ROOT::Math::MatRepSym< float, 6 > > SMatrixSym66
virtual OmniClusterRef const & firstClusterRef() const =0
ROOT::Math::SVector< double, 3 > SVector3
int convertLayerNumber(int det, int lay, bool useMatched, int isStereo, bool posZ) const