12#include <dqm/core/DQMHistAnalysis.h>
14#include <framework/database/DBArray.h>
15#include <framework/database/DBObjPtr.h>
16#include <cdc/dataobjects/WireID.h>
17#include <cdc/dbobjects/CDCChannelMap.h>
18#include <cdc/dbobjects/CDCGeometry.h>
62 void endRun()
override final;
89 std::pair<int, int>
getBoardChannel(
unsigned short layer,
unsigned short wire);
116 std::map<WireID, std::pair<int, int>>
m_chMap = {};
Class for accessing arrays of objects in the database.
Class for accessing objects in the database.
Make summary of data quality from reconstruction.
~DQMHistAnalysisCDCMonObjModule()
Destructor.
std::map< WireID, std::pair< int, int > > m_chMap
Channel map retrieved
TCanvas * m_cTDC
TDC panel.
void initialize() override final
Initialize the Module.
DQMHistAnalysisCDCMonObjModule()
Constructor.
DBArray< CDCChannelMap > * m_channelMapFromDB
Channel map retrieved from DB.
std::vector< std::pair< int, int > > m_badChannels
bad wires list
int m_nSenseWires[56]
number of wires for each layer.
TCanvas * m_cHit
Hit panel.
TH1D * m_hTDCs[300]
TDC histograms with track associated hits for each board (0-299)
MonitoringObject * m_monObj
monitoring object
void terminate() override final
Termination action.
DBObjPtr< CDCGeometry > * m_cdcGeo
Geometry of CDC.
TH2F * m_hTDC
Summary of TDC histograms with track associated hits.
TH1D * m_hADCs[300]
ADC histograms with track associated hits for each board (0-299)
void makeBadChannelList()
make bad channel list.
TH2F * hBadChannel
bad channel map;wire;layer
std::pair< int, int > getBoardChannel(unsigned short layer, unsigned short wire)
Get board/channel from layer/wire.
TH2Poly * h2p
bad wires in xy view
TH1D * m_hHits[56]
hit histograms for each layer (0-55)
void endRun() override final
End-of-run action.
void configureBins(TH2Poly *h)
Configure bins of TH2Poly.
float getHistMean(TH1D *h) const
Get mean of ADC histogram excluding 0-th bin.
float m_offset[56]
Offset of sense layer
void beginRun() override final
Called when entering a new run.
TH2F * m_hADC
Summary of ADC histograms with track associated hits.
TH2F * hBadChannelBC
bad channel map per board/channel;board;channel
float m_fieldR[57]
Radius of field layer.
float getHistMedian(TH1D *h) const
Get median of ADC histogram excluding 0-th bin.
float m_senseR[56]
Radius of sense (+field) layer.
TCanvas * m_cADC
ADC panel.
TCanvas * m_cMain
main panel
TH2F * m_hHit
Summary of hit histograms.
The base class for the histogram analysis module.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.