CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
HITrackClusterRemover Class Reference
Inheritance diagram for HITrackClusterRemover:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  ParamBlock
 

Public Member Functions

template<typename T >
auto_ptr< edmNew::DetSetVector
< T > > 
cleanup (const edmNew::DetSetVector< T > &oldClusters, const std::vector< uint8_t > &isGood, reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices *oldRefs)
 
 HITrackClusterRemover (const edm::ParameterSet &iConfig)
 
void produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override
 
 ~HITrackClusterRemover ()
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
- Public Member Functions inherited from edm::stream::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducerBase ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Types

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

Private Member Functions

template<typename T >
std::auto_ptr
< edmNew::DetSetVector< T > > 
cleanup (const edmNew::DetSetVector< T > &oldClusters, const std::vector< uint8_t > &isGood, reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices *oldRefs)
 
void mergeOld (reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices &oldRefs)
 
void process (const TrackingRecHit *hit, float chi2, const TrackerGeometry *tg)
 
void process (const OmniClusterRef &cluRef, SiStripDetId &detid, bool fromTrack)
 
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)
 
float sensorThickness (const SiStripDetId &detid) const
 

Private Attributes

bool clusterWasteSolution_
 
std::vector< bool > collectedPixels_
 
std::vector< bool > collectedStrips_
 
bool doPixel_
 
bool doPixelChargeCheck_
 
bool doStrip_
 
bool doStripChargeCheck_
 
bool doTracks_
 
bool filterTracks_
 
bool mergeOld_
 
int minNumberOfLayersWithMeasBeforeFiltering_
 
edm::EDGetTokenT
< PixelMaskContainer
oldPxlMaskToken_
 
edm::EDGetTokenT
< reco::ClusterRemovalInfo
oldRemovalInfo_
 
edm::EDGetTokenT
< StripMaskContainer
oldStrMaskToken_
 
std::vector< edm::EDGetTokenT
< edm::ValueMap< int > > > 
overrideTrkQuals_
 
ParamBlock pblocks_ [NumberOfParamBlocks]
 
edm::EDGetTokenT
< edmNew::DetSetVector
< SiPixelCluster > > 
pixelClusters_
 
std::string pixelRecHits_
 
std::vector< uint8_t > pixels
 
edm::ProductID pixelSourceProdID
 
edm::EDGetTokenT
< SiStripRecHit2DCollection
rphiRecHitToken_
 
edm::EDGetTokenT
< SiStripRecHit2DCollection
stereoRecHitToken_
 
edm::EDGetTokenT
< edmNew::DetSetVector
< SiStripCluster > > 
stripClusters_
 
std::string stripRecHits_
 
std::vector< uint8_t > strips
 
edm::ProductID stripSourceProdID
 
reco::TrackBase::TrackQuality trackQuality_
 
edm::EDGetTokenT
< TrajTrackAssociationCollection
trajectories_
 

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, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
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 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)
 

Detailed Description

Definition at line 43 of file HITrackClusterRemover.cc.

Member Typedef Documentation

Definition at line 71 of file HITrackClusterRemover.cc.

Definition at line 72 of file HITrackClusterRemover.cc.

Constructor & Destructor Documentation

HITrackClusterRemover::HITrackClusterRemover ( const edm::ParameterSet iConfig)

Definition at line 138 of file HITrackClusterRemover.cc.

References clusterWasteSolution_, edm::EDConsumerBase::consumes(), doPixel_, doPixelChargeCheck_, doStrip_, doStripChargeCheck_, doTracks_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), lumiContext::fill, filterTracks_, edm::ParameterSet::getParameter(), i, HLT_FULL_cff::InputTag, diffTwoXMLs::label, mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, NumberOfParamBlocks, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, pblocks_, pixelClusters_, reco::TrackBase::qualityByName(), readPSet(), rphiRecHitToken_, stereoRecHitToken_, AlCaHLTBitMon_QueryRunRegistry::string, stripClusters_, stripRecHits_, trackQuality_, trajectories_, and reco::TrackBase::undefQuality.

