9#include <pxd/modules/pxdDQM/PXDGatedDHCDQMModule.h>
10#include "TDirectory.h"
31 std::string(
"PXDINJ"));
36 TDirectory* oldDir = gDirectory;
40 hGateAfterInjLER =
new TH2F(
"PXDGateingInjLER",
"PXDGateingInjLER/Time;Time in #mus;Flags", 100000, 0, 50000, 64, 0, 64);
41 hGateAfterInjHER =
new TH2F(
"PXDGateingInjHER",
"PXDGateingInjHER/Time;Time in #mus;Flags", 100000, 0, 50000, 64, 0, 64);
72 for (
auto& dhc : pkt) {
73 int value = dhc.getDHCID() * 4 + dhc.getGatedFlag() * 2 + dhc.getGatedHER();
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
void setDescription(const std::string &description)
Sets the description of the module.
void setPropertyFlags(unsigned int propertyFlags)
Sets the flags for the module properties.
@ c_ParallelProcessingCertified
This module can be run in parallel processing mode safely (All I/O must be done through the data stor...
void initialize() override final
initialize function
TH2F * hGateAfterInjHER
Histogram after HER injection.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
TH2F * hGateAfterInjLER
Histogram after LER injection.
void defineHisto() override final
defineHisto function
void event() override final
event function
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
void beginRun() override final
beginRun function
StoreObjPtr< EventLevelTriggerTimeInfo > m_EventLevelTriggerTimeInfo
Object for TTD mdst object.
PXDGatedDHCDQMModule()
Constructor defining the parameters.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Namespace to encapsulate code needed for simulation and reconstrucion of the PXD.
Abstract base class for different kinds of events.