 |
Belle II Software
release-05-02-19
|
11 #ifndef SVDUnpackerDQMModule_H
12 #define SVDUnpackerDQMModule_H
14 #include <framework/datastore/StoreArray.h>
15 #include <framework/datastore/StoreObjPtr.h>
16 #include <svd/dataobjects/SVDDAQDiagnostic.h>
17 #include <svd/dataobjects/SVDEventInfo.h>
18 #include <mdst/dataobjects/TRGSummary.h>
20 #include <framework/dataobjects/EventMetaData.h>
21 #include <svd/online/SVDOnlineToOfflineMap.h>
22 #include <framework/database/PayloadFile.h>
25 #include <framework/core/HistoModule.h>
39 class SVDUnpackerDQMModule :
public HistoModule {
54 void event() override final;
56 void endRun() override final;
121 std::unordered_map<
unsigned short,
unsigned short>
m_fadc_map;
136 #endif // SVDUnpackerDQMModule_H
std::unordered_set< unsigned char > * m_FADCs
FADC boards number.
Stores SVDModeByte object with Trigger time, DAQ mode, Run type & Event type! Also - the information ...
void event() override final
Module function event.
void endRun() override final
Module function endRun.
bool m_badMapping
bad mapping error
int m_expNumber
experiment number
unsigned short m_fadcNo
fadc number
unsigned int m_nEvents
event counter
float m_errorFraction
fraction of events with any kind of error
DBObjPtr< PayloadFile > m_mapping
channel map payload
StoreObjPtr< SVDEventInfo > m_svdEventInfo
SVDEventInfo StoreObjectPointer.
bool m_changeFADCaxis
change FADC (y) axis
bool m_upsetAPV
upset APV error
StoreObjPtr< EventMetaData > m_eventMetaData
EvtMetaData StoreObjectPointer.
uint16_t m_ftbFlags
FTB flags container.
bool m_missedTrailer
missed Trailer error
StoreObjPtr< TRGSummary > m_objTrgSummary
Trigger Summary data object.
bool m_badEvent
indicates if the particular event has any SVD error
bool m_missedHeader
missed Header error
Class for accessing objects in the database.
bool m_badHeader
bad header error
Trigger Summary Information input bits input bits from subdetectors ftdl (Final Trigger Decision Logi...
SVD DQM Module for the Unpacker.
SVDUnpackerDQMModule()
Constructor.
uint16_t m_ftbError
FTB error container.
std::string m_SVDEventInfoName
SVDEventInfo name.
void beginRun() override final
Module function beginRun.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
TH2F * m_DQMnSamplesHisto2
TH2F histogram showing number of samples in data VS daqMode (2bins only)
std::unordered_map< unsigned short, unsigned short > m_fadc_map
FADC board number map.
int m_runNumber
run number
StoreObjPtr< EventMetaData > m_eventMetaDataPtr
Required input for EventMetaData.
std::unique_ptr< SVDOnlineToOfflineMap > m_map
mapping implementation
TH2F * m_DQMnSamplesHisto
TH2F histogram showing number of samples in data VS daqMode.
bool m_shutUpNoData
shut up if no data comes
bool m_badTrailer
bad trailer error
TH2F * m_DQMtrgQuality
TH2F histogram showing number of samples in data VS Trigger Quality.
void initialize() override final
Module function initialize.
This class implements the methods to map raw SVD hits to BASF2 SVD hits.
StoreArray< SVDDAQDiagnostic > m_svdDAQDiagnostics
SVDDAQDiagnostic StoreArray.
std::string m_histogramDirectoryName
Name of the histogram directory in ROOT file.
Accessor to arrays stored in the data store.
Class to store SVD DAQ diagnostic information.
unsigned int m_nBadEvents
counter of events with any kind of error
A wrapper class for payload files used by the Database and DBStore classes.
TH1F * m_DQMEventFractionHisto
TH1F histogram showing the fraction of events affected by errors.
uint16_t m_apvError
APV error container.
static std::string m_xmlFileName
xml filename
std::string m_ShaperDigitName
SVDShaperDigits StoreArray name.
std::vector< unsigned short > m_vec_fadc
vector of FADC boards
TH2F * m_DQMUnpackerHisto
TH2F histogram with Unpacking errors.
bool m_apvMatch
apv match error
void defineHisto() override final
Histogram definitions such as TH1(), TH2(), TNtuple(), TTree()....
bool m_fadcMatch
fadcc match error
std::string m_SVDDAQDiagnosticsName
SVD diagnostics module name.