11#include <framework/core/HistoModule.h>
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/database/DBArray.h>
15#include <framework/database/DBObjPtr.h>
17#include <cdc/dataobjects/CDCHit.h>
18#include <cdc/dataobjects/CDCRawHit.h>
20#include <mdst/dataobjects/TRGSummary.h>
21#include <mdst/dataobjects/SoftwareTriggerResult.h>
22#include <mdst/dataobjects/Track.h>
23#include <mdst/dataobjects/TrackFitResult.h>
24#include <mdst/dataobjects/HitPatternVXD.h>
25#include <mdst/dataobjects/HitPatternCDC.h>
27#include <tracking/dataobjects/RecoTrack.h>
28#include <rawdata/dataobjects/RawCDC.h>
77 void event()
override;
95 double getShiftedPhi(
const ROOT::Math::XYZVector& position,
const int& lay);
Make summary of data quality from reconstruction.
std::string m_recoTrackArrayName
Belle2::RecoTrack StoreArray name.
StoreArray< RawCDC > m_rawCDCs
Input array for CDC Raw.
TH2F * m_hPhiNCDC
Histogram of track associated nCDCHits vs phi.
TH2F * m_hBit
Histogram of online databit removed.
void initialize() override
Initialize the Module.
int m_minHits
Minimum hits for processing.
int m_minNdf
Minimum track NDF for cdc dqm plots.
void event() override
Event processor.
CDCDQMModule()
Constructor.
StoreArray< CDCRawHit > m_cdcRawHits
CDC raw hits.
void endRun() override
End-of-run action.
TH2F * m_hPhiIndex
Histogram of cdc phi of different IP + skims tracks.
StoreObjPtr< TRGSummary > m_trgSummary
Trigger summary.
void terminate() override
Termination action.
double getShiftedPhi(const ROOT::Math::XYZVector &position, const int &lay)
Compute and shift phi if it is stereo layer return [0,2pi].
int findPhiBin(double phi, const int &lay)
Find bin corresponds to a specific phi in a layer phi must be in [0,2pi].
TH1F * m_hNEvents
Histogram of num.
TH2F * m_hTDC
Histogram of TDC with track associated hits for all boards (0-299)
TH2F * m_hPhiHit
Histogram of track associated hits in phi vs layer
void beginRun() override
Called when entering a new run.
TH2F * m_hPhiEff
Histogram of cdc phi of tracking eff.
bool m_adjustWireShift
If true, gets the correct phi view of the boards.
TH1F * m_hPhi
Histogram of cdc phi of IP tracks.
StoreArray< CDCHit > m_cdcHits
CDC hits.
virtual ~CDCDQMModule()
Destructor.
TH2F * m_hADC
Histogram of ADC with track associated hits for all boards (0-299)
TH1F * m_hOcc
Histogram of occupancy.
StoreArray< RecoTrack > m_RecoTracks
RecoTracks.
StoreArray< Track > m_Tracks
Tracks.
StoreObjPtr< SoftwareTriggerResult > m_TrgResult
Store array for Trigger selection.
TH2F * m_hHit
Histogram of Hits for all layers (0-55)
void defineHisto() override
Histogram definitions.
Long64_t m_nEvents
Number of events processed.
TH2F * m_hTrackingWireEff
Histogram of attached and expected CDC wires in layer.
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Accessor to arrays stored in the data store.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.