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) const
 

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){};
const ElectrodNoiseVector & vnoise_

Member Function Documentation

◆ operator()()

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

Definition at line 54 of file ClusterProducerFP420.h.

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

54  {
55  return (!vnoise_[digi.channel()].getDisable() && digi.adc() >= seed * vnoise_[digi.channel()].getNoise());
56  }
int channel() const
Definition: HDigiFP420.h:19
const ElectrodNoiseVector & vnoise_
int adc() const
Definition: HDigiFP420.h:18

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()().