Belle II Software development
SVDDQMExpressRecoModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <framework/core/HistoModule.h>
12#include <mdst/dataobjects/SoftwareTriggerResult.h>
13#include <framework/datastore/StoreObjPtr.h>
14#include <vxd/dataobjects/VxdID.h>
15#include <mdst/dataobjects/TRGSummary.h>
16#include <svd/geometry/SensorInfo.h>
17#include <vxd/geometry/GeoCache.h>
18#include <svd/dataobjects/SVDEventInfo.h>
19#include <vector>
20#include "TList.h"
21#include "TH1F.h"
22#include "TH2F.h"
23
24namespace Belle2 {
31 class SVDDQMExpressRecoModule : public HistoModule { // <- derived from HistoModule class
32
33 public:
34
39 /* Destructor */
43
45 void initialize() override final;
47 void terminate() override final;
49 void beginRun() override final;
51 void event() override final;
52
57 void defineHisto() override final;
58
59 private:
60
63
66 bool m_desynchSVDTime = false;
67
72
74 bool m_additionalPlots = false;
75
77 TList* m_histoList = nullptr;
78
80 int m_expNumber = 0;
82 int m_runNumber = 0;
83
86
88 float m_CutSVDCharge = 0.0;
89
92
95
102
104 TH1F* m_nEvents = nullptr;
105
107 TH1F* m_hitMapCountsU = nullptr;
109 TH1F* m_hitMapCountsV = nullptr;
111 TH1F* m_hitMapClCountsU = nullptr;
113 TH1F* m_hitMapClCountsV = nullptr;
115 TH1F* m_hitMapCountsChip = nullptr;
117 TH1F* m_hitMapClCountsChip = nullptr;
119 TH1F** m_firedU = nullptr;
121 TH1F** m_firedV = nullptr;
123 TH1F** m_clustersU = nullptr;
125 TH1F** m_clustersV = nullptr;
126
128 TH1F** m_clusterChargeU = nullptr;
130 TH1F** m_clusterChargeV = nullptr;
132 TH1F* m_clusterChargeUAll = nullptr;
134 TH1F* m_clusterChargeVAll = nullptr;
136 TH1F* m_clusterChargeU3 = nullptr;
138 TH1F* m_clusterChargeV3 = nullptr;
140 TH1F* m_clusterChargeU456 = nullptr;
142 TH1F* m_clusterChargeV456 = nullptr;
143
145 TH1F** m_clusterSNRU = nullptr;
147 TH1F** m_clusterSNRV = nullptr;
149 TH1F* m_clusterSNRUAll = nullptr;
151 TH1F* m_clusterSNRVAll = nullptr;
153 TH1F* m_clusterSNRU3 = nullptr;
155 TH1F* m_clusterSNRV3 = nullptr;
157 TH1F* m_clusterSNRU456 = nullptr;
159 TH1F* m_clusterSNRV456 = nullptr;
160
162 TH1F* m_stripMaxBinUAll = nullptr;
164 TH1F* m_stripMaxBinVAll = nullptr;
166 TH1F* m_stripMaxBinU3 = nullptr;
168 TH1F* m_stripMaxBinV3 = nullptr;
170 TH1F* m_stripMaxBinU6 = nullptr;
172 TH1F* m_stripMaxBinV6 = nullptr;
173
175 TH1F** m_stripSignalU = nullptr;
177 TH1F** m_stripSignalV = nullptr;
179 TH1F** m_stripCountU = nullptr;
181 TH1F** m_stripCountV = nullptr;
183 TH1F** m_onlineZSstripCountU = nullptr;
185 TH1F** m_onlineZSstripCountV = nullptr;
186
188 TH1F** m_stripCountGroupId0U = nullptr;
189
191 TH1F** m_stripCountGroupId0V = nullptr;
192
194 TH1F** m_strip3CountU = nullptr;
196 TH1F** m_strip3CountV = nullptr;
198 TH1F** m_onlineZSstrip3CountU = nullptr;
200 TH1F** m_onlineZSstrip3CountV = nullptr;
201
202
204 TH1F** m_strip6CountU = nullptr;
206 TH1F** m_strip6CountV = nullptr;
208 TH1F** m_onlineZSstrip6CountU = nullptr;
210 TH1F** m_onlineZSstrip6CountV = nullptr;
211
213 TH1F** m_clusterSizeU = nullptr;
215 TH1F** m_clusterSizeV = nullptr;
216
218 TH2F* m_clusterTimeGroupIdU = nullptr;
220 TH2F* m_clusterTimeGroupIdV = nullptr;
221
222
224 TH2F* m_clusterTime3GroupIdU = nullptr;
226 TH2F* m_clusterTime3GroupIdV = nullptr;
227
229 TH2F* m_clusterTime6GroupIdU = nullptr;
231 TH2F* m_clusterTime6GroupIdV = nullptr;
232
234 TH1F** m_clusterTimeU = nullptr;
236 TH1F** m_clusterTimeV = nullptr;
238 TH1F* m_clusterTimeUAll = nullptr;
240 TH1F* m_clusterTimeVAll = nullptr;
242 TH1F* m_clusterTimeU3 = nullptr;
244 TH1F* m_clusterTimeV3 = nullptr;
246 TH1F* m_clusterTimeU456 = nullptr;
248 TH1F* m_clusterTimeV456 = nullptr;
249
251 TH1F* m_cluster3TimeU3 = nullptr;
253 TH1F* m_cluster3TimeV3 = nullptr;
255 TH1F* m_cluster3TimeU456 = nullptr;
257 TH1F* m_cluster3TimeV456 = nullptr;
258
260 TH1F* m_cluster6TimeU3 = nullptr;
262 TH1F* m_cluster6TimeV3 = nullptr;
264 TH1F* m_cluster6TimeU456 = nullptr;
266 TH1F* m_cluster6TimeV456 = nullptr;
267
268 //----------------------------------------------------------------
269 // Additional histograms for out of ExpressReco
270 //----------------------------------------------------------------
271
273 TH2F** m_hitMapU = nullptr;
275 TH2F** m_hitMapV = nullptr;
277 TH1F** m_hitMapUCl = nullptr;
279 TH1F** m_hitMapVCl = nullptr;
280
281 };
282
284}
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
SVD DQM Module for Express Reco.
TH1F ** m_hitMapUCl
Hitmaps clusters for u.
TH1F ** m_clustersV
number of v clusters per event
SVDDQMExpressRecoModule(const SVDDQMExpressRecoModule &)=delete
Copy constructor (disabled)
TH1F ** m_onlineZSstrip6CountV
v strip count (online Zero Suppression for 6 samples
TH1F * m_clusterSNRVAll
v SNR of clusters for all sensors
TH1F * m_cluster3TimeV3
v Time of clusters for layer 3 sensors for 3 samples
TH1F * m_clusterTimeV456
v Time of clusters for layer 4,5,6 sensors
TH1F * m_clusterSNRUAll
u SNR of clusters for all sensors
TH1F * m_clusterChargeU3
u charge of clusters for layer 3 sensors
void initialize() override final
Module function initialize.
TH2F * m_clusterTimeGroupIdV
time group id for V side
TH1F * m_clusterSNRV3
v SNR of clusters for layer 3 sensors
TH1F * m_hitMapCountsV
Hitmaps v of Digits.
TH2F ** m_hitMapU
Hitmaps pixels for u.
std::string m_storeNoZSSVDShaperDigitsName
not zero-suppressed SVDShaperDigits StoreArray name
bool m_skipRejectedEvents
if true skip events rejected by HLT (default)
TH1F * m_cluster3TimeU3
u Time of clusters for layer 3 sensors for 3 samples
TH1F * m_stripMaxBinU6
u MaxBin of strips for layer 6 sensors (offline Zero Suppression)
TH1F * m_clusterTimeUAll
u time of clusters for all sensors
TH1F * m_hitMapClCountsU
Hitmaps u of Clusters.
float m_CutSVDCharge
cut for accepting strips to hitmap histogram default = 0 ADU
StoreObjPtr< SVDEventInfo > m_svdEventInfo
SVDEventInfo data object.
TH1F * m_hitMapCountsU
Hitmaps u of Digits.
TH1F ** m_clusterSNRV
v SNR of clusters per sensor
TH1F ** m_clusterChargeV
v charge of clusters
TH1F ** m_stripSignalU
u charge of strips
TH1F * m_clusterChargeUAll
u charge of clusters for all sensors
TH1F * m_clusterChargeU456
u charge of clusters for layer 4,5,6 sensors
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
TH2F * m_clusterTime6GroupIdU
time group id for U side for coarse trigger
TH1F * m_clusterTimeV3
v Time of clusters for layer 3 sensors
TH1F ** m_clusterSNRU
u SNR of clusters per sensor
TH1F ** m_hitMapVCl
Hitmaps clusters for v.
void terminate() override final
Module function terminate.
TH1F * m_stripMaxBinV3
v MaxBin of strips for layer 3 sensors (offline Zero Suppression)
TH1F * m_clusterTimeVAll
v time of clusters for all sensors
void event() override final
Module function event.
TH2F * m_clusterTime6GroupIdV
time group id for V side for coarse trigger
TH1F ** m_onlineZSstripCountV
v strip count (online Zero Suppression
TH1F ** m_stripSignalV
v charge of strips
TH1F ** m_strip6CountU
u strip count for 6 samples
StoreObjPtr< TRGSummary > m_objTrgSummary
Trigger Summary data object.
std::string m_storeSVDShaperDigitsName
SVDShaperDigits StoreArray name.
TH1F * m_cluster6TimeU3
u Time of clusters for layer 3 sensors for 6 samples
TH2F * m_clusterTime3GroupIdU
time group id for U side for fine trigger
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
TH1F * m_clusterChargeVAll
v charge of clusters for all sensors
TH1F ** m_onlineZSstrip6CountU
u strip count (online Zero Suppression) for 6 samples
TH1F * m_clusterSNRU3
u SNR of clusters for layer 3 sensors
TH1F * m_cluster6TimeU456
u Time of clusters for layer 4,5,6 sensors for 6 samples
TH1F * m_clusterSNRV456
v SNR of clusters for layer 4,5,6 sensors
TH1F * m_stripMaxBinUAll
u MaxBin of strips for all sensors (offline Zero Suppression)
TList * m_histoList
list of cumulative histograms
TH1F ** m_clusterChargeU
u charge of clusters
TH1F * m_hitMapCountsChip
Hitmaps of digits on chips.
TH1F * m_clusterChargeV3
v charge of clusters for layer 3 sensors
TH2F ** m_hitMapV
Hitmaps pixels for v.
TH1F ** m_strip3CountV
v strip count for 3 samples
TH1F * m_stripMaxBinV6
v MaxBin of strips for layer 6 sensors (offline Zero Suppression)
TH1F ** m_stripCountGroupId0V
V strip count for cluster time group Id = 0.
TH1F * m_cluster6TimeV456
v Time of clusters for layer 4,5,6 sensors for 6 samples
TH1F ** m_firedU
Fired u strips per event.
TH1F * m_clusterTimeU3
u Time of clusters for layer 3 sensors
TH2F * m_clusterTime3GroupIdV
time group id for V side for fine trigger
TH1F * m_clusterSNRU456
u SNR of clusters for layer 4,5,6 sensors
void beginRun() override final
Module function beginRun.
TH1F ** m_onlineZSstripCountU
u strip count (online Zero Suppression)
int m_ShowAllHistos
Flag to show all histos in DQM, default = 0 (do not show)
bool m_additionalPlots
additional plots flag
TH1F * m_cluster3TimeV456
v Time of clusters for layer 4,5,6 sensors for 3 samples
TH1F * m_cluster6TimeV3
v Time of clusters for layer 3 sensors for 6 samples
TH1F * m_stripMaxBinU3
u MaxBin of strips for layer 3 sensors (offline Zero Suppression)
bool m_desynchSVDTime
if TRUE: svdTime back in SVD time reference
TH1F * m_cluster3TimeU456
u Time of clusters for layer 4,5,6 sensors for 3 samples
SVDDQMExpressRecoModule & operator=(const SVDDQMExpressRecoModule &)=delete
Operator = (disabled)
TH1F ** m_onlineZSstrip3CountU
u strip count (online Zero Suppression) for 3 samples
TH1F ** m_onlineZSstrip3CountV
v strip count (online Zero Suppression for 3 samples
TH1F * m_stripMaxBinVAll
v MaxBin of strips for all sensors (offline Zero Suppression)
TH1F * m_hitMapClCountsChip
Hitmaps of clusters on chips.
StoreObjPtr< SoftwareTriggerResult > m_resultStoreObjectPointer
Store Object for reading the trigger decision.
float m_CutSVDClusterCharge
cut for accepting clusters to hitmap histogram, default = 0 ke-
TH2F * m_clusterTimeGroupIdU
time group id for U side
std::string m_storeSVDClustersName
SVDClusters StoreArray name.
TH1F * m_clusterTimeU456
u Time of clusters for layer 4,5,6 sensors
TH1F ** m_firedV
Fired v strips per event.
TH1F * m_clusterChargeV456
v charge of clusters for layer 4,5,6 sensors
TH1F ** m_strip6CountV
v strip count for 3 samples
TH1F ** m_stripCountGroupId0U
U strip count for cluster time group Id = 0.
TH1F * m_hitMapClCountsV
Hitmaps v of Clusters.
TH1F ** m_clustersU
number of u clusters per event
TH1F ** m_strip3CountU
u strip count for 3 samples
Stores SVDModeByte object with Trigger time, DAQ mode, Run type & Event type! Also - the information ...
Definition: SVDEventInfo.h:31
Dataobject to store the results of the cut calculations performed by the SoftwareTriggerModule.
Type-safe access to single objects in the data store.
Definition: StoreObjPtr.h:96
Trigger Summary Information input bits input bits from subdetectors ftdl (Final Trigger Decision Logi...
Definition: TRGSummary.h:32
Abstract base class for different kinds of events.
STL namespace.