ContainerSingleProf1D

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#ifndef ContainerSingleProf1D_h
#define ContainerSingleProf1D_h

/*
 *      file:                   ContainerSignle1D.h
 *      Author:                 Viktor Khristenko
 *
 *      Description:
 *              Container to hold a single ME - for convenience of
 * initialization
 */

#include "DQM/HcalCommon/interface/ContainerSingle1D.h"

#include <string>

namespace hcaldqm {
  class ContainerSingleProf1D : public ContainerSingle1D {
  public:
    ContainerSingleProf1D();
    ContainerSingleProf1D(std::string const &folder,
                          quantity::Quantity *,
                          quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN));
    ~ContainerSingleProf1D() override {}

    void initialize(std::string const &folder,
                    quantity::Quantity *,
                    quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN),
                    int debug = 0) override;
    void initialize(std::string const &folder,
                    std::string const &,
                    quantity::Quantity *,
                    quantity::Quantity *qy = new quantity::ValueQuantity(quantity::fN),
                    int debug = 0) override;

    //  booking
    void book(DQMStore::IBooker &, std::string subsystem = "Hcal", std::string aux = "") override;
  };
}  // namespace hcaldqm

#endif