138  :
139  doTracks_(iConfig.exists("trajectories")),
140  doStrip_(iConfig.existsAs<bool>("doStrip") ? iConfig.getParameter<bool>("doStrip") : true),
141  doPixel_(iConfig.existsAs<bool>("doPixel") ? iConfig.getParameter<bool>("doPixel") : true),
142  mergeOld_(iConfig.exists("oldClusterRemovalInfo")),
143  clusterWasteSolution_(true),
144  doStripChargeCheck_(iConfig.existsAs<bool>("doStripChargeCheck") ? iConfig.getParameter<bool>("doStripChargeCheck") : false),
145  doPixelChargeCheck_(iConfig.existsAs<bool>("doPixelChargeCheck") ? iConfig.getParameter<bool>("doPixelChargeCheck") : false),
146  stripRecHits_(doStripChargeCheck_ ? iConfig.getParameter<std::string>("stripRecHits") : std::string("siStripMatchedRecHits")),
147  pixelRecHits_(doPixelChargeCheck_ ? iConfig.getParameter<std::string>("pixelRecHits") : std::string("siPixelRecHits"))
148 {
149  mergeOld_ = mergeOld_ && iConfig.getParameter<InputTag>("oldClusterRemovalInfo").label()!="";
150  if (iConfig.exists("overrideTrkQuals"))
151  overrideTrkQuals_.push_back(consumes<edm::ValueMap<int> >(iConfig.getParameter<InputTag>("overrideTrkQuals")));
152  if (iConfig.exists("clusterLessSolution"))
153  clusterWasteSolution_=!iConfig.getParameter<bool>("clusterLessSolution");
155  throw cms::Exception("Configuration Error") << "HITrackClusterRemover: Charge check asked without cluster collection ";
157  throw cms::Exception("Configuration Error") << "HITrackClusterRemover: Pixel cluster charge check not yet implemented";
158 
159  if (doPixel_ && clusterWasteSolution_) produces< edmNew::DetSetVector<SiPixelCluster> >();
160  if (doStrip_ && clusterWasteSolution_) produces< edmNew::DetSetVector<SiStripCluster> >();
161  if (clusterWasteSolution_) produces< ClusterRemovalInfo >();
162 
163  fill(pblocks_, pblocks_+NumberOfParamBlocks, ParamBlock());
164  readPSet(iConfig, "Common",-1);
165  if (doPixel_) {
166  readPSet(iConfig, "Pixel" ,0,1);
167  readPSet(iConfig, "PXB" ,0);
168  readPSet(iConfig, "PXE" ,1);
169  }
170  if (doStrip_) {
171  readPSet(iConfig, "Strip" ,2,3,4,5);
172  readPSet(iConfig, "StripInner" ,2,3);
173  readPSet(iConfig, "StripOuter" ,4,5);
174  readPSet(iConfig, "TIB" ,2);
175  readPSet(iConfig, "TID" ,3);
176  readPSet(iConfig, "TOB" ,4);
177  readPSet(iConfig, "TEC" ,5);
178  }
179 
180  bool usingCharge = false;
181  for (size_t i = 0; i < NumberOfParamBlocks; ++i) {
182  if (!pblocks_[i].isSet_) throw cms::Exception("Configuration Error") << "HITrackClusterRemover: Missing configuration for detector with subDetID = " << (i+1);
183  if (pblocks_[i].usesCharge_ && !usingCharge) {
184  throw cms::Exception("Configuration Error") << "HITrackClusterRemover: Configuration for subDetID = " << (i+1) << " uses cluster charge, which is not enabled.";
185  }
186  }
187 
188  if (!clusterWasteSolution_){
189  produces<edm::ContainerMask<edmNew::DetSetVector<SiPixelCluster> > >();
190  produces<edm::ContainerMask<edmNew::DetSetVector<SiStripCluster> > >();
191  }
193  filterTracks_=false;
194  if (iConfig.exists("TrackQuality")){
195  filterTracks_=true;
197  minNumberOfLayersWithMeasBeforeFiltering_ = iConfig.existsAs<int>("minNumberOfLayersWithMeasBeforeFiltering") ?
198  iConfig.getParameter<int>("minNumberOfLayersWithMeasBeforeFiltering") : 0;
199  }
200 
201  if (doTracks_) trajectories_ = consumes<TrajTrackAssociationCollection>(iConfig.getParameter<InputTag>("trajectories"));
202  if (doPixel_) pixelClusters_ = consumes<edmNew::DetSetVector<SiPixelCluster> >(iConfig.getParameter<InputTag>("pixelClusters"));
203  if (doStrip_) stripClusters_ = consumes<edmNew::DetSetVector<SiStripCluster> >(iConfig.getParameter<InputTag>("stripClusters"));
204  if (mergeOld_) {
205  oldRemovalInfo_ = consumes<ClusterRemovalInfo>(iConfig.getParameter<InputTag>("oldClusterRemovalInfo"));
206  oldPxlMaskToken_ = consumes<PixelMaskContainer>(iConfig.getParameter<InputTag>("oldClusterRemovalInfo"));
207  oldStrMaskToken_ = consumes<StripMaskContainer>(iConfig.getParameter<InputTag>("oldClusterRemovalInfo"));
208  }
209 
210  if (doStripChargeCheck_) {
211  rphiRecHitToken_ = consumes<SiStripRecHit2DCollection>(InputTag(stripRecHits_,"rphiRecHit"));
212  stereoRecHitToken_ = consumes<SiStripRecHit2DCollection>(InputTag(stripRecHits_,"stereoRecHit"));
213  }
214 // if(doPixelChargeCheck_) pixelRecHitsToken_ = consumes<SiPixelRecHitCollection>(InputTag(pixelRecHits_));
215 
216 }
T getParameter(std::string const &) const
int i
Definition: DBlmapReader.cc:9
string fill
Definition: lumiContext.py:319
bool existsAs(std::string const &parameterName, bool trackiness=true) const
checks if a parameter exists as a given type
Definition: ParameterSet.h:186
std::vector< edm::EDGetTokenT< edm::ValueMap< int > > > overrideTrkQuals_
bool exists(std::string const &parameterName) const
checks if a parameter exists
static const unsigned int NumberOfParamBlocks
edm::EDGetTokenT< TrajTrackAssociationCollection > trajectories_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< reco::ClusterRemovalInfo > oldRemovalInfo_
edm::EDGetTokenT< StripMaskContainer > oldStrMaskToken_
reco::TrackBase::TrackQuality trackQuality_
ParamBlock pblocks_[NumberOfParamBlocks]
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)
edm::EDGetTokenT< PixelMaskContainer > oldPxlMaskToken_
static TrackQuality qualityByName(const std::string &name)
Definition: TrackBase.cc:125
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
edm::EDGetTokenT< SiStripRecHit2DCollection > stereoRecHitToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > rphiRecHitToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
HITrackClusterRemover::~HITrackClusterRemover ( )

