CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes
ctfseeding::HitExtractorSTRP Class Referencefinal

#include <HitExtractorSTRP.h>

Inheritance diagram for ctfseeding::HitExtractorSTRP:
ctfseeding::HitExtractor

Public Types

typedef SiStripRecHit2D::ClusterRef SiStripClusterRef
 
- Public Types inherited from ctfseeding::HitExtractor
using HitPointer = mayown_ptr< BaseTrackerRecHit >
 
using Hits = std::vector< HitPointer >
 
using TkHit = BaseTrackerRecHit
 
using TkHitRef = BaseTrackerRecHit const &
 

Public Member Functions

void cleanedOfClusters (const TkTransientTrackingRecHitBuilder &ttrhBuilder, const edm::Event &ev, HitExtractor::Hits &hits, bool matched, unsigned int cleanFrom=0) const
 
virtual HitExtractorSTRPclone () const
 
std::tuple< int, int > getMinMaxRing () const
 
 HitExtractorSTRP (GeomDetEnumerators::SubDetector subdet, SeedingLayer::Side &side, int idLayer, float iminGoodCharge)
 
virtual HitExtractor::Hits hits (const TkTransientTrackingRecHitBuilder &ttrhBuilder, const edm::Event &, const edm::EventSetup &) const override
 
void setMinAbsZ (double minZToSet)
 
void setNoProjection () const
 
std::pair< bool,
ProjectedSiStripRecHit2D * > 
skipThis (const TkTransientTrackingRecHitBuilder &ttrhBuilder, TkHitRef matched, edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > &stripClusterMask) const
 
bool skipThis (DetId id, OmniClusterRef const &clus, edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > &stripClusterMask) const
 
void useMatchedHits (const edm::InputTag &m, edm::ConsumesCollector &iC)
 
void useRingSelector (int minRing, int maxRing)
 
bool useRingSelector () const
 
void useRPhiHits (const edm::InputTag &m, edm::ConsumesCollector &iC)
 
void useSimpleRphiHitsCleaner (bool use)
 
void useStereoHits (const edm::InputTag &m, edm::ConsumesCollector &iC)
 
virtual ~HitExtractorSTRP ()
 
- Public Member Functions inherited from ctfseeding::HitExtractor
 HitExtractor ()
 
void useSkipClusters (const edm::InputTag &m, edm::ConsumesCollector &iC)
 
virtual ~HitExtractor ()
 

Private Types

typedef edm::ContainerMask
< edmNew::DetSetVector
< SiStripCluster > > 
SkipClustersCollection
 

Private Member Functions

bool ringRange (int ring) const
 
void useSkipClusters_ (const edm::InputTag &m, edm::ConsumesCollector &iC) override
 

Private Attributes

bool failProjection
 
bool hasMatchedHits
 
bool hasRingSelector
 
bool hasRPhiHits
 
bool hasSimpleRphiHitsCleaner
 
bool hasStereoHits
 
double minAbsZ
 
int theIdLayer
 
const
GeomDetEnumerators::SubDetector 
theLayerSubDet
 
edm::EDGetTokenT
< SiStripMatchedRecHit2DCollection
theMatchedHits
 
int theMaxRing
 
int theMinRing
 
edm::EDGetTokenT
< SiStripRecHit2DCollection
theRPhiHits
 
SeedingLayer::Side theSide
 
edm::EDGetTokenT
< SkipClustersCollection
theSkipClusters
 
const SeedingLayertheSLayer
 
edm::EDGetTokenT
< SiStripRecHit2DCollection
theStereoHits
 

Additional Inherited Members

- Public Attributes inherited from ctfseeding::HitExtractor
bool filterCluster =false
 
bool maskCluster =false
 
float minGoodCharge =0
 
bool skipClusters =false
 

Detailed Description

Definition at line 22 of file HitExtractorSTRP.h.

Member Typedef Documentation

Definition at line 25 of file HitExtractorSTRP.h.

Definition at line 55 of file HitExtractorSTRP.h.

Constructor & Destructor Documentation

HitExtractorSTRP::HitExtractorSTRP ( GeomDetEnumerators::SubDetector  subdet,
SeedingLayer::Side side,
int  idLayer,
float  iminGoodCharge 
)

Definition at line 29 of file HitExtractorSTRP.cc.

Referenced by clone().

virtual ctfseeding::HitExtractorSTRP::~HitExtractorSTRP ( )
inlinevirtual

Definition at line 28 of file HitExtractorSTRP.h.

28 {}

Member Function Documentation

void HitExtractorSTRP::cleanedOfClusters ( const TkTransientTrackingRecHitBuilder ttrhBuilder,
const edm::Event ev,
HitExtractor::Hits hits,
bool  matched,
unsigned int  cleanFrom = 0 
) const

Definition at line 100 of file HitExtractorSTRP.cc.

virtual HitExtractorSTRP* ctfseeding::HitExtractorSTRP::clone ( void  ) const
inlinevirtual

Implements ctfseeding::HitExtractor.

Definition at line 31 of file HitExtractorSTRP.h.

References HitExtractorSTRP().

31 { return new HitExtractorSTRP(*this); }
HitExtractorSTRP(GeomDetEnumerators::SubDetector subdet, SeedingLayer::Side &side, int idLayer, float iminGoodCharge)
std::tuple<int, int> ctfseeding::HitExtractorSTRP::getMinMaxRing ( ) const
inline

Definition at line 51 of file HitExtractorSTRP.h.

References theMaxRing, and theMinRing.

HitExtractor::Hits HitExtractorSTRP::hits ( const TkTransientTrackingRecHitBuilder ttrhBuilder,
const edm::Event ev,
const edm::EventSetup es 
) const
overridevirtual

