Belle II Software development
PXDROIPlotModule.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/StoreArray.h>
13#include <framework/datastore/StoreObjPtr.h>
14#include <framework/dataobjects/EventMetaData.h>
15#include <tracking/dataobjects/ROIid.h>
16#include <pxd/dataobjects/PXDRawHit.h>
17#include <string>
18
19namespace Belle2 {
25 namespace PXD {
29 class PXDROIPlotModule : public Module {
30
31 public:
32
35
36 private:
38 void initialize() override final;
39
41 void event() override final;
42
43 private:
44 std::string m_storeRawHitsName;
45 std::string m_ROIsName;
46 std::string m_DCROIsName;
47 std::string m_HLTROIsName;
48 std::string m_prefix;
54
61
62 };//end class declaration
63
64
65 } //end PXD namespace;
67} // end namespace Belle2
68
Base class for Modules.
Definition: Module.h:72
Plot each event with ROI and Pixels.
void initialize() override final
Initialize.
StoreArray< ROIid > m_storeROIs
Storearray for ROIs
std::string m_prefix
prefix for plot names
std::string m_DCROIsName
DC ROIs StoreArray name.
std::string m_storeRawHitsName
PXDRawHits StoreArray name.
PXDROIPlotModule()
Constructor defining the parameters.
StoreObjPtr< EventMetaData > m_eventMetaData
Event Metadata StorePtr.
void event() override final
Event.
std::string m_ROIsName
ROIs StoreArray name.
StoreArray< ROIid > m_storeDCROIs
Storearray for ROIs (DC)
StoreArray< PXDRawHit > m_storeRawHits
Storearray for raw pixels
std::string m_HLTROIsName
HLT ROIs StoreArray name.
StoreArray< ROIid > m_storeHLTROIs
Storearray for ROIs (HLT)
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
Abstract base class for different kinds of events.