Belle II Software  release-05-01-25
EventT0DQM.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Ewan Hill (ehill@mail.ubc.ca) *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 #include <mdst/dataobjects/SoftwareTriggerResult.h>
14 
15 #include <framework/core/HistoModule.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <mdst/dataobjects/TRGSummary.h>
18 
19 #include <framework/dataobjects/EventT0.h>
20 
21 #include <TH1F.h>
22 #include <TDirectory.h>
23 
24 namespace Belle2 {
34  class EventT0DQMModule : public HistoModule {
35 
36  public:
37 
40 
42  virtual ~EventT0DQMModule();
43 
45  virtual void defineHisto() override;
46 
48  virtual void initialize() override;
49 
51  virtual void beginRun() override;
52 
55  virtual void event() override;
56 
58  virtual void endRun() override;
59 
61  virtual void terminate() override;
62 
63 
64 
65  private:
66 
67 
75  int m_L1TimingSrc;
76 
80  TH1F* m_histEventT0_ECL_bhabha_L1_ECLTRG{nullptr};
81  TH1F* m_histEventT0_CDC_bhabha_L1_ECLTRG{nullptr};
82  TH1F* m_histEventT0_TOP_bhabha_L1_ECLTRG{nullptr};
84  TH1F* m_histEventT0_CDC_hadron_L1_ECLTRG{nullptr};
87  TH1F* m_histEventT0_CDC_mumu_L1_ECLTRG{nullptr};
97  TH1F* m_histEventT0_CDC_mumu_L1_CDCTRG{nullptr};
100  };
101 
103 } // Belle2 namespace
Belle2::EventT0DQMModule::m_histEventT0_TOP_bhabha_L1_ECLTRG
TH1F * m_histEventT0_TOP_bhabha_L1_ECLTRG
event t0 histogram for TOP and bha bha events wrt the ECL trigger time
Definition: EventT0DQM.h:90
Belle2::EventT0DQMModule::terminate
virtual void terminate() override
End of the event processing.
Definition: EventT0DQM.cc:324
Belle2::EventT0DQMModule::~EventT0DQMModule
virtual ~EventT0DQMModule()
Destructor.
Definition: EventT0DQM.cc:26
Belle2::EventT0DQMModule::m_histEventT0_ECL_mumu_L1_ECLTRG
TH1F * m_histEventT0_ECL_mumu_L1_ECLTRG
event t0 histogram for ECL and mu mu events wrt the ECL trigger time
Definition: EventT0DQM.h:94
Belle2::EventT0DQMModule::m_eventT0
StoreObjPtr< EventT0 > m_eventT0
Store array for event t0.
Definition: EventT0DQM.h:86
Belle2::EventT0DQMModule::beginRun
virtual void beginRun() override
This method is called for each run.
Definition: EventT0DQM.cc:119
Belle2::EventT0DQMModule::m_histEventT0_ECL_bhabha_L1_ECLTRG
TH1F * m_histEventT0_ECL_bhabha_L1_ECLTRG
event t0 histogram for ECL and bha bha events wrt the ECL trigger time
Definition: EventT0DQM.h:88
Belle2::EventT0DQMModule::m_L1TimingSrc
int m_L1TimingSrc
L1 timing source from getTimeType() in TRGSummary See ETimingTYpe in mdst/dataobjects/include/TRGSumm...
Definition: EventT0DQM.h:83
Belle2::EventT0DQMModule::m_histEventT0_CDC_bhabha_L1_CDCTRG
TH1F * m_histEventT0_CDC_bhabha_L1_CDCTRG
event t0 histogram for CDC and bha bha events wrt the CDC trigger time
Definition: EventT0DQM.h:99
Belle2::EventT0DQMModule::m_histEventT0_TOP_hadron_L1_CDCTRG
TH1F * m_histEventT0_TOP_hadron_L1_CDCTRG
event t0 histogram for TOP and hadronic events wrt the CDC trigger time
Definition: EventT0DQM.h:103
Belle2::EventT0DQMModule::event
virtual void event() override
This method is called for each event.
Definition: EventT0DQM.cc:155
Belle2::EventT0DQMModule::m_histEventT0_CDC_mumu_L1_ECLTRG
TH1F * m_histEventT0_CDC_mumu_L1_ECLTRG
event t0 histogram for CDC and mu mu events wrt the ECL trigger time
Definition: EventT0DQM.h:95
Belle2::EventT0DQMModule::m_histEventT0_ECL_hadron_L1_ECLTRG
TH1F * m_histEventT0_ECL_hadron_L1_ECLTRG
event t0 histogram for ECL and hadronic events wrt the ECL trigger time
Definition: EventT0DQM.h:91
Belle2::EventT0DQMModule::m_histEventT0_CDC_hadron_L1_CDCTRG
TH1F * m_histEventT0_CDC_hadron_L1_CDCTRG
event t0 histogram for CDC and hadronic events wrt the CDC trigger time
Definition: EventT0DQM.h:102
Belle2::EventT0DQMModule::m_histEventT0_ECL_hadron_L1_CDCTRG
TH1F * m_histEventT0_ECL_hadron_L1_CDCTRG
event t0 histogram for ECL and hadronic events wrt the CDC trigger time
Definition: EventT0DQM.h:101
Belle2::EventT0DQMModule::m_histEventT0_CDC_mumu_L1_CDCTRG
TH1F * m_histEventT0_CDC_mumu_L1_CDCTRG
event t0 histogram for CDC and mu mu events wrt the CDC trigger time
Definition: EventT0DQM.h:105
Belle2::EventT0DQMModule::m_histEventT0_TOP_bhabha_L1_CDCTRG
TH1F * m_histEventT0_TOP_bhabha_L1_CDCTRG
event t0 histogram for TOP and bha bha events wrt the CDC trigger time
Definition: EventT0DQM.h:100
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::StoreObjPtr
Type-safe access to single objects in the data store.
Definition: ParticleList.h:33
Belle2::EventT0DQMModule::endRun
virtual void endRun() override
This method is called at the end of each run.
Definition: EventT0DQM.cc:317
Belle2::EventT0DQMModule::m_histEventT0_TOP_hadron_L1_ECLTRG
TH1F * m_histEventT0_TOP_hadron_L1_ECLTRG
event t0 histogram for TOP and hadronic events wrt the ECL trigger time
Definition: EventT0DQM.h:93
Belle2::EventT0DQMModule::defineHisto
virtual void defineHisto() override
Defination of histograms.
Definition: EventT0DQM.cc:30
Belle2::EventT0DQMModule::m_histEventT0_CDC_bhabha_L1_ECLTRG
TH1F * m_histEventT0_CDC_bhabha_L1_ECLTRG
event t0 histogram for CDC and bha bha events wrt the ECL trigger time
Definition: EventT0DQM.h:89
Belle2::EventT0DQMModule::initialize
virtual void initialize() override
Initialize the module.
Definition: EventT0DQM.cc:106
Belle2::EventT0DQMModule::m_histEventT0_CDC_hadron_L1_ECLTRG
TH1F * m_histEventT0_CDC_hadron_L1_ECLTRG
event t0 histogram for CDC and hadronic events wrt the ECL trigger time
Definition: EventT0DQM.h:92
Belle2::EventT0DQMModule::m_histEventT0_TOP_mumu_L1_CDCTRG
TH1F * m_histEventT0_TOP_mumu_L1_CDCTRG
event t0 histogram for TOP and mu mu events wrt the CDC trigger time
Definition: EventT0DQM.h:106
Belle2::EventT0DQMModule::m_TrgResult
StoreObjPtr< SoftwareTriggerResult > m_TrgResult
Store array for Trigger selection.
Definition: EventT0DQM.h:85
Belle2::EventT0DQMModule::m_objTrgSummary
StoreObjPtr< TRGSummary > m_objTrgSummary
Trigger Summary data object.
Definition: EventT0DQM.h:76
Belle2::EventT0DQMModule::m_histEventT0_ECL_mumu_L1_CDCTRG
TH1F * m_histEventT0_ECL_mumu_L1_CDCTRG
event t0 histogram for ECL and mu mu events wrt the CDC trigger time
Definition: EventT0DQM.h:104
Belle2::EventT0DQMModule::m_histEventT0_TOP_mumu_L1_ECLTRG
TH1F * m_histEventT0_TOP_mumu_L1_ECLTRG
event t0 histogram for TOP and mu mu events wrt the ECL trigger time
Definition: EventT0DQM.h:96
Belle2::EventT0DQMModule::m_histEventT0_ECL_bhabha_L1_CDCTRG
TH1F * m_histEventT0_ECL_bhabha_L1_CDCTRG
event t0 histogram for ECL and bha bha events wrt the CDC trigger time
Definition: EventT0DQM.h:98
Belle2::EventT0DQMModule::EventT0DQMModule
EventT0DQMModule()
Default constructor.
Definition: EventT0DQM.cc:19