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 | Friends
NoiseAnalysis Class Reference

Histogram-based analysis for pedestal run. More...

#include <NoiseAnalysis.h>

Inheritance diagram for NoiseAnalysis:
CommissioningAnalysis

Public Member Functions

const VVIntdead () const
 
bool isValid () const
 
const VVFloatnoise () const
 
 NoiseAnalysis (const uint32_t &key)
 
 NoiseAnalysis ()
 
const VFloatnoiseMax () const
 
const VFloatnoiseMean () const
 
const VFloatnoiseMin () const
 
const VFloatnoiseSpread () const
 
const VVIntnoisy () const
 
const VVFloatpeds () const
 
const VFloatpedsMax () const
 
const VFloatpedsMean () const
 
const VFloatpedsMin () const
 
const VFloatpedsSpread () const
 
void print (std::stringstream &, uint32_t apv_number=0)
 
const VVFloatraw () const
 
const VFloatrawMax () const
 
const VFloatrawMean () const
 
const VFloatrawMin () const
 
const VFloatrawSpread () const
 
void reset ()
 
void summary (std::stringstream &) const
 
virtual ~NoiseAnalysis ()
 
- Public Member Functions inherited from CommissioningAnalysis
virtual void addErrorCode (const std::string &error)
 
 CommissioningAnalysis (const uint32_t &key, const std::string &my_name)
 
 CommissioningAnalysis (const std::string &my_name)
 
const uint32_t & dcuId () const
 
void dcuId (const uint32_t &)
 
const uint32_t & detId () const
 
void detId (const uint32_t &)
 
const uint32_t & fecKey () const
 
void fecKey (const uint32_t &)
 
const uint32_t & fedKey () const
 
void fedKey (const uint32_t &)
 
const VStringgetErrorCodes () const
 
virtual void header (std::stringstream &) const
 
const std::string & myName () const
 
void setErrorCodes (const VString &errors)
 
virtual ~CommissioningAnalysis ()
 

Private Attributes

VVInt dead_
 
bool legacy_
 
VVFloat noise_
 
VFloat noiseMax_
 
VFloat noiseMean_
 
VFloat noiseMin_
 
VFloat noiseSpread_
 
VVInt noisy_
 
VVFloat peds_
 
VFloat pedsMax_
 
VFloat pedsMean_
 
VFloat pedsMin_
 
VFloat pedsSpread_
 
VVFloat raw_
 
VFloat rawMax_
 
VFloat rawMean_
 
VFloat rawMin_
 
VFloat rawSpread_
 

Friends

class NoiseAlgorithm
 

Additional Inherited Members

- Public Types inherited from CommissioningAnalysis
typedef std::vector< float > VFloat
 
typedef std::vector< uint16_t > VInt
 
typedef std::vector< std::string > VString
 
typedef std::vector< VFloatVVFloat
 
typedef std::vector< VIntVVInt
 

Detailed Description

Histogram-based analysis for pedestal run.

Author
M. Wingham, R.Bainbridge

Definition at line 15 of file NoiseAnalysis.h.

Constructor & Destructor Documentation

NoiseAnalysis::NoiseAnalysis ( const uint32_t &  key)

Definition at line 13 of file NoiseAnalysis.cc.

NoiseAnalysis::NoiseAnalysis ( )

Definition at line 40 of file NoiseAnalysis.cc.

virtual NoiseAnalysis::~NoiseAnalysis ( )
inlinevirtual

Definition at line 25 of file NoiseAnalysis.h.

25 {;}

Member Function Documentation

const NoiseAnalysis::VVInt & NoiseAnalysis::dead ( ) const
inline

Definition at line 142 of file NoiseAnalysis.h.

References dead_.

Referenced by NoiseSummaryFactory::extract().

142 { return dead_; }
bool NoiseAnalysis::isValid ( void  ) const
virtual

Identifies if analysis is valid or not.

Reimplemented from CommissioningAnalysis.

Definition at line 94 of file NoiseAnalysis.cc.

Referenced by NoiseHistograms::histoAnalysis(), and core.AutoHandle.AutoHandle::ReallyLoad().

const NoiseAnalysis::VVFloat & NoiseAnalysis::noise ( ) const
inline

Definition at line 139 of file NoiseAnalysis.h.

References noise_.

Referenced by NoiseSummaryFactory::extract().

139 { return noise_; }
VVFloat noise_
Definition: NoiseAnalysis.h:80
const NoiseAnalysis::VFloat & NoiseAnalysis::noiseMax ( ) const
inline

Definition at line 154 of file NoiseAnalysis.h.

References noiseMax_.

Referenced by NoiseSummaryFactory::extract().

