ContainerProf2D

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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
#ifndef ContainerProf2D_h
#define ContainerProf2D_h

/*
 *      file:           ContainerProf2D.h
 *      Author:         Viktor Khristenko
 *
 *      Description:
 *              Container to hold TProfile or like
 *
 */

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

#include <string>
#include <vector>

namespace hcaldqm {
  class ContainerProf2D : public Container2D {
  public:
    ContainerProf2D();
    ContainerProf2D(std::string const &folder,
                    hashfunctions::HashType,
                    quantity::Quantity *,
                    quantity::Quantity *,
                    quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fEnergy));
    ~ContainerProf2D() override {}

    void initialize(std::string const &folder,
                    hashfunctions::HashType,
                    quantity::Quantity *,
                    quantity::Quantity *,
                    quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fEnergy),
                    int debug = 0) override;

    void initialize(std::string const &folder,
                    std::string const &qname,
                    hashfunctions::HashType,
                    quantity::Quantity *,
                    quantity::Quantity *,
                    quantity::Quantity *qz = new quantity::ValueQuantity(quantity::fEnergy),
                    int debug = 0) override;

    void book(DQMStore::IBooker &,
              HcalElectronicsMap const *,
              std::string subsystem = "Hcal",
              std::string aux = "") override;
    void book(DQMStore::IBooker &,
              HcalElectronicsMap const *,
              filter::HashFilter const &,
              std::string subsystem = "Hcal",
              std::string aux = "") override;

    void fill(HcalDetId const &) override;
    void fill(HcalDetId const &, int) override;
    void fill(HcalDetId const &, double) override;
    void fill(HcalDetId const &, int, double) override;
    void fill(HcalDetId const &, int, int) override;
    void fill(HcalDetId const &, double, double) override;

    void fill(HcalElectronicsId const &) override;
    void fill(HcalElectronicsId const &, int) override;
    void fill(HcalElectronicsId const &, double) override;
    void fill(HcalElectronicsId const &, int, double) override;
    void fill(HcalElectronicsId const &, int, int) override;
    void fill(HcalElectronicsId const &, double, double) override;

    void fill(HcalTrigTowerDetId const &) override;
    void fill(HcalTrigTowerDetId const &, int) override;
    void fill(HcalTrigTowerDetId const &, double) override;
    void fill(HcalTrigTowerDetId const &, int, int) override;
    void fill(HcalTrigTowerDetId const &, int, double) override;
    void fill(HcalTrigTowerDetId const &, double, double) override;

    void fill(HcalDetId const &, double, double, double);
    void fill(HcalElectronicsId const &, double, double, double);
    void fill(HcalTrigTowerDetId const &, double, double, double);

  private:
    void fill(uint32_t) override {}
    void fill(uint32_t, int) override {}
    void fill(uint32_t, double) override {}
    void fill(uint32_t, int, double) override {}
    void fill(uint32_t, int, int) override {}
    void fill(uint32_t, double, double) override {}
  };
}  // namespace hcaldqm

#endif