Definition at line 219 of file HITrackClusterRemover.cc.

220 {
221 }

Member Function Documentation

template<typename T >
std::auto_ptr<edmNew::DetSetVector<T> > HITrackClusterRemover::cleanup ( const edmNew::DetSetVector< T > &  oldClusters,
const std::vector< uint8_t > &  isGood,
reco::ClusterRemovalInfo::Indices refs,
const reco::ClusterRemovalInfo::Indices oldRefs 
)
private

Referenced by produce().

template<typename T >
auto_ptr<edmNew::DetSetVector<T> > HITrackClusterRemover::cleanup ( const edmNew::DetSetVector< T > &  oldClusters,
const std::vector< uint8_t > &  isGood,
reco::ClusterRemovalInfo::Indices refs,
const reco::ClusterRemovalInfo::Indices oldRefs 
)

Definition at line 234 of file HITrackClusterRemover.cc.

References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::data(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::end(), cmsHarvester::index, mergeOld(), convertSQLitetoXML_cfg::output, and edmNew::DetSetVector< T >::size().

235  {
236  typedef typename edmNew::DetSetVector<T> DSV;
237  typedef typename edmNew::DetSetVector<T>::FastFiller DSF;
238  typedef typename edmNew::DetSet<T> DS;
239  auto_ptr<DSV> output(new DSV());
240  output->reserve(oldClusters.size(), oldClusters.dataSize());
241 
242  unsigned int countOld=0;
243  unsigned int countNew=0;
244 
245  // cluster removal loop
246  const T * firstOffset = & oldClusters.data().front();
247  for (typename DSV::const_iterator itdet = oldClusters.begin(), enddet = oldClusters.end(); itdet != enddet; ++itdet) {
248  DS oldDS = *itdet;
249 
250  if (oldDS.empty()) continue; // skip empty detsets
251 
252  uint32_t id = oldDS.detId();
253  DSF outds(*output, id);
254 
255  for (typename DS::const_iterator it = oldDS.begin(), ed = oldDS.end(); it != ed; ++it) {
256  uint32_t index = ((&*it) - firstOffset);
257  countOld++;
258  if (isGood[index]) {
259  outds.push_back(*it);
260  countNew++;
261  refs.push_back(index);
262  //std::cout << "HITrackClusterRemover::cleanup " << typeid(T).name() << " reference " << index << " to " << (refs.size() - 1) << std::endl;
263  }
264 
265  }
266  if (outds.empty()) outds.abort(); // not write in an empty DSV
267  }
268 
269  if (oldRefs != 0) mergeOld(refs, *oldRefs);
270  return output;
271 }
const_iterator end(bool update=false) const
size_type dataSize() const
data_type const * data(size_t cell) const
void mergeOld(reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices &oldRefs)
size_type size() const
long double T
const_iterator begin(bool update=false) const
void HITrackClusterRemover::mergeOld ( reco::ClusterRemovalInfo::Indices refs,
const reco::ClusterRemovalInfo::Indices oldRefs 
)
private

Definition at line 223 of file HITrackClusterRemover.cc.

References i, and gen::n.

Referenced by cleanup().

225 {
226  for (size_t i = 0, n = refs.size(); i < n; ++i) {
227  refs[i] = oldRefs[refs[i]];
228  }
229 }
int i
Definition: DBlmapReader.cc:9
void HITrackClusterRemover::process ( const TrackingRecHit hit,
float  chi2,
const TrackerGeometry tg 
)
inlineprivate

Definition at line 312 of file HITrackClusterRemover.cc.

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

Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), produce(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().

312  {
313  SiStripDetId detid = hit->geographicalId();
314  uint32_t subdet = detid.subdetId();
315 
316  assert ((subdet > 0) && (subdet <= NumberOfParamBlocks));
317 
318  // chi2 cut
319  if (chi2 > pblocks_[subdet-1].maxChi2_) return;
320 
322  if (!doPixel_) return;
323  // this is a pixel, and i *know* it is
324  const SiPixelRecHit *pixelHit = static_cast<const SiPixelRecHit *>(hit);
325 
326  SiPixelRecHit::ClusterRef cluster = pixelHit->cluster();
327 
328  if (cluster.id() != pixelSourceProdID) throw cms::Exception("Inconsistent Data") <<
329  "HITrackClusterRemover: pixel cluster ref from Product ID = " << cluster.id() <<
330  " does not match with source cluster collection (ID = " << pixelSourceProdID << ")\n.";
331 
332  assert(cluster.id() == pixelSourceProdID);
333 //DBG// cout << "HIT NEW PIXEL DETID = " << detid.rawId() << ", Cluster [ " << cluster.key().first << " / " << cluster.key().second << " ] " << endl;
334 
335  // if requested, cut on cluster size
336  if (pblocks_[subdet-1].usesSize_ && (cluster->pixels().size() > pblocks_[subdet-1].maxSize_)) return;
337 
338  // mark as used
339  pixels[cluster.key()] = false;
340 
341  //if(!clusterWasteSolution_) collectedPixel[detid.rawId()].insert(cluster);
342  assert(collectedPixels_.size() > cluster.key());
343  //assert(detid.rawId() == cluster->geographicalId()); //This condition fails
344  if(!clusterWasteSolution_) collectedPixels_[cluster.key()]=true;
345 
346  } else { // aka Strip
347  if (!doStrip_) return;
348  const type_info &hitType = typeid(*hit);
349  if (hitType == typeid(SiStripRecHit2D)) {
350  const SiStripRecHit2D *stripHit = static_cast<const SiStripRecHit2D *>(hit);
351 //DBG// cout << "Plain RecHit 2D: " << endl;
352  process(stripHit->omniClusterRef(),detid, true);}
353  else if (hitType == typeid(SiStripRecHit1D)) {
354  const SiStripRecHit1D *hit1D = static_cast<const SiStripRecHit1D *>(hit);
355  process(hit1D->omniClusterRef(),detid, true);
356  } else if (hitType == typeid(SiStripMatchedRecHit2D)) {
357  const SiStripMatchedRecHit2D *matchHit = static_cast<const SiStripMatchedRecHit2D *>(hit);
358 //DBG// cout << "Matched RecHit 2D: " << endl;
359  process(matchHit->monoClusterRef(),detid, true);
360  process(matchHit->stereoClusterRef(),detid, true);
361  } else if (hitType == typeid(ProjectedSiStripRecHit2D)) {
362  const ProjectedSiStripRecHit2D *projHit = static_cast<const ProjectedSiStripRecHit2D *>(hit);
363 //DBG// cout << "Projected RecHit 2D: " << endl;
364  process(projHit->originalHit().omniClusterRef(),detid, true);
365  } else throw cms::Exception("NOT IMPLEMENTED") << "Don't know how to handle " << hitType.name() << " on detid " << detid.rawId() << "\n";
366  }
367 }
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
OmniClusterRef const & stereoClusterRef() const
assert(m_qm.get())
static const unsigned int NumberOfParamBlocks
key_type key() const
Accessor for product key.
Definition: Ref.h:264
ProductID id() const
Accessor for product ID.
Definition: Ref.h:258
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
OmniClusterRef const & monoClusterRef() const
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
ParamBlock pblocks_[NumberOfParamBlocks]
SiStripRecHit2D originalHit() const
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
OmniClusterRef const & omniClusterRef() const
ClusterRef cluster() const
Definition: SiPixelRecHit.h:49
bool isTrackerPixel(const GeomDetEnumerators::SubDetector m)
std::vector< uint8_t > pixels
DetId geographicalId() const
std::vector< bool > collectedPixels_
Our base class.
Definition: SiPixelRecHit.h:23
void process(const TrackingRecHit *hit, float chi2, const TrackerGeometry *tg)
void HITrackClusterRemover::process ( const OmniClusterRef cluRef,
SiStripDetId detid,
bool  fromTrack 
)
inlineprivate

