 |
Belle II Software
release-05-02-19
|
13 #include <framework/core/HistoModule.h>
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
46 class SVDDQMDoseModule :
public HistoModule {
59 void event() override final;
66 const char* nameSuffix;
68 const char* titleSuffix;
76 std::function<bool(
const VxdID&)> contains;
78 mutable int nStripsU = 0;
StoreObjPtr< TRGSummary > m_trgSummary
Input: trigger type.
Class to uniquely identify a any structure of the PXD and SVD.
SVDDQMDoseModule()
Default constructor, defines parameters.
EEventType
Bits definition for the bitmask that selects the events to put in the histograms.
double m_noInjectionTime
After this time (in microseconds) from last injection the event falls in the "No Injection" category.
std::vector< TH1F * > m_groupNHits1U
Hists of the number of hits in each time bin (1D) per sensor group, U-side.
std::vector< TH2F * > m_groupNHitsU
Hists of the number of hits in each time bin per sensor group, U-side.
std::string m_histogramDirectoryName
Name of the histograms' directory in the ROOT file.
StoreArray< SVDShaperDigit > m_digits
Input: raw hits.
static constexpr double c_globalClock
Approximated global clock frequency in MHz.
TH2F * h_nEvtsVsTime
Hist of the total evts in each time bin (time since inj.
A struct to define non-trivial histograms in a human-readable way.
static constexpr double c_defaultOccuMin
Default minimum of the instantaneous occupancy histograms.
std::string m_SVDShaperDigitsName
Name of the StoreArray of SVDShaperDigit to use.
unsigned int m_eventFilter
Bitmask for event type selection, see EEventType .
void defineHisto() override final
Overrides HistoModule::defineHisto.
static constexpr double c_revolutionTime
Beam revolution time in microseconds (approximated).
static const std::vector< SensorGroup > c_sensorGroups
List of interesting groups of sensors to average over.
struct Belle2::SVD::SVDDQMDoseModule::SensorGroup SensorGroup
A struct to define non-trivial histograms in a human-readable way.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
TH2F * h_bunchNumVsNHits
Hist of bunch number vs number of fired strips (copied from SVDDQMInjection).
std::vector< int > m_trgTypes
Trigger types to accept (all if the vector is empty).
static const int c_defaultNBins
Default number of bins of the instantaneous occupancy histograms.
static constexpr double c_defaultOccuMax
Default maximum of the instantaneous occupancy histograms.
void event() override final
Overrides HistoModule::event.
std::vector< TH1F * > m_groupOccupanciesU
Hists of the instantaneous occupancy per sensor group (see c_sensorGroups), U-side.
Accessor to arrays stored in the data store.
void beginRun() override final
Overrides HistoModule::beginRun.
StoreArray< RawFTSW > m_rawTTD
Input: DAQ status.
TH1F * h_nEvtsVsTime1
Hist of the total evts in each time bin (1D, time since inj.
void initialize() override final
Overrides HistoModule::initialize.