Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SepdMon Class Reference

#include <OnlMon/blob/main/subsystems/sepd/SepdMon.h>

+ Inheritance diagram for SepdMon:
+ Collaboration diagram for SepdMon:

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
 
CaloWaveformFittingWaveformProcessingFast = nullptr
 
CaloWaveformFittingWaveformProcessingTemp = 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 }
 

Detailed Description

Definition at line 16 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 16 of file SepdMon.h

Constructor & Destructor Documentation

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

SepdMon::~SepdMon ( )
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.

Member Function Documentation

std::vector< float > SepdMon::anaWaveformFast ( Packet p,
const int  channel 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< float > SepdMon::anaWaveformTemp ( Packet p,
const int  channel 
)
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.

+ Here is the call graph for this function:

int SepdMon::BeginRun ( const int  runno)
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.

std::vector< float > SepdMon::getSignal ( Packet p,
const int  channel 
)
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.

+ Here is the call graph for this function:

int SepdMon::Reset ( )
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().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

Member Data Documentation

double SepdMon::axislimit = M_PI
protected

Definition at line 49 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 49 of file SepdMon.h

Referenced by Init(), and process_event().

int SepdMon::evtcnt = 0
protected

Definition at line 32 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 32 of file SepdMon.h

Referenced by process_event(), and Reset().

TH1* SepdMon::h1_packet_chans = nullptr
protected

Definition at line 74 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 74 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h1_packet_event = nullptr
protected

Definition at line 77 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 77 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h1_packet_length = nullptr
protected

Definition at line 75 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 75 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h1_packet_number = nullptr
protected

Definition at line 76 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 76 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h1_sepd_fitting_pedDiff = nullptr
protected

Definition at line 71 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 71 of file SepdMon.h

Referenced by Init().

TH1* SepdMon::h1_sepd_fitting_sigDiff = nullptr
protected

Definition at line 70 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 70 of file SepdMon.h

Referenced by Init().

TH1* SepdMon::h1_sepd_fitting_timeDiff = nullptr
protected

Definition at line 72 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 72 of file SepdMon.h

Referenced by Init().

TH1* SepdMon::h1_waveform_pedestal = nullptr
protected

Definition at line 66 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 66 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h1_waveform_time = nullptr
protected

Definition at line 65 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 65 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h1_waveform_twrAvg = nullptr
protected

Definition at line 64 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 64 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h2_sepd_waveform = nullptr
protected

Definition at line 68 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 68 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_ADC0_n = nullptr
protected

Definition at line 52 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 52 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_ADC0_s = nullptr
protected

Definition at line 51 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 51 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h_ADC_channel[744] = {nullptr}
protected

Definition at line 79 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 79 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_ADC_corr = nullptr
protected

Definition at line 61 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 61 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_ADC_n = nullptr
protected

Definition at line 54 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 54 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_ADC_s = nullptr
protected

Definition at line 53 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 53 of file SepdMon.h

Referenced by Init(), and process_event().

TH1* SepdMon::h_event = nullptr
protected

Definition at line 67 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 67 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_hits0_n = nullptr
protected

Definition at line 57 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 57 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_hits0_s = nullptr
protected

Definition at line 56 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 56 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_hits_corr = nullptr
protected

Definition at line 62 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 62 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_hits_n = nullptr
protected

Definition at line 59 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 59 of file SepdMon.h

Referenced by Init(), and process_event().

TH2* SepdMon::h_hits_s = nullptr
protected

Definition at line 58 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 58 of file SepdMon.h

Referenced by Init(), and process_event().

const float SepdMon::hit_threshold = 10
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().

std::string SepdMon::id_string
protected

Definition at line 82 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 82 of file SepdMon.h

int SepdMon::idummy = 0
protected

Definition at line 33 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 33 of file SepdMon.h

Referenced by Reset().

const int SepdMon::m_nChannels = 192
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().

const int SepdMon::n_samples_show = 31
protected

Definition at line 43 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 43 of file SepdMon.h

Referenced by Init().

const int SepdMon::Nchannel = 192 * 4
protected

Definition at line 36 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 36 of file SepdMon.h

const int SepdMon::nChannels = 744
protected

Definition at line 45 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 45 of file SepdMon.h

Referenced by Init(), and process_event().

int SepdMon::nPhi = 24
protected

Definition at line 47 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 47 of file SepdMon.h

Referenced by Init(), and process_event().

int SepdMon::nPhi0 = 12
protected

Definition at line 46 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 46 of file SepdMon.h

Referenced by Init(), and process_event().

int SepdMon::nRad = 24
protected

Definition at line 48 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 48 of file SepdMon.h

Referenced by Init(), and process_event().

const int SepdMon::Nsector = 24
protected

Definition at line 35 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 35 of file SepdMon.h

const int SepdMon::packet_depth = 1000
protected

Definition at line 41 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 41 of file SepdMon.h

Referenced by Init().

const int SepdMon::packethigh = 9006
protected

Definition at line 38 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 38 of file SepdMon.h

Referenced by Init(), and process_event().

const int SepdMon::packetlow = 9001
protected

Definition at line 37 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 37 of file SepdMon.h

Referenced by Init(), and process_event().

std::vector<runningMean *> SepdMon::rm_packet_chans
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().

std::vector<runningMean *> SepdMon::rm_packet_length
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().

std::vector<runningMean *> SepdMon::rm_packet_number
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().

std::string SepdMon::runtypestr = "Unknown"
protected

Definition at line 81 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 81 of file SepdMon.h

CaloWaveformFitting* SepdMon::WaveformProcessingFast = nullptr
protected

Definition at line 84 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 84 of file SepdMon.h

Referenced by anaWaveformFast(), and Init().

CaloWaveformFitting* SepdMon::WaveformProcessingTemp = nullptr
protected

Definition at line 85 of file SepdMon.h.

View newest version in sPHENIX GitHub at line 85 of file SepdMon.h

Referenced by anaWaveformTemp(), and Init().


The documentation for this class was generated from the following files: