CMS 3D CMS Logo

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