Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/subsystems/hcal/HcalMon.h>
Public Member Functions | |
HcalMon (const std::string &name) | |
virtual | ~HcalMon () |
int | process_event (Event *evt) |
int | Init () |
int | BeginRun (const int runno) |
int | Reset () |
std::vector< float > | getSignal (Packet *p, const int channel) |
std::vector< float > | anaWaveform (Packet *p, const int channel) |
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 Attributes | |
int | evtcnt = 0 |
int | idummy = 0 |
const int | Nsector = 32 |
const int | Ntower = 1536 |
const int | m_nChannels = 192 |
int | packetlow = 8001 |
int | packethigh = 8008 |
TH2 * | h2_hcal_hits = nullptr |
TH2 * | h2_hcal_hits_trig = nullptr |
TH1 * | h_waveform_twrAvg = nullptr |
TH1 * | h_waveform_time = nullptr |
TH1 * | h_waveform_pedestal = nullptr |
TH2 * | h2_hcal_rm = nullptr |
TH2 * | h2_hcal_mean = nullptr |
TH2 * | h2_hcal_waveform = nullptr |
TH2 * | h2_hcal_correlation = nullptr |
TH1 * | h_sectorAvg_total = nullptr |
TH1 * | h_event = nullptr |
TH1 * | h_ntower = nullptr |
TH1 * | h1_packet_chans = nullptr |
TH1 * | h1_packet_length = nullptr |
TH1 * | h1_packet_number = nullptr |
TH1 * | h1_packet_event = nullptr |
TH1 * | h_rm_sectorAvg [32] = {nullptr} |
TH1 * | h_rm_tower [24][64] = {nullptr} |
TH1 * | h_hcal_trig = {nullptr} |
TH2 * | h_caloPack_gl1_clock_diff = {nullptr} |
eventReceiverClient * | erc = {nullptr} |
bool | anaGL1 = false |
CaloWaveformFitting * | WaveformProcessing = nullptr |
std::vector< runningMean * > | rm_vector_sectAvg |
std::vector< runningMean * > | rm_vector_twr |
std::vector< runningMean * > | rm_packet_number |
std::vector< runningMean * > | rm_packet_length |
std::vector< runningMean * > | rm_packet_chans |
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 HcalMon.h.
View newest version in sPHENIX GitHub at line 17 of file HcalMon.h
HcalMon::HcalMon | ( | const std::string & | name | ) |
Definition at line 36 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 36 of file HcalMon.cc
References packethigh, and packetlow.
|
virtual |
Definition at line 61 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 61 of file HcalMon.cc
References erc, rm_packet_chans, rm_packet_length, rm_packet_number, rm_vector_sectAvg, rm_vector_twr, and WaveformProcessing.
std::vector< float > HcalMon::anaWaveform | ( | Packet * | p, |
const int | channel | ||
) |
Definition at line 250 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 250 of file HcalMon.cc
References CaloWaveformFitting::calo_processing_fast(), Packet::iValue(), physmon_simulation::s, and WaveformProcessing.
Referenced by process_event().
|
virtual |
Reimplemented from OnlMon.
Definition at line 270 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 270 of file HcalMon.cc
References rm_packet_chans, rm_packet_length, rm_packet_number, rm_vector_sectAvg, and rm_vector_twr.
std::vector< float > HcalMon::getSignal | ( | Packet * | p, |
const int | channel | ||
) |
Definition at line 221 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 221 of file HcalMon.cc
References Packet::iValue(), physmon_simulation::s, and signal().
|
virtual |
Reimplemented from OnlMon.
Definition at line 99 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 99 of file HcalMon.cc
References anaGL1, depth, erc, h1_packet_chans, h1_packet_event, h1_packet_length, h1_packet_number, h2_hcal_correlation, h2_hcal_hits, h2_hcal_hits_trig, h2_hcal_mean, h2_hcal_rm, h2_hcal_waveform, h_caloPack_gl1_clock_diff, h_event, h_hcal_trig, h_ntower, h_rm_sectorAvg, h_rm_tower, h_sectorAvg_total, h_waveform_pedestal, h_waveform_time, h_waveform_twrAvg, historyLength, historyScaleDown, i, CaloWaveformFitting::initialize_processing(), OnlMonServer::instance(), n_samples_show, Nsector, Ntower, packet_depth, packethigh, packetlow, printf(), OnlMonServer::registerHisto(), Reset(), rm_packet_chans, rm_packet_length, rm_packet_number, rm_vector_sectAvg, rm_vector_twr, and WaveformProcessing.
|
virtual |
special event where we do not read out the calorimeters
Reimplemented from OnlMon.
Definition at line 299 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 299 of file HcalMon.cc
References anaGL1, anaWaveform(), Acts::PhysicalConstants::c, TowerInfoDefs::encode_hcal(), erc, evtcnt, TowerInfoDefs::getCaloTowerEtaBin(), TowerInfoDefs::getCaloTowerPhiBin(), eventReceiverClient::getEvent(), Event::getEvtSequence(), Event::getEvtType(), Packet::getLength(), Event::getPacket(), h1_packet_chans, h1_packet_event, h1_packet_length, h1_packet_number, h2_hcal_correlation, h2_hcal_hits, h2_hcal_hits_trig, h2_hcal_mean, h2_hcal_rm, h2_hcal_waveform, h_caloPack_gl1_clock_diff, h_event, h_hcal_trig, h_rm_sectorAvg, h_rm_tower, h_sectorAvg_total, h_waveform_pedestal, h_waveform_time, h_waveform_twrAvg, historyLength, historyScaleDown, hit_threshold, i, add_histos_bX::ib, Packet::iValue(), Packet::lValue(), m_nChannels, Nsector, merge_hashes::p, packethigh, packetlow, pedestal(), rm_packet_chans, rm_packet_length, rm_packet_number, rm_vector_sectAvg, rm_vector_twr, physmon_simulation::s, signal(), Acts::Test::time, and KFPMath::zero().
|
virtual |
Reimplemented from OnlMon.
Definition at line 516 of file HcalMon.cc.
View newest version in sPHENIX GitHub at line 516 of file HcalMon.cc
References evtcnt, and idummy.
Referenced by Init().
|
protected |
|
protected |
Definition at line 61 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 61 of file HcalMon.h
Referenced by Init(), process_event(), and ~HcalMon().
|
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 35 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 35 of file HcalMon.h
Referenced by process_event().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 70 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 70 of file HcalMon.h
Referenced by BeginRun(), Init(), process_event(), and ~HcalMon().
|
protected |
Definition at line 69 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 69 of file HcalMon.h
Referenced by BeginRun(), Init(), process_event(), and ~HcalMon().
|
protected |
Definition at line 68 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 68 of file HcalMon.h
Referenced by BeginRun(), Init(), process_event(), and ~HcalMon().
|
protected |
Definition at line 66 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 66 of file HcalMon.h
Referenced by BeginRun(), Init(), process_event(), and ~HcalMon().
|
protected |
Definition at line 67 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 67 of file HcalMon.h
Referenced by BeginRun(), Init(), process_event(), and ~HcalMon().
|
protected |
Definition at line 64 of file HcalMon.h.
View newest version in sPHENIX GitHub at line 64 of file HcalMon.h
Referenced by anaWaveform(), Init(), and ~HcalMon().