18#ifndef CbmTrdUnpackFaspMonitor_H
19#define CbmTrdUnpackFaspMonitor_H
27#include <MicrosliceDescriptor.hpp>
28#include <Timeslice.hpp>
30#include <FairRunOnline.h>
35#include <RtypesCore.h>
38#include <THttpServer.h>
110 virtual std::uint64_t
getDeltaT(uint32_t modid, int32_t ch = -1, uint64_t daqt = 0);
120 std::map<uint32_t, std::tuple<std::vector<int32_t>, uint8_t, uint8_t>>
fModuleDef = {};
Monitor class to monitor the data from the Trd unpacker algorithms.
static float Clk(eCbmTrdAsicType ty)
DAQ clock accessor for each ASIC.
Describe TRD module ASIC settings (electronic gain, delays, etc)
Definition of chamber gain conversion for one TRD module.
Describe TRD module ASIC settings (electronic gain, delays, etc)
virtual ~CbmTrdUnpackFaspMonitor()
Destroy the Cbm Trd Unpack Task object.
virtual void fillHisto(CbmTrdDigi *digi, eDigiHistos kHisto, std::uint32_t moduleid, std::shared_ptr< TH1 > histo)
Fill the given histo with the information from the digi. Reimplement from CbmTrdUnpackMonitor.
CbmTrdUnpackFaspMonitor & operator=(const CbmTrdUnpackFaspMonitor &)=delete
Assignment operator - not implemented.
const double fFaspInvClk
save 1/clk for the FASP FEE in kHz
CbmTrdUnpackFaspMonitor()
Create the Cbm Trd Unpack AlgoBase object.
void MapMaskedChannels(const CbmTrdParSetAsic *asics)
Special call for monitoring the masked channel map.
CbmTrdUnpackFaspMonitor(const CbmTrdUnpackFaspMonitor &)=delete
Copy constructor - not implemented.
void FillHistos(CbmTrdDigi *digi)
fill the stored digi histograms
void SetActiveHistos(std::vector< eRawHistos > vec)
transfer the enums for the histos to be activated to the member vector
std::map< uint32_t, std::tuple< std::vector< int32_t >, uint8_t, uint8_t > > fModuleDef
Map of definitions for each module under monitoring : std::get<0> : pad to FASP channel mapping std::...
void Finish()
Actions at the end of the run, e.g. write histos to file if flag is set.
void createHisto(eDigiHistos kHisto)
Create the actual TH1 shared_ptrs of the Digi histos.
Bool_t Init()
Init all required parameter informations.
virtual std::uint64_t getDeltaT(uint32_t modid, int32_t ch=-1, uint64_t daqt=0)
Paralell implementation of the omonime function from CbmTrdUnpackMonitor for the case of FASP digis....
void addParam(uint32_t madd, const CbmTrdParModAsic *asics)
Init module and link asics properties.
void SetActiveHistos(std::vector< eDigiHistos > vec)
transfer the enums for the histos to be activated to the member vector
std::vector< eDigiHistos > fActiveDigiHistos
Enums of Digi histos to be activated.
eDigiHistos
Enum for the predefined digi histograms.
std::vector< eRawHistos > fActiveRawHistos
Enums of Raw histos to be activated.