CMS 3D CMS Logo

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

Public Types

using HitModuleStart = std::array< uint32_t, gpuClustering::maxNumModules+1 >
 
using HMSstorage = HostProduct< uint32_t[]>
 
- 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

 SiPixelRecHitSoAFromLegacy (const edm::ParameterSet &iConfig)
 
 ~SiPixelRecHitSoAFromLegacy () 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::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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
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 streamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
 

Private Attributes

const edm::EDGetTokenT< reco::BeamSpotbsGetToken_
 
const edm::EDGetTokenT< SiPixelClusterCollectionNewclusterToken_
 
const bool convert2Legacy_
 
const edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecordcpeToken_
 
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecordgeomToken_
 
const edm::EDPutTokenT< TrackingRecHit2DCPUtokenHit_
 
const edm::EDPutTokenT< HMSstoragetokenModuleStart_
 

Additional Inherited Members

- 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 29 of file SiPixelRecHitSoAFromLegacy.cc.

Member Typedef Documentation

◆ HitModuleStart

Definition at line 36 of file SiPixelRecHitSoAFromLegacy.cc.

◆ HMSstorage

Definition at line 37 of file SiPixelRecHitSoAFromLegacy.cc.

Constructor & Destructor Documentation

◆ SiPixelRecHitSoAFromLegacy()

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

Definition at line 51 of file SiPixelRecHitSoAFromLegacy.cc.

54  bsGetToken_{consumes<reco::BeamSpot>(iConfig.getParameter<edm::InputTag>("beamSpot"))},
55  clusterToken_{consumes<SiPixelClusterCollectionNew>(iConfig.getParameter<edm::InputTag>("src"))},
56  tokenHit_{produces<TrackingRecHit2DCPU>()},
57  tokenModuleStart_{produces<HMSstorage>()},
58  convert2Legacy_(iConfig.getParameter<bool>("convertToLegacy")) {
59  if (convert2Legacy_)
60  produces<SiPixelRecHitCollectionNew>();
61 }

References edm::ParameterSet::getParameter().

◆ ~SiPixelRecHitSoAFromLegacy()

SiPixelRecHitSoAFromLegacy::~SiPixelRecHitSoAFromLegacy ( )
overridedefault

Member Function Documentation

◆ fillDescriptions()

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

Definition at line 63 of file SiPixelRecHitSoAFromLegacy.cc.

63  {
65 
66  desc.add<edm::InputTag>("beamSpot", edm::InputTag("offlineBeamSpot"));
67  desc.add<edm::InputTag>("src", edm::InputTag("siPixelClustersPreSplitting"));
68  desc.add<std::string>("CPE", "PixelCPEFast");
69  desc.add<bool>("convertToLegacy", false);
70  descriptions.addWithDefaultLabel(desc);
71 }

References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

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

Implements edm::global::EDProducerBase.

Definition at line 73 of file SiPixelRecHitSoAFromLegacy.cc.

