Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:57

0001 #ifndef VFillMap_H
0002 #ifndef __CINT__
0003 #define VFillMap_H
0004 
0005 #include <map>
0006 #include <vector>
0007 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
0008 #include "DataFormats/DetId/interface/DetId.h"
0009 #include "CondFormats/DataRecord/interface/EcalIntercalibConstantsRcd.h"
0010 #include "CondFormats/EcalObjects/interface/EcalIntercalibConstants.h"
0011 
0012 class VFillMap {
0013 public:
0014   //!ctor

0015   VFillMap(int,
0016            int,
0017            const std::map<int, int> &,
0018            double,
0019            double,
0020            const std::map<int, int> &,
0021            EcalIntercalibConstantMap *,
0022            EcalIntercalibConstantMap *);
0023 
0024   //!dtor

0025   virtual ~VFillMap(){};
0026   //! The Map filler

0027   virtual void fillMap(const std::vector<std::pair<DetId, float> > &,
0028                        const DetId,
0029                        const EcalRecHitCollection *,
0030                        const EcalRecHitCollection *,
0031                        std::map<int, double> &xtlMap,
0032                        double &) = 0;
0033 
0034   int m_recoWindowSidex;
0035   int m_recoWindowSidey;
0036   std::map<int, int> m_xtalRegionId;
0037   double m_minEnergyPerCrystal;
0038   double m_maxEnergyPerCrystal;
0039   std::map<int, int> m_IndexInRegion;
0040   EcalIntercalibConstantMap *m_barrelMap;
0041   EcalIntercalibConstantMap *m_endcapMap;
0042 };
0043 #endif
0044 #endif