CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SimpleClusterProbabilitySeedComparitor Class Reference
Inheritance diagram for SimpleClusterProbabilitySeedComparitor:
SeedComparitor

Public Member Functions

bool compatible (const SeedingHitSet &hits) const override
 
bool compatible (const TrajectoryStateOnSurface &, SeedingHitSet::ConstRecHitPointer hit) const override
 
bool compatible (const SeedingHitSet &hits, const GlobalTrajectoryParameters &helixStateAtVertex, const FastHelix &helix) const override
 
void init (const edm::Event &ev, const edm::EventSetup &es) override
 
 SimpleClusterProbabilitySeedComparitor (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
 
 ~SimpleClusterProbabilitySeedComparitor () override
 
- Public Member Functions inherited from SeedComparitor
virtual ~SeedComparitor ()
 

Private Attributes

float probCut_
 

Detailed Description

Definition at line 7 of file SimpleClusterProbabilitySeedComparitor.cc.

Constructor & Destructor Documentation

SimpleClusterProbabilitySeedComparitor::SimpleClusterProbabilitySeedComparitor ( const edm::ParameterSet cfg,
edm::ConsumesCollector iC 
)

Definition at line 25 of file SimpleClusterProbabilitySeedComparitor.cc.

25  :
26  probCut_(cfg.getParameter<double>("LogPixelProbabilityCut"))
27 {
28 }
T getParameter(std::string const &) const
SimpleClusterProbabilitySeedComparitor::~SimpleClusterProbabilitySeedComparitor ( )
override

Definition at line 30 of file SimpleClusterProbabilitySeedComparitor.cc.

31 {
32 }

Member Function Documentation

bool SimpleClusterProbabilitySeedComparitor::compatible ( const SeedingHitSet hits) const
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 12 of file SimpleClusterProbabilitySeedComparitor.cc.

12 { return true; }
bool SimpleClusterProbabilitySeedComparitor::compatible ( const TrajectoryStateOnSurface tsos,
SeedingHitSet::ConstRecHitPointer  hit 
) const
overridevirtual

Implements SeedComparitor.

Definition at line 35 of file SimpleClusterProbabilitySeedComparitor.cc.

References DEFINE_EDM_PLUGIN, and probCut_.

37 {
38  return (probCut_ < -15.) || (log10(hit->clusterProbability()) > probCut_);
39 }
bool SimpleClusterProbabilitySeedComparitor::compatible ( const SeedingHitSet hits,
const GlobalTrajectoryParameters helixStateAtVertex,
const FastHelix helix 
) const
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 15 of file SimpleClusterProbabilitySeedComparitor.cc.

17  { return true; }
void SimpleClusterProbabilitySeedComparitor::init ( const edm::Event ev,
const edm::EventSetup es 
)
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 11 of file SimpleClusterProbabilitySeedComparitor.cc.

11 {}

Member Data Documentation

float SimpleClusterProbabilitySeedComparitor::probCut_
private

Definition at line 21 of file SimpleClusterProbabilitySeedComparitor.cc.

Referenced by compatible().