73  {
74  const TrackerGeometry* geom_ = &es.getData(geomToken_);
75  PixelCPEFast const* fcpe = dynamic_cast<const PixelCPEFast*>(&es.getData(cpeToken_));
76  if (not fcpe) {
77  throw cms::Exception("Configuration") << "SiPixelRecHitSoAFromLegacy can only use a CPE of type PixelCPEFast";
78  }
79  auto const& cpeView = fcpe->getCPUProduct();
80 
81  const reco::BeamSpot& bs = iEvent.get(bsGetToken_);
82 
83  BeamSpotPOD bsHost;
84  bsHost.x = bs.x0();
85  bsHost.y = bs.y0();
86  bsHost.z = bs.z0();
87 
89  iEvent.getByToken(clusterToken_, hclusters);
90  auto const& input = *hclusters;
91 
92  // allocate a buffer for the indices of the clusters
93  auto hmsp = std::make_unique<uint32_t[]>(gpuClustering::maxNumModules + 1);
94  // hitsModuleStart is a non-owning pointer to the buffer
95  auto hitsModuleStart = hmsp.get();
96  // wrap the buffer in a HostProduct
97  auto hms = std::make_unique<HMSstorage>(std::move(hmsp));
98  // move the HostProduct to the Event, without reallocating the buffer or affecting hitsModuleStart
100 
101  // legacy output
102  auto legacyOutput = std::make_unique<SiPixelRecHitCollectionNew>();
103 
104  // storage
105  std::vector<uint16_t> xx;
106  std::vector<uint16_t> yy;
107  std::vector<uint16_t> adc;
108  std::vector<uint16_t> moduleInd;
109  std::vector<int32_t> clus;
110 
111  std::vector<edm::Ref<edmNew::DetSetVector<SiPixelCluster>, SiPixelCluster>> clusterRef;
112 
113  constexpr uint32_t maxHitsInModule = gpuClustering::maxHitsInModule();
114 
115  HitModuleStart moduleStart_; // index of the first pixel of each module
116  HitModuleStart clusInModule_;
117  memset(&clusInModule_, 0, sizeof(HitModuleStart)); // needed??
118  assert(gpuClustering::maxNumModules + 1 == clusInModule_.size());
119  assert(0 == clusInModule_[gpuClustering::maxNumModules]);
120  uint32_t moduleId_;
121  moduleStart_[1] = 0; // we run sequentially....
122 
124  moduleStart_.data(), clusInModule_.data(), &moduleId_, hitsModuleStart};
125 
126  // fill cluster arrays
127  int numberOfClusters = 0;
128  for (auto const& dsv : input) {
129  unsigned int detid = dsv.detId();
130  DetId detIdObject(detid);
131  const GeomDetUnit* genericDet = geom_->idToDetUnit(detIdObject);
132  auto gind = genericDet->index();
134  auto const nclus = dsv.size();
135  clusInModule_[gind] = nclus;
136  numberOfClusters += nclus;
137  }
138  hitsModuleStart[0] = 0;
139  for (int i = 1, n = clusInModule_.size(); i < n; ++i)
140  hitsModuleStart[i] = hitsModuleStart[i - 1] + clusInModule_[i - 1];
141  assert(numberOfClusters == int(hitsModuleStart[gpuClustering::maxNumModules]));
142 
143  // output SoA
144  auto output = std::make_unique<TrackingRecHit2DCPU>(numberOfClusters, &cpeView, hitsModuleStart, nullptr);
145 
146  if (0 == numberOfClusters) {
147  iEvent.put(std::move(output));
148  if (convert2Legacy_)
149  iEvent.put(std::move(legacyOutput));
150  return;
151  }
152 
153  if (convert2Legacy_)
154  legacyOutput->reserve(gpuClustering::maxNumModules, numberOfClusters);
155 
156  int numberOfDetUnits = 0;
157  int numberOfHits = 0;
158  for (auto const& dsv : input) {
159  numberOfDetUnits++;
160  unsigned int detid = dsv.detId();
161  DetId detIdObject(detid);
162  const GeomDetUnit* genericDet = geom_->idToDetUnit(detIdObject);
163  auto const gind = genericDet->index();
165  const PixelGeomDetUnit* pixDet = dynamic_cast<const PixelGeomDetUnit*>(genericDet);
166  assert(pixDet);
167  auto const nclus = dsv.size();
168  assert(clusInModule_[gind] == nclus);
169  if (0 == nclus)
170  continue; // is this really possible?
171 
172  auto const fc = hitsModuleStart[gind];
173  auto const lc = hitsModuleStart[gind + 1];
174  assert(lc > fc);
175  LogDebug("SiPixelRecHitSoAFromLegacy") << "in det " << gind << ": conv " << nclus << " hits from " << dsv.size()
176  << " legacy clusters" << ' ' << fc << ',' << lc;
177  assert((lc - fc) == nclus);
178  if (nclus > maxHitsInModule)
179  printf(
180  "WARNING: too many clusters %d in Module %d. Only first %d Hits converted\n", nclus, gind, maxHitsInModule);
181 
182  // fill digis
183  xx.clear();
184  yy.clear();
185  adc.clear();
186  moduleInd.clear();
187  clus.clear();
188  clusterRef.clear();
189  moduleId_ = gind;
190  uint32_t ic = 0;
191  uint32_t ndigi = 0;
192  for (auto const& clust : dsv) {
193  assert(clust.size() > 0);
194  for (int i = 0, nd = clust.size(); i < nd; ++i) {
195  auto px = clust.pixel(i);
196  xx.push_back(px.x);
197  yy.push_back(px.y);
198  adc.push_back(px.adc);
199  moduleInd.push_back(gind);
200  clus.push_back(ic);
201  ++ndigi;
202  }
203  assert(clust.originalId() == ic); // make sure hits and clus are in sync
204  if (convert2Legacy_)
205  clusterRef.emplace_back(edmNew::makeRefTo(hclusters, &clust));
206  ic++;
207  }
208  assert(nclus == ic);
209  assert(clus.size() == ndigi);
210  numberOfHits += nclus;
211  // filled creates view
212  SiPixelDigisCUDA::DeviceConstView digiView{xx.data(), yy.data(), adc.data(), moduleInd.data(), clus.data()};
213  assert(digiView.adc(0) != 0);
214  // we run on blockId.x==0
215  gpuPixelRecHits::getHits(&cpeView, &bsHost, &digiView, ndigi, &clusterView, output->view());
216  for (auto h = fc; h < lc; ++h)
217  if (h - fc < maxHitsInModule)
218  assert(gind == output->view()->detectorIndex(h));
219  else
220  assert(gpuClustering::invalidModuleId == output->view()->detectorIndex(h));
221  if (convert2Legacy_) {
222  SiPixelRecHitCollectionNew::FastFiller recHitsOnDetUnit(*legacyOutput, detid);
223  for (auto h = fc; h < lc; ++h) {
224  auto ih = h - fc;
225  if (ih >= maxHitsInModule)
226  break;
227  assert(ih < clusterRef.size());
228  LocalPoint lp(output->view()->xLocal(h), output->view()->yLocal(h));
229  LocalError le(output->view()->xerrLocal(h), 0, output->view()->yerrLocal(h));
231  SiPixelRecHit hit(lp, le, rqw, *genericDet, clusterRef[ih]);
232  recHitsOnDetUnit.push_back(hit);
233  }
234  }
235  }
236  assert(numberOfHits == numberOfClusters);
237 
238  // fill data structure to support CA
239  for (auto i = 0U; i < phase1PixelTopology::numberOfLayers + 1; ++i) {
240  output->hitsLayerStart()[i] = hitsModuleStart[cpeView.layerGeometry().layerStart[i]];
241  }
242  cms::cuda::fillManyFromVector(output->phiBinner(),
244  output->iphi(),
245  output->hitsLayerStart(),
246  numberOfHits,
247  256,
248  output->phiBinnerStorage());
249 
250  LogDebug("SiPixelRecHitSoAFromLegacy") << "created HitSoa for " << numberOfClusters << " clusters in "
251  << numberOfDetUnits << " Dets";
252  iEvent.put(std::move(output));
253  if (convert2Legacy_)
254  iEvent.put(std::move(legacyOutput));
255 }

