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

#include <OnlMon/blob/main/subsystems/hcal/HcalMon.h>

+ Inheritance diagram for HcalMon:
+ Collaboration diagram for HcalMon:

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}
 
eventReceiverClienterc = {nullptr}
 
bool anaGL1 = false
 
CaloWaveformFittingWaveformProcessing = 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 }
 

Detailed Description

Definition at line 17 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 17 of file HcalMon.h

Constructor & Destructor Documentation

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.

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

Member Function Documentation

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

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

+ Here is the caller graph for this function:

Member Data Documentation

bool HcalMon::anaGL1 = false
protected

Definition at line 62 of file HcalMon.h.

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

Referenced by Init(), and process_event().

eventReceiverClient* HcalMon::erc = {nullptr}
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().

int HcalMon::evtcnt = 0
protected

Definition at line 31 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 31 of file HcalMon.h

Referenced by process_event(), and Reset().

TH1* HcalMon::h1_packet_chans = nullptr
protected

Definition at line 52 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h1_packet_event = nullptr
protected

Definition at line 55 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 55 of file HcalMon.h

Referenced by Init(), and process_event().

TH1* HcalMon::h1_packet_length = nullptr
protected

Definition at line 53 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h1_packet_number = nullptr
protected

Definition at line 54 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH2* HcalMon::h2_hcal_correlation = nullptr
protected

Definition at line 48 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH2* HcalMon::h2_hcal_hits = nullptr
protected

Definition at line 40 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 40 of file HcalMon.h

Referenced by Init(), and process_event().

TH2* HcalMon::h2_hcal_hits_trig = nullptr
protected

Definition at line 41 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH2* HcalMon::h2_hcal_mean = nullptr
protected

Definition at line 46 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH2* HcalMon::h2_hcal_rm = nullptr
protected

Definition at line 45 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH2* HcalMon::h2_hcal_waveform = nullptr
protected

Definition at line 47 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH2* HcalMon::h_caloPack_gl1_clock_diff = {nullptr}
protected

Definition at line 59 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h_event = nullptr
protected

Definition at line 50 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 50 of file HcalMon.h

Referenced by Init(), and process_event().

TH1* HcalMon::h_hcal_trig = {nullptr}
protected

Definition at line 58 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h_ntower = nullptr
protected

Definition at line 51 of file HcalMon.h.

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

Referenced by Init().

TH1* HcalMon::h_rm_sectorAvg[32] = {nullptr}
protected

Definition at line 56 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h_rm_tower[24][64] = {nullptr}
protected

Definition at line 57 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h_sectorAvg_total = nullptr
protected

Definition at line 49 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h_waveform_pedestal = nullptr
protected

Definition at line 44 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 44 of file HcalMon.h

Referenced by Init(), and process_event().

TH1* HcalMon::h_waveform_time = nullptr
protected

Definition at line 43 of file HcalMon.h.

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

Referenced by Init(), and process_event().

TH1* HcalMon::h_waveform_twrAvg = nullptr
protected

Definition at line 42 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 42 of file HcalMon.h

Referenced by Init(), and process_event().

int HcalMon::idummy = 0
protected

Definition at line 32 of file HcalMon.h.

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

Referenced by Reset().

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

const int HcalMon::Nsector = 32
protected

Definition at line 33 of file HcalMon.h.

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

Referenced by Init(), and process_event().

const int HcalMon::Ntower = 1536
protected

Definition at line 34 of file HcalMon.h.

View newest version in sPHENIX GitHub at line 34 of file HcalMon.h

Referenced by Init().

int HcalMon::packethigh = 8008
protected

Definition at line 37 of file HcalMon.h.

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

Referenced by HcalMon(), Init(), and process_event().

int HcalMon::packetlow = 8001
protected

Definition at line 36 of file HcalMon.h.

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

Referenced by HcalMon(), Init(), and process_event().

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

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

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

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

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

CaloWaveformFitting* HcalMon::WaveformProcessing = nullptr
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().


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