CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
SeedClusterRemover Class Reference
Inheritance diagram for SeedClusterRemover:
edm::stream::EDProducer<>

Classes

struct  ParamBlock
 

Public Member Functions

void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
 SeedClusterRemover (const edm::ParameterSet &iConfig)
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Types

typedef edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > PixelMaskContainer
 
typedef edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > StripMaskContainer
 

Private Member Functions

void process (const OmniClusterRef &cluRef, uint32_t subdet)
 
void process (const TrackingRecHit *hit, float chi2, const TrackerGeometry *tg)
 
void readPSet (const edm::ParameterSet &iConfig, const std::string &name, int id1=-1, int id2=-1, int id3=-1, int id4=-1, int id5=-1, int id6=-1)
 

Private Attributes

std::vector< bool > collectedPixels_
 
std::vector< bool > collectedStrips_
 
bool doPixel_
 
bool doStrip_
 
bool mergeOld_
 
edm::EDGetTokenT< PixelMaskContaineroldPxlMaskToken_
 
edm::EDGetTokenT< StripMaskContaineroldStrMaskToken_
 
ParamBlock pblocks_ [NumberOfParamBlocks]
 
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
 
std::vector< uint8_t > pixels
 
edm::ProductID pixelSourceProdID
 
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
 
std::vector< uint8_t > strips
 
edm::ProductID stripSourceProdID
 
edm::EDGetTokenT< TrajectorySeedCollectiontrajectories_
 

Static Private Attributes

static const unsigned int NumberOfParamBlocks = 6
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Definition at line 36 of file SeedClusterRemover.cc.

Member Typedef Documentation

◆ PixelMaskContainer

Definition at line 60 of file SeedClusterRemover.cc.

◆ StripMaskContainer

Definition at line 61 of file SeedClusterRemover.cc.

Constructor & Destructor Documentation

◆ SeedClusterRemover()

SeedClusterRemover::SeedClusterRemover ( const edm::ParameterSet iConfig)

Definition at line 113 of file SeedClusterRemover.cc.

114  : doStrip_(iConfig.existsAs<bool>("doStrip") ? iConfig.getParameter<bool>("doStrip") : true),
115  doPixel_(iConfig.existsAs<bool>("doPixel") ? iConfig.getParameter<bool>("doPixel") : true),
116  mergeOld_(iConfig.exists("oldClusterRemovalInfo")) {
117  fill(pblocks_, pblocks_ + NumberOfParamBlocks, ParamBlock());
118  readPSet(iConfig, "Common", -1);
119  if (doPixel_) {
120  readPSet(iConfig, "Pixel", 0, 1);
121  readPSet(iConfig, "PXB", 0);
122  readPSet(iConfig, "PXE", 1);
123  }
124  if (doStrip_) {
125  readPSet(iConfig, "Strip", 2, 3, 4, 5);
126  readPSet(iConfig, "StripInner", 2, 3);
127  readPSet(iConfig, "StripOuter", 4, 5);
128  readPSet(iConfig, "TIB", 2);
129  readPSet(iConfig, "TID", 3);
130  readPSet(iConfig, "TOB", 4);
131  readPSet(iConfig, "TEC", 5);
132  }
133 
134  bool usingCharge = false;
135  for (size_t i = 0; i < NumberOfParamBlocks; ++i) {
136  if (!pblocks_[i].isSet_)
137  throw cms::Exception("Configuration Error")
138  << "SeedClusterRemover: Missing configuration for detector with subDetID = " << (i + 1);
139  if (pblocks_[i].usesCharge_ && !usingCharge) {
140  throw cms::Exception("Configuration Error") << "SeedClusterRemover: Configuration for subDetID = " << (i + 1)
141  << " uses cluster charge, which is not enabled.";
142  }
143  }
144 
145  trajectories_ = consumes<TrajectorySeedCollection>(iConfig.getParameter<InputTag>("trajectories"));
146  if (doPixel_)
147  pixelClusters_ = consumes<edmNew::DetSetVector<SiPixelCluster> >(iConfig.getParameter<InputTag>("pixelClusters"));
148  if (doStrip_)
149  stripClusters_ = consumes<edmNew::DetSetVector<SiStripCluster> >(iConfig.getParameter<InputTag>("stripClusters"));
150  if (mergeOld_) {
151  oldPxlMaskToken_ = consumes<PixelMaskContainer>(iConfig.getParameter<InputTag>("oldClusterRemovalInfo"));
152  oldStrMaskToken_ = consumes<StripMaskContainer>(iConfig.getParameter<InputTag>("oldClusterRemovalInfo"));
153  }
154 
155  produces<edm::ContainerMask<edmNew::DetSetVector<SiPixelCluster> > >();
156  produces<edm::ContainerMask<edmNew::DetSetVector<SiStripCluster> > >();
157 }

