Belle II Software  release-05-02-19
TRGECLDQMModule.h
1 #ifndef TRCECLDQMMODULE_h
2 #define TRCECLDQMMODULE_h
3 
4 #include <framework/core/HistoModule.h>
5 #include "trg/ecl/dataobjects/TRGECLUnpackerStore.h"
6 #include "trg/ecl/dataobjects/TRGECLUnpackerEvtStore.h"
7 #include "trg/ecl/dataobjects/TRGECLUnpackerSumStore.h"
8 #include "trg/ecl/dataobjects/TRGECLCluster.h"
9 #include <framework/datastore/StoreArray.h>
10 
11 #include <TH1F.h>
12 
13 namespace Belle2 {
22  class TRGECLDQMModule : public HistoModule {
23 
24  public:
28  virtual ~TRGECLDQMModule();
29 
30  public:
32  virtual void initialize() override;
34  virtual void beginRun() override;
36  virtual void event() override;
38  virtual void endRun() override;
40  virtual void terminate() override;
42  virtual void defineHisto() override;
43 
44  private:
46  TH1* h_TCId = nullptr;
48  TH1* h_TCthetaId = nullptr;
50  TH1* h_TCphiId_BWD = nullptr;
52  TH1* h_TCphiId_BR = nullptr;
54  TH1* h_TCphiId_FWD = nullptr;
56  TH1* h_TCEnergy = nullptr;
58  TH1* h_TotalEnergy = nullptr;
60  TH1* h_Narrow_TCEnergy = nullptr;
62  TH1* h_Narrow_TotalEnergy = nullptr;
64  TH1* h_n_TChit_event = nullptr;
66  TH1* h_Cluster = nullptr;
68  TH1* h_TCTiming = nullptr;
70  TH1* h_TRGTiming = nullptr;
72  TH1* h_Cal_TCTiming = nullptr;
74  TH1* h_Cal_TRGTiming = nullptr;
76  TH1* h_ECL_TriggerBit = nullptr;
78  TH1* h_Cluster_Energy_Sum = nullptr;
79 
80 
82  std::vector<int> TCId;
84  std::vector<double> TCEnergy;
86  std::vector<double> TCTiming;
88  std::vector<double> RevoFAM;
90  std::vector<double> FineTiming;
92  std::vector<double> RevoTrg;
93 
94 
103  };
104 
106 }
107 
108 #endif
Belle2::TRGECLDQMModule::h_Cal_TCTiming
TH1 * h_Cal_TCTiming
TC Timing / event.
Definition: TRGECLDQMModule.h:72
Belle2::TRGECLDQMModule::h_TCthetaId
TH1 * h_TCthetaId
TCthetaId histogram.
Definition: TRGECLDQMModule.h:48
Belle2::TRGECLDQMModule::h_Cluster
TH1 * h_Cluster
N of Cluster / event.
Definition: TRGECLDQMModule.h:66
Belle2::TRGECLDQMModule::h_TRGTiming
TH1 * h_TRGTiming
Event Timing / event.
Definition: TRGECLDQMModule.h:70
Belle2::TRGECLDQMModule::trgeclEvtArray
StoreArray< TRGECLUnpackerEvtStore > trgeclEvtArray
Trg ECL Unpakcer Event output.
Definition: TRGECLDQMModule.h:98
Belle2::TRGECLDQMModule::endRun
virtual void endRun() override
End Run.
Definition: TRGECLDQMModule.cc:98
Belle2::TRGECLDQMModule::RevoFAM
std::vector< double > RevoFAM
FAM Revolution Clk.
Definition: TRGECLDQMModule.h:88
Belle2::TRGECLDQMModule::h_TotalEnergy
TH1 * h_TotalEnergy
Total Energy.
Definition: TRGECLDQMModule.h:58
Belle2::TRGECLDQMModule::trgeclCluster
StoreArray< TRGECLCluster > trgeclCluster
Trg ECL Cluster output.
Definition: TRGECLDQMModule.h:102
Belle2::TRGECLDQMModule
Definition: TRGECLDQMModule.h:22
Belle2::TRGECLDQMModule::h_TCphiId_FWD
TH1 * h_TCphiId_FWD
TCphiId histogram.
Definition: TRGECLDQMModule.h:54
Belle2::TRGECLDQMModule::h_Narrow_TCEnergy
TH1 * h_Narrow_TCEnergy
TC Energy histogram on narrow range.
Definition: TRGECLDQMModule.h:60
Belle2::TRGECLDQMModule::h_TCphiId_BR
TH1 * h_TCphiId_BR
TCphiId histogram.
Definition: TRGECLDQMModule.h:52
Belle2::TRGECLDQMModule::beginRun
virtual void beginRun() override
begin Run
Definition: TRGECLDQMModule.cc:94
Belle2::TRGECLDQMModule::h_TCEnergy
TH1 * h_TCEnergy
TC Energy.
Definition: TRGECLDQMModule.h:56
Belle2::TRGECLDQMModule::FineTiming
std::vector< double > FineTiming
Event Timing.
Definition: TRGECLDQMModule.h:90
Belle2::TRGECLDQMModule::h_Cluster_Energy_Sum
TH1 * h_Cluster_Energy_Sum
Energy sum of 2 Top energetic clusters when 3D bhabnha bit on.
Definition: TRGECLDQMModule.h:78
Belle2::TRGECLDQMModule::h_Narrow_TotalEnergy
TH1 * h_Narrow_TotalEnergy
Total Energy on narrow range.
Definition: TRGECLDQMModule.h:62
Belle2::TRGECLDQMModule::h_Cal_TRGTiming
TH1 * h_Cal_TRGTiming
Event Timing / event.
Definition: TRGECLDQMModule.h:74
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TRGECLDQMModule::initialize
virtual void initialize() override
initialize
Definition: TRGECLDQMModule.cc:80
Belle2::TRGECLDQMModule::TRGECLDQMModule
TRGECLDQMModule()
Costructor.
Definition: TRGECLDQMModule.cc:26
Belle2::TRGECLDQMModule::terminate
virtual void terminate() override
terminate
Definition: TRGECLDQMModule.cc:98
Belle2::TRGECLDQMModule::h_TCTiming
TH1 * h_TCTiming
TC Timing / event.
Definition: TRGECLDQMModule.h:68
Belle2::TRGECLDQMModule::TCId
std::vector< int > TCId
Hit TCId.
Definition: TRGECLDQMModule.h:82
Belle2::TRGECLDQMModule::event
virtual void event() override
Event.
Definition: TRGECLDQMModule.cc:103
Belle2::TRGECLDQMModule::trgeclHitArray
StoreArray< TRGECLUnpackerStore > trgeclHitArray
Trg ECL Unpakcer TC output.
Definition: TRGECLDQMModule.h:96
Belle2::TRGECLDQMModule::h_n_TChit_event
TH1 * h_n_TChit_event
N of TC Hit / event.
Definition: TRGECLDQMModule.h:64
Belle2::TRGECLDQMModule::RevoTrg
std::vector< double > RevoTrg
GDL Revolution Clk.
Definition: TRGECLDQMModule.h:92
Belle2::TRGECLDQMModule::~TRGECLDQMModule
virtual ~TRGECLDQMModule()
Destrunctor.
Definition: TRGECLDQMModule.cc:43
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::TRGECLDQMModule::TCTiming
std::vector< double > TCTiming
Hit TC Timing.
Definition: TRGECLDQMModule.h:86
Belle2::TRGECLDQMModule::TCEnergy
std::vector< double > TCEnergy
Hit TC Energy.
Definition: TRGECLDQMModule.h:84
Belle2::TRGECLDQMModule::trgeclSumArray
StoreArray< TRGECLUnpackerSumStore > trgeclSumArray
Trg Ecl Unpacker Summary output.
Definition: TRGECLDQMModule.h:100
Belle2::TRGECLDQMModule::h_TCphiId_BWD
TH1 * h_TCphiId_BWD
TCphiId histogram.
Definition: TRGECLDQMModule.h:50
Belle2::TRGECLDQMModule::h_TCId
TH1 * h_TCId
TCId histogram.
Definition: TRGECLDQMModule.h:46
Belle2::HistoModule
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
Belle2::TRGECLDQMModule::h_ECL_TriggerBit
TH1 * h_ECL_TriggerBit
ECL Trigger Bit.
Definition: TRGECLDQMModule.h:76
Belle2::TRGECLDQMModule::defineHisto
virtual void defineHisto() override
Define Histogram.
Definition: TRGECLDQMModule.cc:49