CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( 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

bool AboveSeed::operator() ( const HDigiFP420 digi)
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
int adc() const
Definition: HDigiFP420.h:18
const ElectrodNoiseVector & vnoise_

Member Data Documentation

float AboveSeed::seed
private

Definition at line 60 of file ClusterProducerFP420.h.

Referenced by operator()().

int AboveSeed::verb
private

Definition at line 59 of file ClusterProducerFP420.h.

const ElectrodNoiseVector& AboveSeed::vnoise_
private

Definition at line 61 of file ClusterProducerFP420.h.

Referenced by operator()().