30 if (
config->getNEvents() > 0) {
34 const TH2*
rep =
dynamic_cast<const TH2*
>(me->
getTH1());
43 const TH2* ref =
dynamic_cast<const TH2*
>(tobj);
50 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
55 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
60 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
65 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
70 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
75 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
80 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
85 const TH2* err =
dynamic_cast<const TH2*
>(me1->getTH1());
133 if (
config->getPROCESS_EFF_PARAMETERS()) {
141 double e_detector = 0.0, e_side = 0.0, e_station = 0.0, e_ring = 0.0;
142 uint32_t e_detector_ch = 0, e_side_ch = 0, e_station_ch = 0;
175 bool calc = (
config->getNEvents() > 0);
178 e_detector = e_side = e_station = e_ring = -1.0;
203 e_station += (e_ring * ch);
216 e_side_ch += e_station_ch;
217 e_station = e_station / e_station_ch;
226 e_detector += e_side;
227 e_detector_ch += e_side_ch;
228 e_side = e_side / e_side_ch;
236 e_detector = e_detector / e_detector_ch;
252 const int COLOR_GREEN = 1;
253 const int COLOR_RED = 2;
254 const int COLOR_BLUE = 3;
255 const int COLOR_GREY = 4;
256 const int COLOR_STANDBY = 5;
261 if (!
config->getIN_FULL_STANDBY()) {
272 if (!
config->getIN_FULL_STANDBY()) {
283 if (!
config->getIN_FULL_STANDBY()) {
293 if (!
config->getIN_FULL_STANDBY()) {
303 if (!
config->getIN_FULL_STANDBY()) {
313 if (!
config->getIN_FULL_STANDBY()) {
323 if (!
config->getIN_FULL_STANDBY()) {
333 if (!
config->getIN_FULL_STANDBY()) {
343 if (!
config->getIN_FULL_STANDBY()) {
353 if (!
config->getIN_FULL_STANDBY()) {
void ReadReportingChambers(const TH2 *&h2, const double threshold=1.0)
Read Reporting Chamber histogram and fill in detector map.
HW element in standby mode.
#define HWSTATUSERRORBITS
void Write(TH2 *&h2, const unsigned int station) const
Write detector map to H1 histogram (linear data) for the selected adr.station.
virtual const TObject * getRefRootObject(void) const =0
virtual void Fill(float x)=0
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
void updateEfficiencyHistos()
Update Efficiency MOs.
const unsigned int NumberOfRings(const unsigned int station) const
Returns the number of rings for the given station.
HW element is cold comparing with reference histogram.
virtual const TH1 * getTH1(void) const =0
void writeShifterHistograms()
const double GetEfficiencyHW() const
Get efficiency of the whole detector.
void ReadReportingChambersRef(const TH2 *&h2, const TH2 *&refh2, const double cold_coef=0.1, const double cold_Sfail=5.0, const double hot_coef=2.0, const double hot_Sfail=5.0)
Read Reporting Chamber histogram and fill in detector map based on reference histogram.
virtual TH1 * getTH1Lock(void)=0
const bool getParHisto(const HistoId &histo, MonitorObject *&me)
Get Parameter Monitoring Object.
void WriteMap(TH2 *&h2)
Write PhysicsReady Map to H2 histogram.
const Detector getDetector() const
void ReadErrorChambers(const TH2 *&evs, const TH2 *&err, const HWStatusBit bit, const double eps_max=0.1, const double Sfail=5.0)
Read Error data for Chambers.
void SetValue(const HWStatusBit bit, const int value=1)
SetValue for the whole of detector.
std::vector< std::vector< double > > tmp
void WriteChamberState(TH2 *&h2, const int mask, const int value=1, const bool reset=true, const bool op_any=false) const
Write State information to chamber histogram.
const unsigned int NumberOfChambers(const unsigned int station, const unsigned int ring) const
Returns the number of chambers for the given station and ring.
void standbyEfficiencyHistos(HWStandbyType &standby)
apply standby flags/parameters
const bool getEMUHisto(const HistoId &histo, MonitorObject *&me)
Get EMU (Top Level) Monitoring Object.
Structure to store detector addresses of any granularity: from whole detector to the single HV elemen...