CbmRoot
Loading...
Searching...
No Matches
CbmDeviceMcbmMonitorPulser Class Reference

#include <CbmDeviceMcbmMonitorPulser.h>

Inheritance diagram for CbmDeviceMcbmMonitorPulser:
[legend]
Collaboration diagram for CbmDeviceMcbmMonitorPulser:
[legend]

Public Member Functions

 CbmDeviceMcbmMonitorPulser ()
 
virtual ~CbmDeviceMcbmMonitorPulser ()
 

Protected Member Functions

virtual void InitTask ()
 
bool HandleData (FairMQParts &, int)
 

Private Member Functions

bool IsChannelNameAllowed (std::string channelName)
 
Bool_t InitContainers ()
 
void Finish ()
 
bool SendHistograms ()
 
void CheckInterSystemOffset ()
 
template<class Digi >
Int_t FillSystemOffsetHistos (TH1 *histo, TH2 *histoEvo, TH2 *histoEvoLong, TProfile *profMeanEvo, TH2 *histoAFCK, const Double_t T0Time, const Int_t offsetRange, Int_t iStartDigi, ECbmModuleId iDetId=ECbmModuleId::kLastModule)
 
Int_t CalcNrBins (Int_t)
 
void CreateHistos ()
 

Private Attributes

Bool_t fbDebugMonitorMode = kFALSE
 Control flags.
 
Bool_t fbIgnoreCriticalErrors = kTRUE
 Switch ON the filling of a additional set of histograms.
 
Bool_t fbComponentsAddedToList = kFALSE
 If ON not printout at all for critical errors.
 
std::string fsChannelNameDataInput = "unpts_0"
 User settings parameters.
 
std::string fsChannelNameCommands = "commands"
 
std::string fsChannelNameHistosInput = "histogram-in"
 
std::string fsChannelNameHistosConfig = "histo-conf"
 
std::string fsChannelNameCanvasConfig = "canvas-conf"
 
uint32_t fuHistoryHistoSize = 3600
 
uint32_t fuMinTotPulser = 185
 
uint32_t fuMaxTotPulser = 195
 
uint32_t fuPublishFreqTs = 100
 
double_t fdMinPublishTime = 0.5
 
double_t fdMaxPublishTime = 5.0
 
std::vector< std::string > fsAllowedChannels = {fsChannelNameDataInput}
 List of MQ channels names.
 
uint64_t fulNumMessages = 0
 Parameters management.
 
uint64_t fulTsCounter = 0
 
std::chrono::system_clock::time_point fLastPublishTime = std::chrono::system_clock::now()
 
TimesliceMetaDatafTsMetaData = nullptr
 
std::vector< CbmTofDigifvDigiBmon = {}
 Digis storage.
 
std::vector< CbmStsDigifvDigiSts = {}
 
std::vector< CbmMuchBeamTimeDigifvDigiMuch = {}
 
std::vector< CbmTrdDigifvDigiTrd = {}
 
std::vector< CbmTofDigifvDigiTof = {}
 
std::vector< CbmRichDigifvDigiRich = {}
 
std::vector< CbmPsdDigifvDigiPsd = {}
 
TObjArray fArrayHisto = {}
 Processing algo.
 
std::vector< std::pair< std::string, std::string > > fvpsHistosFolder = {}
 Vector of string pairs with ( HistoName, FolderPath ) to send to the histogram server.
 
std::vector< std::pair< std::string, std::string > > fvpsCanvasConfig = {}
 
Double_t fPrevTimeBmon = 0.
 Variables to store the previous digi time.
 
Double_t fPrevTimeSts = 0.
 
Double_t fPrevTimeMuch = 0.
 
Double_t fPrevTimeTrd = 0.
 
Double_t fPrevTimeTof = 0.
 
Double_t fPrevTimeRich = 0.
 
Double_t fPrevTimePsd = 0.
 
Int_t fPrevBmonFirstDigiSts = 0
 
Int_t fPrevBmonFirstDigiMuch = 0
 
Int_t fPrevBmonFirstDigiTrd = 0
 
Int_t fPrevBmonFirstDigiTof = 0
 
Int_t fPrevBmonFirstDigiRich = 0
 
Int_t fPrevBmonFirstDigiPsd = 0
 
UInt_t fuMinTotPulserBmon = 182
 
UInt_t fuMaxTotPulserBmon = 190
 
UInt_t fuMinAdcPulserSts = 90
 
UInt_t fuMaxAdcPulserSts = 100
 
UInt_t fuMinAdcPulserMuch = 5
 
UInt_t fuMaxAdcPulserMuch = 15
 
UInt_t fuMinChargePulserTrd = 0
 