Implements ctfseeding::HitExtractor.

Definition at line 138 of file HitExtractorSTRP.cc.

bool HitExtractorSTRP::ringRange ( int  ring) const
private

Definition at line 47 of file HitExtractorSTRP.cc.

void ctfseeding::HitExtractorSTRP::setMinAbsZ ( double  minZToSet)
inline

Definition at line 48 of file HitExtractorSTRP.h.

References minAbsZ.

48 {minAbsZ=minZToSet;}
void ctfseeding::HitExtractorSTRP::setNoProjection ( ) const
inline

Definition at line 47 of file HitExtractorSTRP.h.

References failProjection.

std::pair< bool, ProjectedSiStripRecHit2D * > HitExtractorSTRP::skipThis ( const TkTransientTrackingRecHitBuilder ttrhBuilder,
TkHitRef  matched,
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > &  stripClusterMask 
) const

Definition at line 65 of file HitExtractorSTRP.cc.

bool HitExtractorSTRP::skipThis ( DetId  id,
OmniClusterRef const &  clus,
edm::Handle< edm::ContainerMask< edmNew::DetSetVector< SiStripCluster > > > &  stripClusterMask 
) const

Definition at line 53 of file HitExtractorSTRP.cc.

void ctfseeding::HitExtractorSTRP::useMatchedHits ( const edm::InputTag m,
edm::ConsumesCollector iC 
)
inline
void HitExtractorSTRP::useRingSelector ( int  minRing,
int  maxRing 
)

Definition at line 40 of file HitExtractorSTRP.cc.

bool ctfseeding::HitExtractorSTRP::useRingSelector ( ) const
inline

Definition at line 50 of file HitExtractorSTRP.h.

References hasRingSelector.

void ctfseeding::HitExtractorSTRP::useRPhiHits ( const edm::InputTag m,
edm::ConsumesCollector iC 
)
inline
void ctfseeding::HitExtractorSTRP::useSimpleRphiHitsCleaner ( bool  use)
inline

Definition at line 37 of file HitExtractorSTRP.h.

References hasSimpleRphiHitsCleaner.

void HitExtractorSTRP::useSkipClusters_ ( const edm::InputTag m,
edm::ConsumesCollector iC 
)
overrideprivatevirtual

Implements ctfseeding::HitExtractor.

Definition at line 36 of file HitExtractorSTRP.cc.

void ctfseeding::HitExtractorSTRP::useStereoHits ( const edm::InputTag m,
edm::ConsumesCollector iC 
)
inline

Member Data Documentation

bool ctfseeding::HitExtractorSTRP::failProjection
mutableprivate

Definition at line 73 of file HitExtractorSTRP.h.

Referenced by setNoProjection().

bool ctfseeding::HitExtractorSTRP::hasMatchedHits
private

Definition at line 68 of file HitExtractorSTRP.h.

Referenced by useMatchedHits().

bool ctfseeding::HitExtractorSTRP::hasRingSelector
private

Definition at line 71 of file HitExtractorSTRP.h.

Referenced by useRingSelector().

bool ctfseeding::HitExtractorSTRP::hasRPhiHits
private

Definition at line 69 of file HitExtractorSTRP.h.

Referenced by useRPhiHits().

bool ctfseeding::HitExtractorSTRP::hasSimpleRphiHitsCleaner
private

Definition at line 72 of file HitExtractorSTRP.h.

Referenced by useSimpleRphiHitsCleaner().

bool ctfseeding::HitExtractorSTRP::hasStereoHits
private

Definition at line 70 of file HitExtractorSTRP.h.

Referenced by useStereoHits().

double ctfseeding::HitExtractorSTRP::minAbsZ
private

Definition at line 62 of file HitExtractorSTRP.h.

Referenced by setMinAbsZ().

int ctfseeding::HitExtractorSTRP::theIdLayer
private

Definition at line 61 of file HitExtractorSTRP.h.

const GeomDetEnumerators::SubDetector ctfseeding::HitExtractorSTRP::theLayerSubDet
private

Definition at line 58 of file HitExtractorSTRP.h.

edm::EDGetTokenT<SiStripMatchedRecHit2DCollection> ctfseeding::HitExtractorSTRP::theMatchedHits
private

Definition at line 65 of file HitExtractorSTRP.h.

Referenced by useMatchedHits().

int ctfseeding::HitExtractorSTRP::theMaxRing
private

Definition at line 63 of file HitExtractorSTRP.h.

Referenced by getMinMaxRing().

int ctfseeding::HitExtractorSTRP::theMinRing
private

Definition at line 63 of file HitExtractorSTRP.h.

Referenced by getMinMaxRing().

edm::EDGetTokenT<SiStripRecHit2DCollection> ctfseeding::HitExtractorSTRP::theRPhiHits
private

Definition at line 66 of file HitExtractorSTRP.h.

Referenced by useRPhiHits().

SeedingLayer::Side ctfseeding::HitExtractorSTRP::theSide
private

Definition at line 59 of file HitExtractorSTRP.h.

edm::EDGetTokenT<SkipClustersCollection> ctfseeding::HitExtractorSTRP::theSkipClusters
private

Definition at line 64 of file HitExtractorSTRP.h.

const SeedingLayer* ctfseeding::HitExtractorSTRP::theSLayer
mutableprivate

Definition at line 60 of file HitExtractorSTRP.h.

edm::EDGetTokenT<SiStripRecHit2DCollection> ctfseeding::HitExtractorSTRP::theStereoHits
private

Definition at line 67 of file HitExtractorSTRP.h.

Referenced by useStereoHits().