154 { return noiseMax_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::noiseMean ( ) const
inline

Definition at line 147 of file NoiseAnalysis.h.

References noiseMean_.

Referenced by NoiseSummaryFactory::extract().

147 { return noiseMean_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::noiseMin ( ) const
inline

Definition at line 155 of file NoiseAnalysis.h.

References noiseMin_.

Referenced by NoiseSummaryFactory::extract().

155 { return noiseMin_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::noiseSpread ( ) const
inline

Definition at line 148 of file NoiseAnalysis.h.

References noiseSpread_.

Referenced by NoiseSummaryFactory::extract().

148 { return noiseSpread_; }
VFloat noiseSpread_
const NoiseAnalysis::VVInt & NoiseAnalysis::noisy ( ) const
inline

Definition at line 143 of file NoiseAnalysis.h.

References noisy_.

Referenced by NoiseSummaryFactory::extract().

143 { return noisy_; }
const NoiseAnalysis::VVFloat & NoiseAnalysis::peds ( ) const
inline

Definition at line 138 of file NoiseAnalysis.h.

References peds_.

Referenced by NoiseSummaryFactory::extract().

138 { return peds_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::pedsMax ( ) const
inline

Definition at line 152 of file NoiseAnalysis.h.

References pedsMax_.

Referenced by NoiseSummaryFactory::extract().

152 { return pedsMax_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::pedsMean ( ) const
inline

Definition at line 145 of file NoiseAnalysis.h.

References pedsMean_.

Referenced by NoiseSummaryFactory::extract().

145 { return pedsMean_; }
VFloat pedsMean_
Definition: NoiseAnalysis.h:96
const NoiseAnalysis::VFloat & NoiseAnalysis::pedsMin ( ) const
inline

Definition at line 153 of file NoiseAnalysis.h.

References pedsMin_.

Referenced by NoiseSummaryFactory::extract().

153 { return pedsMin_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::pedsSpread ( ) const
inline

Definition at line 146 of file NoiseAnalysis.h.

References pedsSpread_.

Referenced by NoiseSummaryFactory::extract().

146 { return pedsSpread_; }
VFloat pedsSpread_
Definition: NoiseAnalysis.h:99
void NoiseAnalysis::print ( std::stringstream &  ss,
uint32_t  apv_number = 0 
)
virtual

Prints analysis results.

Implements CommissioningAnalysis.

Definition at line 200 of file NoiseAnalysis.cc.

const NoiseAnalysis::VVFloat & NoiseAnalysis::raw ( ) const
inline

Definition at line 140 of file NoiseAnalysis.h.

References raw_.

140 { return raw_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::rawMax ( ) const
inline

Definition at line 156 of file NoiseAnalysis.h.

References rawMax_.

156 { return rawMax_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::rawMean ( ) const
inline

Definition at line 149 of file NoiseAnalysis.h.

References rawMean_.

149 { return rawMean_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::rawMin ( ) const
inline

Definition at line 157 of file NoiseAnalysis.h.

References rawMin_.

157 { return rawMin_; }
const NoiseAnalysis::VFloat & NoiseAnalysis::rawSpread ( ) const
inline

Definition at line 150 of file NoiseAnalysis.h.

References rawSpread_.

150 { return rawSpread_; }
void NoiseAnalysis::reset ( void  )
virtual

Resets analysis member data.

Implements CommissioningAnalysis.

Definition at line 67 of file NoiseAnalysis.cc.

void NoiseAnalysis::summary ( std::stringstream &  ss) const
virtual

Overrides base method.

Reimplemented from CommissioningAnalysis.

Definition at line 126 of file NoiseAnalysis.cc.

Friends And Related Function Documentation

friend class NoiseAlgorithm
friend

Definition at line 27 of file NoiseAnalysis.h.

Member Data Documentation

VVInt NoiseAnalysis::dead_
private

Dead strips.

Definition at line 88 of file NoiseAnalysis.h.

Referenced by dead().

bool NoiseAnalysis::legacy_
private

Definition at line 132 of file NoiseAnalysis.h.

VVFloat NoiseAnalysis::noise_
private

Noise values.

Definition at line 80 of file NoiseAnalysis.h.

Referenced by noise().

VFloat NoiseAnalysis::noiseMax_
private

Max noise value.

Definition at line 120 of file NoiseAnalysis.h.

Referenced by noiseMax().

VFloat NoiseAnalysis::noiseMean_
private

Mean noise value.

Definition at line 102 of file NoiseAnalysis.h.

Referenced by noiseMean().

VFloat NoiseAnalysis::noiseMin_
private

Min noise value.

Definition at line 123 of file NoiseAnalysis.h.

Referenced by noiseMin().

VFloat NoiseAnalysis::noiseSpread_
private

Rms spread in noise.

Definition at line 105 of file NoiseAnalysis.h.

Referenced by noiseSpread().

VVInt NoiseAnalysis::noisy_
private

Noisy strips.

Definition at line 91 of file NoiseAnalysis.h.

Referenced by noisy().

VVFloat NoiseAnalysis::peds_
private

Peds values.

Definition at line 77 of file NoiseAnalysis.h.

Referenced by peds().

VFloat NoiseAnalysis::pedsMax_
private

Max peds value.

Definition at line 114 of file NoiseAnalysis.h.

Referenced by pedsMax().

VFloat NoiseAnalysis::pedsMean_
private

Mean peds value.

Definition at line 96 of file NoiseAnalysis.h.

Referenced by pedsMean().

VFloat NoiseAnalysis::pedsMin_
private

Min peds value.

Definition at line 117 of file NoiseAnalysis.h.

Referenced by pedsMin().

VFloat NoiseAnalysis::pedsSpread_
private

Rms spread in peds.

Definition at line 99 of file NoiseAnalysis.h.

Referenced by pedsSpread().

VVFloat NoiseAnalysis::raw_
private

Raw noise values.

Definition at line 83 of file NoiseAnalysis.h.

Referenced by raw().

VFloat NoiseAnalysis::rawMax_
private

Max raw noise value.

Definition at line 126 of file NoiseAnalysis.h.

Referenced by rawMax().

VFloat NoiseAnalysis::rawMean_
private

Mean raw noise value.

Definition at line 108 of file NoiseAnalysis.h.

Referenced by rawMean().

VFloat NoiseAnalysis::rawMin_
private

Min raw noise value.

Definition at line 129 of file NoiseAnalysis.h.

Referenced by rawMin().

VFloat NoiseAnalysis::rawSpread_
private

Rms spread in raw noise.

Definition at line 111 of file NoiseAnalysis.h.

Referenced by rawSpread().