CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/CondFormats/HcalObjects/interface/HcalCholeskyMatrices.h

Go to the documentation of this file.
00001 #ifndef HcalCholeskyMatrices_h
00002 #define HcalCholeskyMatrices_h
00003 
00004 //#include "CondFormats/HcalObjects/interface/HcalCondObjectContainer.h"
00005 
00006 #include <iostream>
00007 #include <vector>
00008 #include <string>
00009 #include "DataFormats/DetId/interface/DetId.h"
00010 #include "DataFormats/HcalDetId/interface/HcalGenericDetId.h"
00011 #include "FWCore/Utilities/interface/Exception.h"
00012 #include "CondFormats/HcalObjects/interface/HcalCholeskyMatrix.h"
00013 
00014 class HcalCholeskyMatrices//: public HcalCondObjectContainer<HcalCholeskyMatrix>
00015 {
00016    public:
00017       HcalCholeskyMatrices();
00018       ~HcalCholeskyMatrices();
00019 //      HcalCholeskyMatrices():HcalCondObjectContainer<HcalCholeskyMatrix>() {}
00020       std::string myname() const {return (std::string)"HcalCholeskyMatrices";}
00021 
00022       const HcalCholeskyMatrix* getValues(DetId fId) const;
00023       const bool exists(DetId fId) const;
00024       bool addValues(const HcalCholeskyMatrix& myHcalCholeskyMatrix, bool h2mode_=false);
00025       std::vector<DetId> getAllChannels() const;
00026 
00027    private:
00028       void initContainer(int container, bool h2mode_ = false);
00029       std::vector<HcalCholeskyMatrix> HBcontainer;
00030       std::vector<HcalCholeskyMatrix> HEcontainer;
00031       std::vector<HcalCholeskyMatrix> HOcontainer;
00032       std::vector<HcalCholeskyMatrix> HFcontainer;
00033 };
00034 
00035 #endif
00036