CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 24 of file SimpleClusterProbabilitySeedComparitor.cc.

26  : probCut_(cfg.getParameter<double>("LogPixelProbabilityCut")) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
SimpleClusterProbabilitySeedComparitor::~SimpleClusterProbabilitySeedComparitor ( )
override

Definition at line 28 of file SimpleClusterProbabilitySeedComparitor.cc.

28 {}

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 30 of file SimpleClusterProbabilitySeedComparitor.cc.

References probCut_.

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

Implements SeedComparitor.

Definition at line 14 of file SimpleClusterProbabilitySeedComparitor.cc.

16  {
17  return true;
18  }
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().