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 SeedingHitSet &hits, const GlobalTrajectoryParameters &helixStateAtVertex, const FastHelix &helix) const override
 
bool compatible (const TrajectoryStateOnSurface &, SeedingHitSet::ConstRecHitPointer hit) 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::SimpleClusterProbabilitySeedComparitor ( const edm::ParameterSet cfg,
edm::ConsumesCollector iC 
)

Definition at line 24 of file SimpleClusterProbabilitySeedComparitor.cc.

26  : probCut_(cfg.getParameter<double>("LogPixelProbabilityCut")) {}

◆ ~SimpleClusterProbabilitySeedComparitor()

SimpleClusterProbabilitySeedComparitor::~SimpleClusterProbabilitySeedComparitor ( )
override

Definition at line 28 of file SimpleClusterProbabilitySeedComparitor.cc.

28 {}

Member Function Documentation

◆ compatible() [1/3]

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

Implements SeedComparitor.

Definition at line 12 of file SimpleClusterProbabilitySeedComparitor.cc.

12 { return true; }

◆ compatible() [2/3]

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  }

◆ compatible() [3/3]

bool SimpleClusterProbabilitySeedComparitor::compatible ( const TrajectoryStateOnSurface tsos,
SeedingHitSet::ConstRecHitPointer  hit 
) const
overridevirtual

Implements SeedComparitor.

Definition at line 30 of file SimpleClusterProbabilitySeedComparitor.cc.

31  {
32  return (probCut_ < -15.) || (log10(hit->clusterProbability()) > probCut_);
33 }

References probCut_.

◆ init()

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

◆ probCut_

float SimpleClusterProbabilitySeedComparitor::probCut_
private

Definition at line 21 of file SimpleClusterProbabilitySeedComparitor.cc.

Referenced by compatible().

SimpleClusterProbabilitySeedComparitor::probCut_
float probCut_
Definition: SimpleClusterProbabilitySeedComparitor.cc:21
looper.cfg
cfg
Definition: looper.py:297
hit
Definition: SiStripHitEffFromCalibTree.cc:88