Belle II Software  release-08-01-10
PXDBadSensorTagModule.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 <pxd/dataobjects/PXDRawHit.h>
13 #include <vxd/dataobjects/VxdID.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 #include <pxd/dataobjects/PXDDAQStatus.h>
17 
18 namespace Belle2 {
24  namespace PXD {
25 
36  class PXDBadSensorTagModule : public Module {
37 
38  public:
41 
42  private:
43 
45  void initialize() override final;
47  void event() override final;
48 
49  std::string m_PXDDAQEvtStatsName;
50  std::string m_PXDRawHitsName;
52  std::vector <std::vector <int>> m_nrHitsCut;
53 
58 
60  std::map <VxdID, int> m_cut;
62  int m_0cut;
63 
64  };//end class declaration
65 
66  } //end PXD namespace;
68 } // end namespace Belle2
Base class for Modules.
Definition: Module.h:72
The PXD DAQ Status class.
Definition: PXDDAQStatus.h:33
The PXD Raw Hit class This class stores information about PXD Pixel hits and makes them available in ...
Definition: PXDRawHit.h:24
The PXD bad sensor tagger module.
std::string m_PXDRawHitsName
The name of the StoreArray of PXDRawHits to be generated.
void initialize() override final
Initialize the module.
int m_0cut
Minimum charge for a digit to carry.
std::map< VxdID, int > m_cut
Cuts fore each module.
StoreObjPtr< PXDDAQStatus > m_storeDAQEvtStats
Output array for DAQ Status.
std::string m_PXDDAQEvtStatsName
The name of the StoreObjPtr of PXDDAQStatus to be generated.
void event() override final
Event.
std::vector< std::vector< int > > m_nrHitsCut
Cuts parameter fore each module.
StoreArray< PXDRawHit > m_storeRawHits
Input array for PXD Raw Hits.
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 uniquely identify a any structure of the PXD and SVD.
Definition: VxdID.h:33
Abstract base class for different kinds of events.