#include <OccupancyAlg.h>
Inheritance diagram for OccupancyAlg:
Public Methods | |
OccupancyAlg (Event *event, Geometry *hecGeom, Headers *runHeader) | |
The user should never need to use this contructor. More... | |
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 noiseFileName="") |
Enable the computation of channel occupancy for the hec If no noise file name is given, then the file is assumed to be hec_nnnnn_noise.dat. More... | |
void | hecNoiseCut (float noiseCut) |
Set the noise cut level |signal| > m_hecNoiseCut*Noise. More... | |
float | hecNoiseCut () |
Read the noise cut level Useful when reading occupancy files (where it is stored). More... | |
void | hecPrintLevel (int level) |
Set the print level for noise computation for the hec 0 minimum 1 print occupancy results (default). More... | |
void | hecOccupancyFileName (string occupancyFileName) |
Set the hec occupancy file name. More... | |
map< int, float > | hecOccupancyMap () |
Get the febno keyed occupancy map The map contains entries for all connected channels. More... | |
float | hecOccupancy (int febno) |
Get the hec occupancy. More... | |
map< int, float > | hecOccupancyErrorMap () |
Get the febno keyed hec occupancy error estimate map The map contains entries for all connected channels. More... | |
float | hecOccupancyError (int febno) |
Get the hec occupancy error estimate. More... | |
int | hecReadOccupancyFile (string occupancyFileName="") |
Read a hec occupancy file If no noise file name is given, then the file is assumed to be hec_nnnnn_occupancy.dat Returns the run number in the occupancy file. More... | |
void | hecPrintOccupancy () |
Print hec occupancy data. More... | |
void | hecCalibrationFileName (string calibrationFileName) |
Set the hec calibration file name Needed if the ntuple data is in ADC Must be called before hecEnable. More... | |
void | emecEnable (string noiseFileName="") |
Enable the computation of channel occupancy for the emec If no noise file name is given, then the file is assumed to be emec?_nnnnn_noise.dat where ? is given by the input data file name. More... | |
void | emecNoiseCut (float noiseCut) |
Set the noise cut level |signal| > m_emecNoiseCut*Noise. More... | |
float | emecNoiseCut () |
Read the noise cut level Useful when reading occupancy files (where it is stored). More... | |
void | emecPrintLevel (int level) |
Set the print level for noise computation for the emec 0 minimum 1 print occupancy results (default). More... | |
void | emecOccupancyFileName (string occupancyFileName) |
Set the emec occupancy file name. More... | |
map< int, float > | emecOccupancyMap () |
Get the febno keyed occupancy map The map contains entries for all connected channels. More... | |
float | emecOccupancy (int febno) |
Get the emec occupancy. More... | |
map< int, float > | emecOccupancyErrorMap () |
Get the febno keyed emec occupancy error estimate map The map contains entries for all connected channels. More... | |
float | emecOccupancyError (int febno) |
Get the emec occupancy error estimate. More... | |
int | emecReadOccupancyFile (string occupancyFileName="") |
Read a emec occupancy file If no occupancy file name is given, then assume the file is emec?_nnnnn_occupancy.dat where ? is given by the input data file name Returns the run number in the occupancy file. More... | |
void | emecPrintOccupancy () |
Print emec occupancy data. More... | |
void | emecCalibrationFileName (string calibrationFileName) |
Set the emec calibration file name Needed if the ntuple data is in ADC Must be called before emecEnable. More... |
|
The user should never need to use this contructor.
|
|
Set the emec calibration file name Needed if the ntuple data is in ADC Must be called before emecEnable.
|
|
Enable the computation of channel occupancy for the emec If no noise file name is given, then the file is assumed to be emec?_nnnnn_noise.dat where ? is given by the input data file name.
|
|
Read the noise cut level Useful when reading occupancy files (where it is stored).
|
|
Set the noise cut level |signal| > m_emecNoiseCut*Noise.
|
|
Get the emec occupancy.
|
|
Get the emec occupancy error estimate.
|
|
Get the febno keyed emec occupancy error estimate map The map contains entries for all connected channels.
|
|
Set the emec occupancy file name.
|
|
Get the febno keyed occupancy map The map contains entries for all connected channels.
|
|
Set the print level for noise computation for the emec 0 minimum 1 print occupancy results (default).
|
|
Print emec occupancy data.
|
|
Read a emec occupancy file If no occupancy file name is given, then assume the file is emec?_nnnnn_occupancy.dat where ? is given by the input data file name Returns the run number in the occupancy file.
|
|
Gets run for every event.
Reimplemented from SystemAlg. |
|
Gets run after all events have been executed.
Reimplemented from SystemAlg. |
|
Set the hec calibration file name Needed if the ntuple data is in ADC Must be called before hecEnable.
|
|
Enable the computation of channel occupancy for the hec If no noise file name is given, then the file is assumed to be hec_nnnnn_noise.dat.
|
|
Read the noise cut level Useful when reading occupancy files (where it is stored).
|
|
Set the noise cut level |signal| > m_hecNoiseCut*Noise.
|
|
Get the hec occupancy.
|
|
Get the hec occupancy error estimate.
|
|
Get the febno keyed hec occupancy error estimate map The map contains entries for all connected channels.
|
|
Set the hec occupancy file name.
|
|
Get the febno keyed occupancy map The map contains entries for all connected channels.
|
|
Set the print level for noise computation for the hec 0 minimum 1 print occupancy results (default).
|
|
Print hec occupancy data.
|
|
Read a hec occupancy file If no noise file name is given, then the file is assumed to be hec_nnnnn_occupancy.dat Returns the run number in the occupancy file.
|
|
Gets run once at the begining of the event Loop.
Reimplemented from SystemAlg. |