Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/subsystems/sepd/SepdMon.h>
Public Member Functions | |
SepdMon (const std::string &name) | |
virtual | ~SepdMon () |
int | process_event (Event *evt) |
int | Init () |
int | BeginRun (const int runno) |
int | SepdMapChannel (int ch) |
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 | evtcnt = 0 |
int | idummy = 0 |
const int | Nsector = 24 |
const int | Nchannel = 192 * 4 |
const int | packetlow = 9001 |
const int | packethigh = 9006 |
const int | m_nChannels = 192 |
const int | packet_depth = 1000 |
const float | hit_threshold = 10 |
const int | n_samples_show = 31 |
const int | nChannels = 744 |
int | nPhi0 = 12 |
int | nPhi = 24 |
int | nRad = 24 |
double | axislimit = M_PI |
TH2 * | h_ADC0_s = nullptr |
TH2 * | h_ADC0_n = nullptr |
TH2 * | h_ADC_s = nullptr |
TH2 * | h_ADC_n = nullptr |
TH2 * | h_hits0_s = nullptr |
TH2 * | h_hits0_n = nullptr |
TH2 * | h_hits_s = nullptr |
TH2 * | h_hits_n = nullptr |
TH2 * | h_ADC_corr = nullptr |
TH2 * | h_hits_corr = nullptr |
TH1 * | h1_waveform_twrAvg = nullptr |
TH1 * | h1_waveform_time = nullptr |
TH1 * | h1_waveform_pedestal = nullptr |
TH1 * | h_event = nullptr |
TH2 * | h2_sepd_waveform = nullptr |
TH1 * | h1_sepd_fitting_sigDiff = nullptr |
TH1 * | h1_sepd_fitting_pedDiff = nullptr |
TH1 * | h1_sepd_fitting_timeDiff = nullptr |
TH1 * | h1_packet_chans = nullptr |
TH1 * | h1_packet_length = nullptr |
TH1 * | h1_packet_number = nullptr |
TH1 * | h1_packet_event = nullptr |
TH1 * | h_ADC_channel [744] = {nullptr} |
std::string | runtypestr = "Unknown" |
std::string | id_string |
CaloWaveformFitting * | WaveformProcessingFast = nullptr |
CaloWaveformFitting * | WaveformProcessingTemp = nullptr |
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 16 of file SepdMon.h.
View newest version in sPHENIX GitHub at line 16 of file SepdMon.h
SepdMon::SepdMon | ( | const std::string & | name | ) |
Definition at line 38 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 38 of file SepdMon.cc
|
virtual |
Definition at line 46 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 46 of file SepdMon.cc
References rm_packet_chans, rm_packet_length, and rm_packet_number.
|
protected |
Definition at line 229 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 229 of file SepdMon.cc
References CaloWaveformFitting::calo_processing_fast(), Packet::iValue(), physmon_simulation::s, and WaveformProcessingFast.
Referenced by process_event().
|
protected |
Definition at line 248 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 248 of file SepdMon.cc
References Packet::iValue(), CaloWaveformFitting::process_waveform(), physmon_simulation::s, and WaveformProcessingTemp.
|
virtual |
Reimplemented from OnlMon.
Definition at line 180 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 180 of file SepdMon.cc
References rm_packet_chans, rm_packet_length, and rm_packet_number.
|
protected |
Definition at line 201 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 201 of file SepdMon.cc
References Packet::iValue(), physmon_simulation::s, signal(), and ambiguity_solver_full_chain::x.
|
virtual |
Reimplemented from OnlMon.
Definition at line 65 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 65 of file SepdMon.cc
References axislimit, h1_packet_chans, h1_packet_event, h1_packet_length, h1_packet_number, h1_sepd_fitting_pedDiff, h1_sepd_fitting_sigDiff, h1_sepd_fitting_timeDiff, h1_waveform_pedestal, h1_waveform_time, h1_waveform_twrAvg, h2_sepd_waveform, h_ADC0_n, h_ADC0_s, h_ADC_channel, h_ADC_corr, h_ADC_n, h_ADC_s, h_event, h_hits0_n, h_hits0_s, h_hits_corr, h_hits_n, h_hits_s, i, OnlMonServer::instance(), n_samples_show, nChannels, nPhi, nPhi0, nRad, packet_depth, packethigh, packetlow, printf(), OnlMonServer::registerHisto(), Reset(), rm_packet_chans, rm_packet_length, rm_packet_number, WaveformProcessingFast, and WaveformProcessingTemp.
|
virtual |
Reimplemented from OnlMon.
Definition at line 267 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 267 of file SepdMon.cc
References anaWaveformFast(), axislimit, Acts::PhysicalConstants::c, TowerInfoDefs::encode_epd(), evtcnt, TowerInfoDefs::get_epd_arm(), TowerInfoDefs::get_epd_phibin(), TowerInfoDefs::get_epd_rbin(), Packet::getLength(), Event::getPacket(), h1_packet_chans, h1_packet_event, h1_packet_length, h1_packet_number, h1_waveform_pedestal, h1_waveform_time, h1_waveform_twrAvg, h2_sepd_waveform, h_ADC0_n, h_ADC0_s, h_ADC_channel, h_ADC_corr, h_ADC_n, h_ADC_s, h_event, h_hits0_n, h_hits0_s, h_hits_corr, h_hits_n, h_hits_s, hit_threshold, Packet::iValue(), m_nChannels, nChannels, nPhi, nPhi0, nRad, merge_hashes::p, packethigh, packetlow, ActsTests::PropagationDatasets::phi, phi_in, physmon_track_finding_ttbar::r, rm_packet_chans, rm_packet_length, rm_packet_number, physmon_simulation::s, SepdMapChannel(), signal(), and KFPMath::zero().
|
virtual |
Reimplemented from OnlMon.
Definition at line 462 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 462 of file SepdMon.cc
References evtcnt, and idummy.
Referenced by Init().
int SepdMon::SepdMapChannel | ( | int | ch | ) |
Definition at line 471 of file SepdMon.cc.
View newest version in sPHENIX GitHub at line 471 of file SepdMon.cc
Referenced by process_event().
|
protected |
|
protected |
|
protected |
|
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 42 of file SepdMon.h.
View newest version in sPHENIX GitHub at line 42 of file SepdMon.h
Referenced by process_event().
|
protected |
|
protected |
|
protected |
Definition at line 39 of file SepdMon.h.
View newest version in sPHENIX GitHub at line 39 of file SepdMon.h
Referenced by process_event().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 89 of file SepdMon.h.
View newest version in sPHENIX GitHub at line 89 of file SepdMon.h
Referenced by BeginRun(), Init(), process_event(), and ~SepdMon().
|
protected |
Definition at line 88 of file SepdMon.h.
View newest version in sPHENIX GitHub at line 88 of file SepdMon.h
Referenced by BeginRun(), Init(), process_event(), and ~SepdMon().
|
protected |
Definition at line 87 of file SepdMon.h.
View newest version in sPHENIX GitHub at line 87 of file SepdMon.h
Referenced by BeginRun(), Init(), process_event(), and ~SepdMon().
|
protected |
|
protected |
|
protected |