References doPixel_, doStrip_, Exception, ntuplemaker::fill, edm::ParameterSet::getParameter(), mps_fire::i, mergeOld_, NumberOfParamBlocks, oldPxlMaskToken_, oldStrMaskToken_, pblocks_, pixelClusters_, readPSet(), stripClusters_, and trajectories_.

Member Function Documentation

◆ process() [1/2]

void SeedClusterRemover::process ( const OmniClusterRef cluRef,
uint32_t  subdet 
)
inlineprivate

Definition at line 159 of file SeedClusterRemover.cc.

159  {
160  SiStripRecHit2D::ClusterRef cluster = ocluster.cluster_strip();
161  if (cluster.id() != stripSourceProdID)
162  throw cms::Exception("Inconsistent Data")
163  << "SeedClusterRemover: strip cluster ref from Product ID = " << cluster.id()
164  << " does not match with source cluster collection (ID = " << stripSourceProdID << ")\n.";
165 
166  assert(cluster.id() == stripSourceProdID);
167  if (pblocks_[subdet - 1].usesSize_ && (cluster->amplitudes().size() > pblocks_[subdet - 1].maxSize_))
168  return;
169 
170  strips[cluster.key()] = false;
171  assert(collectedStrips_.size() > cluster.key());
172  collectedStrips_[cluster.key()] = true;
173 }

References cms::cuda::assert(), OmniClusterRef::cluster_strip(), collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), SeedClusterRemover::ParamBlock::maxSize_, pblocks_, strips, and stripSourceProdID.

◆ process() [2/2]

void SeedClusterRemover::process ( const TrackingRecHit hit,
float  chi2,
const TrackerGeometry tg 
)
inlineprivate

Definition at line 175 of file SeedClusterRemover.cc.

175  {
176  DetId detid = hit->geographicalId();
177  uint32_t subdet = detid.subdetId();
178 
179  assert((subdet > 0) && (subdet <= NumberOfParamBlocks));
180 
181  // chi2 cut
182  if (chi2 > pblocks_[subdet - 1].maxChi2_)
183  return;
184 
186  if (!doPixel_)
187  return;
188  // this is a pixel, and i *know* it is
189  const SiPixelRecHit *pixelHit = static_cast<const SiPixelRecHit *>(hit);
190 
191  SiPixelRecHit::ClusterRef cluster = pixelHit->cluster();
192 
193  if (cluster.id() != pixelSourceProdID)
194  throw cms::Exception("Inconsistent Data")
195  << "SeedClusterRemover: pixel cluster ref from Product ID = " << cluster.id()
196  << " does not match with source cluster collection (ID = " << pixelSourceProdID << ")\n.";
197 
198  assert(cluster.id() == pixelSourceProdID);
199  //DBG// cout << "HIT NEW PIXEL DETID = " << detid.rawId() << ", Cluster [ " << cluster.key().first << " / " << cluster.key().second << " ] " << endl;
200 
201  // if requested, cut on cluster size
202  if (pblocks_[subdet - 1].usesSize_ && (cluster->pixels().size() > pblocks_[subdet - 1].maxSize_))
203  return;
204 
205  // mark as used
206  pixels[cluster.key()] = false;
207 
208  assert(collectedPixels_.size() > cluster.key());
209  collectedPixels_[cluster.key()] = true;
210 
211  } else { // aka Strip
212  if (!doStrip_)
213  return;
214  const type_info &hitType = typeid(*hit);
215  if (hitType == typeid(SiStripRecHit2D)) {
216  const SiStripRecHit2D *stripHit = static_cast<const SiStripRecHit2D *>(hit);
217  //DBG// cout << "Plain RecHit 2D: " << endl;
218  process(stripHit->omniClusterRef(), subdet);
219  } else if (hitType == typeid(SiStripRecHit1D)) {
220  const SiStripRecHit1D *hit1D = static_cast<const SiStripRecHit1D *>(hit);
221  process(hit1D->omniClusterRef(), subdet);
222  } else if (hitType == typeid(SiStripMatchedRecHit2D)) {
223  const SiStripMatchedRecHit2D *matchHit = static_cast<const SiStripMatchedRecHit2D *>(hit);
224  //DBG// cout << "Matched RecHit 2D: " << endl;
225  process(matchHit->monoClusterRef(), subdet);
226  process(matchHit->stereoClusterRef(), subdet);
227  } else if (hitType == typeid(ProjectedSiStripRecHit2D)) {
228  const ProjectedSiStripRecHit2D *projHit = static_cast<const ProjectedSiStripRecHit2D *>(hit);
229  //DBG// cout << "Projected RecHit 2D: " << endl;
230  process(projHit->originalHit().omniClusterRef(), subdet);
231  } else
232  throw cms::Exception("NOT IMPLEMENTED")
233  << "Don't know how to handle " << hitType.name() << " on detid " << detid.rawId() << "\n";
234  }
235 }