References gpuClustering::adc, cms::cuda::assert(), cms::cuda::bs, bsGetToken_, clusterToken_, convert2Legacy_, cpeToken_, Exception, geomToken_, edm::EventSetup::getData(), h, mps_fire::i, TrackerGeometry::idToDetUnit(), iEvent, GeomDet::index(), input, gpuClustering::invalidModuleId, LogDebug, edmNew::makeRefTo(), gpuClustering::maxHitsInModule(), gpuClustering::maxNumModules, eostools::move(), dqmiodumpmetadata::n, phase1PixelTopology::numberOfLayers, convertSQLitetoXML_cfg::output, edmNew::DetSetVector< T >::FastFiller::push_back(), multPhiCorr_741_25nsDY_cfi::px, tokenModuleStart_, mitigatedMETSequence_cff::U, BeamSpotPOD::x, geometryCSVtoXML::xx, BeamSpotPOD::y, geometryCSVtoXML::yy, and BeamSpotPOD::z.

Member Data Documentation

◆ bsGetToken_

const edm::EDGetTokenT<reco::BeamSpot> SiPixelRecHitSoAFromLegacy::bsGetToken_
private

Definition at line 44 of file SiPixelRecHitSoAFromLegacy.cc.

Referenced by produce().

◆ clusterToken_

const edm::EDGetTokenT<SiPixelClusterCollectionNew> SiPixelRecHitSoAFromLegacy::clusterToken_
private

Definition at line 45 of file SiPixelRecHitSoAFromLegacy.cc.

Referenced by produce().

◆ convert2Legacy_

const bool SiPixelRecHitSoAFromLegacy::convert2Legacy_
private

Definition at line 48 of file SiPixelRecHitSoAFromLegacy.cc.

Referenced by produce().

◆ cpeToken_

const edm::ESGetToken<PixelClusterParameterEstimator, TkPixelCPERecord> SiPixelRecHitSoAFromLegacy::cpeToken_
private

Definition at line 43 of file SiPixelRecHitSoAFromLegacy.cc.

Referenced by produce().

◆ geomToken_

const edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> SiPixelRecHitSoAFromLegacy::geomToken_
private

Definition at line 42 of file SiPixelRecHitSoAFromLegacy.cc.

Referenced by produce().

◆ tokenHit_

const edm::EDPutTokenT<TrackingRecHit2DCPU> SiPixelRecHitSoAFromLegacy::tokenHit_
private

Definition at line 46 of file SiPixelRecHitSoAFromLegacy.cc.

◆ tokenModuleStart_

const edm::EDPutTokenT<HMSstorage> SiPixelRecHitSoAFromLegacy::tokenModuleStart_
private

Definition at line 47 of file SiPixelRecHitSoAFromLegacy.cc.