UInt_t fuMaxChargePulserTrd = 70000
 
UInt_t fuMinTotPulserTof = 182
 
UInt_t fuMaxTotPulserTof = 190
 
UInt_t fuMinTotPulserRich = 90
 
UInt_t fuMaxTotPulserRich = 105
 
UInt_t fuMinAdcPulserPsd = 90
 
UInt_t fuMaxAdcPulserPsd = 100
 
UInt_t fuStsAddress = kuDefaultAddress
 Channel selection.
 
UInt_t fuStsFirstCha = kuMaxChannelSts
 
UInt_t fuStsLastChan = kuMaxChannelSts
 
UInt_t fuMuchAsic = kuMaxNbMuchAsics
 
UInt_t fuMuchFirstCha = kuNbChanSMX
 
UInt_t fuMuchLastChan = kuNbChanSMX
 
UInt_t fuTrdAddress = kuDefaultAddress
 
UInt_t fuPsdAddress = kuDefaultAddress
 
Int_t fNrTs = 0
 
Int_t fOffsetRange = 1000
 
Int_t fStsOffsetRange = 1000
 
Int_t fMuchOffsetRange = 1000
 
Int_t fTrdOffsetRange = 1000
 
Int_t fTofOffsetRange = 1000
 
Int_t fRichOffsetRange = 1000
 
Int_t fPsdOffsetRange = 1000
 
Int_t fBinWidth = 1
 
TH1 * fBmonStsDiff = nullptr
 
TH1 * fBmonMuchDiff = nullptr
 
TH1 * fBmonTrdDiff = nullptr
 
TH1 * fBmonTofDiff = nullptr
 
TH1 * fBmonRichDiff = nullptr
 
TH1 * fBmonPsdDiff = nullptr
 
TH2 * fBmonPsdDiffCharge = nullptr
 
TH2 * fBmonStsDiffEvo = nullptr
 
TH2 * fBmonMuchDiffEvo = nullptr
 
TH2 * fBmonTrdDiffEvo = nullptr
 
TH2 * fBmonTofDiffEvo = nullptr
 
TH2 * fBmonRichDiffEvo = nullptr
 
TH2 * fBmonPsdDiffEvo = nullptr
 
TH2 * fBmonStsDiffEvoLong = nullptr
 
TH2 * fBmonMuchDiffEvoLong = nullptr
 
TH2 * fBmonTrdDiffEvoLong = nullptr
 
TH2 * fBmonTofDiffEvoLong = nullptr
 
TH2 * fBmonRichDiffEvoLong = nullptr
 
TH2 * fBmonPsdDiffEvoLong = nullptr
 
Double_t fdStartTime = -1
 
TProfile * fBmonStsMeanEvo = nullptr
 
TProfile * fBmonMuchMeanEvo = nullptr
 
TProfile * fBmonTrdMeanEvo = nullptr
 
TProfile * fBmonTofMeanEvo = nullptr
 
TProfile * fBmonRichMeanEvo = nullptr
 
TProfile * fBmonPsdMeanEvo = nullptr
 
TH1 * fBmonBmonDiff = nullptr
 
TH1 * fStsStsDiff = nullptr
 
TH1 * fMuchMuchDiff = nullptr
 
TH1 * fTrdTrdDiff = nullptr
 
TH1 * fTofTofDiff = nullptr
 
TH1 * fRichRichDiff = nullptr
 
TH1 * fPsdPsdDiff = nullptr
 
TH2 * fBmonStsNb = nullptr
 
TH2 * fBmonMuchNb = nullptr
 
TH2 * fBmonTrdNb = nullptr
 
TH2 * fBmonTofNb = nullptr
 
TH2 * fBmonRichNb = nullptr
 
TH2 * fBmonPsdNb = nullptr
 
Int_t fiBmonNb = 0
 
Int_t fiStsNb = 0
 
Int_t fiMuchNb = 0
 
Int_t fiTrdNb = 0
 
Int_t fiTofNb = 0
 
Int_t fiRichNb = 0
 
Int_t fiPsdNb = 0
 
TH1 * fBmonAddress = nullptr
 
TH1 * fBmonChannel = nullptr
 
TH2 * fBmonStsDpbDiff = nullptr
 
TH2 * fBmonStsDpbDiffEvo [kuMaxNbStsDpbs]
 
TH1 * fStsDpbCntsEvo [kuMaxNbStsDpbs]
 
TH2 * fBmonMuchRocDiff = nullptr
 
TH2 * fBmonMuchAsicDiff = nullptr
 
TH2 * fBmonMuchAsicDiffEvo [kuMaxNbMuchAsics]
 
TH2 * fDigisPerAsicEvo = nullptr
 
