Public Member Functions | Public Attributes | List of all members
caldp::MeanStruct Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-02/CalibrationDataProducts/DriftResponse.h"

Public Member Functions

double Mean () const
 Number of hits in mean calculation. More...
 
double MeanErr () const
 Return mean. More...
 
double RMS () const
 Return error on mean. More...
 
int NHits () const
 Return rms of distribution. More...
 
void SetResponse (double fMean, double fMeanErr, double fRMS, int fNHits)
 Return number of hits in distribution. More...
 

Public Attributes

double mean
 
double meanerr
 Mean response. More...
 
double rms
 Error on mean response. More...
 
int nhits
 Error on mean response. More...
 

Detailed Description

Definition at line 18 of file DriftResponse.h.

Member Function Documentation

double caldp::MeanStruct::Mean ( ) const
inline

Number of hits in mean calculation.

Definition at line 26 of file DriftResponse.h.

References mean.

Referenced by caldp::DriftResponse::EndTime(), caldp::DriftResponse::GetChannelResponse(), caldp::DriftResponse::Mean(), caldp::operator<<(), and calib::CDPStorage::WriteDriftResponse().

26 {return mean; }; ///Return mean
double caldp::MeanStruct::MeanErr ( ) const
inline

Return mean.

Definition at line 27 of file DriftResponse.h.

References meanerr.

Referenced by caldp::DriftResponse::EndTime(), caldp::DriftResponse::GetChannelResponse(), caldp::DriftResponse::MeanErr(), caldp::operator<<(), and calib::CDPStorage::WriteDriftResponse().

27 {return meanerr; }; ///Return error on mean
double meanerr
Mean response.
Definition: DriftResponse.h:22
int caldp::MeanStruct::NHits ( ) const
inline

Return rms of distribution.

Definition at line 29 of file DriftResponse.h.

References nhits, and SetResponse().

Referenced by caldp::DriftResponse::EndTime(), caldp::DriftResponse::GetChannelResponse(), caldp::DriftResponse::NHits(), caldp::operator<<(), and calib::CDPStorage::WriteDriftResponse().

29 {return nhits; }; ///Return number of hits in distribution
int nhits
Error on mean response.
Definition: DriftResponse.h:24
double caldp::MeanStruct::RMS ( ) const
inline

Return error on mean.

Definition at line 28 of file DriftResponse.h.

References rms.

Referenced by caldp::DriftResponse::EndTime(), caldp::DriftResponse::GetChannelResponse(), caldp::operator<<(), caldp::DriftResponse::RMS(), and calib::CDPStorage::WriteDriftResponse().

28 {return rms; }; ///Return rms of distribution
double rms
Error on mean response.
Definition: DriftResponse.h:23
void caldp::MeanStruct::SetResponse ( double  fMean,
double  fMeanErr,
double  fRMS,
int  fNHits 
)

Return number of hits in distribution.

Definition at line 15 of file DriftResponse.cxx.

References mean, meanerr, nhits, and rms.

Referenced by caldp::DriftResponse::AddChannelResponse(), and NHits().

15  {
16  mean = fMean;
17  meanerr = fMeanErr;
18  rms = fRMS;
19  nhits = fNHits;
20  }
double meanerr
Mean response.
Definition: DriftResponse.h:22
double rms
Error on mean response.
Definition: DriftResponse.h:23
int nhits
Error on mean response.
Definition: DriftResponse.h:24

Member Data Documentation

double caldp::MeanStruct::mean

Definition at line 21 of file DriftResponse.h.

Referenced by Mean(), and SetResponse().

double caldp::MeanStruct::meanerr

Mean response.

Definition at line 22 of file DriftResponse.h.

Referenced by MeanErr(), and SetResponse().

int caldp::MeanStruct::nhits

Error on mean response.

Definition at line 24 of file DriftResponse.h.

Referenced by NHits(), and SetResponse().

double caldp::MeanStruct::rms

Error on mean response.

Definition at line 23 of file DriftResponse.h.

Referenced by RMS(), and SetResponse().


The documentation for this struct was generated from the following files: