![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <OnlMon/blob/main/subsystems/mvtx/MvtxMon.h>
Inheritance diagram for MvtxMon:
Collaboration diagram for MvtxMon:Classes | |
| struct | linkId |
Public Member Functions | |
| MvtxMon (const std::string &name) | |
| virtual | ~MvtxMon () |
| 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 Types | |
| typedef struct MvtxMon::linkId | LinkId_t |
Protected Member Functions | |
| LinkId_t | DecodeFeeid (const uint16_t &feeid) |
Protected Attributes | |
| int | evtcnt = 0 |
| int | idummy = 0 |
| int | mHitPerChip [NLAYERS][NSTAVE][NCHIP] = {} |
| int | mMaxGeneralAxisRange = -3 |
| int | mMinGeneralAxisRange = -12 |
| std::string | mLaneStatusFlag [NFlags] = { "WARNING", "ERROR", "FAULT" } |
| const int | StaveBoundary [4] = { 0, 12, 28, 48} |
| const int | LayerBoundaryFEE [NLAYERS-1] = { 35, 83} |
| TH2 * | mvtxmon_ChipStaveOcc = nullptr |
| TH1 * | mvtxmon_ChipStave1D = nullptr |
| TH1 * | mvtxmon_ChipFiredHis = nullptr |
| TH1 * | mvtxmon_EvtHitChip = nullptr |
| TH1 * | mvtxmon_EvtHitDis = nullptr |
| TH2 * | mvtxmon_HitMap [NSTAVE][NCHIP] = {nullptr} |
| TH2Poly * | mvtxmon_GeneralOccupancy = nullptr |
| TH2Poly * | mvtxmon_LaneStatusOverview [NFlags] = {nullptr} |
| TH1I * | mRCDAQevt = nullptr |
| TH1I * | hChipStrobes = nullptr |
| TH1I * | hChipL1 = nullptr |
| TH2I * | mTriggerVsFeeId = nullptr |
| TH1I * | mTrigger = nullptr |
| TH2I * | mLaneInfo = nullptr |
| TH2I * | mLaneStatus [NFlags] = {nullptr} |
| TH2I * | mLaneStatusCumulative [NFlags] = {nullptr} |
| TH1I * | mLaneStatusSummary [NLAYERS] = {nullptr} |
| TH1I * | mLaneStatusSummaryIB = nullptr |
| TString | mTriggerType [NTrigger] = { "ORBIT", "HB", "HBr", "HC", "PHYSICS", "PP", "CAL", "SOT", "EOT", "SOC", "EOC", "TF", "INT" } |
| TH1D * | hErrorPlots = nullptr |
| TH2D * | hErrorFile = nullptr |
| TH1D * | hOccupancyPlot [NLAYERS] = {nullptr} |
| TH2I * | hEtaPhiHitmap [NLAYERS] = {nullptr} |
| TH2D * | hChipStaveOccupancy [NLAYERS] = {nullptr} |
| TH3I * | hChipHitmap = nullptr |
| TH3I * | hChipHitmap_evt = nullptr |
| TH2I * | mErrorVsFeeid = nullptr |
| TH2Poly * | mGeneralOccupancy = nullptr |
| TH2Poly * | mGeneralNoisyPixel = nullptr |
| TH2D * | mDeadChipPos [NLAYERS] = {nullptr} |
| TH2D * | mAliveChipPos [NLAYERS] = {nullptr} |
| TH2D * | mTotalDeadChipPos = nullptr |
| TH2D * | mTotalAliveChipPos = nullptr |
| TH2D * | mChipStaveOccupancy [NLAYERS] = {nullptr} |
| TH1D * | mOccupancyPlot [NLAYERS] = {nullptr} |
| TH2D * | hChipStaveNoisy [NLAYERS] = {nullptr} |
| float | mOccupancyCutForNoisyPixel = 0.2 |
| int | mNoisyPixelNumber [3][20][9] = { { 0 } } |
| TString | ErrorType [NError] |
| const int | NFiles = 6 |
| int | ntriggers = 0 |
| const int | NStaves [3] = { 12, 16, 20 } |
| const float | StartAngle [3] = { 16.997 / 360 * (M_PI * 2.), 17.504 / 360 * (M_PI * 2.), 17.337 / 360 * (M_PI * 2.)} |
| const float | MidPointRad [3] = { 23.49, 31.586, 39.341} |
| const int | mapstave [3][20] = {{10,11,12,1,2,3,4,5,6,7,8,9,0,0,0,0,0,0,0,0},{25,26,27,28,13,14,15,16,17,18,19,20,21,22,23,24,0,0,0,0},{44,45,46,47,48,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43}} |
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 |
Static Protected Attributes | |
| static constexpr int | NSTAVE = 48 |
| static constexpr int | NCHIP = 9 |
| static constexpr int | NLAYERS = 3 |
| static constexpr int | NFees = 48 * 3 |
| static constexpr int | NTrigger = 13 |
| static constexpr int | NLanesMax = 9 |
| static constexpr int | NCols = 1024 |
| static constexpr int | NRows = 512 |
| static constexpr int | NFlags = 3 |
| static constexpr int | NError = 11 |
| static constexpr int | NErrorExtended = 19 |
Private Member Functions | |
| unsigned short | decode_row (int hit) |
| unsigned short | decode_col (int hit) |
| void | getStavePoint (int layer, int stave, double *px, double *py) |
| void | drawLayerName (TH2 *histo2D) |
| void | createPoly (TH2Poly *h) |
Private Attributes | |
| Packet ** | plist = nullptr |
Additional Inherited Members | |
Public Types inherited from OnlMon | |
| enum | { ACTIVE = -1, OK = 0, WARNING = 1, ERROR = 2 } |
Definition at line 28 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 28 of file MvtxMon.h
|
protected |
| MvtxMon::MvtxMon | ( | const std::string & | name | ) |
Definition at line 47 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 47 of file MvtxMon.cc
|
virtual |
Definition at line 55 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 55 of file MvtxMon.cc
|
virtual |
Reimplemented from OnlMon.
Definition at line 343 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 343 of file MvtxMon.cc
|
private |
Definition at line 613 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 613 of file MvtxMon.cc
References getStavePoint(), NLAYERS, and NStaves.
Referenced by Init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
|
inlineprivate |
|
inlineprotected |
Definition at line 143 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 143 of file MvtxMon.h
References MvtxMon::linkId::gbtid, MvtxMon::linkId::layer, and MvtxMon::linkId::stave.
Referenced by process_event().
Here is the caller graph for this function:
|
private |
Definition at line 593 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 593 of file MvtxMon.cc
References layer, MidPointRad, NStaves, and StartAngle.
Referenced by createPoly().
Here is the caller graph for this function:
|
virtual |
Reimplemented from OnlMon.
Definition at line 61 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 61 of file MvtxMon.cc
References createPoly(), Data, ErrorType, hChipHitmap, hChipHitmap_evt, hChipL1, hChipStaveNoisy, hChipStaveOccupancy, hChipStrobes, hErrorFile, hErrorPlots, hOccupancyPlot, i, OnlMonServer::instance(), j, LayerBoundaryFEE, mAliveChipPos, mDeadChipPos, mErrorVsFeeid, mGeneralNoisyPixel, mGeneralOccupancy, mLaneStatus, mLaneStatusCumulative, mLaneStatusFlag, mLaneStatusSummary, mLaneStatusSummaryIB, mOccupancyPlot, OnlMon::MonitorServerId(), mRCDAQevt, mTotalAliveChipPos, mTotalDeadChipPos, mTrigger, mTriggerType, mTriggerVsFeeId, mvtxmon_ChipFiredHis, mvtxmon_ChipStave1D, mvtxmon_ChipStaveOcc, mvtxmon_EvtHitChip, mvtxmon_EvtHitDis, mvtxmon_LaneStatusOverview, NCHIP, NError, NErrorExtended, NFees, NFlags, NLanesMax, NLAYERS, NSTAVE, NStaves, NTrigger, printf(), physmon_track_finding_ttbar::pt, OnlMonServer::registerHisto(), Reset(), StaveBoundary, title, and Acts::Test::tmp().
Here is the call graph for this function:
|
virtual |
Reimplemented from OnlMon.
Definition at line 350 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 350 of file MvtxMon.cc
References DecodeFeeid(), evtcnt, FILLMESSAGE, for(), Packet::getIdentifier(), Event::getPacket(), Event::getPacketList(), GetXaxis(), GetYaxis(), hChipHitmap, hChipHitmap_evt, hChipL1, hChipStaveNoisy, hChipStaveOccupancy, hChipStrobes, hOccupancyPlot, i, Packet::identify(), idummy, OnlMonServer::instance(), Packet::iValue(), j, Packet::lValue(), mAliveChipPos, mapstave, mDeadChipPos, mGeneralNoisyPixel, mGeneralOccupancy, mHitPerChip, mNoisyPixelNumber, mOccupancyCutForNoisyPixel, mOccupancyPlot, OnlMon::MonitorServerId(), mRCDAQevt, TauVsDIS_MachineLearning_Differentiation::msg, MSG_SEV_INFORMATIONAL, MSG_SOURCE_UNSPECIFIED, mTotalAliveChipPos, mTotalDeadChipPos, mvtxmon_ChipFiredHis, mvtxmon_ChipStave1D, mvtxmon_EvtHitChip, mvtxmon_EvtHitDis, NCHIP, NCols, NLAYERS, NRows, NStaves, ntriggers, merge_hashes::p, plist, physmon_simulation::s, OnlMonServer::send_message(), StaveBoundary, and OnlMonBase::Verbosity().
Here is the call graph for this function:
|
virtual |
Reimplemented from OnlMon.
Definition at line 584 of file MvtxMon.cc.
View newest version in sPHENIX GitHub at line 584 of file MvtxMon.cc
References evtcnt, and idummy.
Referenced by Init().
Here is the caller graph for this function:
|
protected |
Definition at line 118 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 118 of file MvtxMon.h
Referenced by Init().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 133 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 133 of file MvtxMon.h
Referenced by process_event().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 52 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 52 of file MvtxMon.h
Referenced by process_event().
|
protected |
Definition at line 131 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 131 of file MvtxMon.h
Referenced by getStavePoint().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 107 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 107 of file MvtxMon.h
Referenced by process_event().
|
protected |
Definition at line 106 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 106 of file MvtxMon.h
Referenced by process_event().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
Definition at line 50 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 50 of file MvtxMon.h
Referenced by process_event().
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
Definition at line 46 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 46 of file MvtxMon.h
Referenced by createPoly(), Init(), and process_event().
|
staticprotected |
Definition at line 51 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 51 of file MvtxMon.h
Referenced by process_event().
|
staticprotected |
|
protected |
Definition at line 129 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 129 of file MvtxMon.h
Referenced by createPoly(), getStavePoint(), Init(), and process_event().
|
staticprotected |
|
protected |
Definition at line 126 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 126 of file MvtxMon.h
Referenced by process_event().
|
private |
Definition at line 159 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 159 of file MvtxMon.h
Referenced by process_event().
|
protected |
Definition at line 130 of file MvtxMon.h.
View newest version in sPHENIX GitHub at line 130 of file MvtxMon.h
Referenced by getStavePoint().
|
protected |