CMS 3D CMS Logo

Public Member Functions | Private Attributes

AboveSeed Class Reference

#include <OldThreeThresholdAlgorithm.h>

List of all members.

Public Member Functions

 AboveSeed (float aseed, const edm::ESHandle< SiStripNoises > &noiseHandle, const SiStripNoises::Range &noiseRange, const edm::ESHandle< SiStripQuality > &qualityHandle, const SiStripQuality::Range &qualityRange)
 AboveSeed (float aseed, const ElectrodNoiseVector &vnoise)
bool operator() (const HDigiFP420 &digi)
bool operator() (const SiStripDigi &digi)

Private Attributes

const edm::ESHandle
< SiStripNoises > & 
noise_
const SiStripNoises::RangenoiseRange_
const edm::ESHandle
< SiStripQuality > & 
quality_
const SiStripQuality::RangequalityRange_
float seed
int verb
const ElectrodNoiseVectorvnoise_

Detailed Description

Definition at line 75 of file OldThreeThresholdAlgorithm.h.


Constructor & Destructor Documentation

AboveSeed::AboveSeed ( float  aseed,
const edm::ESHandle< SiStripNoises > &  noiseHandle,
const SiStripNoises::Range noiseRange,
const edm::ESHandle< SiStripQuality > &  qualityHandle,
const SiStripQuality::Range qualityRange 
) [inline]

Definition at line 81 of file OldThreeThresholdAlgorithm.h.

    : seed(aseed), noise_(noiseHandle), noiseRange_(noiseRange),quality_(qualityHandle), qualityRange_(qualityRange)
    {};
AboveSeed::AboveSeed ( float  aseed,
const ElectrodNoiseVector vnoise 
) [inline]

Definition at line 53 of file ClusterProducerFP420.h.

: verb(0), seed(aseed), vnoise_(vnoise) {};

Member Function Documentation

bool AboveSeed::operator() ( const SiStripDigi digi) [inline]

Definition at line 86 of file OldThreeThresholdAlgorithm.h.

References SiStripDigi::adc(), noise_, noiseRange_, quality_, qualityRange_, seed, and SiStripDigi::strip().

                                                  { 
    return ( 
            !quality_->IsStripBad(qualityRange_,digi.strip()) 
                && 
            digi.adc() >= seed * noise_->getNoise(digi.strip(), noiseRange_)
            );
  }
bool AboveSeed::operator() ( const HDigiFP420 digi) [inline]

Definition at line 55 of file ClusterProducerFP420.h.

References HDigiFP420::adc(), HDigiFP420::channel(), seed, and vnoise_.

                                          { return ( !vnoise_[digi.channel()].getDisable() && 
                                               digi.adc() >= seed * vnoise_[digi.channel()].getNoise()) ;}

Member Data Documentation

Definition at line 95 of file OldThreeThresholdAlgorithm.h.

Referenced by operator()().

Definition at line 96 of file OldThreeThresholdAlgorithm.h.

Referenced by operator()().

Definition at line 97 of file OldThreeThresholdAlgorithm.h.

Referenced by operator()().

Definition at line 98 of file OldThreeThresholdAlgorithm.h.

Referenced by operator()().

float AboveSeed::seed [private]

Definition at line 94 of file OldThreeThresholdAlgorithm.h.

Referenced by operator()().

int AboveSeed::verb [private]

Definition at line 58 of file ClusterProducerFP420.h.

Definition at line 60 of file ClusterProducerFP420.h.

Referenced by operator()().