References cms::cuda::assert(), hltPixelTracks_cff::chi2, SiPixelRecHit::cluster(), collectedPixels_, doPixel_, doStrip_, Exception, TrackerGeometry::geomDetSubDetector(), edm::Ref< C, T, F >::id(), GeomDetEnumerators::isTrackerPixel(), edm::Ref< C, T, F >::key(), SeedClusterRemover::ParamBlock::maxSize_, SiStripMatchedRecHit2D::monoClusterRef(), NumberOfParamBlocks, TrackerSingleRecHit::omniClusterRef(), ProjectedSiStripRecHit2D::originalHit(), pblocks_, pixels, pixelSourceProdID, DetId::rawId(), SiStripMatchedRecHit2D::stereoClusterRef(), and DetId::subdetId().

Referenced by produce().

◆ produce()

void SeedClusterRemover::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 237 of file SeedClusterRemover.cc.

237  {
239  iSetup.get<TrackerDigiGeometryRecord>().get("", tgh); //is it correct to use "" ?
240 
242  if (doPixel_) {
243  iEvent.getByToken(pixelClusters_, pixelClusters);
245  }
246  //DBG// std::cout << "SeedClusterRemover: Read pixel " << pixelClusters_.encode() << " = ID " << pixelSourceProdID << std::endl;
247 
249  if (doStrip_) {
250  iEvent.getByToken(stripClusters_, stripClusters);
252  }
253  //DBG// std::cout << "SeedClusterRemover: Read strip " << stripClusters_.encode() << " = ID " << stripSourceProdID << std::endl;
254 
255  if (doStrip_) {
256  strips.resize(stripClusters->dataSize());
257  fill(strips.begin(), strips.end(), true);
258  }
259  if (doPixel_) {
260  pixels.resize(pixelClusters->dataSize());
261  fill(pixels.begin(), pixels.end(), true);
262  }
263  if (mergeOld_) {
266  iEvent.getByToken(oldPxlMaskToken_, oldPxlMask);
267  iEvent.getByToken(oldStrMaskToken_, oldStrMask);
268  LogDebug("SeedClusterRemover") << "to merge in, " << oldStrMask->size() << " strp and " << oldPxlMask->size()
269  << " pxl";
270  oldStrMask->copyMaskTo(collectedStrips_);
271  oldPxlMask->copyMaskTo(collectedPixels_);
272  assert(stripClusters->dataSize() >= collectedStrips_.size());
273  collectedStrips_.resize(stripClusters->dataSize(), false); // for ondemand
274  } else {
275  collectedStrips_.resize(stripClusters->dataSize(), false);
276  collectedPixels_.resize(pixelClusters->dataSize(), false);
277  }
278 
280  iEvent.getByToken(trajectories_, seeds);
281 
282  for (auto const &seed : (*seeds)) {
283  auto hits = seed.recHits();
284  auto hit = hits.first;
285  for (; hit != hits.second; ++hit) {
286  if (!hit->isValid())
287  continue;
288  process(&(*hit), 0., tgh.product());
289  }
290  }
291 
292  pixels.clear();
293  strips.clear();
294 
295  LogDebug("SeedClusterRemover") << "total strip to skip: "
296  << std::count(collectedStrips_.begin(), collectedStrips_.end(), true);
297  iEvent.put(std::make_unique<StripMaskContainer>(edm::RefProd<edmNew::DetSetVector<SiStripCluster> >(stripClusters),
299 
300  LogDebug("SeedClusterRemover") << "total pxl to skip: "
301  << std::count(collectedPixels_.begin(), collectedPixels_.end(), true);
302  iEvent.put(std::make_unique<PixelMaskContainer>(edm::RefProd<edmNew::DetSetVector<SiPixelCluster> >(pixelClusters),
304 
305  collectedStrips_.clear();
306  collectedPixels_.clear();
307 }

References cms::cuda::assert(), collectedPixels_, collectedStrips_, edm::ContainerMask< T >::copyMaskTo(), KineDebug3::count(), doPixel_, doStrip_, ntuplemaker::fill, edm::EventSetup::get(), get, hfClusterShapes_cfi::hits, iEvent, LogDebug, mergeOld_, oldPxlMaskToken_, oldStrMaskToken_, LumiMonitor_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ESHandle< T >::product(), SurveyInfoScenario_cff::seed, InitialStep_cff::seeds, edm::ContainerMask< T >::size(), HLT_2018_cff::stripClusters, stripClusters_, strips, stripSourceProdID, and trajectories_.

◆ readPSet()

void SeedClusterRemover::readPSet ( const edm::ParameterSet iConfig,
const std::string &  name,
int  id1 = -1,
int  id2 = -1,
int  id3 = -1,
int  id4 = -1,
int  id5 = -1,
int  id6 = -1 
)
private

Definition at line 91 of file SeedClusterRemover.cc.

92  {
93  if (iConfig.exists(name)) {
94  ParamBlock pblock(iConfig.getParameter<ParameterSet>(name));
95  if (id1 == -1) {
97  } else {
98  pblocks_[id1] = pblock;
99  if (id2 != -1)
100  pblocks_[id2] = pblock;
101  if (id3 != -1)
102  pblocks_[id3] = pblock;
103  if (id4 != -1)
104  pblocks_[id4] = pblock;
105  if (id5 != -1)
106  pblocks_[id5] = pblock;
107  if (id6 != -1)
108  pblocks_[id6] = pblock;
109  }
110  }
111 }

References edm::ParameterSet::exists(), ntuplemaker::fill, edm::ParameterSet::getParameter(), globals_cff::id1, globals_cff::id2, and Skims_PA_cff::name.

Referenced by SeedClusterRemover().

Member Data Documentation

◆ collectedPixels_

std::vector<bool> SeedClusterRemover::collectedPixels_
private

Definition at line 85 of file SeedClusterRemover.cc.

Referenced by process(), and produce().

◆ collectedStrips_

std::vector<bool> SeedClusterRemover::collectedStrips_
private

Definition at line 84 of file SeedClusterRemover.cc.

Referenced by process(), and produce().

◆ doPixel_

bool SeedClusterRemover::doPixel_
private

Definition at line 57 of file SeedClusterRemover.cc.

Referenced by process(), produce(), and SeedClusterRemover().

◆ doStrip_

bool SeedClusterRemover::doStrip_
private

Definition at line 57 of file SeedClusterRemover.cc.

Referenced by process(), produce(), and SeedClusterRemover().

◆ mergeOld_

bool SeedClusterRemover::mergeOld_
private

Definition at line 58 of file SeedClusterRemover.cc.

Referenced by produce(), and SeedClusterRemover().

◆ NumberOfParamBlocks

const unsigned int SeedClusterRemover::NumberOfParamBlocks = 6
staticprivate

Definition at line 55 of file SeedClusterRemover.cc.

Referenced by process(), and SeedClusterRemover().

◆ oldPxlMaskToken_

edm::EDGetTokenT<PixelMaskContainer> SeedClusterRemover::oldPxlMaskToken_
private

Definition at line 64 of file SeedClusterRemover.cc.

Referenced by produce(), and SeedClusterRemover().

◆ oldStrMaskToken_

edm::EDGetTokenT<StripMaskContainer> SeedClusterRemover::oldStrMaskToken_
private

Definition at line 65 of file SeedClusterRemover.cc.

Referenced by produce(), and SeedClusterRemover().

◆ pblocks_

ParamBlock SeedClusterRemover::pblocks_[NumberOfParamBlocks]
private

Definition at line 68 of file SeedClusterRemover.cc.

Referenced by process(), and SeedClusterRemover().

◆ pixelClusters_

edm::EDGetTokenT<edmNew::DetSetVector<SiPixelCluster> > SeedClusterRemover::pixelClusters_
private

Definition at line 62 of file SeedClusterRemover.cc.

Referenced by produce(), and SeedClusterRemover().

◆ pixels

std::vector<uint8_t> SeedClusterRemover::pixels
private

Definition at line 78 of file SeedClusterRemover.cc.

Referenced by process(), and produce().

◆ pixelSourceProdID

edm::ProductID SeedClusterRemover::pixelSourceProdID
private

Definition at line 79 of file SeedClusterRemover.cc.

Referenced by process(), and produce().

◆ stripClusters_

edm::EDGetTokenT<edmNew::DetSetVector<SiStripCluster> > SeedClusterRemover::stripClusters_
private

Definition at line 63 of file SeedClusterRemover.cc.

Referenced by produce(), and SeedClusterRemover().

◆ strips

std::vector<uint8_t> SeedClusterRemover::strips
private

Definition at line 78 of file SeedClusterRemover.cc.

Referenced by process(), and produce().

◆ stripSourceProdID

edm::ProductID SeedClusterRemover::stripSourceProdID
private

Definition at line 79 of file SeedClusterRemover.cc.

Referenced by process(), and produce().

◆ trajectories_

edm::EDGetTokenT<TrajectorySeedCollection> SeedClusterRemover::trajectories_
private

Definition at line 66 of file SeedClusterRemover.cc.

Referenced by produce(), and SeedClusterRemover().

edm::RefProd
Definition: EDProductfwd.h:25
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
SeedClusterRemover::stripSourceProdID
edm::ProductID stripSourceProdID
Definition: SeedClusterRemover.cc:79
mps_fire.i
i
Definition: mps_fire.py:355
LumiMonitor_cff.pixelClusters
pixelClusters
Definition: LumiMonitor_cff.py:10
SeedClusterRemover::pixelClusters_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
Definition: SeedClusterRemover.cc:62
SeedClusterRemover::trajectories_
edm::EDGetTokenT< TrajectorySeedCollection > trajectories_
Definition: SeedClusterRemover.cc:66
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
SeedClusterRemover::mergeOld_
bool mergeOld_
Definition: SeedClusterRemover.cc:58
globals_cff.id1
id1
Definition: globals_cff.py:32
cms::cuda::assert
assert(be >=bs)
SiStripRecHit2D
Definition: SiStripRecHit2D.h:7
SeedClusterRemover::pixelSourceProdID
edm::ProductID pixelSourceProdID
Definition: SeedClusterRemover.cc:79
edm::ParameterSet::existsAs
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:160
hltPixelTracks_cff.chi2
chi2
Definition: hltPixelTracks_cff.py:25
edm::Handle
Definition: AssociativeIterator.h:50
SiPixelRecHit::cluster
ClusterRef cluster() const
Definition: SiPixelRecHit.h:47
ProjectedSiStripRecHit2D
Definition: ProjectedSiStripRecHit2D.h:8
SiPixelRecHit
Our base class.
Definition: SiPixelRecHit.h:23
SeedClusterRemover::pixels
std::vector< uint8_t > pixels
Definition: SeedClusterRemover.cc:78
edm::Ref
Definition: AssociativeIterator.h:58
DetId
Definition: DetId.h:17
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
SeedClusterRemover::stripClusters_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
Definition: SeedClusterRemover.cc:63
HLT_2018_cff.stripClusters
stripClusters
Definition: HLT_2018_cff.py:8683
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
edm::ESHandle< TrackerGeometry >
SeedClusterRemover::oldStrMaskToken_
edm::EDGetTokenT< StripMaskContainer > oldStrMaskToken_
Definition: SeedClusterRemover.cc:65
SeedClusterRemover::doPixel_
bool doPixel_
Definition: SeedClusterRemover.cc:57
ProjectedSiStripRecHit2D::originalHit
SiStripRecHit2D originalHit() const
Definition: ProjectedSiStripRecHit2D.h:56
SeedClusterRemover::collectedPixels_
std::vector< bool > collectedPixels_
Definition: SeedClusterRemover.cc:85
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
InitialStep_cff.seeds
seeds
Definition: InitialStep_cff.py:232
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:674
ntuplemaker.fill
fill
Definition: ntuplemaker.py:304
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
TrackerGeometry::geomDetSubDetector
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
Definition: TrackerGeometry.cc:203
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripMatchedRecHit2D::stereoClusterRef
OmniClusterRef const & stereoClusterRef() const
Definition: SiStripMatchedRecHit2D.h:34
KineDebug3::count
void count()
Definition: KinematicConstrainedVertexUpdatorT.h:21
GeomDetEnumerators::isTrackerPixel
bool isTrackerPixel(GeomDetEnumerators::SubDetector m)
Definition: GeomDetEnumerators.cc:68
iEvent
int iEvent
Definition: GenABIO.cc:224
SeedClusterRemover::strips
std::vector< uint8_t > strips
Definition: SeedClusterRemover.cc:78
SeedClusterRemover::NumberOfParamBlocks
static const unsigned int NumberOfParamBlocks
Definition: SeedClusterRemover.cc:55
SiStripRecHit1D
Definition: SiStripRecHit1D.h:8
get
#define get
SiStripMatchedRecHit2D::monoClusterRef
OmniClusterRef const & monoClusterRef() const
Definition: SiStripMatchedRecHit2D.h:35
edm::ContainerMask::size
size_t size() const
Definition: ContainerMask.h:53
SeedClusterRemover::doStrip_
bool doStrip_
Definition: SeedClusterRemover.cc:57
SeedClusterRemover::readPSet
void readPSet(const edm::ParameterSet &iConfig, const std::string &name, int id1=-1, int id2=-1, int id3=-1, int id4=-1, int id5=-1, int id6=-1)
Definition: SeedClusterRemover.cc:91
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
edmNew::DetSetVector
Definition: DetSetNew.h:13
edm::Ref::id
ProductID id() const
Accessor for product ID.
Definition: Ref.h:244
SeedClusterRemover::ParamBlock::maxSize_
size_t maxSize_
Definition: SeedClusterRemover.cc:53
SeedClusterRemover::pblocks_
ParamBlock pblocks_[NumberOfParamBlocks]
Definition: SeedClusterRemover.cc:68
DetId::rawId
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
SiStripMatchedRecHit2D
Definition: SiStripMatchedRecHit2D.h:8
edm::ContainerMask::copyMaskTo
void copyMaskTo(std::vector< bool > &) const
Definition: ContainerMask.h:87
Exception
Definition: hltDiff.cc:246
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
SeedClusterRemover::collectedStrips_
std::vector< bool > collectedStrips_
Definition: SeedClusterRemover.cc:84
edm::Ref::key
key_type key() const
Accessor for product key.
Definition: Ref.h:250
cms::Exception
Definition: Exception.h:70
SeedClusterRemover::process
void process(const TrackingRecHit *hit, float chi2, const TrackerGeometry *tg)
Definition: SeedClusterRemover.cc:175
globals_cff.id2
id2
Definition: globals_cff.py:33
TrackerSingleRecHit::omniClusterRef
OmniClusterRef const & omniClusterRef() const
Definition: TrackerSingleRecHit.h:41
edm::InputTag
Definition: InputTag.h:15
SeedClusterRemover::oldPxlMaskToken_
edm::EDGetTokenT< PixelMaskContainer > oldPxlMaskToken_
Definition: SeedClusterRemover.cc:64
SurveyInfoScenario_cff.seed
seed
Definition: SurveyInfoScenario_cff.py:295
hit
Definition: SiStripHitEffFromCalibTree.cc:88