Belle II Software development
SVDDQMPlotsConfiguration.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/logging/Logger.h>
12
13#include <TObject.h>
14#include <TString.h>
15
16namespace Belle2 {
24
25 class SVDDQMPlotsConfiguration: public TObject {
26 public:
30 SVDDQMPlotsConfiguration(const TString& uniqueID = "");
31
36 const std::vector<std::string> getListOfSensors() const { return m_svdListOfSensors; }
37
42 void addSensorToList(std::string label) { m_svdListOfSensors.push_back(label); }
43
48 bool isPlotsFor3SampleMonitoring() const { return m_3Samples; }
49
54
55
61
66
70 TString get_uniqueID() const {return m_uniqueID;}
71
72
74 static std::string name;
75
76 private:
78 TString m_uniqueID;
79
81 bool m_3Samples = false;
82
85
87 std::vector<std::string> m_svdListOfSensors;
88
90
91 };
92
94}
TString m_uniqueID
unique identifier of the SVD reconstruction configuration payload
bool isPlotsFor3SampleMonitoring() const
Returns 3samples flag.
TString get_uniqueID() const
Get the unique ID of the payload.
bool isSkipHLTRejectedEvents() const
Returns HLT skipped event flag.
static std::string name
name of the payload
void enablePlotsFor3SampleMonitoring()
Enables 3sample flag.
bool m_3Samples
flag for 3 samples histograns
ClassDef(SVDDQMPlotsConfiguration, 2)
needed by root
std::vector< std::string > m_svdListOfSensors
list of sensors
bool m_skipHLTRejectedEvents
if true skip events rejected by HLT
SVDDQMPlotsConfiguration(const TString &uniqueID="")
Default constructor.
void enableSkipHLTRejectedEvents()
Enables HLT skipped event flag.
const std::vector< std::string > getListOfSensors() const
Returns sensor list.
void addSensorToList(std::string label)
Add sensor to list.
Abstract base class for different kinds of events.