Double_t fdLastMuchDigi [kuMaxNbMuchAsics][kuNbChanSMX]
 
Double_t fdLastMuchDigiPulser [kuMaxNbMuchAsics][kuNbChanSMX]
 
TH2 * fSameChanDigisDistEvo = nullptr
 
Double_t fdLastBmonDigiPulser = 0
 
TH2 * fDigiTimeEvoBmon = nullptr
 
TH2 * fDigiTimeEvoSts = nullptr
 
TH2 * fDigiTimeEvoMuch = nullptr
 
TH2 * fDigiTimeEvoTof = nullptr
 

Static Private Attributes

static const UInt_t kuNbChanSMX = 128
 Constants.
 
static const UInt_t kuMaxNbStsDpbs = 2
 
static const UInt_t kuMaxNbMuchDpbs = 6
 
static const UInt_t kuMaxNbMuchAsics = 36
 
static const UInt_t kuDefaultAddress = 0xFFFFFFFF
 
static const UInt_t kuMaxChannelSts = 3000
 

Detailed Description

Definition at line 39 of file CbmDeviceMcbmMonitorPulser.h.

Constructor & Destructor Documentation

◆ CbmDeviceMcbmMonitorPulser()

CbmDeviceMcbmMonitorPulser::CbmDeviceMcbmMonitorPulser ( )

Definition at line 51 of file CbmDeviceMcbmMonitorPulser.cxx.

◆ ~CbmDeviceMcbmMonitorPulser()

CbmDeviceMcbmMonitorPulser::~CbmDeviceMcbmMonitorPulser ( )
virtual

Definition at line 401 of file CbmDeviceMcbmMonitorPulser.cxx.

Member Function Documentation

◆ CalcNrBins()

Int_t CbmDeviceMcbmMonitorPulser::CalcNrBins ( Int_t )
private

◆ CheckInterSystemOffset()

void CbmDeviceMcbmMonitorPulser::CheckInterSystemOffset ( )
private

◆ CreateHistos()

void CbmDeviceMcbmMonitorPulser::CreateHistos ( )
private

◆ FillSystemOffsetHistos()

template<class Digi >
Int_t CbmDeviceMcbmMonitorPulser::FillSystemOffsetHistos ( TH1 * histo,
TH2 * histoEvo,
TH2 * histoEvoLong,
TProfile * profMeanEvo,
TH2 * histoAFCK,
const Double_t T0Time,
const Int_t offsetRange,
Int_t iStartDigi,
ECbmModuleId iDetId = ECbmModuleId::kLastModule )
private

◆ Finish()

void CbmDeviceMcbmMonitorPulser::Finish ( )
private

Definition at line 403 of file CbmDeviceMcbmMonitorPulser.cxx.

◆ HandleData()

bool CbmDeviceMcbmMonitorPulser::HandleData ( FairMQParts & parts,
int  )
protected

TODO: code order of vectors in the TS MetaData!!

Process data in Algo

Clear vectors

Definition at line 253 of file CbmDeviceMcbmMonitorPulser.cxx.

References fTsMetaData, fulNumMessages, fvDigiBmon, fvDigiMuch, fvDigiPsd, fvDigiRich, fvDigiSts, fvDigiTof, and fvDigiTrd.

Referenced by InitTask().

◆ InitContainers()

Bool_t CbmDeviceMcbmMonitorPulser::InitContainers ( )
private

Definition at line 127 of file CbmDeviceMcbmMonitorPulser.cxx.

Referenced by InitTask().

◆ InitTask()

void CbmDeviceMcbmMonitorPulser::InitTask ( )
protectedvirtual

◆ IsChannelNameAllowed()

bool CbmDeviceMcbmMonitorPulser::IsChannelNameAllowed ( std::string channelName)
private

Definition at line 109 of file CbmDeviceMcbmMonitorPulser.cxx.

References fsAllowedChannels, and pos.

Referenced by InitTask().

◆ SendHistograms()

bool CbmDeviceMcbmMonitorPulser::SendHistograms ( )
private

Serialize the array of histos into a single MQ message

Send message to the common histogram messages queue

Reset the histograms after sending them (but do not reset the time)

Definition at line 362 of file CbmDeviceMcbmMonitorPulser.cxx.

References fArrayHisto, and fsChannelNameHistosInput.

Member Data Documentation

◆ fArrayHisto

TObjArray CbmDeviceMcbmMonitorPulser::fArrayHisto = {}
private

Processing algo.

Array of histograms to send to the histogram server

Definition at line 106 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by SendHistograms().

◆ fbComponentsAddedToList

Bool_t CbmDeviceMcbmMonitorPulser::fbComponentsAddedToList = kFALSE
private

