Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/subsystems/cemc/CemcMon.h>
Public Member Functions | |
CemcMon (const std::string &name) | |
virtual | ~CemcMon () |
int | process_event (Event *evt) |
int | Init () |
int | BeginRun (const int runno) |
int | Reset () |
Public Member Functions inherited from OnlMon | |
OnlMon (const std::string &name="NONE") | |
~OnlMon () override | |
virtual int | process_event_common (Event *evt) |
virtual int | InitCommon (OnlMonServer *se) |
virtual void | identify (std::ostream &out=std::cout) const |
virtual int | BeginRunCommon (const int runno, OnlMonServer *se) |
virtual int | EndRun (const int) |
virtual void | SetStatus (const int newstatus) |
virtual int | ResetEvent () |
virtual void | SetMonitorServerId (unsigned int i) |
virtual unsigned int | MonitorServerId () const |
Public Member Functions inherited from OnlMonBase | |
OnlMonBase (const std::string &name="NONE") | |
virtual | ~OnlMonBase () |
const std::string | Name () const |
void | Name (const std::string &name) |
virtual void | Verbosity (const int i) |
virtual int | Verbosity () const |
Protected Member Functions | |
std::vector< float > | getSignal (Packet *p, const int channel) |
std::vector< float > | anaWaveformFast (Packet *p, const int channel) |
std::vector< float > | anaWaveformTemp (Packet *p, const int channel) |
Protected Attributes | |
int | idummy = 0 |
TH2 * | cemc_occupancy = nullptr |
TH2 * | cemc_runningmean = nullptr |
TH1 * | cemc_signal = nullptr |
TH1 * | h1_cemc_adc = nullptr |
const int | Nsector = 64 |
const int | Ntower = 64*2*192 |
const int | packetlow = 6001 |
const int | packethigh = 6128 |
const int | m_nSamples = 16 |
const int | m_nChannels = 192 |
const int | templateDepth = 10000 |
int | eventCounter = 0 |
TH1 * | h1_packet_chans = nullptr |
TH1 * | h1_packet_length = nullptr |
TH1 * | h1_packet_number = nullptr |
TH1 * | h1_cemc_fitting_sigDiff = nullptr |
TH1 * | h1_cemc_fitting_pedDiff = nullptr |
TH1 * | h1_cemc_fitting_timeDiff = nullptr |
TH2 * | h2_cemc_hits = nullptr |
TH2 * | h2_waveform_twrAvg = nullptr |
TH1 * | h1_waveform_time = nullptr |
TH1 * | h1_waveform_pedestal = nullptr |
TH2 * | h2_cemc_rm = nullptr |
TH2 * | h2_cemc_mean = nullptr |
TH1 * | h1_sectorAvg_total = nullptr |
TH1 * | h1_event = nullptr |
TH1 * | h1_rm_sectorAvg [100] = {nullptr} |
std::vector< runningMean * > | rm_vector_twr |
std::vector< runningMean * > | rm_vector_sectAvg |
std::string | runtypestr = "Unknown" |
std::string | id_string |
CaloWaveformFitting * | WaveformProcessingFast = nullptr |
CaloWaveformFitting * | WaveformProcessingTemp = nullptr |
std::vector< runningMean * > | rm_vector |
Protected Attributes inherited from OnlMon | |
int | status |
unsigned int | m_MonitorServerId = 0 |
TH1 * | m_LocalFrameWorkVars = nullptr |
Protected Attributes inherited from OnlMonBase | |
std::string | ThisName |
int | verbosity = 0 |
Additional Inherited Members | |
Public Types inherited from OnlMon | |
enum | { ACTIVE = -1, OK = 0, WARNING = 1, ERROR = 2 } |
Definition at line 17 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 17 of file CemcMon.h
CemcMon::CemcMon | ( | const std::string & | name | ) |
Definition at line 44 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 44 of file CemcMon.cc
|
virtual |
Definition at line 55 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 55 of file CemcMon.cc
References rm_vector, rm_vector_sectAvg, rm_vector_twr, WaveformProcessingFast, and WaveformProcessingTemp.
|
protected |
Definition at line 257 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 257 of file CemcMon.cc
References CaloWaveformFitting::calo_processing_fast(), Packet::iValue(), m_nSamples, physmon_simulation::s, and WaveformProcessingFast.
Referenced by process_event().
|
protected |
Definition at line 276 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 276 of file CemcMon.cc
References Packet::iValue(), m_nSamples, CaloWaveformFitting::process_waveform(), physmon_simulation::s, and WaveformProcessingTemp.
|
virtual |
Reimplemented from OnlMon.
Definition at line 205 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 205 of file CemcMon.cc
References rm_vector, and rm_vector_twr.
|
protected |
Definition at line 226 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 226 of file CemcMon.cc
References Packet::iValue(), physmon_simulation::s, signal(), and ambiguity_solver_full_chain::x.
|
virtual |
Reimplemented from OnlMon.
Definition at line 74 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 74 of file CemcMon.cc
References cemc_occupancy, cemc_runningmean, cemc_signal, depth, h1_cemc_adc, h1_cemc_fitting_pedDiff, h1_cemc_fitting_sigDiff, h1_cemc_fitting_timeDiff, h1_event, h1_packet_chans, h1_packet_length, h1_packet_number, h1_rm_sectorAvg, h1_sectorAvg_total, h1_waveform_pedestal, h1_waveform_time, h2_cemc_hits, h2_cemc_mean, h2_cemc_rm, h2_waveform_twrAvg, historyLength, i, CaloWaveformFitting::initialize_processing(), OnlMonServer::instance(), Nsector, Ntower, printf(), OnlMonServer::registerHisto(), rm_vector, rm_vector_sectAvg, rm_vector_twr, WaveformProcessingFast, and WaveformProcessingTemp.
|
virtual |
Reimplemented from OnlMon.
Definition at line 296 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 296 of file CemcMon.cc
References anaWaveformFast(), Acts::PhysicalConstants::c, channel(), TowerInfoDefs::encode_emcal(), eventCounter, Fill(), TowerInfoDefs::getCaloTowerEtaBin(), TowerInfoDefs::getCaloTowerPhiBin(), Event::getPacket(), h1_cemc_adc, h1_event, h1_packet_chans, h1_packet_length, h1_packet_number, h1_rm_sectorAvg, h1_sectorAvg_total, h1_waveform_pedestal, h1_waveform_time, h2_cemc_hits, h2_cemc_mean, h2_cemc_rm, h2_waveform_twrAvg, historyLength, hit_threshold, add_histos_bX::ib, Packet::iValue(), m_nChannels, Nsector, merge_hashes::p, packethigh, packetlow, rm_vector_sectAvg, rm_vector_twr, physmon_simulation::s, and SetBinContent().
|
virtual |
Reimplemented from OnlMon.
Definition at line 467 of file CemcMon.cc.
View newest version in sPHENIX GitHub at line 467 of file CemcMon.cc
References eventCounter, and idummy.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 44 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 44 of file CemcMon.h
Referenced by process_event().
|
protected |
Definition at line 43 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 43 of file CemcMon.h
Referenced by anaWaveformFast(), and anaWaveformTemp().
|
protected |
|
protected |
|
protected |
Definition at line 42 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 42 of file CemcMon.h
Referenced by process_event().
|
protected |
Definition at line 41 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 41 of file CemcMon.h
Referenced by process_event().
|
protected |
Definition at line 74 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 74 of file CemcMon.h
Referenced by BeginRun(), Init(), and ~CemcMon().
|
protected |
Definition at line 65 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 65 of file CemcMon.h
Referenced by Init(), process_event(), and ~CemcMon().
|
protected |
Definition at line 64 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 64 of file CemcMon.h
Referenced by BeginRun(), Init(), process_event(), and ~CemcMon().
|
protected |
|
protected |
|
protected |
Definition at line 70 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 70 of file CemcMon.h
Referenced by anaWaveformFast(), Init(), and ~CemcMon().
|
protected |
Definition at line 71 of file CemcMon.h.
View newest version in sPHENIX GitHub at line 71 of file CemcMon.h
Referenced by anaWaveformTemp(), Init(), and ~CemcMon().