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 51 of file ClusterProducerFP420.h.

Constructor & Destructor Documentation

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

Definition at line 53 of file ClusterProducerFP420.h.

53 : verb(0), seed(aseed), vnoise_(vnoise) {};
const ElectrodNoiseVector & vnoise_

Member Function Documentation

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

Definition at line 55 of file ClusterProducerFP420.h.

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

55  { return ( !vnoise_[digi.channel()].getDisable() &&
56  digi.adc() >= seed * vnoise_[digi.channel()].getNoise()) ;}
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 59 of file ClusterProducerFP420.h.

int AboveSeed::verb
private

Definition at line 58 of file ClusterProducerFP420.h.

const ElectrodNoiseVector& AboveSeed::vnoise_
private

Definition at line 60 of file ClusterProducerFP420.h.