If ON not printout at all for critical errors.

Definition at line 62 of file CbmDeviceMcbmMonitorPulser.h.

◆ fbDebugMonitorMode

Bool_t CbmDeviceMcbmMonitorPulser::fbDebugMonitorMode = kFALSE
private

Control flags.

Definition at line 60 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fbIgnoreCriticalErrors

Bool_t CbmDeviceMcbmMonitorPulser::fbIgnoreCriticalErrors = kTRUE
private

Switch ON the filling of a additional set of histograms.

Definition at line 61 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBinWidth

Int_t CbmDeviceMcbmMonitorPulser::fBinWidth = 1
private

Definition at line 185 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonAddress

TH1* CbmDeviceMcbmMonitorPulser::fBmonAddress = nullptr
private

Definition at line 240 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonBmonDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonBmonDiff = nullptr
private

Definition at line 217 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonChannel

TH1* CbmDeviceMcbmMonitorPulser::fBmonChannel = nullptr
private

Definition at line 241 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchAsicDiff

TH2* CbmDeviceMcbmMonitorPulser::fBmonMuchAsicDiff = nullptr
private

Definition at line 248 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchAsicDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonMuchAsicDiffEvo[kuMaxNbMuchAsics]
private

Definition at line 249 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonMuchDiff = nullptr
private

Definition at line 188 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonMuchDiffEvo = nullptr
private

Definition at line 196 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchDiffEvoLong

TH2* CbmDeviceMcbmMonitorPulser::fBmonMuchDiffEvoLong = nullptr
private

Definition at line 203 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchMeanEvo

TProfile* CbmDeviceMcbmMonitorPulser::fBmonMuchMeanEvo = nullptr
private

Definition at line 211 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchNb

TH2* CbmDeviceMcbmMonitorPulser::fBmonMuchNb = nullptr
private

Definition at line 226 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonMuchRocDiff

TH2* CbmDeviceMcbmMonitorPulser::fBmonMuchRocDiff = nullptr
private

Definition at line 247 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonPsdDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonPsdDiff = nullptr
private

Definition at line 192 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonPsdDiffCharge

TH2* CbmDeviceMcbmMonitorPulser::fBmonPsdDiffCharge = nullptr
private

Definition at line 193 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonPsdDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonPsdDiffEvo = nullptr
private

Definition at line 200 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonPsdDiffEvoLong

TH2* CbmDeviceMcbmMonitorPulser::fBmonPsdDiffEvoLong = nullptr
private

Definition at line 207 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonPsdMeanEvo

TProfile* CbmDeviceMcbmMonitorPulser::fBmonPsdMeanEvo = nullptr
private

Definition at line 215 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonPsdNb

TH2* CbmDeviceMcbmMonitorPulser::fBmonPsdNb = nullptr
private

Definition at line 230 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonRichDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonRichDiff = nullptr
private

Definition at line 191 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonRichDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonRichDiffEvo = nullptr
private

Definition at line 199 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonRichDiffEvoLong

TH2* CbmDeviceMcbmMonitorPulser::fBmonRichDiffEvoLong = nullptr
private

Definition at line 206 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonRichMeanEvo

TProfile* CbmDeviceMcbmMonitorPulser::fBmonRichMeanEvo = nullptr
private

Definition at line 214 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonRichNb

TH2* CbmDeviceMcbmMonitorPulser::fBmonRichNb = nullptr
private

Definition at line 229 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonStsDiff = nullptr
private

Definition at line 187 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonStsDiffEvo = nullptr
private

Definition at line 195 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsDiffEvoLong

TH2* CbmDeviceMcbmMonitorPulser::fBmonStsDiffEvoLong = nullptr
private

Definition at line 202 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsDpbDiff

TH2* CbmDeviceMcbmMonitorPulser::fBmonStsDpbDiff = nullptr
private

Definition at line 243 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsDpbDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonStsDpbDiffEvo[kuMaxNbStsDpbs]
private

Definition at line 244 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsMeanEvo

TProfile* CbmDeviceMcbmMonitorPulser::fBmonStsMeanEvo = nullptr
private

Definition at line 210 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonStsNb

TH2* CbmDeviceMcbmMonitorPulser::fBmonStsNb = nullptr
private

Definition at line 225 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTofDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonTofDiff = nullptr
private

Definition at line 190 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTofDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonTofDiffEvo = nullptr
private

Definition at line 198 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTofDiffEvoLong

TH2* CbmDeviceMcbmMonitorPulser::fBmonTofDiffEvoLong = nullptr
private

Definition at line 205 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTofMeanEvo

TProfile* CbmDeviceMcbmMonitorPulser::fBmonTofMeanEvo = nullptr
private

