Belle II Software development
PXDEventPlotModule.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/Module.h>
12#include <framework/datastore/DataStore.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <vxd/geometry/GeoCache.h>
16#include <vxd/geometry/SensorInfoBase.h>
17#include <TCanvas.h>
18#include <TH2F.h>
19#include <TLine.h>
20#include <string>
21
22
23namespace Belle2 {
28 class EventMetaData;
29 class PXDDAQStatus;
30 class PXDRawHit;
31 class RawFTSW;
32 class VxdID;
33
34 namespace PXD {
38 class PXDEventPlotModule : public Module {
39
40 public:
41
44
45 private:
47 void initialize() override final;
48
50 void event() override final;
51
52 private:
53
55
56 std::string m_storeRawHitsName;
57 bool m_gateModeFlag{false};
58
60
63
66
69
70 TCanvas* m_c{};
71 std::map <VxdID, TH2F*> m_histos;
72 std::map <VxdID, TH2F*> m_histos_gm;
73 std::map <VxdID, TH2F*> m_histos_gm2;
74
75 TLine* m_l1{},
76 *m_l2{},
77 *m_l3{};
78
79 };//end class declaration
80
81 } //end PXD namespace;
83} // end namespace Belle2
84
Store event, run, and experiment numbers.
Module()
Constructor.
Definition Module.cc:30
The PXD DAQ Status class.
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
Definition PXDRawHit.h:24
bool m_gateModeFlag
Flag for creating extra GM plots.
TLine * m_l1
Lines to guide the eye in plots/canvases.
void initialize() override final
Initialize.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Input array for DAQ Status.
StoreArray< RawFTSW > m_rawTTD
Input array for DAQ Status.
std::map< VxdID, TH2F * > m_histos_gm2
map for plots per modules with gm-
PXDEventPlotModule()
Constructor defining the parameters.
std::string m_storeRawHitsName
PXDRawHits StoreArray name.
TLine * m_l3
Lines to guide the eye in plots/canvases.
std::map< VxdID, TH2F * > m_histos
map for plots per modules
StoreObjPtr< EventMetaData > m_eventMetaData
Event Metadata StorePtr.
void event() override final
Event.
std::map< VxdID, TH2F * > m_histos_gm
map for plots per modules with gm+
VXD::GeoCache & m_vxdGeometry
the geometry
TCanvas * m_c
list of canvases
StoreArray< PXDRawHit > m_storeRawHits
Storearray for raw pixels.
TLine * m_l2
Lines to guide the eye in plots/canvases.
The Raw FTSW class.
Definition RawFTSW.h:30
Accessor to arrays stored in the data store.
Definition StoreArray.h:113
Type-safe access to single objects in the data store.
Definition StoreObjPtr.h:96
Class to facilitate easy access to sensor information of the VXD like coordinate transformations or p...
Definition GeoCache.h:38
Class to uniquely identify a any structure of the PXD and SVD.
Definition VxdID.h:32
Namespace to encapsulate code needed for simulation and reconstrucion of the PXD.
Abstract base class for different kinds of events.