CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalCovarianceMatrices.h
Go to the documentation of this file.
1 #ifndef HcalCovarianceMatrices_h
2 #define HcalCovarianceMatrices_h
3 
4 //#include "CondFormats/HcalObjects/interface/HcalCondObjectContainer.h"
5 #include <iostream>
6 #include <vector>
7 #include <string>
12 
13 class HcalCovarianceMatrices//: public HcalCondObjectContainer<HcalCovarianceMatrix>
14 {
15  public:
16 // HcalCovarianceMatrices():HcalCondObjectContainer<HcalCovarianceMatrix>() {}
19  std::string myname() const {return (std::string)"HcalCovarianceMatrices";}
20  const HcalCovarianceMatrix* getValues(DetId fId) const;
21  const bool exists(DetId fId) const;
22  bool addValues(const HcalCovarianceMatrix& myHcalCovarianceMatrix, bool h2mode_=false);
23  std::vector<DetId> getAllChannels() const;
24 
25  private:
26  void initContainer(int container, bool h2mode_ = false);
27  std::vector<HcalCovarianceMatrix> HBcontainer;
28  std::vector<HcalCovarianceMatrix> HEcontainer;
29  std::vector<HcalCovarianceMatrix> HOcontainer;
30  std::vector<HcalCovarianceMatrix> HFcontainer;
31 };
32 
33 #endif
34 
std::vector< HcalCovarianceMatrix > HFcontainer
std::vector< HcalCovarianceMatrix > HBcontainer
bool addValues(const HcalCovarianceMatrix &myHcalCovarianceMatrix, bool h2mode_=false)
std::vector< DetId > getAllChannels() const
void initContainer(int container, bool h2mode_=false)
const HcalCovarianceMatrix * getValues(DetId fId) const
Definition: DetId.h:20
const bool exists(DetId fId) const
std::vector< HcalCovarianceMatrix > HOcontainer
std::string myname() const
std::vector< HcalCovarianceMatrix > HEcontainer