Definition at line 213 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTofNb

TH2* CbmDeviceMcbmMonitorPulser::fBmonTofNb = nullptr
private

Definition at line 228 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTrdDiff

TH1* CbmDeviceMcbmMonitorPulser::fBmonTrdDiff = nullptr
private

Definition at line 189 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTrdDiffEvo

TH2* CbmDeviceMcbmMonitorPulser::fBmonTrdDiffEvo = nullptr
private

Definition at line 197 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTrdDiffEvoLong

TH2* CbmDeviceMcbmMonitorPulser::fBmonTrdDiffEvoLong = nullptr
private

Definition at line 204 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTrdMeanEvo

TProfile* CbmDeviceMcbmMonitorPulser::fBmonTrdMeanEvo = nullptr
private

Definition at line 212 of file CbmDeviceMcbmMonitorPulser.h.

◆ fBmonTrdNb

TH2* CbmDeviceMcbmMonitorPulser::fBmonTrdNb = nullptr
private

Definition at line 227 of file CbmDeviceMcbmMonitorPulser.h.

◆ fDigisPerAsicEvo

TH2* CbmDeviceMcbmMonitorPulser::fDigisPerAsicEvo = nullptr
private

Definition at line 251 of file CbmDeviceMcbmMonitorPulser.h.

◆ fDigiTimeEvoBmon

TH2* CbmDeviceMcbmMonitorPulser::fDigiTimeEvoBmon = nullptr
private

Definition at line 258 of file CbmDeviceMcbmMonitorPulser.h.

◆ fDigiTimeEvoMuch

TH2* CbmDeviceMcbmMonitorPulser::fDigiTimeEvoMuch = nullptr
private

Definition at line 260 of file CbmDeviceMcbmMonitorPulser.h.

◆ fDigiTimeEvoSts

TH2* CbmDeviceMcbmMonitorPulser::fDigiTimeEvoSts = nullptr
private

Definition at line 259 of file CbmDeviceMcbmMonitorPulser.h.

◆ fDigiTimeEvoTof

TH2* CbmDeviceMcbmMonitorPulser::fDigiTimeEvoTof = nullptr
private

Definition at line 261 of file CbmDeviceMcbmMonitorPulser.h.

◆ fdLastBmonDigiPulser

Double_t CbmDeviceMcbmMonitorPulser::fdLastBmonDigiPulser = 0
private

Definition at line 256 of file CbmDeviceMcbmMonitorPulser.h.

◆ fdLastMuchDigi

Double_t CbmDeviceMcbmMonitorPulser::fdLastMuchDigi[kuMaxNbMuchAsics][kuNbChanSMX]
private

Definition at line 252 of file CbmDeviceMcbmMonitorPulser.h.

◆ fdLastMuchDigiPulser

Double_t CbmDeviceMcbmMonitorPulser::fdLastMuchDigiPulser[kuMaxNbMuchAsics][kuNbChanSMX]
private

Definition at line 253 of file CbmDeviceMcbmMonitorPulser.h.

◆ fdMaxPublishTime

double_t CbmDeviceMcbmMonitorPulser::fdMaxPublishTime = 5.0
private

Definition at line 75 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fdMinPublishTime

double_t CbmDeviceMcbmMonitorPulser::fdMinPublishTime = 0.5
private

Definition at line 74 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fdStartTime

Double_t CbmDeviceMcbmMonitorPulser::fdStartTime = -1
private

Definition at line 209 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiBmonNb

Int_t CbmDeviceMcbmMonitorPulser::fiBmonNb = 0
private

Definition at line 232 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiMuchNb

Int_t CbmDeviceMcbmMonitorPulser::fiMuchNb = 0
private

Definition at line 234 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiPsdNb

Int_t CbmDeviceMcbmMonitorPulser::fiPsdNb = 0
private

Definition at line 238 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiRichNb

Int_t CbmDeviceMcbmMonitorPulser::fiRichNb = 0
private

Definition at line 237 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiStsNb

Int_t CbmDeviceMcbmMonitorPulser::fiStsNb = 0
private

Definition at line 233 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiTofNb

Int_t CbmDeviceMcbmMonitorPulser::fiTofNb = 0
private

Definition at line 236 of file CbmDeviceMcbmMonitorPulser.h.

◆ fiTrdNb

Int_t CbmDeviceMcbmMonitorPulser::fiTrdNb = 0
private

Definition at line 235 of file CbmDeviceMcbmMonitorPulser.h.

◆ fLastPublishTime

std::chrono::system_clock::time_point CbmDeviceMcbmMonitorPulser::fLastPublishTime = std::chrono::system_clock::now()
private