Definition at line 285 of file HITrackClusterRemover.cc.

References assert(), OmniClusterRef::cluster_strip(), clusterWasteSolution_, collectedStrips_, edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::key(), HITrackClusterRemover::ParamBlock::maxSize_, pblocks_, sensorThickness(), strips, stripSourceProdID, and DetId::subdetId().

Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().

285  {
286  SiStripRecHit2D::ClusterRef cluster = ocluster.cluster_strip();
287  if (cluster.id() != stripSourceProdID) throw cms::Exception("Inconsistent Data") <<
288  "HITrackClusterRemover: strip cluster ref from Product ID = " << cluster.id() <<
289  " does not match with source cluster collection (ID = " << stripSourceProdID << ")\n.";
290 
291  uint32_t subdet = detid.subdetId();
292  assert(cluster.id() == stripSourceProdID);
293  if (pblocks_[subdet-1].usesSize_ && (cluster->amplitudes().size() > pblocks_[subdet-1].maxSize_)) return;
294  if (!fromTrack) {
295  int clusCharge=0;
296  for( std::vector<uint8_t>::const_iterator iAmp = cluster->amplitudes().begin(); iAmp != cluster->amplitudes().end(); ++iAmp){
297  clusCharge += *iAmp;
298  }
299  if (pblocks_[subdet-1].cutOnStripCharge_ && (clusCharge > (pblocks_[subdet-1].minGoodStripCharge_*sensorThickness(detid)))) return;
300  }
301 
302  if (collectedStrips_.size()<=cluster.key())
303  edm::LogError("BadCollectionSize")<<collectedStrips_.size()<<" is smaller than "<<cluster.key();
304 
305  assert(collectedStrips_.size() > cluster.key());
306  strips[cluster.key()] = false;
307  if (!clusterWasteSolution_) collectedStrips_[cluster.key()]=true;
308 
309 }
assert(m_qm.get())
std::vector< uint8_t > strips
key_type key() const
Accessor for product key.
Definition: Ref.h:264
ProductID id() const
Accessor for product ID.
Definition: Ref.h:258
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
ParamBlock pblocks_[NumberOfParamBlocks]
std::vector< bool > collectedStrips_
float sensorThickness(const SiStripDetId &detid) const
void HITrackClusterRemover::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overridevirtual

