CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AboveSeed Class Reference

#include <ClusterProducerFP420.h>

Public Member Functions

 AboveSeed (float aseed, const ElectrodNoiseVector &vnoise)
 
bool operator() (const HDigiFP420 &digi)
 

Private Attributes

float seed
 
int verb
 
const ElectrodNoiseVectorvnoise_
 

Detailed Description

Definition at line 50 of file ClusterProducerFP420.h.

Constructor & Destructor Documentation

◆ AboveSeed()

AboveSeed::AboveSeed ( float  aseed,
const ElectrodNoiseVector vnoise 
)
inline

Definition at line 52 of file ClusterProducerFP420.h.

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

Member Function Documentation

◆ operator()()

bool AboveSeed::operator() ( const HDigiFP420 digi)
inline

Definition at line 54 of file ClusterProducerFP420.h.

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

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

Member Data Documentation

◆ seed

float AboveSeed::seed
private

Definition at line 60 of file ClusterProducerFP420.h.

Referenced by operator()().

◆ verb

int AboveSeed::verb
private

Definition at line 59 of file ClusterProducerFP420.h.

◆ vnoise_

const ElectrodNoiseVector& AboveSeed::vnoise_
private

Definition at line 61 of file ClusterProducerFP420.h.

Referenced by operator()().

AboveSeed::vnoise_
const ElectrodNoiseVector & vnoise_
Definition: ClusterProducerFP420.h:61
AboveSeed::verb
int verb
Definition: ClusterProducerFP420.h:59
AboveSeed::seed
float seed
Definition: ClusterProducerFP420.h:60
HDigiFP420::adc
int adc() const
Definition: HDigiFP420.h:18
HDigiFP420::channel
int channel() const
Definition: HDigiFP420.h:19