 |
Belle II Software
release-05-02-19
|
12 #include <framework/core/HistoModule.h>
17 #include <mdst/dataobjects/SoftwareTriggerResult.h>
18 #include <mdst/dataobjects/TRGSummary.h>
19 #include <framework/dataobjects/EventMetaData.h>
20 #include <mdst/dbobjects/TRGGDLDBFTDLBits.h>
21 #include <hlt/softwaretrigger/dataobjects/SoftwareTriggerVariables.h>
23 #include <framework/datastore/StoreObjPtr.h>
24 #include <framework/database/DBObjPtr.h>
35 namespace SoftwareTrigger {
40 class SoftwareTriggerHLTDQMModule final :
public HistoModule {
49 void event()
override;
137 static constexpr
char hlt_unit_file[] =
"/home/usr/hltdaq/HLT.UnitNumber";
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_cutResultHistograms
histograms for the final sw trigger decisions for each base identifier
bool m_param_create_hlt_unit_histograms
Create HLT unit number histograms?
std::map< std::string, TH1D * > m_runInfoHistograms
histograms with the run information
DBObjPtr< TRGGDLDBFTDLBits > m_l1NameLookup
Dataobjects.
static constexpr unsigned int max_hlt_units
Maximum number of HLT units used during the experiment.
std::string m_param_histogramDirectoryName
Directory to put the generated histograms.
StoreObjPtr< SoftwareTriggerVariables > m_variables
STM cut variables.
void initialize() override
Module functions to be called from main process.
SoftwareTriggerHLTDQMModule()
Constructor / Destructor.
std::vector< std::string > m_param_additionalL1Identifiers
Which additional L1 cuts should be added to the L1 total result plot?
Class for accessing objects in the database.
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.
std::map< std::string, TH1F * > m_l1Histograms
histogram with the L1 information
int m_hlt_unit
HLT unit number of the machine used.
StoreObjPtr< SoftwareTriggerResult > m_triggerResult
STM cut results.
static constexpr char hlt_unit_file[]
Location of HLT unit number information.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
std::vector< std::string > m_param_variableIdentifiers
Which variables should be reported?
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.
void event() override
Module functions to be called from event process.
void beginRun() override
Reset all histogram entries for a new run.
bool m_param_create_total_result_histograms
Create total result histogram?
bool m_param_create_error_flag_histograms
Create error flag histograms?
bool m_param_create_exp_run_event_histograms
Create exp/run/event number histograms?
StoreObjPtr< EventMetaData > m_eventMetaData
Event Info.
std::vector< std::string > m_param_l1Identifiers
Which L1 cuts should be reported?
StoreObjPtr< TRGSummary > m_l1TriggerResult
L1 cut results.
std::map< std::string, TH1F * > m_triggerVariablesHistograms
histograms for the software trigger variables in all calculators (although maybe not filled)
std::vector< std::string > m_param_cutResultIdentifiersPerUnit
Which cuts should be reported per unit?
std::string m_param_pathLocation
Location of the module in the path: before filter or after filter.
void defineHisto() override
Histogram definition.