Belle II Software  release-05-02-19
SVDDQMHitTimeModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Giulia Casarosa
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/StoreArray.h>
17 #include <framework/datastore/StoreObjPtr.h>
18 #include <mdst/dataobjects/TRGSummary.h>
19 
20 #include "TH1F.h"
21 
22 #include <svd/dataobjects/SVDEventInfo.h>
23 #include <svd/dataobjects/SVDCluster.h>
24 #include <framework/dataobjects/EventT0.h>
25 
26 namespace Belle2 {
39  class SVDDQMHitTimeModule : public HistoModule {
40 
41  public:
42 
45 
48 
50  virtual void defineHisto() override;
51 
53  virtual void initialize() override;
54 
56  virtual void beginRun() override;
57 
60  virtual void event() override;
61 
62  private:
63 
65  bool m_desynchSVDTime = false;
66 
74 
80  TH1F* m_l3v_bhabha_L1_ECLTRG{nullptr};
81  TH1F* m_l3vEvtT0_bhabha_L1_ECLTRG{nullptr};
82  TH1F* m_l3v_hadron_L1_ECLTRG{nullptr};
83  TH1F* m_l3vEvtT0_hadron_L1_ECLTRG{nullptr};
84  TH1F* m_l3v_mumu_L1_ECLTRG{nullptr};
85  TH1F* m_l3vEvtT0_mumu_L1_ECLTRG{nullptr};
87  TH1F* m_l3v_bhabha_L1_CDCTRG{nullptr};
88  TH1F* m_l3vEvtT0_bhabha_L1_CDCTRG{nullptr};
89  TH1F* m_l3v_hadron_L1_CDCTRG{nullptr};
90  TH1F* m_l3vEvtT0_hadron_L1_CDCTRG{nullptr};
91  TH1F* m_l3v_mumu_L1_CDCTRG{nullptr};
92  TH1F* m_l3vEvtT0_mumu_L1_CDCTRG{nullptr};
94  };
95 
97 } // Belle2 namespace
Belle2::SVDDQMHitTimeModule::SVDDQMHitTimeModule
SVDDQMHitTimeModule()
Default constructor.
Definition: SVDDQMHitTimeModule.cc:21
Belle2::SVDDQMHitTimeModule::~SVDDQMHitTimeModule
virtual ~SVDDQMHitTimeModule()
Destructor.
Definition: SVDDQMHitTimeModule.cc:31
Belle2::SVDDQMHitTimeModule::m_l3vEvtT0_mumu_L1_CDCTRG
TH1F * m_l3vEvtT0_mumu_L1_CDCTRG
svd time histogram for mu mu events wrt the CDC trigger time
Definition: SVDDQMHitTimeModule.h:100
Belle2::SVDDQMHitTimeModule::m_l3vEvtT0_bhabha_L1_ECLTRG
TH1F * m_l3vEvtT0_bhabha_L1_ECLTRG
svd time histogram for bhabha events wrt the ECL trigger time
Definition: SVDDQMHitTimeModule.h:89
Belle2::SVDDQMHitTimeModule::m_eventT0
StoreObjPtr< EventT0 > m_eventT0
EventT0 data object.
Definition: SVDDQMHitTimeModule.h:84
Belle2::SVDDQMHitTimeModule::m_l3vEvtT0_mumu_L1_ECLTRG
TH1F * m_l3vEvtT0_mumu_L1_ECLTRG
svd time histogram for mu mu events wrt the ECL trigger time
Definition: SVDDQMHitTimeModule.h:93
Belle2::SVDDQMHitTimeModule::m_TrgResult
StoreObjPtr< SoftwareTriggerResult > m_TrgResult
Trigger selection data object.
Definition: SVDDQMHitTimeModule.h:83
Belle2::SVDDQMHitTimeModule::m_objTrgSummary
StoreObjPtr< TRGSummary > m_objTrgSummary
Trigger Summary data object.
Definition: SVDDQMHitTimeModule.h:75
Belle2::SVDDQMHitTimeModule::m_l3v_hadron_L1_ECLTRG
TH1F * m_l3v_hadron_L1_ECLTRG
svd time histogram for hadronic events wrt the ECL trigger time
Definition: SVDDQMHitTimeModule.h:90
Belle2::SVDDQMHitTimeModule::m_l3v_bhabha_L1_CDCTRG
TH1F * m_l3v_bhabha_L1_CDCTRG
svd time histogram for bhabha events wrt the CDC trigger time
Definition: SVDDQMHitTimeModule.h:95
Belle2::SVDDQMHitTimeModule::m_L1TimingSrc
int m_L1TimingSrc
L1 timing source from getTimeType() in TRGSummary See ETimingTYpe in mdst/dataobjects/include/TRGSumm...
Definition: SVDDQMHitTimeModule.h:81
Belle2::SVDDQMHitTimeModule::event
virtual void event() override
This method is called for each event.
Definition: SVDDQMHitTimeModule.cc:145
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::SVDDQMHitTimeModule::m_l3vEvtT0_hadron_L1_CDCTRG
TH1F * m_l3vEvtT0_hadron_L1_CDCTRG
svd time histogram for hadronic events wrt the CDC trigger time
Definition: SVDDQMHitTimeModule.h:98
Belle2::SVDDQMHitTimeModule::m_svdEventInfo
StoreObjPtr< SVDEventInfo > m_svdEventInfo
SVDEventInfo data object.
Definition: SVDDQMHitTimeModule.h:85
Belle2::SVDDQMHitTimeModule::m_l3v_hadron_L1_CDCTRG
TH1F * m_l3v_hadron_L1_CDCTRG
svd time histogram for hadronic events wrt the CDC trigger time
Definition: SVDDQMHitTimeModule.h:97
Belle2::SVDDQMHitTimeModule::defineHisto
virtual void defineHisto() override
Definition of histograms.
Definition: SVDDQMHitTimeModule.cc:35
Belle2::SVDDQMHitTimeModule::initialize
virtual void initialize() override
Initialize the module.
Definition: SVDDQMHitTimeModule.cc:109
Belle2::StoreArray< SVDCluster >
Belle2::SVDDQMHitTimeModule::beginRun
virtual void beginRun() override
This method is called for each run.
Definition: SVDDQMHitTimeModule.cc:124
Belle2::SVDDQMHitTimeModule::m_l3v_bhabha_L1_ECLTRG
TH1F * m_l3v_bhabha_L1_ECLTRG
svd time histogram for bhabha events wrt the ECL trigger time
Definition: SVDDQMHitTimeModule.h:88
Belle2::SVDDQMHitTimeModule::m_l3vEvtT0_hadron_L1_ECLTRG
TH1F * m_l3vEvtT0_hadron_L1_ECLTRG
svd time histogram for hadronic events wrt the ECL trigger time
Definition: SVDDQMHitTimeModule.h:91
Belle2::SVDDQMHitTimeModule::m_desynchSVDTime
bool m_desynchSVDTime
if TRUE: svdTime back in SVD time reference
Definition: SVDDQMHitTimeModule.h:73
Belle2::SVDDQMHitTimeModule::m_l3v_mumu_L1_ECLTRG
TH1F * m_l3v_mumu_L1_ECLTRG
svd time histogram for mu mu events wrt the ECL trigger time
Definition: SVDDQMHitTimeModule.h:92
Belle2::SVDDQMHitTimeModule::m_l3v_mumu_L1_CDCTRG
TH1F * m_l3v_mumu_L1_CDCTRG
svd time histogram for mu mu events wrt the CDC trigger time
Definition: SVDDQMHitTimeModule.h:99
Belle2::SVDDQMHitTimeModule::m_l3vEvtT0_bhabha_L1_CDCTRG
TH1F * m_l3vEvtT0_bhabha_L1_CDCTRG
svd time histogram for bhabha events wrt the CDC trigger time
Definition: SVDDQMHitTimeModule.h:96
Belle2::SVDDQMHitTimeModule::m_clusters
StoreArray< SVDCluster > m_clusters
Store array for clusters.
Definition: SVDDQMHitTimeModule.h:86