Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

NoiseAlg Class Reference

#include <NoiseAlg.h>

Inheritance diagram for NoiseAlg:

SystemAlg List of all members.

Public Methods

 NoiseAlg (Event *event, Geometry *hecGeom, Headers *runHeader)
 The user should never need to use this contructor. More...

 ~NoiseAlg ()
bool initialize ()
 Gets run once at the begining of the event Loop. More...

bool execute ()
 Gets run for every event. More...

bool finalize ()
 Gets run after all events have been executed. More...

void hecEnable (string calibFileName)
 Enable the computation of noise for the hec. More...

void hecPrintLevel (int level)
 Set the print level for noise computation for the hec 0 minimum 1 print noise results (default) 2 above and print the mean sigma/pedrms values 3 above and print +/- 2 sigma fit results 4 above and print first gaussian fit result. More...

void hecNoiseFileName (string noiseFileName)
 Set the hec noise result file name. More...

map< int, float > hecNoiseMap ()
 Get the febno keyed hec noise (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0. More...

float hecNoise (int febno)
 Get the hec noise (nA) If the noise could not be obtained, 0 is returned. More...

map< int, float > hecNoiseErrorMap ()
 Get the febno keyed hec noise error estimate (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0. More...

float hecNoiseError (int febno)
 Get the hec noise error estimate (nA) If the noise could not be obtained, 0 is returned. More...

map< int, int > hecNoiseStatusMap ()
 Get the febno keyed hec noise status word map The map contains entries for all connected channels status == 0 the noise was obtained directly from the channel status != 0 the noise was obtained from the ped rms of the channel and the noise/pedrms of other channels. More...

int hecNoiseStatus (int febno)
 Get the hec noise status word (see hecNoiseStatusMap). More...

void hecReadNoiseFile (string noiseFileName="")
 Read a hec noise file If no noise file name is given, then the file is assumed to be hec_nnnnn_noise.dat. More...

void hecPrintNoise ()
 Print hec noise data. More...

void emecEnable (string calibFileName)
 Enable the computation of noise for the emec. More...

void emecPrintLevel (int level)
 Set the print level for noise computation for the emec 0 minimum 1 print noise results (default) 2 above and print the mean sigma/pedrms values 3 above and print +/- 2 sigma fit results 4 above and print first gaussian fit result. More...

void emecNoiseFileName (string noiseFileName)
 Set the emec noise result file name. More...

map< int, float > emecNoiseMap ()
 Get the febno keyed emec noise (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0. More...

float emecNoise (int febno)
 Get the emec noise (nA) If the noise could not be obtained, 0 is returned. More...

map< int, float > emecNoiseErrorMap ()
 Get the febno keyed emec noise error estimate (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0. More...

float emecNoiseError (int febno)
 Get the emec noise error estimate (nA) If the noise could not be obtained, 0 is returned. More...

map< int, int > emecNoiseStatusMap ()
 Get the febno keyed emec noise status word map The map contains entries for all connected channels status == 0 the noise was obtained directly from the channel status != 0 the noise was obtained from the ped rms of the channel. More...

int emecNoiseStatus (int febno)
 Get the emec noise status word (see emecNoiseStatusMap). More...

void emecReadNoiseFile (string noiseFileName="")
 Read a emec noise file If no noise file name is given, then assume the file is emec?_nnnnn_noise.dat where ? is given by the input data file name. More...

void emecPrintNoise ()
 Print emec noise data. More...


Public Attributes

map< int, TH1F * > m_hecHMap
map< int, float > m_hecHistoMeanMap
map< int, float > m_hecHistoRMSMap
map< int, float > m_hecHistoNMap
map< int, float > m_hecMeanRatioMap
map< int, float > m_hecMeanRatioErrorMap
map< int, float > m_hecFitMeanMap
map< int, float > m_hecFitMeanErrorMap
map< int, float > m_hecFitSigmaMap
map< int, float > m_hecFitSigmaErrorMap
map< int, float > m_hecFitProbMap
map< int, float > m_hecFitSigmaOverPedRMSMap
map< int, float > m_hecFitSigmaOverPedRMSErrorMap
map< int, TH1F * > m_emecHMap
map< int, float > m_emecHistoMeanMap
map< int, float > m_emecHistoRMSMap
map< int, float > m_emecHistoNMap
map< int, float > m_emecMeanRatioMap
map< int, float > m_emecMeanRatioErrorMap
map< int, float > m_emecFitMeanMap
map< int, float > m_emecFitMeanErrorMap
map< int, float > m_emecFitSigmaMap
map< int, float > m_emecFitSigmaErrorMap
map< int, float > m_emecFitProbMap
map< int, float > m_emecFitSigmaOverPedRMSMap
map< int, float > m_emecFitSigmaOverPedRMSErrorMap

Detailed Description

-Class: NoiseAlg


Constructor & Destructor Documentation

NoiseAlg::NoiseAlg Event   event,
Geometry   hecGeom,
Headers   runHeader
 

The user should never need to use this contructor.

Parameters:
event  A pointer in the event. Information contained in the event gets refreshed before the execute method is run
hecGeom  Pointer to the singleton Geometry object
runHeader  Pointer to the singleton HecRunHeader object

NoiseAlg::~NoiseAlg  
 


Member Function Documentation

void NoiseAlg::emecEnable string    calibFileName
 

Enable the computation of noise for the emec.

Parameters:
calibFileName  Name of calibration coefficient file

float NoiseAlg::emecNoise int    febno
 

Get the emec noise (nA) If the noise could not be obtained, 0 is returned.

Parameters:
febno  channel febno

float NoiseAlg::emecNoiseError int    febno
 

Get the emec noise error estimate (nA) If the noise could not be obtained, 0 is returned.

Parameters:
febno  channel febno

map<int, float> NoiseAlg::emecNoiseErrorMap   [inline]
 

Get the febno keyed emec noise error estimate (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0.

void NoiseAlg::emecNoiseFileName string    noiseFileName [inline]
 

Set the emec noise result file name.

Parameters:
noiseFileName  the name of the noise file

map<int, float> NoiseAlg::emecNoiseMap   [inline]
 

Get the febno keyed emec noise (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0.

int NoiseAlg::emecNoiseStatus int    febno
 

Get the emec noise status word (see emecNoiseStatusMap).

Parameters:
febno  channel febno

map<int, int> NoiseAlg::emecNoiseStatusMap   [inline]
 

Get the febno keyed emec noise status word map The map contains entries for all connected channels status == 0 the noise was obtained directly from the channel status != 0 the noise was obtained from the ped rms of the channel.

void NoiseAlg::emecPrintLevel int    level [inline]
 

Set the print level for noise computation for the emec 0 minimum 1 print noise results (default) 2 above and print the mean sigma/pedrms values 3 above and print +/- 2 sigma fit results 4 above and print first gaussian fit result.

Parameters:
level  Print level

void NoiseAlg::emecPrintNoise  
 

Print emec noise data.

void NoiseAlg::emecReadNoiseFile string    noiseFileName = ""
 

Read a emec noise file If no noise file name is given, then assume the file is emec?_nnnnn_noise.dat where ? is given by the input data file name.

Parameters:
noiseFileName  the name of the noise file

bool NoiseAlg::execute   [virtual]
 

Gets run for every event.

Reimplemented from SystemAlg.

bool NoiseAlg::finalize   [virtual]
 

Gets run after all events have been executed.

Reimplemented from SystemAlg.

void NoiseAlg::hecEnable string    calibFileName
 

Enable the computation of noise for the hec.

Parameters:
calibFileName  Name of calibration coefficient file

float NoiseAlg::hecNoise int    febno
 

Get the hec noise (nA) If the noise could not be obtained, 0 is returned.

Parameters:
febno  channel febno

float NoiseAlg::hecNoiseError int    febno
 

Get the hec noise error estimate (nA) If the noise could not be obtained, 0 is returned.

Parameters:
febno  channel febno

map<int, float> NoiseAlg::hecNoiseErrorMap   [inline]
 

Get the febno keyed hec noise error estimate (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0.

void NoiseAlg::hecNoiseFileName string    noiseFileName [inline]
 

Set the hec noise result file name.

Parameters:
noiseFileName  the name of the noise file

map<int, float> NoiseAlg::hecNoiseMap   [inline]
 

Get the febno keyed hec noise (nA) map The map contains entries for all connected channels if the noise could not be obtained for a channel, the map contains 0.

int NoiseAlg::hecNoiseStatus int    febno
 

Get the hec noise status word (see hecNoiseStatusMap).

Parameters:
febno  channel febno

map<int, int> NoiseAlg::hecNoiseStatusMap   [inline]
 

Get the febno keyed hec noise status word map The map contains entries for all connected channels status == 0 the noise was obtained directly from the channel status != 0 the noise was obtained from the ped rms of the channel and the noise/pedrms of other channels.

void NoiseAlg::hecPrintLevel int    level [inline]
 

Set the print level for noise computation for the hec 0 minimum 1 print noise results (default) 2 above and print the mean sigma/pedrms values 3 above and print +/- 2 sigma fit results 4 above and print first gaussian fit result.

Parameters:
level  Print level

void NoiseAlg::hecPrintNoise  
 

Print hec noise data.

void NoiseAlg::hecReadNoiseFile string    noiseFileName = ""
 

Read a hec noise file If no noise file name is given, then the file is assumed to be hec_nnnnn_noise.dat.

Parameters:
noiseFileName  the name of the noise file

bool NoiseAlg::initialize   [virtual]
 

Gets run once at the begining of the event Loop.

Reimplemented from SystemAlg.


Member Data Documentation

map<int, float> NoiseAlg::m_emecFitMeanErrorMap
 

map<int, float> NoiseAlg::m_emecFitMeanMap
 

map<int, float> NoiseAlg::m_emecFitProbMap
 

map<int, float> NoiseAlg::m_emecFitSigmaErrorMap
 

map<int, float> NoiseAlg::m_emecFitSigmaMap
 

map<int, float> NoiseAlg::m_emecFitSigmaOverPedRMSErrorMap
 

map<int, float> NoiseAlg::m_emecFitSigmaOverPedRMSMap
 

map<int, float> NoiseAlg::m_emecHistoMeanMap
 

map<int, float> NoiseAlg::m_emecHistoNMap
 

map<int, float> NoiseAlg::m_emecHistoRMSMap
 

map<int, TH1F*> NoiseAlg::m_emecHMap
 

map<int, float> NoiseAlg::m_emecMeanRatioErrorMap
 

map<int, float> NoiseAlg::m_emecMeanRatioMap
 

map<int, float> NoiseAlg::m_hecFitMeanErrorMap
 

map<int, float> NoiseAlg::m_hecFitMeanMap
 

map<int, float> NoiseAlg::m_hecFitProbMap
 

map<int, float> NoiseAlg::m_hecFitSigmaErrorMap
 

map<int, float> NoiseAlg::m_hecFitSigmaMap
 

map<int, float> NoiseAlg::m_hecFitSigmaOverPedRMSErrorMap
 

map<int, float> NoiseAlg::m_hecFitSigmaOverPedRMSMap
 

map<int, float> NoiseAlg::m_hecHistoMeanMap
 

map<int, float> NoiseAlg::m_hecHistoNMap
 

map<int, float> NoiseAlg::m_hecHistoRMSMap
 

map<int, TH1F*> NoiseAlg::m_hecHMap
 

map<int, float> NoiseAlg::m_hecMeanRatioErrorMap
 

map<int, float> NoiseAlg::m_hecMeanRatioMap
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 15 10:52:05 2003 for TBRootAna by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002