Implements edm::stream::EDProducerBase.

Definition at line 381 of file HITrackClusterRemover.cc.

References assert(), cleanup(), clusterWasteSolution_, collectedPixels_, collectedStrips_, edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >::const_iterator, KineDebug3::count(), doPixel_, doStrip_, doStripChargeCheck_, doTracks_, Exception, lumiContext::fill, filterTracks_, edm::EventSetup::get(), edm::Event::getByToken(), reco::TrackBase::hitPattern(), edm::HandleBase::id(), TrackingRecHit::isValid(), HLT_FULL_cff::labels, edm::EDConsumerBase::labelsForToken(), LogDebug, Trajectory::measurements(), mergeOld_, minNumberOfLayersWithMeasBeforeFiltering_, oldPxlMaskToken_, oldRemovalInfo_, oldStrMaskToken_, overrideTrkQuals_, HLT_FULL_cff::pixelClusters, pixelClusters_, pixels, pixelSourceProdID, process(), edm::ESHandle< class >::product(), edm::ProductLabels::productInstance, edm::Event::put(), reco::TrackBase::quality(), edm::ProductID::reset(), PixelLessLayerPairs4PixelLessTracking_cfi::rphiRecHits, rphiRecHitToken_, PixelLessLayerPairs4PixelLessTracking_cfi::stereoRecHits, stereoRecHitToken_, HLT_FULL_cff::stripClusters, stripClusters_, strips, stripSourceProdID, reco::HitPattern::trackerLayersWithMeasurement(), trackQuality_, and trajectories_.

382 {
383  ProductID pixelOldProdID, stripOldProdID;
384 
386  iSetup.get<TrackerDigiGeometryRecord>().get(tgh);
387 
389  if (doPixel_) {
390  iEvent.getByToken(pixelClusters_, pixelClusters);
391  pixelSourceProdID = pixelClusters.id();
392  }
393 //DBG// std::cout << "HITrackClusterRemover: Read pixel " << pixelClusters_.encode() << " = ID " << pixelSourceProdID << std::endl;
394 
396  if (doStrip_) {
397  iEvent.getByToken(stripClusters_, stripClusters);
398  stripSourceProdID = stripClusters.id();
399  }
400 //DBG// std::cout << "HITrackClusterRemover: Read strip " << stripClusters_.encode() << " = ID " << stripSourceProdID << std::endl;
401 
402  auto_ptr<ClusterRemovalInfo> cri;
404  if (doStrip_ && doPixel_) cri.reset(new ClusterRemovalInfo(pixelClusters, stripClusters));
405  else if (doStrip_) cri.reset(new ClusterRemovalInfo(stripClusters));
406  else if (doPixel_) cri.reset(new ClusterRemovalInfo(pixelClusters));
407  }
408 
409  Handle<ClusterRemovalInfo> oldRemovalInfo;
411  iEvent.getByToken(oldRemovalInfo_, oldRemovalInfo);
412  // Check ProductIDs
413  if ( (oldRemovalInfo->stripNewRefProd().id() == stripClusters.id()) &&
414  (oldRemovalInfo->pixelNewRefProd().id() == pixelClusters.id()) ) {
415 
416  cri->getOldClustersFrom(*oldRemovalInfo);
417 
418  pixelOldProdID = oldRemovalInfo->pixelRefProd().id();
419  stripOldProdID = oldRemovalInfo->stripRefProd().id();
420 
421  } else {
422 
425  throw cms::Exception("Inconsistent Data") << "HITrackClusterRemover: " <<
426  "Input collection product IDs are [pixel: " << pixelClusters.id() << ", strip: " << stripClusters.id() << "] \n" <<
427  "\t but the *old* ClusterRemovalInfo " << labels.productInstance << " refers as 'new product ids' to " <<
428  "[pixel: " << oldRemovalInfo->pixelNewRefProd().id() << ", strip: " << oldRemovalInfo->stripNewRefProd().id() << "]\n" <<
429  "NOTA BENE: when running HITrackClusterRemover with an old ClusterRemovalInfo the hits in the trajectory MUST be already re-keyed.\n";
430  }
431  } else { // then Old == Source
432  pixelOldProdID = pixelSourceProdID;
433  stripOldProdID = stripSourceProdID;
434  }
435 
436  if (doStrip_) {
437  strips.resize(stripClusters->dataSize()); fill(strips.begin(), strips.end(), true);
438  }
439  if (doPixel_) {
440  pixels.resize(pixelClusters->dataSize()); fill(pixels.begin(), pixels.end(), true);
441  }
442  if(mergeOld_) {
445  iEvent.getByToken(oldPxlMaskToken_ ,oldPxlMask);
446  iEvent.getByToken(oldStrMaskToken_ ,oldStrMask);
447  LogDebug("HITrackClusterRemover")<<"to merge in, "<<oldStrMask->size()<<" strp and "<<oldPxlMask->size()<<" pxl";
448  oldStrMask->copyMaskTo(collectedStrips_);
449  oldPxlMask->copyMaskTo(collectedPixels_);
450  assert(stripClusters->dataSize()>=collectedStrips_.size());
451  collectedStrips_.resize(stripClusters->dataSize(), false);
452  }else {
453  collectedStrips_.resize(stripClusters->dataSize(), false);
454  collectedPixels_.resize(pixelClusters->dataSize(), false);
455  }
456 
457  if (doTracks_) {
458 
459  Handle<TrajTrackAssociationCollection> trajectories_totrack;
460  iEvent.getByToken(trajectories_,trajectories_totrack);
461 
462  std::vector<Handle<edm::ValueMap<int> > > quals;
463  if ( overrideTrkQuals_.size() > 0) {
464  quals.resize(1);
465  iEvent.getByToken(overrideTrkQuals_[0],quals[0]);
466  }
467 
468  TrajTrackAssociationCollection::const_iterator asst=trajectories_totrack->begin();
469 
470  for ( ; asst!=trajectories_totrack->end();++asst){
471  const Track & track = *(asst->val);
472  if (filterTracks_) {
473  bool goodTk = true;
474  if ( quals.size()!=0) {
475  int qual=(*(quals[0]))[asst->val];
476  if ( qual < 0 ) {goodTk=false;}
477  //note that this does not work for some trackquals (goodIterative or undefQuality)
478  else
479  goodTk = ( qual & (1<<trackQuality_))>>trackQuality_;
480  }
481  else
482  goodTk=(track.quality(trackQuality_));
483  if ( !goodTk) continue;
485  }
486  const Trajectory &tj = *(asst->key);
487  const vector<TrajectoryMeasurement> &tms = tj.measurements();
488  vector<TrajectoryMeasurement>::const_iterator itm, endtm;
489  for (itm = tms.begin(), endtm = tms.end(); itm != endtm; ++itm) {
490  const TrackingRecHit *hit = itm->recHit()->hit();
491  if (!hit->isValid()) continue;
492  process( hit, itm->estimate() , tgh.product());
493  }
494  }
495  }
496 
497  if (doStripChargeCheck_) {
499  iEvent.getByToken(rphiRecHitToken_, rechitsrphi);
500  const SiStripRecHit2DCollection::DataContainer * rphiRecHits = & (rechitsrphi).product()->data();
502  recHit = rphiRecHits->begin(); recHit!= rphiRecHits->end(); recHit++){
503  SiStripDetId detid = recHit->geographicalId();
504  process(recHit->omniClusterRef(),detid,false);
505  }
507  iEvent.getByToken(stereoRecHitToken_, rechitsstereo);
508  const SiStripRecHit2DCollection::DataContainer * stereoRecHits = & (rechitsstereo).product()->data();
510  recHit = stereoRecHits->begin(); recHit!= stereoRecHits->end(); recHit++){
511  SiStripDetId detid = recHit->geographicalId();
512  process(recHit->omniClusterRef(),detid,false);
513  }
514 
515  }
516 // if(doPixelChargeCheck_) {
517 // edm::Handle<SiPixelRecHitCollection> pixelrechits;
518 // iEvent.getByToken(pixelRecHitsToken_,pixelrechits);
519 // }
520 
522  auto_ptr<edmNew::DetSetVector<SiPixelCluster> > newPixelClusters = cleanup(*pixelClusters, pixels,
523  cri->pixelIndices(), mergeOld_ ? &oldRemovalInfo->pixelIndices() : 0);
524  OrphanHandle<edmNew::DetSetVector<SiPixelCluster> > newPixels = iEvent.put(newPixelClusters);
525 //DBG// std::cout << "HITrackClusterRemover: Wrote pixel " << newPixels.id() << " from " << pixelSourceProdID << std::endl;
526  cri->setNewPixelClusters(newPixels);
527  }
529  auto_ptr<edmNew::DetSetVector<SiStripCluster> > newStripClusters = cleanup(*stripClusters, strips,
530  cri->stripIndices(), mergeOld_ ? &oldRemovalInfo->stripIndices() : 0);
531  OrphanHandle<edmNew::DetSetVector<SiStripCluster> > newStrips = iEvent.put(newStripClusters);
532 //DBG// std::cout << "HITrackClusterRemover: Wrote strip " << newStrips.id() << " from " << stripSourceProdID << std::endl;
533  cri->setNewStripClusters(newStrips);
534  }
535 
536 
537  if (clusterWasteSolution_) {
538  // double fraction_pxl= cri->pixelIndices().size() / (double) pixels.size();
539  // double fraction_strp= cri->stripIndices().size() / (double) strips.size();
540  // edm::LogWarning("HITrackClusterRemover")<<" fraction: " << fraction_pxl <<" "<<fraction_strp;
541  iEvent.put(cri);
542  }
543 
544  pixels.clear(); strips.clear();
545 
546  if (!clusterWasteSolution_){
547  //auto_ptr<edmNew::DetSetVector<SiPixelClusterRefNew> > removedPixelClsuterRefs(new edmNew::DetSetVector<SiPixelClusterRefNew>());
548  //auto_ptr<edmNew::DetSetVector<SiStripRecHit1D::ClusterRef> > removedStripClsuterRefs(new edmNew::DetSetVector<SiStripRecHit1D::ClusterRef>());
549 
550  std::auto_ptr<StripMaskContainer> removedStripClusterMask(
552  LogDebug("HITrackClusterRemover")<<"total strip to skip: "<<std::count(collectedStrips_.begin(),collectedStrips_.end(),true);
553  // std::cout << "HITrackClusterRemover " <<"total strip to skip: "<<std::count(collectedStrips_.begin(),collectedStrips_.end(),true) <<std::endl;
554  iEvent.put( removedStripClusterMask );
555 
556  std::auto_ptr<PixelMaskContainer> removedPixelClusterMask(
558  LogDebug("HITrackClusterRemover")<<"total pxl to skip: "<<std::count(collectedPixels_.begin(),collectedPixels_.end(),true);
559  iEvent.put( removedPixelClusterMask );
560 
561  }
562  collectedStrips_.clear();
563  collectedPixels_.clear();
564 
565 }
#define LogDebug(id)
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
string fill
Definition: lumiContext.py:319
std::vector< edm::EDGetTokenT< edm::ValueMap< int > > > overrideTrkQuals_
std::vector< data_type > DataContainer
ProductID id() const
Definition: HandleBase.cc:15
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
assert(m_qm.get())
std::auto_ptr< edmNew::DetSetVector< T > > cleanup(const edmNew::DetSetVector< T > &oldClusters, const std::vector< uint8_t > &isGood, reco::ClusterRemovalInfo::Indices &refs, const reco::ClusterRemovalInfo::Indices *oldRefs)
std::vector< uint8_t > strips
edm::EDGetTokenT< TrajTrackAssociationCollection > trajectories_
tuple stripClusters
edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > StripMaskContainer
int trackerLayersWithMeasurement() const
Definition: HitPattern.cc:527
edm::EDGetTokenT< reco::ClusterRemovalInfo > oldRemovalInfo_
DataContainer const & measurements() const
Definition: Trajectory.h:250
edm::EDGetTokenT< StripMaskContainer > oldStrMaskToken_
reco::TrackBase::TrackQuality trackQuality_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
void reset()
Definition: ProductID.h:39
edm::EDGetTokenT< PixelMaskContainer > oldPxlMaskToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClusters_
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:445
const T & get() const
Definition: EventSetup.h:56
T const * product() const
Definition: ESHandle.h:86
bool isValid() const
std::vector< bool > collectedStrips_
edm::EDGetTokenT< SiStripRecHit2DCollection > stereoRecHitToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > rphiRecHitToken_
bool quality(const TrackQuality) const
Track quality.
Definition: TrackBase.h:505
tuple pixelClusters
void labelsForToken(EDGetToken iToken, Labels &oLabels) const
edm::ContainerMask< edmNew::DetSetVector< SiPixelCluster > > PixelMaskContainer
char const * productInstance
Definition: ProductLabels.h:6
std::vector< uint8_t > pixels
std::vector< bool > collectedPixels_
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClusters_
void process(const TrackingRecHit *hit, float chi2, const TrackerGeometry *tg)
void HITrackClusterRemover::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 120 of file HITrackClusterRemover.cc.

References edm::ParameterSet::exists(), lumiContext::fill, and edm::ParameterSet::getParameter().

Referenced by HITrackClusterRemover().

122 {
123  if (iConfig.exists(name)) {
124  ParamBlock pblock(iConfig.getParameter<ParameterSet>(name));
125  if (id1 == -1) {
127  } else {
128  pblocks_[id1] = pblock;
129  if (id2 != -1) pblocks_[id2] = pblock;
130  if (id3 != -1) pblocks_[id3] = pblock;
131  if (id4 != -1) pblocks_[id4] = pblock;
132  if (id5 != -1) pblocks_[id5] = pblock;
133  if (id6 != -1) pblocks_[id6] = pblock;
134  }
135  }
136 }
T getParameter(std::string const &) const
string fill
Definition: lumiContext.py:319
bool exists(std::string const &parameterName) const
checks if a parameter exists
static const unsigned int NumberOfParamBlocks
ParamBlock pblocks_[NumberOfParamBlocks]
float HITrackClusterRemover::sensorThickness ( const SiStripDetId detid) const
private

Definition at line 273 of file HITrackClusterRemover.cc.

References SiStripDetId::moduleGeometry(), PixelSubdetector::PixelBarrel, DetId::subdetId(), SiStripDetId::TIB, SiStripDetId::TOB, SiStripDetId::W5, SiStripDetId::W6, and SiStripDetId::W7.

Referenced by process().

274 {
275  if (detid.subdetId()>=SiStripDetId::TIB) {
276  if (detid.subdetId()==SiStripDetId::TOB) return 0.047;
279  return 0.047;
280  return 0.029; // so it is TEC ring 1-4 or TIB or TOB;
281  } else if (detid.subdetId()==PixelSubdetector::PixelBarrel) return 0.0285;
282  else return 0.027;
283 }
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
ModuleGeometry moduleGeometry() const
Definition: SiStripDetId.h:134

Member Data Documentation

bool HITrackClusterRemover::clusterWasteSolution_
private

Definition at line 102 of file HITrackClusterRemover.cc.

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

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

Definition at line 108 of file HITrackClusterRemover.cc.

Referenced by process(), and produce().

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

Definition at line 107 of file HITrackClusterRemover.cc.

Referenced by process(), and produce().

bool HITrackClusterRemover::doPixel_
private

Definition at line 69 of file HITrackClusterRemover.cc.

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

bool HITrackClusterRemover::doPixelChargeCheck_
private

Definition at line 102 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover().

bool HITrackClusterRemover::doStrip_
private

Definition at line 69 of file HITrackClusterRemover.cc.

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

bool HITrackClusterRemover::doStripChargeCheck_
private

Definition at line 102 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

bool HITrackClusterRemover::doTracks_
private

Definition at line 68 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

bool HITrackClusterRemover::filterTracks_
private

Definition at line 104 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

bool HITrackClusterRemover::mergeOld_
private

Definition at line 70 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

int HITrackClusterRemover::minNumberOfLayersWithMeasBeforeFiltering_
private

Definition at line 105 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

const unsigned int HITrackClusterRemover::NumberOfParamBlocks = 6
staticprivate

Definition at line 66 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and process().

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

Definition at line 77 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

edm::EDGetTokenT<reco::ClusterRemovalInfo> HITrackClusterRemover::oldRemovalInfo_
private

Definition at line 76 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

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

Definition at line 78 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

std::vector< edm::EDGetTokenT<edm::ValueMap<int> > > HITrackClusterRemover::overrideTrkQuals_
private

Definition at line 79 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

ParamBlock HITrackClusterRemover::pblocks_[NumberOfParamBlocks]
private

Definition at line 83 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and process().

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

Definition at line 73 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

std::string HITrackClusterRemover::pixelRecHits_
private

Definition at line 103 of file HITrackClusterRemover.cc.

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

Definition at line 87 of file HITrackClusterRemover.cc.

Referenced by process(), and produce().

edm::ProductID HITrackClusterRemover::pixelSourceProdID
private

Definition at line 88 of file HITrackClusterRemover.cc.

Referenced by process(), and produce().

edm::EDGetTokenT<SiStripRecHit2DCollection> HITrackClusterRemover::rphiRecHitToken_
private

Definition at line 80 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

edm::EDGetTokenT<SiStripRecHit2DCollection> HITrackClusterRemover::stereoRecHitToken_
private

Definition at line 80 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

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

Definition at line 74 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

std::string HITrackClusterRemover::stripRecHits_
private

Definition at line 103 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover().

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

Definition at line 87 of file HITrackClusterRemover.cc.

Referenced by process(), and produce().

edm::ProductID HITrackClusterRemover::stripSourceProdID
private

Definition at line 88 of file HITrackClusterRemover.cc.

Referenced by process(), and produce().

reco::TrackBase::TrackQuality HITrackClusterRemover::trackQuality_
private

Definition at line 106 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().

edm::EDGetTokenT<TrajTrackAssociationCollection> HITrackClusterRemover::trajectories_
private

Definition at line 75 of file HITrackClusterRemover.cc.

Referenced by HITrackClusterRemover(), and produce().