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

#include <OnlMon/blob/main/subsystems/zdc/ZdcMon.h>

+ Inheritance diagram for ZdcMon:
+ Collaboration diagram for ZdcMon:

Public Member Functions

 ZdcMon (const std::string &name="ZDCMON")
 
virtual ~ZdcMon ()
 
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 > anaWaveformFast (Packet *p, const int channel)
 

Protected Attributes

CaloWaveformFittingWaveformProcessingFast = nullptr
 
int evtcnt = 0
 
int idummy = 0
 
TH1 * zdc_adc_north = nullptr
 
TH1 * zdc_adc_south = nullptr
 
- 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 ZdcMon.h.

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

Constructor & Destructor Documentation

ZdcMon::ZdcMon ( const std::string &  name = "ZDCMON")

Definition at line 38 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 38 of file ZdcMon.cc

ZdcMon::~ZdcMon ( )
virtual

Definition at line 46 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 46 of file ZdcMon.cc

Member Function Documentation

std::vector< float > ZdcMon::anaWaveformFast ( Packet p,
const int  channel 
)
protected

Definition at line 94 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 94 of file ZdcMon.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:

int ZdcMon::BeginRun ( const int  runno)
virtual

Reimplemented from OnlMon.

Definition at line 87 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 87 of file ZdcMon.cc

int ZdcMon::Init ( )
virtual

Reimplemented from OnlMon.

Definition at line 52 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 52 of file ZdcMon.cc

References OnlMonServer::instance(), printf(), OnlMonServer::registerHisto(), Reset(), WaveformProcessingFast, zdc_adc_north, and zdc_adc_south.

+ Here is the call graph for this function:

int ZdcMon::process_event ( Event evt)
virtual

Reimplemented from OnlMon.

Definition at line 114 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 114 of file ZdcMon.cc

References anaWaveformFast(), Acts::PhysicalConstants::c, TowerInfoDefs::decode_zdc(), evtcnt, TowerInfoDefs::get_zdc_side(), Event::getPacket(), Packet::iValue(), merge_hashes::p, signal(), zdc_adc_north, and zdc_adc_south.

+ Here is the call graph for this function:

int ZdcMon::Reset ( )
virtual

Reimplemented from OnlMon.

Definition at line 164 of file ZdcMon.cc.

View newest version in sPHENIX GitHub at line 164 of file ZdcMon.cc

References evtcnt, and idummy.

Referenced by Init().

+ Here is the caller graph for this function:

Member Data Documentation

int ZdcMon::evtcnt = 0
protected

Definition at line 32 of file ZdcMon.h.

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

Referenced by process_event(), and Reset().

int ZdcMon::idummy = 0
protected

Definition at line 33 of file ZdcMon.h.

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

Referenced by Reset().

CaloWaveformFitting* ZdcMon::WaveformProcessingFast = nullptr
protected

Definition at line 30 of file ZdcMon.h.

View newest version in sPHENIX GitHub at line 30 of file ZdcMon.h

Referenced by anaWaveformFast(), and Init().

TH1* ZdcMon::zdc_adc_north = nullptr
protected

Definition at line 34 of file ZdcMon.h.

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

Referenced by Init(), and process_event().

TH1* ZdcMon::zdc_adc_south = nullptr
protected

Definition at line 35 of file ZdcMon.h.

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

Referenced by Init(), and process_event().


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