test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 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(), seed, and vnoise_.

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

Member Data Documentation

float AboveSeed::seed
private

Definition at line 59 of file ClusterProducerFP420.h.

Referenced by operator()().

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.

Referenced by operator()().