test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
SimpleClusterProbabilitySeedComparitor Class Reference
Inheritance diagram for SimpleClusterProbabilitySeedComparitor:
SeedComparitor

Public Member Functions

virtual bool compatible (const SeedingHitSet &hits, const TrackingRegion &region) const override
 
virtual bool compatible (const TrajectorySeed &seed) const override
 
virtual bool compatible (const TrajectoryStateOnSurface &, SeedingHitSet::ConstRecHitPointer hit) const override
 
virtual bool compatible (const SeedingHitSet &hits, const GlobalTrajectoryParameters &helixStateAtVertex, const FastHelix &helix, const TrackingRegion &region) const override
 
virtual bool compatible (const SeedingHitSet &hits, const GlobalTrajectoryParameters &straightLineStateAtVertex, const TrackingRegion &region) const override
 
virtual void init (const edm::Event &ev, const edm::EventSetup &es) override
 
 SimpleClusterProbabilitySeedComparitor (const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
 
virtual ~SimpleClusterProbabilitySeedComparitor ()
 
- 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 30 of file SimpleClusterProbabilitySeedComparitor.cc.

30  :
31  probCut_(cfg.getParameter<double>("LogPixelProbabilityCut"))
32 {
33 }
T getParameter(std::string const &) const
SimpleClusterProbabilitySeedComparitor::~SimpleClusterProbabilitySeedComparitor ( )
virtual

Definition at line 35 of file SimpleClusterProbabilitySeedComparitor.cc.

36 {
37 }

Member Function Documentation

virtual bool SimpleClusterProbabilitySeedComparitor::compatible ( const SeedingHitSet hits,
const TrackingRegion region 
) const
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 12 of file SimpleClusterProbabilitySeedComparitor.cc.

12 { return true; }
virtual bool SimpleClusterProbabilitySeedComparitor::compatible ( const TrajectorySeed seed) const
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 13 of file SimpleClusterProbabilitySeedComparitor.cc.

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

Implements SeedComparitor.

Definition at line 40 of file SimpleClusterProbabilitySeedComparitor.cc.

References probCut_.

42 {
43  return (probCut_ < -15.) || (log10(hit->clusterProbability()) > probCut_);
44 }
virtual bool SimpleClusterProbabilitySeedComparitor::compatible ( const SeedingHitSet hits,
const GlobalTrajectoryParameters helixStateAtVertex,
const FastHelix helix,
const TrackingRegion region 
) const
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 16 of file SimpleClusterProbabilitySeedComparitor.cc.

19  { return true; }
virtual bool SimpleClusterProbabilitySeedComparitor::compatible ( const SeedingHitSet hits,
const GlobalTrajectoryParameters straightLineStateAtVertex,
const TrackingRegion region 
) const
inlineoverridevirtual

Implements SeedComparitor.

Definition at line 20 of file SimpleClusterProbabilitySeedComparitor.cc.

22  { return true; }
virtual 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 26 of file SimpleClusterProbabilitySeedComparitor.cc.

Referenced by compatible().