Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:42:37

0001 #ifndef __CINT__
0002 #ifndef MatrixFillMap_H
0003 #define MatrixFillMap_H
0004 
0005 #include "Calibration/EcalCalibAlgos/interface/VFillMap.h"
0006 
0007 class MatrixFillMap : public VFillMap {
0008 public:
0009   //! ctor

0010   MatrixFillMap(int,
0011                 int,
0012                 const std::map<int, int> &,
0013                 double,
0014                 double,
0015                 const std::map<int, int> &,
0016                 EcalIntercalibConstantMap *,
0017                 EcalIntercalibConstantMap *);
0018   //! dtor

0019   ~MatrixFillMap() override;
0020   void fillMap(const std::vector<std::pair<DetId, float> > &,
0021                const DetId,
0022                const EcalRecHitCollection *,
0023                const EcalRecHitCollection *,
0024                std::map<int, double> &xtlMap,
0025                double &) override;
0026 
0027 private:
0028   //! takes care of the Barrel

0029   void fillEBMap(EBDetId, const EcalRecHitCollection *, std::map<int, double> &, int, double &);
0030 
0031   //! takes care of the Endcap

0032   void fillEEMap(EEDetId, const EcalRecHitCollection *, std::map<int, double> &, int, double &);
0033 };
0034 #endif
0035 #endif