Definition at line 88 of file CbmDeviceMcbmMonitorPulser.h.

◆ fMuchMuchDiff

TH1* CbmDeviceMcbmMonitorPulser::fMuchMuchDiff = nullptr
private

Definition at line 219 of file CbmDeviceMcbmMonitorPulser.h.

◆ fMuchOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fMuchOffsetRange = 1000
private

Definition at line 179 of file CbmDeviceMcbmMonitorPulser.h.

◆ fNrTs

Int_t CbmDeviceMcbmMonitorPulser::fNrTs = 0
private

Definition at line 175 of file CbmDeviceMcbmMonitorPulser.h.

◆ fOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fOffsetRange = 1000
private

Definition at line 177 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevBmonFirstDigiMuch

Int_t CbmDeviceMcbmMonitorPulser::fPrevBmonFirstDigiMuch = 0
private

Definition at line 142 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevBmonFirstDigiPsd

Int_t CbmDeviceMcbmMonitorPulser::fPrevBmonFirstDigiPsd = 0
private

Definition at line 146 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevBmonFirstDigiRich

Int_t CbmDeviceMcbmMonitorPulser::fPrevBmonFirstDigiRich = 0
private

Definition at line 145 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevBmonFirstDigiSts

Int_t CbmDeviceMcbmMonitorPulser::fPrevBmonFirstDigiSts = 0
private

Variables to store the first digi fitting the previous Bmon hits => Time-order means the time window for following one can only be in a later digi

Definition at line 141 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevBmonFirstDigiTof

Int_t CbmDeviceMcbmMonitorPulser::fPrevBmonFirstDigiTof = 0
private

Definition at line 144 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevBmonFirstDigiTrd

Int_t CbmDeviceMcbmMonitorPulser::fPrevBmonFirstDigiTrd = 0
private

Definition at line 143 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimeBmon

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimeBmon = 0.
private

Variables to store the previous digi time.

Definition at line 131 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimeMuch

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimeMuch = 0.
private

Definition at line 133 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimePsd

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimePsd = 0.
private

Definition at line 137 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimeRich

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimeRich = 0.
private

Definition at line 136 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimeSts

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimeSts = 0.
private

Definition at line 132 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimeTof

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimeTof = 0.
private

Definition at line 135 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPrevTimeTrd

Double_t CbmDeviceMcbmMonitorPulser::fPrevTimeTrd = 0.
private

Definition at line 134 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPsdOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fPsdOffsetRange = 1000
private

Definition at line 183 of file CbmDeviceMcbmMonitorPulser.h.

◆ fPsdPsdDiff

TH1* CbmDeviceMcbmMonitorPulser::fPsdPsdDiff = nullptr
private

Definition at line 223 of file CbmDeviceMcbmMonitorPulser.h.

◆ fRichOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fRichOffsetRange = 1000
private

Definition at line 182 of file CbmDeviceMcbmMonitorPulser.h.

◆ fRichRichDiff

TH1* CbmDeviceMcbmMonitorPulser::fRichRichDiff = nullptr
private

Definition at line 222 of file CbmDeviceMcbmMonitorPulser.h.

◆ fsAllowedChannels

std::vector<std::string> CbmDeviceMcbmMonitorPulser::fsAllowedChannels = {fsChannelNameDataInput}
private

List of MQ channels names.

Definition at line 78 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask(), and IsChannelNameAllowed().

◆ fSameChanDigisDistEvo

TH2* CbmDeviceMcbmMonitorPulser::fSameChanDigisDistEvo = nullptr
private

Definition at line 254 of file CbmDeviceMcbmMonitorPulser.h.

◆ fsChannelNameCanvasConfig

std::string CbmDeviceMcbmMonitorPulser::fsChannelNameCanvasConfig = "canvas-conf"
private

Definition at line 69 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fsChannelNameCommands

std::string CbmDeviceMcbmMonitorPulser::fsChannelNameCommands = "commands"
private

Definition at line 66 of file CbmDeviceMcbmMonitorPulser.h.

◆ fsChannelNameDataInput

std::string CbmDeviceMcbmMonitorPulser::fsChannelNameDataInput = "unpts_0"
private

User settings parameters.

Definition at line 65 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fsChannelNameHistosConfig

std::string CbmDeviceMcbmMonitorPulser::fsChannelNameHistosConfig = "histo-conf"
private

Definition at line 68 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fsChannelNameHistosInput

std::string CbmDeviceMcbmMonitorPulser::fsChannelNameHistosInput = "histogram-in"
private

Definition at line 67 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask(), and SendHistograms().

◆ fStsDpbCntsEvo

TH1* CbmDeviceMcbmMonitorPulser::fStsDpbCntsEvo[kuMaxNbStsDpbs]
private

Definition at line 245 of file CbmDeviceMcbmMonitorPulser.h.

◆ fStsOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fStsOffsetRange = 1000
private

Definition at line 178 of file CbmDeviceMcbmMonitorPulser.h.

◆ fStsStsDiff

TH1* CbmDeviceMcbmMonitorPulser::fStsStsDiff = nullptr
private

Definition at line 218 of file CbmDeviceMcbmMonitorPulser.h.

◆ fTofOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fTofOffsetRange = 1000
private

Definition at line 181 of file CbmDeviceMcbmMonitorPulser.h.

◆ fTofTofDiff

TH1* CbmDeviceMcbmMonitorPulser::fTofTofDiff = nullptr
private

Definition at line 221 of file CbmDeviceMcbmMonitorPulser.h.

◆ fTrdOffsetRange

Int_t CbmDeviceMcbmMonitorPulser::fTrdOffsetRange = 1000
private

Definition at line 180 of file CbmDeviceMcbmMonitorPulser.h.

◆ fTrdTrdDiff

TH1* CbmDeviceMcbmMonitorPulser::fTrdTrdDiff = nullptr
private

Definition at line 220 of file CbmDeviceMcbmMonitorPulser.h.

◆ fTsMetaData

TimesliceMetaData* CbmDeviceMcbmMonitorPulser::fTsMetaData = nullptr
private

Data reception TS MetaData storage

Definition at line 92 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fuHistoryHistoSize

uint32_t CbmDeviceMcbmMonitorPulser::fuHistoryHistoSize = 3600
private

Definition at line 70 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fulNumMessages

uint64_t CbmDeviceMcbmMonitorPulser::fulNumMessages = 0
private

Parameters management.

Statistics & first TS rejection

Definition at line 86 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fulTsCounter

uint64_t CbmDeviceMcbmMonitorPulser::fulTsCounter = 0
private

Definition at line 87 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxAdcPulserMuch

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxAdcPulserMuch = 15
private

Definition at line 155 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxAdcPulserPsd

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxAdcPulserPsd = 100
private

Definition at line 163 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxAdcPulserSts

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxAdcPulserSts = 100
private

Definition at line 153 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxChargePulserTrd

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxChargePulserTrd = 70000
private

Definition at line 157 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxTotPulser

uint32_t CbmDeviceMcbmMonitorPulser::fuMaxTotPulser = 195
private

Definition at line 72 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fuMaxTotPulserBmon

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxTotPulserBmon = 190
private

Definition at line 151 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxTotPulserRich

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxTotPulserRich = 105
private

Definition at line 161 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMaxTotPulserTof

UInt_t CbmDeviceMcbmMonitorPulser::fuMaxTotPulserTof = 190
private

Definition at line 159 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinAdcPulserMuch

UInt_t CbmDeviceMcbmMonitorPulser::fuMinAdcPulserMuch = 5
private

Definition at line 154 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinAdcPulserPsd

UInt_t CbmDeviceMcbmMonitorPulser::fuMinAdcPulserPsd = 90
private

Definition at line 162 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinAdcPulserSts

UInt_t CbmDeviceMcbmMonitorPulser::fuMinAdcPulserSts = 90
private

Definition at line 152 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinChargePulserTrd

UInt_t CbmDeviceMcbmMonitorPulser::fuMinChargePulserTrd = 0
private

Definition at line 156 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinTotPulser

uint32_t CbmDeviceMcbmMonitorPulser::fuMinTotPulser = 185
private

Definition at line 71 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fuMinTotPulserBmon

UInt_t CbmDeviceMcbmMonitorPulser::fuMinTotPulserBmon = 182
private

User settings: Data correction parameters Charge cut

Definition at line 150 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinTotPulserRich

UInt_t CbmDeviceMcbmMonitorPulser::fuMinTotPulserRich = 90
private

Definition at line 160 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMinTotPulserTof

UInt_t CbmDeviceMcbmMonitorPulser::fuMinTotPulserTof = 182
private

Definition at line 158 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMuchAsic

UInt_t CbmDeviceMcbmMonitorPulser::fuMuchAsic = kuMaxNbMuchAsics
private

Definition at line 168 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMuchFirstCha

UInt_t CbmDeviceMcbmMonitorPulser::fuMuchFirstCha = kuNbChanSMX
private

Definition at line 169 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuMuchLastChan

UInt_t CbmDeviceMcbmMonitorPulser::fuMuchLastChan = kuNbChanSMX
private

Definition at line 170 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuPsdAddress

UInt_t CbmDeviceMcbmMonitorPulser::fuPsdAddress = kuDefaultAddress
private