Referenced by produce().

mps_fire.i
i
Definition: mps_fire.py:428
gpuClustering::maxHitsInModule
constexpr uint32_t maxHitsInModule()
Definition: gpuClusteringConstants.h:16
edm::ESInputTag
Definition: ESInputTag.h:87
input
static const std::string input
Definition: EdmProvDump.cc:48
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
GeomDet
Definition: GeomDet.h:27
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
phase1PixelTopology::numberOfLayers
constexpr uint32_t numberOfLayers
Definition: phase1PixelTopology.h:25
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition: gpuClusterChargeCut.h:20
SiPixelDigisCUDA::DeviceConstView
Definition: SiPixelDigisCUDA.h:50
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edmNew::makeRefTo
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
Definition: DetSetVectorNew.h:704
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
SiPixelRecHitSoAFromLegacy::clusterToken_
const edm::EDGetTokenT< SiPixelClusterCollectionNew > clusterToken_
Definition: SiPixelRecHitSoAFromLegacy.cc:45
cms::cuda::assert
assert(be >=bs)
BeamSpotPOD::z
float z
Definition: BeamSpotPOD.h:12
GeomDet::index
int index() const
Definition: GeomDet.h:83
SiPixelCluster
Pixel cluster – collection of neighboring pixels above threshold.
Definition: SiPixelCluster.h:28
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
edm::Handle
Definition: AssociativeIterator.h:50
SiPixelRecHitSoAFromLegacy::cpeToken_
const edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecord > cpeToken_
Definition: SiPixelRecHitSoAFromLegacy.cc:43
SiPixelRecHit
Our base class.
Definition: SiPixelRecHit.h:23
SiPixelRecHitSoAFromLegacy::HitModuleStart
std::array< uint32_t, gpuClustering::maxNumModules+1 > HitModuleStart
Definition: SiPixelRecHitSoAFromLegacy.cc:36
TrackerGeometry::idToDetUnit
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Definition: TrackerGeometry.cc:183
BeamSpotPOD::y
float y
Definition: BeamSpotPOD.h:12
DetId
Definition: DetId.h:17
cms::cuda::bs
bs
Definition: HistoContainer.h:76
h
SiPixelRecHitSoAFromLegacy::convert2Legacy_
const bool convert2Legacy_
Definition: SiPixelRecHitSoAFromLegacy.cc:48
SiPixelRecHitQuality::QualWordType
unsigned int QualWordType
Definition: SiPixelRecHitQuality.h:9
PixelGeomDetUnit
Definition: PixelGeomDetUnit.h:15
PixelCPEFast
Definition: PixelCPEFast.h:15
reco::BeamSpot
Definition: BeamSpot.h:21
Point3DBase< float, LocalTag >
gpuClustering::maxNumModules
constexpr uint16_t maxNumModules
Definition: gpuClusteringConstants.h:18
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
SiPixelClustersCUDA::DeviceConstView
Definition: SiPixelClustersCUDA.h:35
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
geometryCSVtoXML.yy
yy
Definition: geometryCSVtoXML.py:19
SiPixelRecHitSoAFromLegacy::tokenHit_
const edm::EDPutTokenT< TrackingRecHit2DCPU > tokenHit_
Definition: SiPixelRecHitSoAFromLegacy.cc:46
gpuClustering::invalidModuleId
constexpr uint16_t invalidModuleId
Definition: gpuClusteringConstants.h:20
LocalError
Definition: LocalError.h:12
iEvent
int iEvent
Definition: GenABIO.cc:224
BeamSpotPOD::x
float x
Definition: BeamSpotPOD.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
BeamSpotPOD
Definition: BeamSpotPOD.h:11
Exception
Definition: hltDiff.cc:245
SiPixelRecHitSoAFromLegacy::bsGetToken_
const edm::EDGetTokenT< reco::BeamSpot > bsGetToken_
Definition: SiPixelRecHitSoAFromLegacy.cc:44
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edmNew::DetSetVector::FastFiller
Definition: DetSetVectorNew.h:202
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:206
edm::InputTag
Definition: InputTag.h:15
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19
hit
Definition: SiStripHitEffFromCalibTree.cc:88
SiPixelRecHitSoAFromLegacy::tokenModuleStart_
const edm::EDPutTokenT< HMSstorage > tokenModuleStart_
Definition: SiPixelRecHitSoAFromLegacy.cc:47
edm::ConfigurationDescriptions::addWithDefaultLabel
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:87
SiPixelRecHitSoAFromLegacy::geomToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
Definition: SiPixelRecHitSoAFromLegacy.cc:42
TrackerGeometry
Definition: TrackerGeometry.h:14