CMS 3D CMS Logo

SiStripDQMHistoryHelper.h
Go to the documentation of this file.
1 #ifndef DQMOffline_CalibTracker_SiStripDQMHistoryHelper_H
2 #define DQMOffline_CalibTracker_SiStripDQMHistoryHelper_H
3 
5 
8 class MonitorElement;
9 
11 {
12 public:
14  : m_useFullPath{pset.getUntrackedParameter<bool>("useFullPath", false)}
15  , m_sep{"@"}
16  , m_fitME{}
17  {}
18  virtual ~SiStripDQMHistoryHelper();
19 
20 protected:
21  virtual uint32_t returnDetComponent(const MonitorElement* ME) const = 0;
22  std::string sep() const { return m_sep; }
23 
24  virtual void scanTreeAndFillSummary(const std::vector<MonitorElement*>& MEs, HDQMSummary* summary, const std::string& histoName, const std::vector<std::string>& Quantities) const;
25 
26  virtual bool setDBLabelsForLandau(const std::string& keyName, std::vector<std::string>& userDBContent) const;
27  virtual bool setDBLabelsForGauss (const std::string& keyName, std::vector<std::string>& userDBContent) const;
28  virtual bool setDBLabelsForStat (const std::string& keyName, std::vector<std::string>& userDBContent) const;
29  virtual bool setDBLabelsForUser (const std::string& keyName, std::vector<std::string>& userDBContent, const std::string& quantity ) const { return setDBLabelsForUser(keyName, userDBContent); }
30  virtual bool setDBLabelsForUser (const std::string& keyName, std::vector<std::string>& userDBContent) const { return false; }
31 
33  virtual bool setDBValuesForGauss (const MonitorElement* me, HDQMSummary::InputVector& values) const;
34  virtual bool setDBValuesForStat (const MonitorElement* me, HDQMSummary::InputVector& values) const;
35  virtual bool setDBValuesForUser (const MonitorElement* me, HDQMSummary::InputVector& values, const std::string& quantity ) const { return setDBValuesForUser(me, values); }
36  virtual bool setDBValuesForUser (const MonitorElement* me, HDQMSummary::InputVector& values) const { return false; }
37 
38 private:
42 };
43 
44 #endif // DQMOffline_CalibTracker_SiStripDQMHistoryHelper_H
T getUntrackedParameter(std::string const &, T const &) const
virtual bool setDBLabelsForUser(const std::string &keyName, std::vector< std::string > &userDBContent, const std::string &quantity) const
virtual bool setDBValuesForStat(const MonitorElement *me, HDQMSummary::InputVector &values) const
Definition: ME.h:11
virtual bool setDBLabelsForStat(const std::string &keyName, std::vector< std::string > &userDBContent) const
std::vector< float > InputVector
Definition: HDQMSummary.h:62
virtual bool setDBLabelsForLandau(const std::string &keyName, std::vector< std::string > &userDBContent) const
virtual bool setDBValuesForGauss(const MonitorElement *me, HDQMSummary::InputVector &values) const
virtual void scanTreeAndFillSummary(const std::vector< MonitorElement * > &MEs, HDQMSummary *summary, const std::string &histoName, const std::vector< std::string > &Quantities) const
virtual uint32_t returnDetComponent(const MonitorElement *ME) const =0
SiStripDQMHistoryHelper(const edm::ParameterSet &pset)
virtual bool setDBValuesForUser(const MonitorElement *me, HDQMSummary::InputVector &values) const
virtual bool setDBLabelsForUser(const std::string &keyName, std::vector< std::string > &userDBContent) const
virtual bool setDBValuesForUser(const MonitorElement *me, HDQMSummary::InputVector &values, const std::string &quantity) const
virtual bool setDBLabelsForGauss(const std::string &keyName, std::vector< std::string > &userDBContent) const
virtual bool setDBValuesForLandau(const MonitorElement *me, HDQMSummary::InputVector &values) const