10#include <framework/core/HistoModule.h>
15#include <mdst/dataobjects/SoftwareTriggerResult.h>
16#include <mdst/dataobjects/TRGSummary.h>
17#include <framework/dataobjects/EventMetaData.h>
18#include <mdst/dbobjects/TRGGDLDBFTDLBits.h>
19#include <hlt/softwaretrigger/dataobjects/SoftwareTriggerVariables.h>
21#include <framework/datastore/StoreObjPtr.h>
22#include <framework/database/DBObjPtr.h>
33 namespace SoftwareTrigger {
44 void event()
override;
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...
Module defining the STM histograms.
std::map< std::string, TH1D * > m_runInfoHistograms
histograms with the run information
std::map< std::string, std::map< std::string, std::vector< std::string > > > m_param_cutResultIdentifiers
Which cuts should be reported? Please remember to include the total_result also, if wanted.
std::map< std::string, TH1F * > m_l1Histograms
histogram with the L1 information
int m_hlt_unit
HLT unit number of the machine used.
void initialize() override
Module functions to be called from main process.
void event() override
Module functions to be called from event process.
StoreObjPtr< SoftwareTriggerResult > m_triggerResult
STM cut results.
SoftwareTriggerHLTDQMModule()
Constructor / Destructor.
std::vector< std::string > m_param_l1Identifiers
Which L1 cuts should be reported?
std::map< std::string, TH1F * > m_cutResultPerUnitHistograms
histograms for the final sw trigger decisions for each base identifier per unit
std::map< std::string, TH1F * > m_triggerVariablesHistograms
histograms for the software trigger variables in all calculators (although maybe not filled)
std::map< std::string, std::vector< std::string > > m_param_cutResultIdentifiersIgnored
Which cuts should be ignored? This can be used to clear trigger lines from e.g. bhabha contamination.
StoreObjPtr< EventMetaData > m_eventMetaData
Event Info.
std::string m_param_pathLocation
Location of the module in the path: before filter or after filter.
DBObjPtr< TRGGDLDBFTDLBits > m_l1NameLookup
Dataobjects.
void beginRun() override
Reset all histogram entries for a new run.
std::map< std::string, TH1F * > m_cutResultHistograms
histograms for the final sw trigger decisions for each base identifier
bool m_param_create_error_flag_histograms
Create error flag histograms?
std::vector< std::string > m_param_additionalL1Identifiers
Which additional L1 cuts should be added to the L1 total result plot?
bool m_param_create_hlt_unit_histograms
Create HLT unit number histograms?
StoreObjPtr< TRGSummary > m_l1TriggerResult
L1 cut results.
std::vector< std::string > m_param_cutResultIdentifiersPerUnit
Which cuts should be reported per unit?
bool m_param_create_total_result_histograms
Create total result histogram?
std::vector< std::string > m_param_variableIdentifiers
Which variables should be reported?
bool m_param_create_exp_run_event_histograms
Create exp/run/event number histograms?
std::string m_param_histogramDirectoryName
Directory to put the generated histograms.
StoreObjPtr< SoftwareTriggerVariables > m_variables
STM cut variables.
void defineHisto() override
Histogram definition.
Type-safe access to single objects in the data store.
Abstract base class for different kinds of events.