Definition at line 172 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuPublishFreqTs

uint32_t CbmDeviceMcbmMonitorPulser::fuPublishFreqTs = 100
private

Definition at line 73 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by InitTask().

◆ fuStsAddress

UInt_t CbmDeviceMcbmMonitorPulser::fuStsAddress = kuDefaultAddress
private

Channel selection.

Definition at line 165 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuStsFirstCha

UInt_t CbmDeviceMcbmMonitorPulser::fuStsFirstCha = kuMaxChannelSts
private

Definition at line 166 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuStsLastChan

UInt_t CbmDeviceMcbmMonitorPulser::fuStsLastChan = kuMaxChannelSts
private

Definition at line 167 of file CbmDeviceMcbmMonitorPulser.h.

◆ fuTrdAddress

UInt_t CbmDeviceMcbmMonitorPulser::fuTrdAddress = kuDefaultAddress
private

Definition at line 171 of file CbmDeviceMcbmMonitorPulser.h.

◆ fvDigiBmon

std::vector<CbmTofDigi> CbmDeviceMcbmMonitorPulser::fvDigiBmon = {}
private

Digis storage.

Definition at line 94 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvDigiMuch

std::vector<CbmMuchBeamTimeDigi> CbmDeviceMcbmMonitorPulser::fvDigiMuch = {}
private

Definition at line 96 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvDigiPsd

std::vector<CbmPsdDigi> CbmDeviceMcbmMonitorPulser::fvDigiPsd = {}
private

Definition at line 100 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvDigiRich

std::vector<CbmRichDigi> CbmDeviceMcbmMonitorPulser::fvDigiRich = {}
private

Definition at line 99 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvDigiSts

std::vector<CbmStsDigi> CbmDeviceMcbmMonitorPulser::fvDigiSts = {}
private

Definition at line 95 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvDigiTof

std::vector<CbmTofDigi> CbmDeviceMcbmMonitorPulser::fvDigiTof = {}
private

Definition at line 98 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvDigiTrd

std::vector<CbmTrdDigi> CbmDeviceMcbmMonitorPulser::fvDigiTrd = {}
private

Definition at line 97 of file CbmDeviceMcbmMonitorPulser.h.

Referenced by HandleData().

◆ fvpsCanvasConfig

std::vector<std::pair<std::string, std::string> > CbmDeviceMcbmMonitorPulser::fvpsCanvasConfig = {}
private

Vector of string pairs with ( CanvasName, CanvasConfig ) to send to the histogram server Format of Can config is "NbPadX(U);NbPadY(U);ConfigPad1(s);....;ConfigPadXY(s)" Format of Pad config is "GrixX(b),GridY(b),LogX(b),LogY(b),LogZ(b),HistoName(s),DrawOptions(s)"

Definition at line 112 of file CbmDeviceMcbmMonitorPulser.h.

◆ fvpsHistosFolder

std::vector<std::pair<std::string, std::string> > CbmDeviceMcbmMonitorPulser::fvpsHistosFolder = {}
private

Vector of string pairs with ( HistoName, FolderPath ) to send to the histogram server.

Definition at line 108 of file CbmDeviceMcbmMonitorPulser.h.

◆ kuDefaultAddress

const UInt_t CbmDeviceMcbmMonitorPulser::kuDefaultAddress = 0xFFFFFFFF
staticprivate

Definition at line 55 of file CbmDeviceMcbmMonitorPulser.h.

◆ kuMaxChannelSts

const UInt_t CbmDeviceMcbmMonitorPulser::kuMaxChannelSts = 3000
staticprivate

Definition at line 56 of file CbmDeviceMcbmMonitorPulser.h.

◆ kuMaxNbMuchAsics

const UInt_t CbmDeviceMcbmMonitorPulser::kuMaxNbMuchAsics = 36
staticprivate

Definition at line 54 of file CbmDeviceMcbmMonitorPulser.h.

◆ kuMaxNbMuchDpbs

const UInt_t CbmDeviceMcbmMonitorPulser::kuMaxNbMuchDpbs = 6
staticprivate

Definition at line 53 of file CbmDeviceMcbmMonitorPulser.h.

◆ kuMaxNbStsDpbs

const UInt_t CbmDeviceMcbmMonitorPulser::kuMaxNbStsDpbs = 2
staticprivate

Definition at line 52 of file CbmDeviceMcbmMonitorPulser.h.

◆ kuNbChanSMX

const UInt_t CbmDeviceMcbmMonitorPulser::kuNbChanSMX = 128
staticprivate

Constants.

Definition at line 51 of file CbmDeviceMcbmMonitorPulser.h.


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