|
| LSTPixelSeedInputProducer (edm::ParameterSet const &iConfig) |
|
| ~LSTPixelSeedInputProducer () 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 noexcept final |
|
bool | wantsGlobalRuns () const noexcept final |
|
bool | wantsInputProcessBlocks () const noexcept final |
|
bool | wantsProcessBlocks () const noexcept final |
|
bool | wantsStreamLuminosityBlocks () const noexcept final |
|
bool | wantsStreamRuns () const noexcept 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 |
|
ESResolverIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESResolverIndex > 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 |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProductResolverIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDProducerBase | ModuleType |
|
template<typename T > |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
|
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 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) |
|
Implements edm::global::EDProducerBase.
Definition at line 61 of file LSTPixelSeedInputProducer.cc.
References beamSpotToken_, cms::cuda::bs, OmniClusterRef::cluster_pixel(), Exception, BaseTrackerRecHit::firstClusterRef(), edm::EventSetup::getData(), TrajectoryStateOnSurface::globalParameters(), mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, iEvent, edm::Ref< C, T, F >::key(), lstPixelSeedInputPutToken_, lstPixelSeedsPutToken_, mfToken_, eostools::move(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, edm::RefToBaseVector< T >::push_back(), tas::see_dxy(), tas::see_dz(), tas::see_etaErr(), tas::see_hitIdx(), tas::see_ptErr(), tas::see_px(), tas::see_py(), tas::see_pz(), tas::see_q(), tas::see_stateTrajGlbPx(), tas::see_stateTrajGlbPy(), tas::see_stateTrajGlbPz(), tas::see_stateTrajGlbX(), tas::see_stateTrajGlbY(), tas::see_stateTrajGlbZ(), fileCollector::seed, seedTokens_, trackingNtuple_cff::seedTracks, edm::RefToBaseVector< T >::size(), TrackingRecHit::surface(), trackFromSeedFitFailed(), and trajectoryStateTransform::transientState().
80 std::vector<int>
see_q;
84 for (
size_t iColl = 0; iColl <
seedTokens_.size(); ++iColl) {
100 for (
size_t iSeed = 0; iSeed < seedTrackRefs.
size(); ++iSeed) {
101 auto const& seedTrackRef = seedTrackRefs[iSeed];
102 auto const& seedTrack = *seedTrackRef;
103 auto const& seedRef = seedTrack.seedRef();
104 auto const&
seed = *seedRef;
106 if (seedRef.id() !=
id)
108 <<
"All tracks in 'TracksFromSeeds' collection should point to seeds in the same collection. Now the " 109 "element 0 had ProductID " 110 <<
id <<
" while the element " << seedTrackRef.key() <<
" had " << seedTrackRef.id() <<
".";
119 std::vector<int> hitIdx;
120 for (
auto const&
hit :
seed.recHits()) {
121 int subid =
hit.geographicalId().subdetId();
126 hitIdx.push_back(clusterKey);
128 throw cms::Exception(
"LSTPixelSeedInputProducer") <<
"Not pixel hits found!";
133 see_px.push_back(seedFitOk ? seedTrack.px() : 0);
134 see_py.push_back(seedFitOk ? seedTrack.py() : 0);
135 see_pz.push_back(seedFitOk ? seedTrack.pz() : 0);
136 see_dxy.push_back(seedFitOk ? seedTrack.dxy(
bs.position()) : 0);
137 see_dz.push_back(seedFitOk ? seedTrack.dz(
bs.position()) : 0);
138 see_ptErr.push_back(seedFitOk ? seedTrack.ptError() : 0);
139 see_etaErr.push_back(seedFitOk ? seedTrack.etaError() : 0);
146 see_q.push_back(seedTrack.charge());
148 see_seeds.push_back(
seed);
const std::vector< int > & see_q()
const std::vector< float > & see_py()
bool trackFromSeedFitFailed(const reco::Track &track)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
const std::vector< float > & see_stateTrajGlbX()
const std::vector< float > & see_stateTrajGlbY()
const std::vector< float > & see_ptErr()
const GlobalTrajectoryParameters & globalParameters() const
const std::vector< float > & see_stateTrajGlbPz()
const std::vector< float > & see_stateTrajGlbPy()
key_type key() const
Accessor for product key.
ClusterPixelRef cluster_pixel() const
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual const Surface * surface() const
const std::vector< float > & see_stateTrajGlbPx()
virtual OmniClusterRef const & firstClusterRef() const =0
const std::vector< float > & see_dz()
const std::vector< float > & see_etaErr()
const std::vector< float > & see_px()
const std::vector< float > & see_dxy()
void push_back(const RefToBase< T > &)
const std::vector< float > & see_pz()
const std::vector< float > & see_stateTrajGlbZ()
const std::vector< std::vector< int > > & see_hitIdx()