Belle II Software  release-08-01-10
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 
19 namespace Belle2 {
25  namespace PXD {
32  class PXDROIPlotModule : public Module {
33 
34  public:
35 
38 
39  private:
41  void initialize() override final;
42 
44  void event() override final;
45 
46  private:
47  std::string m_storeRawHitsName;
48  std::string m_ROIsName;
49  std::string m_DCROIsName;
50  std::string m_HLTROIsName;
51  std::string m_prefix;
57 
64 
65  };//end class declaration
66 
67 
68  } //end PXD namespace;
70 } // end namespace Belle2
71 
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.