11#include <framework/core/HistoModule.h>
13#include <framework/database/DBObjPtr.h>
14#include <framework/datastore/StoreArray.h>
15#include <framework/datastore/StoreObjPtr.h>
16#include <framework/dataobjects/EventMetaData.h>
18#include <reconstruction/dataobjects/CDCDedxTrack.h>
19#include <reconstruction/dbobjects/CDCDedxRunGain.h>
21#include <mdst/dataobjects/Track.h>
22#include <mdst/dataobjects/TrackFitResult.h>
23#include <mdst/dataobjects/ECLCluster.h>
24#include <mdst/dataobjects/SoftwareTriggerResult.h>
25#include <mdst/dbobjects/BeamSpot.h>
27#include <analysis/utility/ReferenceFrame.h>
28#include <cdc/geometry/CDCGeometryPar.h>
29#include <cdc/geometry/CDCGeometryParConstants.h>
30#include <mdst/dataobjects/EventLevelTriggerTimeInfo.h>
69 virtual void event()
override;
72 virtual void endRun()
override;
94 std::array<std::vector<double>, c_nSenseWires>
m_adc;
This module to design collect CDC dEdx monitoring for DQM and only minimal information are stored.
TH2F * hWireStatus
dead wire status
DBObjPtr< CDCDedxRunGain > m_DBRunGain
Run gain DB object.
TH2D * hdEdxvsCosth
dedx vs costh
virtual void initialize() override
Initialize the module.
TH2F * hWires
all wire mapping
virtual void event() override
This method is called for each event.
virtual void endRun() override
This method is called at the end of each run.
virtual void terminate() override
End of the event processing.
DBObjPtr< CDCGeometry > m_cdcGeo
Geometry of CDC.
StoreObjPtr< EventMetaData > m_MetaDataPtr
Store array for metadata info.
virtual void beginRun() override
This method is called for each run.
StoreArray< CDCDedxTrack > m_cdcDedxTracks
Store array for CDCDedxTrack.
int m_nEvt
accepted events
TH2D * hdEdxvsPhi
dedx vs phi
std::array< std::vector< double >, c_nSenseWires > m_adc
adc per wire for wire status
TH2D * hdEdxvsEvt
dedx vs event
StoreObjPtr< EventLevelTriggerTimeInfo > TTDInfo
Store array for injection time info.
CDCDedxDQMModule()
Default constructor.
TH2D * hinjtimeLer
injection time in LER
TH2D * hinjtimeHer
injection time in HER
void plotWireMap()
function to plot wire status map (all, bad)
std::string mmode
monitoring mode all/basic
StoreObjPtr< SoftwareTriggerResult > m_TrgResult
Store array for Trigger selection.
virtual void defineHisto() override
Defination of histograms.
Class for accessing objects in the database.
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.